22#include <osl/diagnose.h>
26using namespace css::uno;
27using namespace css::xml::dom;
33 xmlEntityPtr
const pEntity)
35 NodeType_ENTITY_NODE, reinterpret_cast<xmlNodePtr>(pEntity))
36 , m_aEntityPtr(pEntity)
43 case NodeType_ELEMENT_NODE:
44 case NodeType_PROCESSING_INSTRUCTION_NODE:
45 case NodeType_COMMENT_NODE:
46 case NodeType_TEXT_NODE:
47 case NodeType_CDATA_SECTION_NODE:
48 case NodeType_ENTITY_REFERENCE_NODE:
61 "CEntity::getNotationName: not implemented (#i113683#)");
75 aID = OUString(
reinterpret_cast<char const *
>(
m_aEntityPtr->ExternalID), strlen(
reinterpret_cast<char const *
>(
m_aEntityPtr->ExternalID)), RTL_TEXTENCODING_UTF8);
90 aID = OUString(
reinterpret_cast<char const *
>(
m_aEntityPtr->SystemID), strlen(
reinterpret_cast<char const *
>(
m_aEntityPtr->SystemID)), RTL_TEXTENCODING_UTF8);
99 if (m_aNodePtr !=
nullptr)
101 const xmlChar*
pName = m_aNodePtr->name;
102 aName = OUString(
reinterpret_cast<char const *
>(
pName), strlen(
reinterpret_cast<char const *
>(
pName)), RTL_TEXTENCODING_UTF8);
virtual OUString SAL_CALL getPublicId() override
The public identifier associated with the entity, if specified.
xmlEntityPtr m_aEntityPtr
virtual OUString SAL_CALL getNodeValue() override
virtual bool IsChildTypeAllowed(css::xml::dom::NodeType const nodeType, css::xml::dom::NodeType const *) override
virtual OUString SAL_CALL getNodeName() override
virtual OUString SAL_CALL getNotationName() override
For unparsed entities, the name of the notation for the entity.
virtual OUString SAL_CALL getSystemId() override
The system identifier associated with the entity, if specified.
CEntity(CDocument const &rDocument, ::osl::Mutex const &rMutex, xmlEntityPtr const pEntity)
::cppu::ImplInheritanceHelper< CNode, css::xml::dom::XEntity > CEntity_Base