|
LibreOffice Module writerfilter (master) 1
|
#include <OOXMLFastContextHandler.hxx>
Public Member Functions | |
| OOXMLFastContextHandlerShape (OOXMLFastContextHandler *pContext) | |
| virtual | ~OOXMLFastContextHandlerShape () override |
| virtual std::string | getType () const override |
| Returns a string describing the type of the context. More... | |
| 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 | endUnknownElement (const OUString &Namespace, const OUString &Name) 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 | setToken (Token_t nToken) override |
| virtual ResourceEnum_t | getResource () const override |
| void | sendShape (Token_t Element) |
| bool | isShapeSent () const |
| bool | isDMLGroupShape () const |
Public Member Functions inherited from writerfilter::ooxml::OOXMLFastContextHandlerProperties | |
| 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_startFastElement (Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
| virtual void | lcl_endFastElement (Token_t Element) override |
| virtual css::uno::Reference< css::xml::sax::XFastContextHandler > | lcl_createFastChildContext (Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
| virtual void | lcl_characters (const OUString &aChars) override |
| 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 () |
Private Attributes | |
| bool | m_bShapeSent |
| bool | m_bShapeStarted |
| bool | m_bShapeContextPushed |
| Is it necessary to pop the stack in the dtor? More... | |
| rtl::Reference< oox::shape::ShapeContextHandler > | mrShapeContext |
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 } |
Protected Attributes inherited from writerfilter::ooxml::OOXMLFastContextHandlerProperties | |
| 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 |
Definition at line 444 of file OOXMLFastContextHandler.hxx.
|
explicit |
Definition at line 1694 of file OOXMLFastContextHandler.cxx.
|
overridevirtual |
Definition at line 1701 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFastContextHandler::getDocument(), m_bShapeContextPushed, and writerfilter::ooxml::OOXMLDocumentImpl::popShapeContext().
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1949 of file OOXMLFastContextHandler.cxx.
References mrShapeContext, and Name.
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1867 of file OOXMLFastContextHandler.cxx.
References mrShapeContext, and Name.
|
inlineoverridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandlerProperties.
Definition at line 468 of file OOXMLFastContextHandler.hxx.
References writerfilter::ooxml::OOXMLFastContextHandler::SHAPE.
|
inlineoverridevirtual |
Returns a string describing the type of the context.
This is the name of the define normally.
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 456 of file OOXMLFastContextHandler.hxx.
| bool writerfilter::ooxml::OOXMLFastContextHandlerShape::isDMLGroupShape | ( | ) | const |
Definition at line 1842 of file OOXMLFastContextHandler.cxx.
References mrShapeContext.
|
inline |
Definition at line 471 of file OOXMLFastContextHandler.hxx.
References m_bShapeSent.
|
overrideprotectedvirtual |
| css::uno::RuntimeException | |
| css::xml::sax::SAXException |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1963 of file OOXMLFastContextHandler.cxx.
References mrShapeContext.
|
overrideprotectedvirtual |
| css::uno::RuntimeException | |
| css::xml::sax::SAXException |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1876 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFactory::createFastChildContextFromStart(), writerfilter::ooxml::OOXMLFastContextHandler::getDocument(), writerfilter::ooxml::OOXMLFastContextHandler::mbAllowInCell, writerfilter::ooxml::OOXMLFastContextHandler::mbIsVMLfound, mrShapeContext, sendShape(), and writerfilter::ooxml::OOXMLDocumentImpl::setTheme().
|
overrideprotectedvirtual |
| css::uno::RuntimeException | |
| css::xml::sax::SAXException |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandlerProperties.
Definition at line 1847 of file OOXMLFastContextHandler.cxx.
References writerfilter::Stream::endShape(), writerfilter::ooxml::OOXMLFastContextHandler::isForwardEvents(), writerfilter::ooxml::OOXMLFastContextHandlerProperties::lcl_endFastElement(), m_bShapeStarted, writerfilter::ooxml::OOXMLFastContextHandler::mpStream, mrShapeContext, and sendShape().
|
overrideprotectedvirtual |
| css::uno::RuntimeException | |
| css::xml::sax::SAXException |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1707 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFastContextHandler::getId(), writerfilter::ooxml::OOXMLFastContextHandler::getParent(), writerfilter::ooxml::OOXMLFastContextHandler::getPropertySet(), mrShapeContext, and writerfilter::ooxml::OOXMLFastContextHandler::startAction().
| void writerfilter::ooxml::OOXMLFastContextHandlerShape::sendShape | ( | Token_t | Element | ) |
Definition at line 1807 of file OOXMLFastContextHandler.cxx.
References writerfilter::Stream::getPositionOffset(), writerfilter::dmapper::getPropertyName(), m_bShapeSent, m_bShapeStarted, writerfilter::ooxml::OOXMLFastContextHandler::mbAllowInCell, writerfilter::ooxml::OOXMLFastContextHandler::mbIsVMLfound, writerfilter::ooxml::OOXMLFastContextHandler::mnTableDepth, writerfilter::ooxml::OOXMLFastContextHandler::mpStream, mrShapeContext, writerfilter::ooxml::OOXMLFastContextHandlerProperties::newProperty(), writerfilter::dmapper::PROP_FOLLOW_TEXT_FLOW, and writerfilter::Stream::startShape().
Referenced by lcl_createFastChildContext(), and lcl_endFastElement().
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1763 of file OOXMLFastContextHandler.cxx.
References writerfilter::ooxml::OOXMLFastContextHandler::getDocument(), writerfilter::ooxml::OOXMLDocumentImpl::getGraphicMapper(), writerfilter::ooxml::OOXMLDocumentImpl::getShapeContext(), writerfilter::ooxml::OOXMLDocumentImpl::getTheme(), m_bShapeContextPushed, writerfilter::ooxml::OOXMLFastContextHandler::mnTableDepth, writerfilter::ooxml::OOXMLFastContextHandler::mpParserState, mrShapeContext, nToken, writerfilter::ooxml::OOXMLDocumentImpl::pushShapeContext(), writerfilter::ooxml::OOXMLDocumentImpl::setShapeContext(), and writerfilter::ooxml::OOXMLFastContextHandler::setToken().
|
overridevirtual |
Reimplemented from writerfilter::ooxml::OOXMLFastContextHandler.
Definition at line 1754 of file OOXMLFastContextHandler.cxx.
References mrShapeContext, and Name.
|
private |
Is it necessary to pop the stack in the dtor?
Definition at line 449 of file OOXMLFastContextHandler.hxx.
Referenced by setToken(), and ~OOXMLFastContextHandlerShape().
|
private |
Definition at line 446 of file OOXMLFastContextHandler.hxx.
Referenced by isShapeSent(), and sendShape().
|
private |
Definition at line 447 of file OOXMLFastContextHandler.hxx.
Referenced by lcl_endFastElement(), and sendShape().
|
private |
Definition at line 450 of file OOXMLFastContextHandler.hxx.
Referenced by createUnknownChildContext(), endUnknownElement(), isDMLGroupShape(), lcl_characters(), lcl_createFastChildContext(), lcl_endFastElement(), lcl_startFastElement(), sendShape(), setToken(), and startUnknownElement().