LibreOffice Module unoxml (master) 1
|
Namespaces | |
namespace | events |
Classes | |
class | CAttr |
class | CAttributesMap |
class | CCDATASection |
class | CCharacterData |
class | CChildList |
class | CComment |
class | CDocument |
class | CDocumentBuilder |
class | CDocumentFragment |
class | CDocumentType |
class | CDOMImplementation |
class | CElement |
class | CElementList |
class | CElementListImpl |
class | CEntitiesMap |
class | CEntity |
class | CEntityReference |
class | CNotation |
class | CNotationsMap |
struct | Context |
class | CProcessingInstruction |
class | CSAXDocumentBuilder |
class | CText |
Typedefs | |
typedef ::std::pair< OString, OString > | stringpair_t |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XAttr > | CAttr_Base |
typedef ::cppu::ImplInheritanceHelper< CText, css::xml::dom::XCDATASection > | CCDATASection_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XCharacterData > | CCharacterData_Base |
typedef ::cppu::ImplInheritanceHelper< CCharacterData, css::xml::dom::XComment > | CComment_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocument, css::xml::dom::events::XDocumentEvent, css::io::XActiveDataControl, css::io::XActiveDataSource, css::xml::sax::XSAXSerializable, css::xml::sax::XFastSAXSerializable > | CDocument_Base |
typedef ::cppu::WeakImplHelper< css::xml::dom::XDocumentBuilder, css::lang::XServiceInfo > | CDocumentBuilder_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocumentFragment > | CDocumentFragment_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocumentType > | CDocumentType_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XElement > | CElement_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntity > | CEntity_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntityReference > | CEntityReference_Base |
typedef cppu::ImplInheritanceHelper< CNode, css::xml::dom::XNotation > | CNotation_Base |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XProcessingInstruction > | CProcessingInstruction_Base |
typedef ::cppu::ImplInheritanceHelper< CCharacterData, css::xml::dom::XText > | CText_Base |
Functions | |
static xmlNodePtr | lcl_getDocumentType (xmlDocPtr const i_pDocument) |
static xmlNodePtr | lcl_getDocumentRootPtr (xmlDocPtr const i_pDocument) |
get the pointer to the root element node of the document More... | |
static int | writeCallback (void *context, const char *buffer, int len) |
static int | closeCallback (void *context) |
static xmlNodePtr | lcl_search_element_by_id (const xmlNodePtr cur, const xmlChar *id) |
static void | lcl_ImportSiblings (Reference< XDocument > const &xTargetDocument, Reference< XNode > const &xTargetParent, Reference< XNode > const &xChild) |
static Reference< XNode > | lcl_ImportNode (Reference< XDocument > const &xDocument, Reference< XNode > const &xImportedNode, bool deep) |
static OUString | make_error_message (xmlParserCtxtPtr ctxt) |
static int | xmlIO_read_func (void *context, char *buffer, int len) |
static int | xmlIO_close_func (void *context) |
static xmlParserInputPtr | resolve_func (void *ctx, const xmlChar *publicId, const xmlChar *systemId) |
static void | warning_func (void *ctx, const char *,...) |
static void | error_func (void *ctx, const char *,...) |
static void | throwEx (xmlParserCtxtPtr ctxt) |
static xmlChar * | lcl_initXmlString (std::u16string_view rString) |
void | pushContext (Context &io_rContext) |
void | popContext (Context &io_rContext) |
void | addNamespaces (Context &io_rContext, xmlNodePtr pNode) |
add namespaces on this node to context More... | |
sal_Int32 | getToken (const Context &rContext, const char *pToken) |
sal_Int32 | getTokenWithPrefix (const Context &rContext, const char *pPrefix, const char *pName) |
static void | lcl_nsexchange (xmlNodePtr const aNode, xmlNsPtr const oldNs, xmlNsPtr const newNs) |
void | nscleanup (const xmlNodePtr aNode, const xmlNodePtr aParent) |
eliminate redundant namespace declarations More... | |
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XAttr > DOM::CAttr_Base |
typedef ::cppu::ImplInheritanceHelper< CText, css::xml::dom::XCDATASection > DOM::CCDATASection_Base |
Definition at line 31 of file cdatasection.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XCharacterData > DOM::CCharacterData_Base |
Definition at line 37 of file characterdata.hxx.
typedef ::cppu::ImplInheritanceHelper< CCharacterData, css::xml::dom::XComment > DOM::CComment_Base |
Definition at line 31 of file comment.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocument, css::xml::dom::events::XDocumentEvent, css::io::XActiveDataControl, css::io::XActiveDataSource, css::xml::sax::XSAXSerializable, css::xml::sax::XFastSAXSerializable> DOM::CDocument_Base |
Definition at line 64 of file document.hxx.
typedef ::cppu::WeakImplHelper< css::xml::dom::XDocumentBuilder , css::lang::XServiceInfo > DOM::CDocumentBuilder_Base |
Definition at line 43 of file documentbuilder.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocumentFragment > DOM::CDocumentFragment_Base |
Definition at line 31 of file documentfragment.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XDocumentType > DOM::CDocumentType_Base |
Definition at line 37 of file documenttype.hxx.
typedef ::cppu::ImplInheritanceHelper<CNode, css::xml::dom::XElement > DOM::CElement_Base |
Definition at line 35 of file element.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntity > DOM::CEntity_Base |
Definition at line 34 of file entity.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntityReference > DOM::CEntityReference_Base |
Definition at line 33 of file entityreference.hxx.
typedef cppu::ImplInheritanceHelper< CNode, css::xml::dom::XNotation > DOM::CNotation_Base |
Definition at line 32 of file notation.hxx.
typedef ::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XProcessingInstruction > DOM::CProcessingInstruction_Base |
Definition at line 33 of file processinginstruction.hxx.
typedef ::cppu::ImplInheritanceHelper< CCharacterData, css::xml::dom::XText > DOM::CText_Base |
typedef ::std::pair< OString, OString > DOM::stringpair_t |
void DOM::addNamespaces | ( | Context & | io_rContext, |
xmlNodePtr | pNode | ||
) |
add namespaces on this node to context
Definition at line 66 of file node.cxx.
References DOM::Context::maNamespaceMap, DOM::Context::maNamespaces, DOM::Context::Namespace::maPrefix, DOM::Context::Namespace::mnToken, prefix, and SAL_INFO.
Referenced by DOM::CElement::fastSaxify().
|
static |
Definition at line 351 of file document.cxx.
Referenced by DOM::CDocument::start().
|
static |
Definition at line 276 of file documentbuilder.cxx.
References ctx, DOM::CDocumentBuilder::getErrorHandler(), make_error_message(), SAL_WARN, and TOOLS_WARN_EXCEPTION.
Referenced by DOM::CDocumentBuilder::parse(), and DOM::CDocumentBuilder::parseURI().
sal_Int32 DOM::getToken | ( | const Context & | rContext, |
const char * | pToken | ||
) |
Definition at line 94 of file node.cxx.
References aSeq, and DOM::Context::mxTokenHandler.
Referenced by DOM::CElement::fastSaxify(), and getTokenWithPrefix().
sal_Int32 DOM::getTokenWithPrefix | ( | const Context & | rContext, |
const char * | pPrefix, | ||
const char * | pName | ||
) |
Definition at line 100 of file node.cxx.
References getToken(), DOM::Context::maNamespaces, pName, prefix, and SAL_INFO.
Referenced by DOM::CElement::fastSaxify().
|
static |
get the pointer to the root element node of the document
Definition at line 73 of file document.cxx.
Referenced by DOM::CDocument::fastSerialize(), DOM::CDocument::GetDocumentElement(), DOM::CDocument::getDocumentElement(), DOM::CDocument::getElementById(), DOM::CDocument::IsChildTypeAllowed(), and DOM::CDocument::serialize().
|
static |
Definition at line 58 of file document.cxx.
Referenced by DOM::CDocument::getDoctype(), and DOM::CDocument::IsChildTypeAllowed().
|
static |
Definition at line 721 of file document.cxx.
References i, and lcl_ImportSiblings().
Referenced by DOM::CDocument::importNode().
|
static |
Definition at line 705 of file document.cxx.
Referenced by lcl_ImportNode().
|
static |
Definition at line 63 of file elementlist.cxx.
References OUStringToOString().
|
static |
Definition at line 171 of file node.cxx.
References lcl_nsexchange().
Referenced by lcl_nsexchange(), and nscleanup().
|
static |
Definition at line 633 of file document.cxx.
References a, lcl_search_element_by_id(), and result.
Referenced by DOM::CDocument::getElementById(), and lcl_search_element_by_id().
|
static |
Definition at line 137 of file documentbuilder.cxx.
Referenced by error_func(), throwEx(), and warning_func().
void DOM::nscleanup | ( | const xmlNodePtr | aNode, |
const xmlNodePtr | aParent | ||
) |
eliminate redundant namespace declarations
Definition at line 195 of file node.cxx.
References lcl_nsexchange(), ns, and nscleanup().
Referenced by DOM::CDocument::fastSerialize(), nscleanup(), and DOM::CDocument::serialize().
void DOM::popContext | ( | Context & | io_rContext | ) |
Definition at line 61 of file node.cxx.
References DOM::Context::maNamespaces.
Referenced by DOM::CElement::fastSaxify().
void DOM::pushContext | ( | Context & | io_rContext | ) |
Definition at line 52 of file node.cxx.
References DOM::Context::maNamespaces.
Referenced by DOM::CElement::fastSaxify().
|
static |
Definition at line 200 of file documentbuilder.cxx.
References ctx, DOM::CDocumentBuilder::getEntityResolver(), resolver, xmlIO_close_func(), and xmlIO_read_func().
Referenced by DOM::CDocumentBuilder::parse(), and DOM::CDocumentBuilder::parseURI().
|
static |
Definition at line 308 of file documentbuilder.cxx.
References make_error_message().
Referenced by DOM::CDocumentBuilder::parse(), and DOM::CDocumentBuilder::parseURI().
|
static |
Definition at line 243 of file documentbuilder.cxx.
References ctx, DOM::CDocumentBuilder::getErrorHandler(), make_error_message(), SAL_INFO, and TOOLS_WARN_EXCEPTION.
Referenced by DOM::CDocumentBuilder::parse(), and DOM::CDocumentBuilder::parseURI().
Definition at line 341 of file document.cxx.
Referenced by DOM::CDocument::start().
|
static |
Definition at line 181 of file documentbuilder.cxx.
References TOOLS_WARN_EXCEPTION.
Referenced by DOM::CDocumentBuilder::parse(), and resolve_func().
Definition at line 161 of file documentbuilder.cxx.
References TOOLS_WARN_EXCEPTION.
Referenced by DOM::CDocumentBuilder::parse(), and resolve_func().