A stylesheet that knows how to format a given PD_RDFSemanticItem.
More...
#include <pd_DocumentRDF.h>
List of all members.
Detailed Description
A stylesheet that knows how to format a given PD_RDFSemanticItem.
If you are looking to apply a stylesheet you should use the PD_RDFSemanticItemViewSite class. For example:
PD_RDFSemanticItemViewSite vs( h_semitem, xmlid ); vs.applyStylesheet( pView, h_stylesheet );
- Author:
- Ben Martin
- See also:
- PD_DocumentRDF
-
PD_RDFSemanticItem
Constructor & Destructor Documentation
PD_RDFSemanticStylesheet::PD_RDFSemanticStylesheet |
( |
const std::string & |
uuid, |
|
|
const std::string & |
name, |
|
|
const std::string & |
templateString, |
|
|
const std::string & |
type = "System" , |
|
|
bool |
isMutable = false | |
|
) |
| | [protected] |
PD_RDFSemanticStylesheet::~PD_RDFSemanticStylesheet |
( |
|
) |
[virtual] |
Member Function Documentation
Only called from PD_RDFSemanticItemViewSite, this method actually applies the stylesheet to a specific reference to a semantic item in the document.
References FV_View::cmdCut(), FV_View::getDocument(), FV_View::getPoint(), PD_Document::insertSpan(), name(), replace_all(), FV_View::selectRange(), FV_View::setPoint(), templateString(), UT_DEBUGMSG, and v.
bool PD_RDFSemanticStylesheet::isMutable |
( |
|
) |
const |
std::string PD_RDFSemanticStylesheet::name |
( |
|
) |
const |
std::string PD_RDFSemanticStylesheet::stylesheetTypeSystem |
( |
|
) |
[static] |
std::string PD_RDFSemanticStylesheet::stylesheetTypeUser |
( |
|
) |
[static] |
std::string PD_RDFSemanticStylesheet::templateString |
( |
|
) |
const |
std::string PD_RDFSemanticStylesheet::type |
( |
|
) |
const |
std::string PD_RDFSemanticStylesheet::uuid |
( |
|
) |
const |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: