LibreOffice Module writerfilter (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
writerfilter::ooxml::OOXMLParserState Class Referencefinal

#include <OOXMLParserState.hxx>

Inheritance diagram for writerfilter::ooxml::OOXMLParserState:
[legend]
Collaboration diagram for writerfilter::ooxml::OOXMLParserState:
[legend]

Public Types

typedef tools::SvRef< OOXMLParserStatePointer_t
 

Public Member Functions

 OOXMLParserState ()
 
 ~OOXMLParserState () override
 
bool isInSectionGroup () const
 
void setInSectionGroup (bool bInSectionGroup)
 
void setLastParagraphInSection (bool bLastParagraphInSection)
 
bool isLastParagraphInSection () const
 
std::vector< SavedAlternateState > & getSavedAlternateStates ()
 
bool isInParagraphGroup () const
 
void setInParagraphGroup (bool bInParagraphGroup)
 
bool isInCharacterGroup () const
 
void setInCharacterGroup (bool bInCharacterGroup)
 
void setForwardEvents (bool bForwardEvents)
 
bool isForwardEvents () const
 
std::string getHandle () const
 
void setHandle ()
 
void setDocument (OOXMLDocumentImpl *pDocument)
 
OOXMLDocumentImplgetDocument () const
 
void setXNoteId (const sal_Int32 rId)
 
sal_Int32 getXNoteId () const
 
const OUString & getTarget () const
 
void resolveCharacterProperties (Stream &rStream)
 
void setCharacterProperties (const OOXMLPropertySet::Pointer_t &pProps)
 
void resolveCellProperties (Stream &rStream)
 
void setCellProperties (const OOXMLPropertySet::Pointer_t &pProps)
 
void resolveRowProperties (Stream &rStream)
 
void setRowProperties (const OOXMLPropertySet::Pointer_t &pProps)
 
void resolveTableProperties (Stream &rStream)
 
void setTableProperties (const OOXMLPropertySet::Pointer_t &pProps)
 
OOXMLPropertySet::Pointer_t GetTableProperties () const
 
void resolvePostponedBreak (Stream &rStream)
 
void setPostponedBreak (const OOXMLPropertySet::Pointer_t &pProps)
 
void startTable ()
 
void endTable ()
 
void incContextCount ()
 
void startTxbxContent ()
 
void endTxbxContent ()
 
void setStartFootnote (bool bStartFootnote)
 
bool isStartFootnote () const
 
void SetFloatingTableEnded (bool bFloatingTableEnded)
 
bool GetFloatingTableEnded () const
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

bool mbInSectionGroup
 
bool mbInParagraphGroup
 
bool mbInCharacterGroup
 
bool mbLastParagraphInSection
 
bool mbForwardEvents
 
unsigned int mnContexts
 
unsigned int mnHandle
 
OOXMLDocumentImplmpDocument
 
OOXMLPropertySet::Pointer_t mpCharacterProps
 
std::stack< OOXMLPropertySet::Pointer_tmCellProps
 
std::stack< OOXMLPropertySet::Pointer_tmRowProps
 
std::stack< OOXMLPropertySet::Pointer_tmTableProps
 
bool m_inTxbxContent
 
bool m_savedInParagraphGroup
 
bool m_savedInCharacterGroup
 
bool m_savedLastParagraphInSection
 
std::vector< SavedAlternateStatemaSavedAlternateStates
 
std::vector< OOXMLPropertySet::Pointer_tmvPostponedBreaks
 
bool mbStartFootnote
 
bool m_bFloatingTableEnded = false
 We just ended a floating table. Starting a paragraph or table resets this. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 39 of file OOXMLParserState.hxx.

Member Typedef Documentation

◆ Pointer_t

Definition at line 65 of file OOXMLParserState.hxx.

Constructor & Destructor Documentation

◆ OOXMLParserState()

writerfilter::ooxml::OOXMLParserState::OOXMLParserState ( )

Definition at line 31 of file OOXMLParserState.cxx.

◆ ~OOXMLParserState()

writerfilter::ooxml::OOXMLParserState::~OOXMLParserState ( )
override

Definition at line 48 of file OOXMLParserState.cxx.

Member Function Documentation

◆ endTable()

void writerfilter::ooxml::OOXMLParserState::endTable ( )

Definition at line 247 of file OOXMLParserState.cxx.

References mCellProps, mRowProps, and mTableProps.

◆ endTxbxContent()

void writerfilter::ooxml::OOXMLParserState::endTxbxContent ( )

◆ getDocument()

OOXMLDocumentImpl * writerfilter::ooxml::OOXMLParserState::getDocument ( ) const
inline

Definition at line 91 of file OOXMLParserState.hxx.

References mpDocument.

◆ GetFloatingTableEnded()

bool writerfilter::ooxml::OOXMLParserState::GetFloatingTableEnded ( ) const
inline

Definition at line 126 of file OOXMLParserState.hxx.

References m_bFloatingTableEnded.

◆ getHandle()

std::string writerfilter::ooxml::OOXMLParserState::getHandle ( ) const

Definition at line 81 of file OOXMLParserState.cxx.

References mnHandle.

◆ getSavedAlternateStates()

std::vector< SavedAlternateState > & writerfilter::ooxml::OOXMLParserState::getSavedAlternateStates ( )
inline

Definition at line 76 of file OOXMLParserState.hxx.

References maSavedAlternateStates.

◆ GetTableProperties()

OOXMLPropertySet::Pointer_t writerfilter::ooxml::OOXMLParserState::GetTableProperties ( ) const

Definition at line 210 of file OOXMLParserState.cxx.

References mTableProps.

◆ getTarget()

const OUString & writerfilter::ooxml::OOXMLParserState::getTarget ( ) const

◆ getXNoteId()

sal_Int32 writerfilter::ooxml::OOXMLParserState::getXNoteId ( ) const

◆ incContextCount()

void writerfilter::ooxml::OOXMLParserState::incContextCount ( )

Definition at line 254 of file OOXMLParserState.cxx.

References mnContexts.

◆ isForwardEvents()

bool writerfilter::ooxml::OOXMLParserState::isForwardEvents ( ) const
inline

Definition at line 85 of file OOXMLParserState.hxx.

References mbForwardEvents.

◆ isInCharacterGroup()

bool writerfilter::ooxml::OOXMLParserState::isInCharacterGroup ( ) const
inline

Definition at line 81 of file OOXMLParserState.hxx.

References mbInCharacterGroup.

◆ isInParagraphGroup()

bool writerfilter::ooxml::OOXMLParserState::isInParagraphGroup ( ) const
inline

Definition at line 78 of file OOXMLParserState.hxx.

References mbInParagraphGroup.

◆ isInSectionGroup()

bool writerfilter::ooxml::OOXMLParserState::isInSectionGroup ( ) const
inline

Definition at line 70 of file OOXMLParserState.hxx.

References mbInSectionGroup.

◆ isLastParagraphInSection()

bool writerfilter::ooxml::OOXMLParserState::isLastParagraphInSection ( ) const
inline

Definition at line 74 of file OOXMLParserState.hxx.

References mbLastParagraphInSection.

◆ isStartFootnote()

bool writerfilter::ooxml::OOXMLParserState::isStartFootnote ( ) const
inline

Definition at line 120 of file OOXMLParserState.hxx.

References mbStartFootnote.

◆ resolveCellProperties()

void writerfilter::ooxml::OOXMLParserState::resolveCellProperties ( Stream rStream)

◆ resolveCharacterProperties()

void writerfilter::ooxml::OOXMLParserState::resolveCharacterProperties ( Stream rStream)

◆ resolvePostponedBreak()

void writerfilter::ooxml::OOXMLParserState::resolvePostponedBreak ( Stream rStream)

Definition at line 221 of file OOXMLParserState.cxx.

References mvPostponedBreaks.

◆ resolveRowProperties()

void writerfilter::ooxml::OOXMLParserState::resolveRowProperties ( Stream rStream)

◆ resolveTableProperties()

void writerfilter::ooxml::OOXMLParserState::resolveTableProperties ( Stream rStream)

◆ setCellProperties()

void writerfilter::ooxml::OOXMLParserState::setCellProperties ( const OOXMLPropertySet::Pointer_t pProps)

Definition at line 129 of file OOXMLParserState.cxx.

References mCellProps.

◆ setCharacterProperties()

void writerfilter::ooxml::OOXMLParserState::setCharacterProperties ( const OOXMLPropertySet::Pointer_t pProps)

Definition at line 121 of file OOXMLParserState.cxx.

References mpCharacterProps.

◆ setDocument()

void writerfilter::ooxml::OOXMLParserState::setDocument ( OOXMLDocumentImpl pDocument)

Definition at line 91 of file OOXMLParserState.cxx.

References mpDocument.

◆ SetFloatingTableEnded()

void writerfilter::ooxml::OOXMLParserState::SetFloatingTableEnded ( bool  bFloatingTableEnded)
inline

Definition at line 122 of file OOXMLParserState.hxx.

References m_bFloatingTableEnded.

◆ setForwardEvents()

void writerfilter::ooxml::OOXMLParserState::setForwardEvents ( bool  bForwardEvents)

Definition at line 75 of file OOXMLParserState.cxx.

References mbForwardEvents.

◆ setHandle()

void writerfilter::ooxml::OOXMLParserState::setHandle ( )

Definition at line 86 of file OOXMLParserState.cxx.

References mnContexts, and mnHandle.

◆ setInCharacterGroup()

void writerfilter::ooxml::OOXMLParserState::setInCharacterGroup ( bool  bInCharacterGroup)

Definition at line 70 of file OOXMLParserState.cxx.

References mbInCharacterGroup.

◆ setInParagraphGroup()

void writerfilter::ooxml::OOXMLParserState::setInParagraphGroup ( bool  bInParagraphGroup)

Definition at line 64 of file OOXMLParserState.cxx.

References mbInParagraphGroup.

◆ setInSectionGroup()

void writerfilter::ooxml::OOXMLParserState::setInSectionGroup ( bool  bInSectionGroup)

Definition at line 58 of file OOXMLParserState.cxx.

References mbInSectionGroup.

◆ setLastParagraphInSection()

void writerfilter::ooxml::OOXMLParserState::setLastParagraphInSection ( bool  bLastParagraphInSection)

Definition at line 52 of file OOXMLParserState.cxx.

References mbLastParagraphInSection.

◆ setPostponedBreak()

void writerfilter::ooxml::OOXMLParserState::setPostponedBreak ( const OOXMLPropertySet::Pointer_t pProps)

Definition at line 231 of file OOXMLParserState.cxx.

References mvPostponedBreaks.

◆ setRowProperties()

void writerfilter::ooxml::OOXMLParserState::setRowProperties ( const OOXMLPropertySet::Pointer_t pProps)

Definition at line 142 of file OOXMLParserState.cxx.

References mRowProps.

◆ setStartFootnote()

void writerfilter::ooxml::OOXMLParserState::setStartFootnote ( bool  bStartFootnote)

Definition at line 289 of file OOXMLParserState.cxx.

References mbStartFootnote.

◆ setTableProperties()

void writerfilter::ooxml::OOXMLParserState::setTableProperties ( const OOXMLPropertySet::Pointer_t pProps)

Definition at line 198 of file OOXMLParserState.cxx.

References mTableProps.

◆ setXNoteId()

void writerfilter::ooxml::OOXMLParserState::setXNoteId ( const sal_Int32  rId)

◆ startTable()

void writerfilter::ooxml::OOXMLParserState::startTable ( )

Definition at line 236 of file OOXMLParserState.cxx.

References mCellProps, mRowProps, and mTableProps.

◆ startTxbxContent()

void writerfilter::ooxml::OOXMLParserState::startTxbxContent ( )

Member Data Documentation

◆ m_bFloatingTableEnded

bool writerfilter::ooxml::OOXMLParserState::m_bFloatingTableEnded = false
private

We just ended a floating table. Starting a paragraph or table resets this.

Definition at line 62 of file OOXMLParserState.hxx.

Referenced by GetFloatingTableEnded(), and SetFloatingTableEnded().

◆ m_inTxbxContent

bool writerfilter::ooxml::OOXMLParserState::m_inTxbxContent
private

Definition at line 53 of file OOXMLParserState.hxx.

Referenced by endTxbxContent(), and startTxbxContent().

◆ m_savedInCharacterGroup

bool writerfilter::ooxml::OOXMLParserState::m_savedInCharacterGroup
private

Definition at line 56 of file OOXMLParserState.hxx.

Referenced by endTxbxContent(), and startTxbxContent().

◆ m_savedInParagraphGroup

bool writerfilter::ooxml::OOXMLParserState::m_savedInParagraphGroup
private

Definition at line 55 of file OOXMLParserState.hxx.

Referenced by endTxbxContent(), and startTxbxContent().

◆ m_savedLastParagraphInSection

bool writerfilter::ooxml::OOXMLParserState::m_savedLastParagraphInSection
private

Definition at line 57 of file OOXMLParserState.hxx.

Referenced by endTxbxContent(), and startTxbxContent().

◆ maSavedAlternateStates

std::vector<SavedAlternateState> writerfilter::ooxml::OOXMLParserState::maSavedAlternateStates
private

Definition at line 58 of file OOXMLParserState.hxx.

Referenced by getSavedAlternateStates().

◆ mbForwardEvents

bool writerfilter::ooxml::OOXMLParserState::mbForwardEvents
private

Definition at line 45 of file OOXMLParserState.hxx.

Referenced by isForwardEvents(), and setForwardEvents().

◆ mbInCharacterGroup

bool writerfilter::ooxml::OOXMLParserState::mbInCharacterGroup
private

◆ mbInParagraphGroup

bool writerfilter::ooxml::OOXMLParserState::mbInParagraphGroup
private

◆ mbInSectionGroup

bool writerfilter::ooxml::OOXMLParserState::mbInSectionGroup
private

Definition at line 41 of file OOXMLParserState.hxx.

Referenced by isInSectionGroup(), and setInSectionGroup().

◆ mbLastParagraphInSection

bool writerfilter::ooxml::OOXMLParserState::mbLastParagraphInSection
private

◆ mbStartFootnote

bool writerfilter::ooxml::OOXMLParserState::mbStartFootnote
private

Definition at line 60 of file OOXMLParserState.hxx.

Referenced by isStartFootnote(), and setStartFootnote().

◆ mCellProps

std::stack<OOXMLPropertySet::Pointer_t> writerfilter::ooxml::OOXMLParserState::mCellProps
private

◆ mnContexts

unsigned int writerfilter::ooxml::OOXMLParserState::mnContexts
private

Definition at line 46 of file OOXMLParserState.hxx.

Referenced by incContextCount(), and setHandle().

◆ mnHandle

unsigned int writerfilter::ooxml::OOXMLParserState::mnHandle
private

Definition at line 47 of file OOXMLParserState.hxx.

Referenced by getHandle(), and setHandle().

◆ mpCharacterProps

OOXMLPropertySet::Pointer_t writerfilter::ooxml::OOXMLParserState::mpCharacterProps
private

Definition at line 49 of file OOXMLParserState.hxx.

Referenced by resolveCharacterProperties(), and setCharacterProperties().

◆ mpDocument

OOXMLDocumentImpl* writerfilter::ooxml::OOXMLParserState::mpDocument
private

Definition at line 48 of file OOXMLParserState.hxx.

Referenced by getDocument(), getTarget(), getXNoteId(), setDocument(), and setXNoteId().

◆ mRowProps

std::stack<OOXMLPropertySet::Pointer_t> writerfilter::ooxml::OOXMLParserState::mRowProps
private

Definition at line 51 of file OOXMLParserState.hxx.

Referenced by endTable(), resolveRowProperties(), setRowProperties(), and startTable().

◆ mTableProps

std::stack<OOXMLPropertySet::Pointer_t> writerfilter::ooxml::OOXMLParserState::mTableProps
private

◆ mvPostponedBreaks

std::vector<OOXMLPropertySet::Pointer_t> writerfilter::ooxml::OOXMLParserState::mvPostponedBreaks
private

Definition at line 59 of file OOXMLParserState.hxx.

Referenced by resolvePostponedBreak(), and setPostponedBreak().


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