LibreOffice Module oox (master)  1
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
oox::docprop::OOXMLDocPropHandler Class Reference

#include <docprophandler.hxx>

Inheritance diagram for oox::docprop::OOXMLDocPropHandler:
[legend]
Collaboration diagram for oox::docprop::OOXMLDocPropHandler:
[legend]

Public Member Functions

 OOXMLDocPropHandler (const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::document::XDocumentProperties > &rDocProp)
 
virtual ~OOXMLDocPropHandler () override
 
void InitNew ()
 
void AddCustomProperty (const css::uno::Any &aAny)
 
void UpdateDocStatistic (const OUString &aChars)
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL processingInstruction (const OUString &rTarget, const OUString &rData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &rxLocator) override
 
virtual void SAL_CALL startFastElement (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (::sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 

Static Public Member Functions

static css::util::DateTime GetDateTimeFromW3CDTF (const OUString &aChars)
 
static css::uno::Sequence< OUString > GetKeywordsSet (std::u16string_view aChars)
 

Private Types

enum  {
  NONE,
  INSERTED
}
 

Private Attributes

css::uno::Reference< css::document::XDocumentProperties > m_xDocProp
 
sal_Int32 m_nState
 
sal_Int32 m_nBlock
 
sal_Int32 m_nType
 
sal_Int32 m_nInBlock
 
enum oox::docprop::OOXMLDocPropHandler:: { ... }  m_CustomStringPropertyState
 
OUString m_aCustomPropertyName
 

Detailed Description

Definition at line 40 of file docprophandler.hxx.

Member Enumeration Documentation

anonymous enum
private
Enumerator
NONE 
INSERTED 

Definition at line 50 of file docprophandler.hxx.

Constructor & Destructor Documentation

oox::docprop::OOXMLDocPropHandler::OOXMLDocPropHandler ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::document::XDocumentProperties > &  rDocProp 
)
explicit

Definition at line 43 of file docprophandler.cxx.

References NONE.

oox::docprop::OOXMLDocPropHandler::~OOXMLDocPropHandler ( )
overridevirtual

Definition at line 56 of file docprophandler.cxx.

Member Function Documentation

void oox::docprop::OOXMLDocPropHandler::AddCustomProperty ( const css::uno::Any &  aAny)

Definition at line 70 of file docprophandler.cxx.

References m_aCustomPropertyName, and m_xDocProp.

Referenced by characters(), and endFastElement().

void SAL_CALL oox::docprop::OOXMLDocPropHandler::characters ( const OUString &  aChars)
overridevirtual
uno::Reference< xml::sax::XFastContextHandler > SAL_CALL oox::docprop::OOXMLDocPropHandler::createFastChildContext ( ::sal_Int32  Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 395 of file docprophandler.cxx.

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL oox::docprop::OOXMLDocPropHandler::createUnknownChildContext ( const OUString &  Namespace,
const OUString &  Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 401 of file docprophandler.cxx.

void SAL_CALL oox::docprop::OOXMLDocPropHandler::endDocument ( )
overridevirtual

Definition at line 274 of file docprophandler.cxx.

References InitNew().

void SAL_CALL oox::docprop::OOXMLDocPropHandler::endFastElement ( ::sal_Int32  Element)
overridevirtual
void SAL_CALL oox::docprop::OOXMLDocPropHandler::endUnknownElement ( const OUString &  Namespace,
const OUString &  Name 
)
overridevirtual

Definition at line 389 of file docprophandler.cxx.

References m_nInBlock.

util::DateTime oox::docprop::OOXMLDocPropHandler::GetDateTimeFromW3CDTF ( const OUString &  aChars)
static

Definition at line 95 of file docprophandler.cxx.

Referenced by characters().

uno::Sequence< OUString > oox::docprop::OOXMLDocPropHandler::GetKeywordsSet ( std::u16string_view  aChars)
static

Definition at line 192 of file docprophandler.cxx.

References OUStringToOString().

Referenced by characters().

void oox::docprop::OOXMLDocPropHandler::InitNew ( )
void oox::docprop::OOXMLDocPropHandler::processingInstruction ( const OUString &  rTarget,
const OUString &  rData 
)
overridevirtual

Definition at line 279 of file docprophandler.cxx.

void SAL_CALL oox::docprop::OOXMLDocPropHandler::setDocumentLocator ( const css::uno::Reference< css::xml::sax::XLocator > &  rxLocator)
overridevirtual

Definition at line 283 of file docprophandler.cxx.

void SAL_CALL oox::docprop::OOXMLDocPropHandler::startDocument ( )
overridevirtual

Definition at line 270 of file docprophandler.cxx.

void SAL_CALL oox::docprop::OOXMLDocPropHandler::startFastElement ( ::sal_Int32  Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual
void SAL_CALL oox::docprop::OOXMLDocPropHandler::startUnknownElement ( const OUString &  Namespace,
const OUString &  Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 339 of file docprophandler.cxx.

References m_nInBlock, SAL_MAX_INT32, and SAL_WARN.

void oox::docprop::OOXMLDocPropHandler::UpdateDocStatistic ( const OUString &  aChars)

Definition at line 216 of file docprophandler.cxx.

References aName, EXTPR_TOKEN, m_nBlock, m_xDocProp, and Name.

Referenced by characters().

Member Data Documentation

OUString oox::docprop::OOXMLDocPropHandler::m_aCustomPropertyName
private
enum { ... } oox::docprop::OOXMLDocPropHandler::m_CustomStringPropertyState

Referenced by characters(), endFastElement(), and InitNew().

sal_Int32 oox::docprop::OOXMLDocPropHandler::m_nBlock
private
sal_Int32 oox::docprop::OOXMLDocPropHandler::m_nInBlock
private
sal_Int32 oox::docprop::OOXMLDocPropHandler::m_nState
private

Definition at line 44 of file docprophandler.hxx.

Referenced by characters(), endFastElement(), InitNew(), and startFastElement().

sal_Int32 oox::docprop::OOXMLDocPropHandler::m_nType
private

Definition at line 46 of file docprophandler.hxx.

Referenced by characters(), endFastElement(), InitNew(), and startFastElement().

css::uno::Reference< css::document::XDocumentProperties > oox::docprop::OOXMLDocPropHandler::m_xDocProp
private

Definition at line 42 of file docprophandler.hxx.

Referenced by AddCustomProperty(), characters(), and UpdateDocStatistic().


The documentation for this class was generated from the following files: