|
LibreOffice Module writerfilter (master) 1
|
#include <OOXMLFastContextHandler.hxx>
Public Member Functions | |
| OOXMLFastContextHandlerProperties (OOXMLFastContextHandler *pContext) | |
| virtual | ~OOXMLFastContextHandlerProperties () override |
| virtual OOXMLValue::Pointer_t | getValue () const override |
| Return value of this context(element). More... | |
| virtual ResourceEnum_t | getResource () const override |
| virtual void | newProperty (Id nId, const OOXMLValue::Pointer_t &pVal) override |
| void | handleXNotes () |
| void | handleHdrFtr () |
| void | handleComment () |
| void | handlePicture () |
| void | handleBreak () |
| void | handleOutOfOrderBreak () |
| void | handleOLE () |
| void | handleFontRel () |
| void | handleHyperlinkURL () |
| void | handleAltChunk () |
| virtual void | setPropertySet (const OOXMLPropertySet::Pointer_t &pPropertySet) override |
| virtual OOXMLPropertySet::Pointer_t | getPropertySet () const override |
Public Member Functions inherited from writerfilter::ooxml::OOXMLFastContextHandler | |
| OOXMLFastContextHandler (css::uno::Reference< css::uno::XComponentContext > const &context) | |
| OOXMLFastContextHandler (OOXMLFastContextHandler *pContext) | |
| OOXMLFastContextHandler (OOXMLFastContextHandler const &)=default | |
| virtual | ~OOXMLFastContextHandler () override |
| virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override final |
| 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 |
| void | setStream (Stream *pStream) |
| virtual OOXMLValue::Pointer_t | getValue () const |
| Return value of this context(element). More... | |
| virtual std::string | getType () const |
| Returns a string describing the type of the context. More... | |
| virtual ResourceEnum_t | getResource () const |
| virtual void | attributes (const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) |
| virtual void | newProperty (Id aId, const OOXMLValue::Pointer_t &pVal) |
| virtual void | setPropertySet (const OOXMLPropertySet::Pointer_t &pPropertySet) |
| virtual OOXMLPropertySet::Pointer_t | getPropertySet () const |
| virtual void | setToken (Token_t nToken) |
| virtual Token_t | getToken () const |
| void | resolveFootnote (const sal_Int32 nId) |
| void | resolveEndnote (const sal_Int32 nId) |
| void | resolveComment (const sal_Int32 nId) |
| void | resolvePicture (const OUString &rId) |
| void | resolveHeader (const sal_Int32 type, const OUString &rId) |
| void | resolveFooter (const sal_Int32 type, const OUString &rId) |
| void | resolveData (const OUString &rId) |
| OUString | getTargetForId (const OUString &rId) |
| void | setDocument (OOXMLDocumentImpl *pDocument) |
| OOXMLDocumentImpl * | getDocument () |
| void | setXNoteId (const OOXMLValue::Pointer_t &pValue) |
| void | setXNoteId (const sal_Int32 nId) |
| sal_Int32 | getXNoteId () const |
| void | setForwardEvents (bool bForwardEvents) |
| bool | isForwardEvents () const |
| virtual void | setId (Id nId) |
| virtual Id | getId () const |
| void | setDefine (Id nDefine) |
| Id | getDefine () const |
| const OOXMLParserState::Pointer_t & | getParserState () const |
| void | sendTableDepth () const |
| void | setHandle () |
| void | startSectionGroup () |
| void | setLastParagraphInSection () |
| void | setLastSectionGroup () |
| void | endSectionGroup () |
| void | startParagraphGroup () |
| void | endParagraphGroup () |
| void | startCharacterGroup () |
| void | endCharacterGroup () |
| virtual void | pushBiDiEmbedLevel () |
| virtual void | popBiDiEmbedLevel () |
| void | startSdt () |
| void | endSdt () |
| void | startSdtRun () |
| void | endSdtRun () |
| void | startField () |
| void | fieldSeparator () |
| void | endField () |
| void | lockField () |
| void | ftnednref () |
| void | ftnedncont () |
| void | ftnednsep () |
| void | pgNum () |
| void | tab () |
| void | symbol () |
| void | cr () |
| void | noBreakHyphen () |
| void | softHyphen () |
| void | handleLastParagraphInSection () |
| void | endOfParagraph () |
| void | text (const OUString &sText) |
| void | positionOffset (const OUString &sText) |
| void | alignH (const OUString &sText) |
| void | alignV (const OUString &sText) |
| void | positivePercentage (const OUString &rText) |
| void | startGlossaryEntry () |
| void | endGlossaryEntry () |
| void | startTxbxContent () |
| void | endTxbxContent () |
| void | propagateCharacterProperties () |
| void | propagateTableProperties () |
| void | propagateRowProperties () |
| void | propagateCellProperties () |
| void | sendPropertiesWithId (Id nId) |
| void | sendPropertiesToParent () |
| void | sendCellProperties () |
| void | sendRowProperties () |
| void | sendTableProperties () |
| void | clearTableProps () |
| void | clearProps () |
| virtual void | setDefaultBooleanValue () |
| virtual void | setDefaultIntegerValue () |
| virtual void | setDefaultHexValue () |
| virtual void | setDefaultStringValue () |
| void | sendPropertyToParent () |
| OOXMLFastContextHandler * | getParent () const |
| void | setGridAfter (const OOXMLValue::Pointer_t &pGridAfter) |
Protected Member Functions | |
| virtual void | lcl_endFastElement (Token_t Element) override |
Protected Member Functions inherited from writerfilter::ooxml::OOXMLFastContextHandler | |
| virtual void | lcl_startFastElement (Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) |
| virtual void | lcl_endFastElement (Token_t Element) |
| virtual css::uno::Reference< css::xml::sax::XFastContextHandler > | lcl_createFastChildContext (Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) |
| virtual void | lcl_characters (const OUString &aChars) |
| void | startAction () |
| void | endAction () |
Protected Attributes | |
| OOXMLPropertySet::Pointer_t | mpPropertySet |
| the properties More... | |
Protected Attributes inherited from writerfilter::ooxml::OOXMLFastContextHandler | |
| OOXMLFastContextHandler * | mpParent |
| Id | mId |
| Id | mnDefine |
| Token_t | mnToken |
| sal_Int8 | mnMathJcVal |
| bool | mbIsMathPara |
| Stream * | mpStream |
| OOXMLParserState::Pointer_t | mpParserState |
| unsigned int | mnTableDepth |
| bool | m_inPositionV |
| bool | mbAllowInCell |
| bool | mbIsVMLfound |
| OOXMLValue::Pointer_t | mpGridAfter |
Private Attributes | |
| bool | mbResolve |
Additional Inherited Members | |
Public Types inherited from writerfilter::ooxml::OOXMLFastContextHandler | |
| enum | ResourceEnum_t { UNKNOWN , STREAM , PROPERTIES , TABLE , SHAPE } |
| typedef tools::SvRef< OOXMLFastContextHandler > | Pointer_t |
Static Public Member Functions inherited from writerfilter::ooxml::OOXMLFastContextHandler | |
| static void | ignore () |
Protected Types inherited from writerfilter::ooxml::OOXMLFastContextHandler | |
| enum | eMathParaJc { INLINE , CENTER , LEFT , RIGHT } |
Definition at line 276 of file OOXMLFastContextHandler.hxx.
|
explicit |
Definition at line 1021 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFastContextHandler::getResource(), mbResolve, and writerfilter::ooxml::OOXMLFastContextHandler::STREAM.
|
overridevirtual |
Definition at line 1030 of file OOXMLFastContextHandler.cxx.
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1187 of file OOXMLFastContextHandler.cxx.
References mpPropertySet.
Referenced by handleAltChunk(), handleBreak(), handleComment(), handleFontRel(), handleHyperlinkURL(), handleOLE(), handleOutOfOrderBreak(), and handlePicture().
|
inlineoverridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Reimplemented in writerfilter::ooxml::OOXMLFastContextHandlerXNote, and writerfilter::ooxml::OOXMLFastContextHandlerShape.
Definition at line 283 of file OOXMLFastContextHandler.hxx.
References writerfilter::ooxml::OOXMLFastContextHandler::PROPERTIES.
|
overridevirtual |
Return value of this context(element).
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1068 of file OOXMLFastContextHandler.cxx.
References mpPropertySet.
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleAltChunk | ( | ) |
Definition at line 1173 of file OOXMLFastContextHandler.cxx.
References getPropertySet().
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleBreak | ( | ) |
Definition at line 1138 of file OOXMLFastContextHandler.cxx.
References getPropertySet(), writerfilter::ooxml::OOXMLFastContextHandler::isForwardEvents(), and writerfilter::ooxml::OOXMLFastContextHandler::mpStream.
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleComment | ( | ) |
Definition at line 1126 of file OOXMLFastContextHandler.cxx.
References getPropertySet().
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleFontRel | ( | ) |
Definition at line 1162 of file OOXMLFastContextHandler.cxx.
References getPropertySet().
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleHdrFtr | ( | ) |
Definition at line 1103 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFooterHandler::finalize(), writerfilter::ooxml::OOXMLHeaderHandler::finalize(), writerfilter::ooxml::OOXMLFastContextHandler::mnToken, and mpPropertySet.
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleHyperlinkURL | ( | ) |
Definition at line 1168 of file OOXMLFastContextHandler.cxx.
References getPropertySet().
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleOLE | ( | ) |
Definition at line 1156 of file OOXMLFastContextHandler.cxx.
References getPropertySet().
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleOutOfOrderBreak | ( | ) |
Definition at line 1148 of file OOXMLFastContextHandler.cxx.
References getPropertySet(), writerfilter::ooxml::OOXMLFastContextHandler::isForwardEvents(), and writerfilter::ooxml::OOXMLFastContextHandler::mpParserState.
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handlePicture | ( | ) |
Definition at line 1132 of file OOXMLFastContextHandler.cxx.
References getPropertySet().
| void writerfilter::ooxml::OOXMLFastContextHandlerProperties::handleXNotes | ( | ) |
Definition at line 1082 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFastContextHandler::mnToken, and mpPropertySet.
|
overrideprotectedvirtual |
| css::uno::RuntimeException | |
| css::xml::sax::SAXException |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Reimplemented in writerfilter::ooxml::OOXMLFastContextHandlerPropertyTable, writerfilter::ooxml::OOXMLFastContextHandlerXNote, writerfilter::ooxml::OOXMLFastContextHandlerShape, and writerfilter::ooxml::OOXMLFastContextHandlerLinear.
Definition at line 1034 of file OOXMLFastContextHandler.cxx.
References a, writerfilter::ooxml::OOXMLFastContextHandler::endAction(), tools::SvRef< typename T >::get(), cppu::getCaughtException(), writerfilter::ooxml::OOXMLFastContextHandler::isForwardEvents(), mbResolve, mpPropertySet, writerfilter::ooxml::OOXMLFastContextHandler::mpStream, writerfilter::Stream::props(), and writerfilter::ooxml::OOXMLFastContextHandler::sendPropertiesToParent().
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerXNote::lcl_endFastElement(), and writerfilter::ooxml::OOXMLFastContextHandlerShape::lcl_endFastElement().
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1073 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLProperty::ATTRIBUTE, mpPropertySet, and nId.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerShape::sendShape().
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1179 of file OOXMLFastContextHandler.cxx.
References mpPropertySet.
|
private |
Definition at line 309 of file OOXMLFastContextHandler.hxx.
Referenced by lcl_endFastElement(), and OOXMLFastContextHandlerProperties().
|
protected |
the properties
Definition at line 303 of file OOXMLFastContextHandler.hxx.
Referenced by getPropertySet(), getValue(), handleHdrFtr(), handleXNotes(), lcl_endFastElement(), writerfilter::ooxml::OOXMLFastContextHandlerPropertyTable::lcl_endFastElement(), newProperty(), and setPropertySet().