LibreOffice Module writerfilter (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
writerfilter::rtftok::RTFDocumentImpl Class Reference

Implementation of the RTFDocument interface. More...

#include <rtfdocumentimpl.hxx>

Inheritance diagram for writerfilter::rtftok::RTFDocumentImpl:
[legend]
Collaboration diagram for writerfilter::rtftok::RTFDocumentImpl:
[legend]

Public Types

using Pointer_t = tools::SvRef< RTFDocumentImpl >
 
- Public Types inherited from writerfilter::rtftok::RTFDocument
using Pointer_t = tools::SvRef< RTFDocument >
 Pointer to this stream. More...
 
- Public Types inherited from writerfilter::Reference< Stream >
typedef tools::SvRef< Reference< Stream > > Pointer_t
 Pointer to reference. More...
 

Public Member Functions

 RTFDocumentImpl (css::uno::Reference< css::uno::XComponentContext > const &xContext, css::uno::Reference< css::io::XInputStream > const &xInputStream, css::uno::Reference< css::lang::XComponent > const &xDstDoc, css::uno::Reference< css::frame::XFrame > const &xFrame, css::uno::Reference< css::task::XStatusIndicator > const &xStatusIndicator, const utl::MediaDescriptor &rMediaDescriptor)
 
 ~RTFDocumentImpl () override
 
void resolve (Stream &rMapper) override
 Resolves this document to a stream handler. More...
 
RTFError dispatchDestination (RTFKeyword nKeyword) override
 
RTFError dispatchFlag (RTFKeyword nKeyword) override
 
bool dispatchFloatingTableFlag (RTFKeyword nKeyword)
 Dispatches flags related to Positioned Wrapped Tables. More...
 
RTFError dispatchSymbol (RTFKeyword nKeyword) override
 
RTFError dispatchToggle (RTFKeyword nKeyword, bool bParam, int nParam) override
 
RTFError dispatchValue (RTFKeyword nKeyword, int nParam) override
 
bool dispatchTableSprmValue (RTFKeyword nKeyword, int nParam)
 
bool dispatchCharacterSprmValue (RTFKeyword nKeyword, int nParam)
 
bool dispatchCharacterAttributeValue (RTFKeyword nKeyword, int nParam)
 
bool dispatchParagraphSprmValue (RTFKeyword nKeyword, int nParam)
 
bool dispatchInfoValue (RTFKeyword nKeyword, int nParam)
 
bool dispatchFrameValue (RTFKeyword nKeyword, int nParam)
 
bool dispatchTableValue (RTFKeyword nKeyword, int nParam)
 
RTFError resolveChars (char ch) override
 
RTFError pushState () override
 
RTFError beforePopState (RTFParserState &rState)
 
RTFError popState () override
 
void afterPopState (RTFParserState &rState)
 
Destination getDestination () override
 
void setDestination (Destination eDestination) override
 
RTFInternalState getInternalState () override
 
void setInternalState (RTFInternalState nInternalState) override
 
bool getSkipUnknown () override
 
void setSkipUnknown (bool bSkipUnknown) override
 
void finishSubstream () override
 
bool isSubstream () const override
 
StreamMapper ()
 
void setSuperstream (RTFDocumentImpl *pSuperstream)
 
const css::uno::Reference< css::lang::XMultiServiceFactory > & getModelFactory () const
 
bool isInBackground ()
 
void setDestinationText (std::u16string_view rString)
 
void resolvePict (bool bInline, css::uno::Reference< css::drawing::XShape > const &rShape)
 Resolve a picture: If not inline, then anchored. More...
 
void checkFirstRun ()
 If this is the first run of the document, starts the initial paragraph. More...
 
void outputSettingsTable ()
 Send NS_ooxml::LN_settings_settings to dmapper. More...
 
bool getFirstRun () const
 If the initial paragraph is started. More...
 
void setNeedPar (bool bNeedPar)
 If we need to add a dummy paragraph before a section break. More...
 
int getFontIndex (int nIndex)
 Return the dmapper index of an RTF index for fonts. More...
 
OUString getFontName (int nIndex)
 Return the name of the font, based on a dmapper index. More...
 
OUString getStyleName (int nIndex)
 Return the style name of an RTF style index. More...
 
Id getStyleType (int nIndex)
 Return the style type of an RTF style index. More...
 
rtl_TextEncoding getEncoding (int nFontIndex)
 Return the encoding associated with a font index. More...
 
RTFParserStategetDefaultState ()
 Get the default parser state. More...
 
oox::GraphicHelpergetGraphicHelper ()
 
bool isStyleSheetImport ()
 Are we inside the stylesheet table? More...
 
void resetFrame ()
 Resets m_aStates.top().aFrame. More...
 
void bufferProperties (RTFBuffer_t &rBuffer, const RTFValue::Pointer_t &pValue, const tools::SvRef< TableRowBuffer > &pTableProperties, Id nStyleType=0)
 Buffers properties to be sent later. More...
 
RTFReferenceTable::Entries_t deduplicateStyleTable ()
 implement non-obvious RTF specific style inheritance More...
 
void resolve (Stream &rHandler) override=0
 Resolves this document to a stream handler. More...
 
- Public Member Functions inherited from writerfilter::Reference< Stream >
virtual void resolve (Stream &rHandler)=0
 Resolves the reference. More...
 
 Reference ()=default
 
 Reference (Reference const &)=default
 
 Reference (Reference &&)=default
 
Referenceoperator= (Reference const &)=default
 
Referenceoperator= (Reference &&)=default
 
- 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
 
- Public Member Functions inherited from writerfilter::rtftok::RTFListener
virtual ~RTFListener ()=default
 
virtual RTFError dispatchDestination (RTFKeyword nKeyword)=0
 
virtual RTFError dispatchFlag (RTFKeyword nKeyword)=0
 
virtual RTFError dispatchSymbol (RTFKeyword nKeyword)=0
 
virtual RTFError dispatchToggle (RTFKeyword nKeyword, bool bParam, int nParam)=0
 
virtual RTFError dispatchValue (RTFKeyword nKeyword, int nParam)=0
 
virtual RTFError resolveChars (char ch)=0
 
virtual RTFError pushState ()=0
 
virtual RTFError popState ()=0
 
virtual Destination getDestination ()=0
 
virtual void setDestination (Destination eDestination)=0
 
virtual RTFInternalState getInternalState ()=0
 
virtual void setInternalState (RTFInternalState nInternalState)=0
 
virtual bool getSkipUnknown ()=0
 
virtual void setSkipUnknown (bool bSkipUnknown)=0
 
virtual void finishSubstream ()=0
 
virtual bool isSubstream () const =0
 

Private Member Functions

SvStreamStrm ()
 
Color getColorTable (sal_uInt32 nIndex)
 
writerfilter::Reference< Properties >::Pointer_t createStyleProperties ()
 
void resetSprms ()
 
void resetAttributes ()
 
void resolveSubstream (std::size_t nPos, Id nId)
 
void resolveSubstream (std::size_t nPos, Id nId, OUString const &rIgnoreFirst)
 
void text (OUString &rString)
 
void singleChar (sal_uInt8 nValue, bool bRunProps=false)
 
void runProps ()
 
void runBreak ()
 
void parBreak ()
 
void tableBreak ()
 
writerfilter::Reference< Properties >::Pointer_t getProperties (const RTFSprms &rAttributes, RTFSprms const &rSprms, Id nStyleType)
 
void checkNeedPap ()
 
void handleFontTableEntry ()
 
void sectBreak (bool bFinal=false)
 
void prepareProperties (RTFParserState &rState, writerfilter::Reference< Properties >::Pointer_t &o_rpParagraphProperties, writerfilter::Reference< Properties >::Pointer_t &o_rpFrameProperties, writerfilter::Reference< Properties >::Pointer_t &o_rpTableRowProperties, int nCells, int nCurrentCellX)
 
void sendProperties (writerfilter::Reference< Properties >::Pointer_t const &pParagraphProperties, writerfilter::Reference< Properties >::Pointer_t const &pFrameProperties, writerfilter::Reference< Properties >::Pointer_t const &pTableRowProperties)
 Send the passed properties to dmapper. More...
 
void replayRowBuffer (RTFBuffer_t &rBuffer, ::std::deque< RTFSprms > &rCellsSprms, ::std::deque< RTFSprms > &rCellsAttributes, int nCells)
 
void replayBuffer (RTFBuffer_t &rBuffer, RTFSprms *pSprms, RTFSprms const *pAttributes)
 
void checkUnicode (bool bUnicode, bool bHex)
 If we have some unicode or hex characters to send. More...
 
void setNeedSect (bool bNeedSect)
 If we need a final section break at the end of the document. More...
 
void resetTableRowProperties ()
 
void backupTableRowProperties ()
 
void restoreTableRowProperties ()
 
RTFError handleEmbeddedObject ()
 Turns the destination text into an input stream of the current OLE attributes. More...
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > const & m_xContext
 
css::uno::Reference< css::io::XInputStream > const & m_xInputStream
 
css::uno::Reference< css::lang::XComponent > const & m_xDstDoc
 
css::uno::Reference< css::frame::XFrame > const & m_xFrame
 
css::uno::Reference< css::task::XStatusIndicator > const & m_xStatusIndicator
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xModelFactory
 
css::uno::Reference< css::document::XDocumentProperties > m_xDocumentProperties
 
std::unique_ptr< SvStreamm_pInStream
 
Streamm_pMapperStream
 
tools::SvRef< RTFSdrImportm_pSdrImport
 
tools::SvRef< RTFTokenizerm_pTokenizer
 
RTFStack m_aStates
 
RTFParserState m_aDefaultState
 Read by RTF_PARD. More...
 
bool m_bSkipUnknown
 
std::map< int, rtl_TextEncoding > m_aFontEncodings
 Font index <-> encoding map, not part of the parser state. More...
 
std::map< int, OUString > m_aFontNames
 Font index <-> name map. More...
 
std::vector< intm_aFontIndexes
 Maps the non-continuous font indexes to the continuous dmapper indexes. More...
 
std::map< int, OUString > m_aStyleNames
 Maps style indexes to style names. More...
 
std::map< int, Idm_aStyleTypes
 Maps style indexes to style types. More...
 
std::vector< Colorm_aColorTable
 Color index <-> RGB color value map. More...
 
bool m_bFirstRun
 to start initial paragraph / section after font/style tables More...
 
bool m_bFirstRunException
 except in the case of tables in initial multicolumn section (global for assertion) More...
 
bool m_bNeedPap
 If paragraph properties should be emitted on next run. More...
 
bool m_bNeedCr
 If we need to emit a CR at the end of substream. More...
 
bool m_bNeedCrOrig
 Original value of m_bNeedCr – saved/restored before/after textframes. More...
 
bool m_bNeedPar
 
bool m_bNeedFinalPar
 If set, an empty paragraph will be added at the end of the document. More...
 
RTFSprms m_aListTableSprms
 The list table and list override table combined. More...
 
std::map< int, intm_aListOverrideTable
 Maps between listoverridetable and listtable indexes. More...
 
std::map< int, RTFValue::Pointer_tm_aListTable
 Maps listtable indexes to listtable entries. More...
 
int m_nListLevel = -1
 Index of the current list level in a list table entry. More...
 
std::map< int, intm_aInvalidListLevelFirstIndents
 Maps List level indexes to removed values in the current list entry. More...
 
std::map< int, std::map< int, int > > m_aInvalidListTableFirstIndents
 Maps list table indexes to levels (and their removed values). More...
 
RTFSprms m_aSettingsTableAttributes
 The settings table attributes. More...
 
RTFSprms m_aSettingsTableSprms
 The settings table sprms. More...
 
std::shared_ptr< oox::GraphicHelperm_pGraphicHelper
 
int m_nNestedCells
 cell props buffer for nested tables, reset by \nestrow the \nesttableprops is a destination and must follow the nested cells, so it should be sufficient to store the currently active one, no need for a stack of them More...
 
std::deque< RTFSprmsm_aNestedTableCellsSprms
 
std::deque< RTFSprmsm_aNestedTableCellsAttributes
 
int m_nTopLevelCells
 cell props buffer for top-level table, reset by \row More...
 
std::deque< RTFSprmsm_aTopLevelTableCellsSprms
 
std::deque< RTFSprmsm_aTopLevelTableCellsAttributes
 
int m_nInheritingCells
 backup of top-level props, to support inheriting cell props More...
 
std::deque< RTFSprmsm_aTableInheritingCellsSprms
 
std::deque< RTFSprmsm_aTableInheritingCellsAttributes
 
int m_nNestedTRLeft
 
int m_nTopLevelTRLeft
 
int m_nNestedCurrentCellX
 Current cellx value (nested table) More...
 
int m_nTopLevelCurrentCellX
 Current cellx value (top-level table) More...
 
RTFSprms m_aBackupTableRowSprms
 
RTFSprms m_aBackupTableRowAttributes
 
int m_nBackupTopLevelCurrentCellX
 
std::deque< RTFBuffer_tm_aTableBufferStack
 Buffered table cells, till cell definitions are not reached. More...
 
RTFBuffer_t m_aSuperBuffer
 Buffered superscript, till footnote is reached (or not). More...
 
RTFDocumentImplm_pSuperstream
 Superstream of this substream. More...
 
Id m_nStreamType
 Type of the stream: header, footer, footnote, etc. More...
 
std::queue< std::pair< Id, std::size_t > > m_nHeaderFooterPositions
 
std::size_t m_nGroupStartPos
 
OUString m_aIgnoreFirst
 Ignore the first occurrence of this text. More...
 
std::map< OUString, intm_aBookmarks
 Bookmark name <-> index map. More...
 
std::map< int, OUString > m_aAuthors
 Revision index <-> author map. More...
 
OUString m_aAuthor
 Annotation author of the next annotation. More...
 
OUString m_aAuthorInitials
 Initials of author of the next annotation. More...
 
RTFSprms m_aFormfieldSprms
 
RTFSprms m_aFormfieldAttributes
 
RTFFormFieldType m_nFormFieldType
 
RTFSprms m_aOLEAttributes
 OLE attributes are attributes of the ooxml:OLEObject_OLEObject sprm. More...
 
RTFSprms m_aObjectAttributes
 
bool m_bObject
 If we are in an object group and if the we use its \objdata element. More...
 
std::shared_ptr< SvStreamm_pBinaryData
 If the data for a picture is a binary one, it's stored here. More...
 
RTFReferenceTable::Entries_t m_aFontTableEntries
 
int m_nCurrentFontIndex
 
int m_nCurrentEncoding
 Used only during font table parsing till we don't know the font name. More...
 
int m_nDefaultFontIndex
 Raw default font index, use getFont() on it to get a real one. More...
 
std::shared_ptr< RTFReferenceTable::Entries_tm_pStyleTableEntries
 To avoid copying entries between DomainMapper instances it is stored as pointer. More...
 
int m_nCurrentStyleIndex
 
bool m_bFormField
 
OUString m_aPicturePath
 For the INCLUDEPICTURE field's argument. More...
 
OUStringBuffer m_aUnicodeBuffer { 512 }
 
OStringBuffer m_aHexBuffer { 512 }
 Same for hex characters. More...
 
oox::formulaimport::XmlStreamBuilder m_aMathBuffer
 Formula import. More...
 
bool m_bMathNor
 Normal text property, that is math italic and math spacing are not applied to the current run. More...
 
bool m_bIgnoreNextContSectBreak
 If the next continuous section break should be ignored. More...
 
RTFKeyword m_nResetBreakOnSectBreak
 clean up a synthetic page break, see RTF_PAGE if inactive value is -1, otherwise the RTF_SKB* to restore More...
 
bool m_bNeedSect
 If a section break is needed before the end of the doc (false right after a section break). More...
 
bool m_bWasInFrame
 If aFrame.inFrame() was true in the previous state. More...
 
bool m_bHadPicture
 A picture was seen in the current paragraph. More...
 
bool m_bHadSect
 The document has multiple sections. More...
 
int m_nCellxMax
 Max width of the rows in the current table. More...
 
int m_nListPictureId
 ID of the next \listlevel picture. More...
 
bool m_bIsNewDoc
 New document means not pasting into an existing one. More...
 
const utl::MediaDescriptorm_rMediaDescriptor
 The media descriptor contains e.g. the base URL of the document. More...
 
bool m_hasRHeader
 Flags for ensuring that only one header and footer is added per section. More...
 
bool m_hasFHeader
 
bool m_hasRFooter
 
bool m_hasFFooter
 
bool m_bAfterCellBeforeRow
 Are we after a \cell, but before a \row? More...
 

Additional Inherited Members

- Protected Member Functions inherited from writerfilter::Reference< Stream >
 ~Reference () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Implementation of the RTFDocument interface.

Definition at line 686 of file rtfdocumentimpl.hxx.

Member Typedef Documentation

◆ Pointer_t

Definition at line 689 of file rtfdocumentimpl.hxx.

Constructor & Destructor Documentation

◆ RTFDocumentImpl()

writerfilter::rtftok::RTFDocumentImpl::RTFDocumentImpl ( css::uno::Reference< css::uno::XComponentContext > const &  xContext,
css::uno::Reference< css::io::XInputStream > const &  xInputStream,
css::uno::Reference< css::lang::XComponent > const &  xDstDoc,
css::uno::Reference< css::frame::XFrame > const &  xFrame,
css::uno::Reference< css::task::XStatusIndicator > const &  xStatusIndicator,
const utl::MediaDescriptor rMediaDescriptor 
)

◆ ~RTFDocumentImpl()

writerfilter::rtftok::RTFDocumentImpl::~RTFDocumentImpl ( )
overridedefault

Member Function Documentation

◆ afterPopState()

void writerfilter::rtftok::RTFDocumentImpl::afterPopState ( RTFParserState rState)

Definition at line 3294 of file rtfdocumentimpl.cxx.

References writerfilter::rtftok::BUFFER_ENDSHAPE, writerfilter::cFieldEnd, writerfilter::rtftok::RTFParserState::clearDocVarName(), writerfilter::rtftok::DOCVAR, writerfilter::rtftok::RTFStack::empty(), writerfilter::rtftok::FALT, writerfilter::rtftok::FIELD, writerfilter::rtftok::FIELDINSTRUCTION, writerfilter::rtftok::FIELDRESULT, writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::FLYMAINCONTENT, writerfilter::rtftok::RTFShape::getBottom(), writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::RTFParserState::getCurrentListIndex(), writerfilter::rtftok::RTFParserState::getCurrentListOverrideIndex(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getDestinationText(), writerfilter::rtftok::RTFParserState::getDocVar(), writerfilter::rtftok::RTFParserState::getDocVarName(), writerfilter::rtftok::RTFParserState::getDrawingObject(), writerfilter::rtftok::RTFParserState::getFieldStatus(), writerfilter::rtftok::RTFParserState::getFrame(), writerfilter::rtftok::RTFDrawingObject::getHadShapeText(), writerfilter::rtftok::RTFShape::getLeft(), writerfilter::rtftok::RTFParserState::getLevelNumbersValid(), writerfilter::rtftok::RTFParserState::getListLevelEntries(), writerfilter::rtftok::RTFParserState::getListLevelNum(), writerfilter::rtftok::RTFParserState::getParagraphSprms(), writerfilter::rtftok::RTFParserState::getPicture(), writerfilter::rtftok::RTFParserState::getPropName(), writerfilter::rtftok::RTFShape::getRight(), writerfilter::rtftok::RTFParserState::getShape(), writerfilter::rtftok::RTFParserState::getTableAttributes(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::RTFShape::getTop(), writerfilter::rtftok::INSTRUCTION, writerfilter::rtftok::LEVELNUMBERS, writerfilter::rtftok::LEVELTEXT, writerfilter::rtftok::LFOLEVEL, writerfilter::rtftok::LISTENTRY, writerfilter::rtftok::LISTLEVEL, writerfilter::rtftok::LISTNAME, writerfilter::rtftok::LISTOVERRIDEENTRY, writerfilter::rtftok::LISTPICTURE, m_aInvalidListLevelFirstIndents, m_aInvalidListTableFirstIndents, m_aListOverrideTable, m_aListTable, m_aListTableSprms, m_aStates, m_nListLevel, m_nListPictureId, m_pSdrImport, m_xModelFactory, Mapper(), writerfilter::rtftok::NO_APPEND, writerfilter::rtftok::PARAGRAPHNUMBERING, writerfilter::rtftok::PARAGRAPHNUMBERING_TEXTAFTER, writerfilter::rtftok::PARAGRAPHNUMBERING_TEXTBEFORE, writerfilter::rtftok::PICT, writerfilter::rtftok::PROPNAME, writerfilter::rtftok::putNestedSprm(), writerfilter::rtftok::RESULT, writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFShape::setBottom(), writerfilter::rtftok::RTFParserState::setDocVarName(), writerfilter::rtftok::RTFParserState::setFieldStatus(), writerfilter::rtftok::RTFParserState::setHadShapeText(), writerfilter::rtftok::RTFShape::setLeft(), writerfilter::rtftok::RTFParserState::setLevelNumbersValid(), writerfilter::rtftok::RTFParserState::setPropName(), writerfilter::rtftok::RTFShape::setRight(), writerfilter::rtftok::RTFShape::setTop(), writerfilter::rtftok::SHAPE, writerfilter::rtftok::SHAPEINSTRUCTION, writerfilter::rtftok::SHAPEPROPERTY, writerfilter::rtftok::SHAPEPROPERTYNAME, writerfilter::rtftok::SHAPEPROPERTYVALUE, writerfilter::rtftok::SHAPEPROPERTYVALUEPICT, writerfilter::rtftok::SHAPETEXT, writerfilter::rtftok::SHPPICT, singleChar(), writerfilter::Stream::table(), writerfilter::rtftok::RTFStack::top(), writerfilter::rtftok::USERPROPS, and writerfilter::rtftok::YES_PREPEND.

Referenced by popState().

◆ backupTableRowProperties()

void writerfilter::rtftok::RTFDocumentImpl::backupTableRowProperties ( )
private

◆ beforePopState()

RTFError writerfilter::rtftok::RTFDocumentImpl::beforePopState ( RTFParserState rState)

Definition at line 2271 of file rtfdocumentimpl.cxx.

References aBuf, aName, writerfilter::rtftok::ANNOTATIONAUTHOR, writerfilter::rtftok::ANNOTATIONDATE, writerfilter::rtftok::ANNOTATIONREFERENCE, writerfilter::rtftok::ANNOTATIONREFERENCEEND, writerfilter::rtftok::ANNOTATIONREFERENCESTART, oox::formulaimport::XmlStreamBuilder::appendClosingTag(), oox::formulaimport::XmlStreamBuilder::appendOpeningTag(), msfilter::rtfutil::AsHex(), aStr, writerfilter::rtftok::ATNID, writerfilter::rtftok::AUTHOR, writerfilter::rtftok::BOOKMARKEND, writerfilter::rtftok::BOOKMARKSTART, writerfilter::rtftok::BUFFER_PICTURE, writerfilter::rtftok::BUFFER_RESOLVESHAPE, bufferProperties(), writerfilter::cFieldEnd, writerfilter::cFieldLock, writerfilter::cFieldSep, writerfilter::cFieldStart, ch, SfxClassificationHelper::CheckPaste(), writerfilter::rtftok::CLASSIFICATION, writerfilter::rtftok::RTFSprms::clear(), writerfilter::rtftok::COMMENT, writerfilter::rtftok::COMPANY, comphelper::string::convertCommaSeparated(), count, comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), writerfilter::rtftok::CREATIONTIME, d, writerfilter::rtftok::DATAFIELD, deduplicateStyleTable(), dispatchDestination(), dispatchFlag(), writerfilter::rtftok::DOCCOMM, writerfilter::rtftok::DRAWINGOBJECT, writerfilter::rtftok::DTTM22OString(), writerfilter::Stream::endShape(), eType, writerfilter::rtftok::FALT, writerfilter::rtftok::FIELDINSTRUCTION, writerfilter::rtftok::FIELDRESULT, writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::FONTENTRY, writerfilter::rtftok::FONTTABLE, writerfilter::rtftok::FORMFIELDLIST, writerfilter::rtftok::FORMFIELDNAME, writerfilter::rtftok::RTFShape::getBottom(), SvGlobalName::GetByteSequence(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCreatedShapeGroup(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::RTFParserState::getCurrentDestinationText(), writerfilter::rtftok::RTFParserState::getCurrentEncoding(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getDestinationText(), writerfilter::rtftok::RTFParserState::getDrawingObject(), writerfilter::rtftok::RTFDrawingObject::getFillColorB(), writerfilter::rtftok::RTFDrawingObject::getFillColorG(), writerfilter::rtftok::RTFDrawingObject::getFillColorR(), writerfilter::rtftok::RTFDrawingObject::getFLine(), getFontIndex(), writerfilter::rtftok::RTFParserState::getFrame(), writerfilter::rtftok::RTFShape::getGroupProperties(), writerfilter::rtftok::RTFDrawingObject::getHadShapeText(), writerfilter::rtftok::RTFParserState::getHadShapeText(), writerfilter::rtftok::RTFDrawingObject::getHasFillColor(), writerfilter::rtftok::RTFDrawingObject::getHasLineColor(), writerfilter::rtftok::RTFParserState::getInListpicture(), writerfilter::rtftok::RTFParserState::getInShape(), writerfilter::rtftok::RTFParserState::getInShapeGroup(), writerfilter::rtftok::RTFShape::getLeft(), writerfilter::rtftok::RTFParserState::getLevelNumbers(), writerfilter::rtftok::RTFParserState::getLevelNumbersValid(), writerfilter::rtftok::RTFDrawingObject::getLineColorB(), writerfilter::rtftok::RTFDrawingObject::getLineColorG(), writerfilter::rtftok::RTFDrawingObject::getLineColorR(), writerfilter::rtftok::RTFParserState::getListLevelEntries(), writerfilter::rtftok::RTFParserState::getListLevelNum(), writerfilter::rtftok::RTFParserState::getPicture(), writerfilter::rtftok::RTFShape::getProperties(), writerfilter::rtftok::RTFDrawingObject::getPropertySet(), writerfilter::rtftok::RTFParserState::getPropName(), writerfilter::rtftok::RTFParserState::getPropType(), writerfilter::rtftok::RTFShape::getRight(), writerfilter::rtftok::RTFParserState::getShape(), writerfilter::rtftok::RTFDrawingObject::getShape(), writerfilter::rtftok::RTFParserState::getTableAttributes(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::RTFShape::getTop(), writerfilter::rtftok::RTFShape::getWrapSprm(), SvStream::good(), handleEmbeddedObject(), handleFontTableEntry(), writerfilter::rtftok::HEX_INVALID, i, writerfilter::rtftok::INDEXENTRY, writerfilter::rtftok::RTFFrame::inFrame(), writerfilter::rtftok::RTFParserState::isFieldLocked(), SvFileStream::IsOpen(), writerfilter::rtftok::KEYWORDS, writerfilter::rtftok::lcl_containsProperty(), writerfilter::rtftok::lcl_DestinationToMath(), writerfilter::rtftok::lcl_getBookmarkProperties(), writerfilter::rtftok::lcl_getDateTime(), writerfilter::rtftok::LEVELNUMBERS, writerfilter::rtftok::LEVELTEXT, writerfilter::rtftok::LISTENTRY, writerfilter::rtftok::LISTOVERRIDETABLE, m, m_aAuthor, m_aAuthorInitials, m_aBookmarks, m_aDefaultState, m_aFontNames, m_aFontTableEntries, m_aFormfieldAttributes, m_aFormfieldSprms, m_aListTableSprms, m_aMathBuffer, m_aObjectAttributes, m_aOLEAttributes, m_aPicturePath, m_aStates, m_bFormField, m_bIsNewDoc, m_bMathNor, m_bNeedCr, m_bNeedCrOrig, m_bNeedFinalPar, m_bNeedPap, m_bObject, m_nDefaultFontIndex, m_pSdrImport, m_rMediaDescriptor, m_xDocumentProperties, m_xDstDoc, writerfilter::rtftok::MACC, writerfilter::rtftok::MACCPR, Mapper(), writerfilter::rtftok::MBAR, writerfilter::rtftok::MBARPR, writerfilter::rtftok::MBEGCHR, writerfilter::rtftok::MBORDERBOX, writerfilter::rtftok::MBORDERBOXPR, writerfilter::rtftok::MBOX, writerfilter::rtftok::MCHR, writerfilter::rtftok::MCTRLPR, writerfilter::rtftok::MD, writerfilter::rtftok::MDEG, writerfilter::rtftok::MDEGHIDE, writerfilter::rtftok::MDEN, writerfilter::rtftok::MDPR, writerfilter::rtftok::ME, writerfilter::rtftok::MENDCHR, writerfilter::rtftok::MEQARR, writerfilter::rtftok::MF, writerfilter::rtftok::MFNAME, writerfilter::rtftok::MFPR, writerfilter::rtftok::MFUNC, writerfilter::rtftok::MFUNCPR, writerfilter::rtftok::MGROUPCHR, writerfilter::rtftok::MGROUPCHRPR, writerfilter::rtftok::MGROW, writerfilter::rtftok::MLIM, writerfilter::rtftok::MLIMLOW, writerfilter::rtftok::MLIMLOWPR, writerfilter::rtftok::MLIMUPP, writerfilter::rtftok::MLIMUPPPR, writerfilter::rtftok::MM, writerfilter::rtftok::MMPR, writerfilter::rtftok::MMR, writerfilter::rtftok::MNARY, writerfilter::rtftok::MNARYPR, writerfilter::rtftok::MNUM, writerfilter::rtftok::MOMATH, writerfilter::rtftok::MPOS, writerfilter::rtftok::MR, writerfilter::rtftok::MRAD, writerfilter::rtftok::MRADPR, writerfilter::rtftok::MSEPCHR, writerfilter::rtftok::MSPRE, writerfilter::rtftok::MSPREPR, writerfilter::rtftok::MSSUB, writerfilter::rtftok::MSSUBPR, writerfilter::rtftok::MSSUBSUP, writerfilter::rtftok::MSSUBSUPPR, writerfilter::rtftok::MSSUP, writerfilter::rtftok::MSSUPPR, writerfilter::rtftok::MSTRIKEH, writerfilter::rtftok::MSUB, writerfilter::rtftok::MSUBHIDE, writerfilter::rtftok::MSUP, writerfilter::rtftok::MSUPHIDE, writerfilter::rtftok::MTYPE, writerfilter::rtftok::MVERTJC, nLength, writerfilter::rtftok::NO_APPEND, nPos, writerfilter::rtftok::OBJCLASS, writerfilter::rtftok::OBJDATA, writerfilter::rtftok::OBJECT, writerfilter::rtftok::OK, writerfilter::rtftok::OPERATOR, OUStringToOString(), parBreak(), writerfilter::rtftok::PICPROP, writerfilter::rtftok::PICT, writerfilter::rtftok::RTFSdrImport::PICT, writerfilter::rtftok::PNGBLIP, popState(), pos, writerfilter::rtftok::PRINTTIME, utl::MediaDescriptor::PROP_URL, writerfilter::rtftok::PROPNAME, writerfilter::Stream::props(), pushState(), writerfilter::rtftok::putNestedAttribute(), SvStream::ReadUChar(), resetFrame(), writerfilter::rtftok::RTFSdrImport::resolveFLine(), writerfilter::rtftok::RTFSdrImport::resolveLineColorAndWidth(), resolvePict(), writerfilter::rtftok::REVISIONTIME, SAL_WARN, writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setPropName(), writerfilter::rtftok::SHAPE, writerfilter::rtftok::RTFSdrImport::SHAPE, writerfilter::rtftok::SHAPEGROUP, writerfilter::rtftok::SHAPEINSTRUCTION, writerfilter::rtftok::SHAPEPROPERTYNAME, writerfilter::rtftok::SHAPEPROPERTYVALUE, SfxClassificationHelper::ShowPasteInfo(), singleChar(), writerfilter::rtftok::RTFStack::size(), SO3_SM_CLASSID, writerfilter::Stream::startShape(), writerfilter::rtftok::STATICVAL, writerfilter::rtftok::STYLESHEET, writerfilter::rtftok::SUBJECT, writerfilter::Stream::table(), writerfilter::rtftok::TITLE, writerfilter::rtftok::TOCENTRY, o3tl::toInt32(), TOOLS_WARN_EXCEPTION, writerfilter::rtftok::RTFStack::top(), type, u, writerfilter::rtftok::USERPROPS, and writerfilter::Stream::utext().

Referenced by popState().

◆ bufferProperties()

void writerfilter::rtftok::RTFDocumentImpl::bufferProperties ( RTFBuffer_t rBuffer,
const RTFValue::Pointer_t pValue,
const tools::SvRef< TableRowBuffer > &  pTableProperties,
Id  nStyleType = 0 
)

◆ checkFirstRun()

void writerfilter::rtftok::RTFDocumentImpl::checkFirstRun ( )

◆ checkNeedPap()

void writerfilter::rtftok::RTFDocumentImpl::checkNeedPap ( )
private

◆ checkUnicode()

void writerfilter::rtftok::RTFDocumentImpl::checkUnicode ( bool  bUnicode,
bool  bHex 
)
private

◆ createStyleProperties()

writerfilter::Reference< Properties >::Pointer_t writerfilter::rtftok::RTFDocumentImpl::createStyleProperties ( )
private

◆ deduplicateStyleTable()

RTFReferenceTable::Entries_t writerfilter::rtftok::RTFDocumentImpl::deduplicateStyleTable ( )

implement non-obvious RTF specific style inheritance

2 different representations of the styles are needed:

1) flat content, as read from the input file: stored in m_pStyleTableEntries, used as reference input for deduplication both here and for hard formatting in getProperties()

2) real content, with proper override of sprms/attributes where it differs from parent style; this is produced here and sent to domain mapper

Definition at line 2200 of file rtfdocumentimpl.cxx.

References writerfilter::rtftok::RTFSprms::cloneAndDeduplicate(), writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::RTFReferenceProperties::getAttributes(), writerfilter::rtftok::RTFReferenceProperties::getSprms(), m_pStyleTableEntries, and SAL_WARN.

Referenced by beforePopState().

◆ dispatchCharacterAttributeValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchCharacterAttributeValue ( RTFKeyword  nKeyword,
int  nParam 
)

◆ dispatchCharacterSprmValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchCharacterSprmValue ( RTFKeyword  nKeyword,
int  nParam 
)

◆ dispatchDestination()

RTFError writerfilter::rtftok::RTFDocumentImpl::dispatchDestination ( RTFKeyword  nKeyword)
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 39 of file rtfdispatchdestination.cxx.

References aBuf, writerfilter::rtftok::ANNOTATION, writerfilter::rtftok::ANNOTATIONAUTHOR, writerfilter::rtftok::ANNOTATIONDATE, writerfilter::rtftok::ANNOTATIONREFERENCE, writerfilter::rtftok::ANNOTATIONREFERENCEEND, writerfilter::rtftok::ANNOTATIONREFERENCESTART, oox::formulaimport::XmlStreamBuilder::appendOpeningTag(), writerfilter::rtftok::ATNAUTHOR, writerfilter::rtftok::ATNDATE, writerfilter::rtftok::ATNID, writerfilter::rtftok::ATNREF, writerfilter::rtftok::ATRFEND, writerfilter::rtftok::ATRFSTART, writerfilter::rtftok::AUTHOR, writerfilter::rtftok::BACKGROUND, writerfilter::rtftok::BKMKEND, writerfilter::rtftok::BKMKSTART, writerfilter::rtftok::BOOKMARKEND, writerfilter::rtftok::BOOKMARKSTART, writerfilter::rtftok::BUFFER_RESOLVESUBSTREAM, writerfilter::rtftok::BUFFER_STARTSHAPE, writerfilter::rtftok::BUFFER_UTEXT, writerfilter::cFieldStart, ch, checkFirstRun(), checkUnicode(), writerfilter::rtftok::RTFSprms::clear(), writerfilter::rtftok::COLORTABLE, writerfilter::rtftok::COLORTBL, writerfilter::rtftok::COMMENT, writerfilter::rtftok::COMPANY, writerfilter::rtftok::CREATIM, writerfilter::rtftok::CREATIONTIME, writerfilter::rtftok::DATAFIELD, dispatchFlag(), writerfilter::rtftok::DO, writerfilter::rtftok::DOCCOMM, writerfilter::rtftok::DOCVAR, writerfilter::rtftok::DPTXBXTEXT, writerfilter::rtftok::DRAWINGOBJECT, writerfilter::Stream::endCharacterGroup(), ESCHER_ShpInst_PictureFrame, writerfilter::rtftok::FALT, writerfilter::rtftok::FFL, writerfilter::rtftok::FFNAME, writerfilter::rtftok::FIELD, writerfilter::rtftok::FIELDINSTRUCTION, writerfilter::rtftok::FIELDRESULT, writerfilter::rtftok::FLDINST, writerfilter::rtftok::FLDRSLT, writerfilter::rtftok::FLYMAINCNT, writerfilter::rtftok::FLYMAINCONTENT, writerfilter::rtftok::FONTTABLE, writerfilter::rtftok::FONTTBL, writerfilter::rtftok::FOOTER, writerfilter::rtftok::FOOTERF, writerfilter::rtftok::FOOTERL, writerfilter::rtftok::FOOTERR, writerfilter::rtftok::FOOTNOTE, writerfilter::rtftok::FOOTNOTESEPARATOR, writerfilter::rtftok::FORMFIELD, writerfilter::rtftok::FORMFIELDLIST, writerfilter::rtftok::FORMFIELDNAME, writerfilter::rtftok::FTNSEP, writerfilter::rtftok::GENERATOR, writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::RTFMathSymbol::GetDestination(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getDestinationText(), writerfilter::rtftok::RTFShape::getProperties(), writerfilter::rtftok::RTFParserState::getShape(), writerfilter::rtftok::RTFParserState::getTableCellAttributes(), writerfilter::rtftok::RTFParserState::getTableCellSprms(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::RTFMathSymbol::GetToken(), writerfilter::rtftok::RTFLookahead::hasTable(), writerfilter::rtftok::HEADER, writerfilter::rtftok::HEADERF, writerfilter::rtftok::HEADERL, writerfilter::rtftok::HEADERR, i, writerfilter::rtftok::INDEXENTRY, writerfilter::rtftok::INFO, writerfilter::rtftok::KEYWORDS, writerfilter::rtftok::keywordToString(), writerfilter::rtftok::LEVELNUMBERS, writerfilter::rtftok::LEVELTEXT, writerfilter::rtftok::LFOLEVEL, writerfilter::rtftok::LIST, writerfilter::rtftok::LISTENTRY, writerfilter::rtftok::LISTLEVEL, writerfilter::rtftok::LISTNAME, writerfilter::rtftok::LISTOVERRIDE, writerfilter::rtftok::LISTOVERRIDEENTRY, writerfilter::rtftok::LISTOVERRIDETABLE, writerfilter::rtftok::LISTPICTURE, writerfilter::rtftok::LISTTABLE, writerfilter::rtftok::LISTTEXT, writerfilter::rtftok::RTFTokenizer::lookupMathKeyword(), m_aAuthor, m_aAuthorInitials, m_aDefaultState, m_aMathBuffer, m_aNestedTableCellsAttributes, m_aNestedTableCellsSprms, m_aPicturePath, m_aStates, m_aSuperBuffer, m_bFormField, m_bNeedCr, m_bNeedCrOrig, m_bNeedPap, m_bObject, m_hasFFooter, m_hasFHeader, m_hasRFooter, m_hasRHeader, m_nGroupStartPos, m_nHeaderFooterPositions, m_nListLevel, m_nNestedCells, m_pSdrImport, m_pSuperstream, m_pTokenizer, m_xContext, m_xDocumentProperties, m_xDstDoc, m_xModelFactory, Mapper(), writerfilter::rtftok::MBEGCHR, writerfilter::rtftok::MCHR, writerfilter::rtftok::MDEGHIDE, writerfilter::rtftok::MENDCHR, writerfilter::rtftok::MGROW, writerfilter::rtftok::MHIDEBOT, writerfilter::rtftok::MHIDELEFT, writerfilter::rtftok::MHIDERIGHT, writerfilter::rtftok::MHIDETOP, writerfilter::rtftok::MMATH, writerfilter::rtftok::MOMATHPARA, writerfilter::rtftok::MPOS, writerfilter::rtftok::MR, writerfilter::rtftok::MSEPCHR, writerfilter::rtftok::MSTRIKEH, writerfilter::rtftok::MSUBHIDE, writerfilter::rtftok::MSUPHIDE, writerfilter::rtftok::MTYPE, writerfilter::rtftok::MVERTJC, writerfilter::rtftok::NESTEDTABLEPROPERTIES, writerfilter::rtftok::NESTTABLEPROPS, nId, writerfilter::dmapper::NONE, writerfilter::rtftok::NONESTTABLES, writerfilter::rtftok::NORMAL, nPos, writerfilter::rtftok::OBJCLASS, writerfilter::rtftok::OBJDATA, writerfilter::rtftok::OBJECT, writerfilter::rtftok::OK, writerfilter::rtftok::OPERATOR, writerfilter::rtftok::PARAGRAPHNUMBERING, writerfilter::rtftok::PARAGRAPHNUMBERING_TEXTAFTER, writerfilter::rtftok::PARAGRAPHNUMBERING_TEXTBEFORE, writerfilter::rtftok::PARD, writerfilter::rtftok::PICPROP, writerfilter::rtftok::PICT, writerfilter::rtftok::PN, writerfilter::rtftok::PNTEXT, writerfilter::rtftok::PNTXTA, writerfilter::rtftok::PNTXTB, writerfilter::rtftok::PRINTIM, writerfilter::rtftok::PRINTTIME, writerfilter::rtftok::PROPNAME, writerfilter::Stream::props(), SvStream::ReadChar(), resetFrame(), resolveSubstream(), writerfilter::rtftok::RESULT, writerfilter::rtftok::REVISIONTABLE, writerfilter::rtftok::REVISIONTIME, writerfilter::rtftok::REVTBL, writerfilter::rtftok::REVTIM, writerfilter::rtftok::RTF, runProps(), SAL_INFO, SvStream::Seek(), writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setCreatedShapeGroup(), writerfilter::rtftok::RTFParserState::setCurrentBuffer(), writerfilter::rtftok::RTFParserState::setCurrentDestinationText(), writerfilter::rtftok::RTFParserState::setDestination(), writerfilter::rtftok::RTFParserState::setFieldLocked(), writerfilter::rtftok::RTFParserState::setInBackground(), writerfilter::rtftok::RTFParserState::setInListpicture(), writerfilter::rtftok::RTFParserState::setInShape(), writerfilter::rtftok::RTFParserState::setInShapeGroup(), setNeedSect(), writerfilter::rtftok::RTFSkipDestination::setParsed(), writerfilter::rtftok::SHAPE, writerfilter::rtftok::RTFSdrImport::SHAPE, writerfilter::rtftok::SHAPEGROUP, writerfilter::rtftok::SHAPEINSTRUCTION, writerfilter::rtftok::SHAPEPROPERTY, writerfilter::rtftok::SHAPEPROPERTYNAME, writerfilter::rtftok::SHAPEPROPERTYVALUE, writerfilter::rtftok::SHAPEPROPERTYVALUEPICT, writerfilter::rtftok::SHAPETEXT, writerfilter::rtftok::SHP, writerfilter::rtftok::SHPGRP, writerfilter::rtftok::SHPINST, writerfilter::rtftok::SHPPICT, writerfilter::rtftok::SHPTXT, singleChar(), writerfilter::rtftok::SKIP, writerfilter::rtftok::SN, writerfilter::rtftok::SP, writerfilter::dmapper::splitFieldCommand(), writerfilter::Stream::startCharacterGroup(), writerfilter::rtftok::STATICVAL, Strm(), writerfilter::rtftok::STYLESHEET, writerfilter::rtftok::SUBJECT, writerfilter::rtftok::SV, writerfilter::rtftok::TC, writerfilter::rtftok::TCN, SvStream::Tell(), text(), writerfilter::rtftok::TITLE, writerfilter::rtftok::TOCENTRY, writerfilter::rtftok::RTFStack::top(), writerfilter::rtftok::UD, writerfilter::rtftok::UPR, writerfilter::rtftok::USERPROPS, and writerfilter::rtftok::XE.

Referenced by beforePopState().

◆ dispatchFlag()

RTFError writerfilter::rtftok::RTFDocumentImpl::dispatchFlag ( RTFKeyword  nKeyword)
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 117 of file rtfdispatchflag.cxx.

References writerfilter::rtftok::AENDDOC, writerfilter::rtftok::AENDNOTES, writerfilter::rtftok::AFTNNALC, writerfilter::rtftok::AFTNNAR, writerfilter::rtftok::AFTNNAUC, writerfilter::rtftok::AFTNNCHI, writerfilter::rtftok::AFTNNRLC, writerfilter::rtftok::AFTNNRUC, writerfilter::rtftok::AFTNRESTART, writerfilter::rtftok::AFTNRSTCONT, aName, writerfilter::rtftok::ANSI, backupTableRowProperties(), writerfilter::rtftok::BOX, writerfilter::rtftok::BRDRB, writerfilter::rtftok::BRDRBTW, writerfilter::rtftok::BRDRDASH, writerfilter::rtftok::BRDRDASHD, writerfilter::rtftok::BRDRDASHDD, writerfilter::rtftok::BRDRDASHSM, writerfilter::rtftok::BRDRDB, writerfilter::rtftok::BRDRDOT, writerfilter::rtftok::BRDREMBOSS, writerfilter::rtftok::BRDRENGRAVE, writerfilter::rtftok::BRDRHAIR, writerfilter::rtftok::BRDRINSET, writerfilter::rtftok::BRDRL, writerfilter::rtftok::BRDRNONE, writerfilter::rtftok::BRDROUTSET, writerfilter::rtftok::BRDRR, writerfilter::rtftok::BRDRS, writerfilter::rtftok::BRDRSH, writerfilter::rtftok::BRDRT, writerfilter::rtftok::BRDRTHTNLG, writerfilter::rtftok::BRDRTHTNMG, writerfilter::rtftok::BRDRTHTNSG, writerfilter::rtftok::BRDRTNTHLG, writerfilter::rtftok::BRDRTNTHMG, writerfilter::rtftok::BRDRTNTHSG, writerfilter::rtftok::CELL, writerfilter::rtftok::CHARACTER, writerfilter::rtftok::CHBRDR, checkFirstRun(), checkNeedPap(), checkUnicode(), writerfilter::rtftok::CLBRDRB, writerfilter::rtftok::CLBRDRL, writerfilter::rtftok::CLBRDRR, writerfilter::rtftok::CLBRDRT, writerfilter::rtftok::CLMGF, writerfilter::rtftok::CLMRG, writerfilter::rtftok::CLTXBTLR, writerfilter::rtftok::CLTXLRTB, writerfilter::rtftok::CLTXLRTBV, writerfilter::rtftok::CLTXTBRL, writerfilter::rtftok::CLTXTBRLV, writerfilter::rtftok::CLVERTALB, writerfilter::rtftok::CLVERTALC, writerfilter::rtftok::CLVERTALT, writerfilter::rtftok::CLVMGF, writerfilter::rtftok::CLVMRG, writerfilter::rtftok::CONTEXTUALSPACE, createInstance(), writerfilter::rtftok::DBCH, writerfilter::rtftok::RTFParserState::DBCH, dispatchFloatingTableFlag(), dispatchSymbol(), writerfilter::rtftok::DNTBLNSBDB, writerfilter::rtftok::DOBXMARGIN, writerfilter::rtftok::DOBXPAGE, writerfilter::rtftok::DOBYMARGIN, writerfilter::rtftok::DOBYPAGE, writerfilter::rtftok::DOBYPARA, writerfilter::rtftok::DPELLIPSE, writerfilter::rtftok::DPLINE, writerfilter::rtftok::DPLINEHOLLOW, writerfilter::rtftok::DPPOLYGON, writerfilter::rtftok::DPPOLYLINE, writerfilter::rtftok::DPRECT, writerfilter::rtftok::DPROUNDR, writerfilter::rtftok::DPTXBX, writerfilter::rtftok::ENDDOC, writerfilter::rtftok::RTFSprms::erase(), writerfilter::rtftok::eraseNestedAttribute(), ESCHER_ShpInst_Ellipse, writerfilter::rtftok::RTFPicture::eStyle, writerfilter::rtftok::FAAUTO, writerfilter::rtftok::FACENTER, writerfilter::rtftok::FAFIXED, writerfilter::rtftok::FAHANG, writerfilter::rtftok::FAROMAN, writerfilter::rtftok::FAVAR, writerfilter::rtftok::FBIDI, writerfilter::rtftok::FDECOR, writerfilter::rtftok::FIELD, writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::findPropertyName(), writerfilter::rtftok::FLDLOCK, writerfilter::rtftok::FMODERN, writerfilter::rtftok::FNIL, writerfilter::rtftok::FORMSHADE, writerfilter::dmapper::FRAME, writerfilter::rtftok::FROMAN, writerfilter::rtftok::FSCRIPT, writerfilter::rtftok::FSWISS, writerfilter::rtftok::FTECH, writerfilter::rtftok::FTNBJ, writerfilter::rtftok::FTNNALC, writerfilter::rtftok::FTNNAR, writerfilter::rtftok::FTNNAUC, writerfilter::rtftok::FTNNCHI, writerfilter::rtftok::FTNNRLC, writerfilter::rtftok::FTNNRUC, writerfilter::rtftok::FTNRESTART, writerfilter::rtftok::FTNRSTCONT, writerfilter::rtftok::FTNRSTPG, writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::RTFParserState::getCurrentEncoding(), getDefaultState(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFDrawingObject::getDhgt(), writerfilter::rtftok::RTFParserState::getDrawingObject(), getEncoding(), getFontIndex(), writerfilter::rtftok::RTFParserState::getFrame(), getModelFactory(), writerfilter::rtftok::RTFParserState::getParagraphAttributes(), writerfilter::rtftok::getParagraphBorder(), writerfilter::rtftok::RTFParserState::getParagraphSprms(), writerfilter::rtftok::RTFDrawingObject::getPendingProperties(), writerfilter::rtftok::RTFParserState::getPicture(), writerfilter::rtftok::RTFDrawingObject::getPropertySet(), writerfilter::rtftok::RTFParserState::getRunType(), writerfilter::rtftok::RTFParserState::getSectionAttributes(), writerfilter::rtftok::RTFParserState::getSectionSprms(), writerfilter::rtftok::RTFParserState::getShape(), writerfilter::rtftok::RTFDrawingObject::getShape(), getStyleName(), getStyleType(), writerfilter::rtftok::RTFParserState::getTabAttributes(), writerfilter::rtftok::RTFParserState::getTableAttributes(), writerfilter::rtftok::RTFParserState::getTableCellSprms(), writerfilter::rtftok::RTFParserState::getTableRowSprms(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::RTFSdrImport::getTextFrameDefaults(), writerfilter::rtftok::GUTTERPRL, writerfilter::rtftok::HICH, writerfilter::rtftok::RTFParserState::HICH, writerfilter::rtftok::HTMAUTSP, i, writerfilter::rtftok::INTBL, writerfilter::rtftok::invalid, isStyleSheetImport(), writerfilter::rtftok::JPEG, writerfilter::rtftok::JPEGBLIP, writerfilter::rtftok::KEEP, writerfilter::rtftok::KEEPN, writerfilter::rtftok::keywordToString(), writerfilter::rtftok::LANDSCAPE, writerfilter::rtftok::LINEBETCOL, writerfilter::rtftok::LINECONT, writerfilter::rtftok::LINEPPAGE, writerfilter::rtftok::LINKSTYLES, writerfilter::rtftok::LNDSCPSXN, writerfilter::rtftok::LOCH, writerfilter::rtftok::RTFParserState::LOCH, writerfilter::rtftok::LTRCH, writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_1, writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_2, writerfilter::rtftok::LTRPAR, writerfilter::rtftok::LTRROW, writerfilter::rtftok::LTRSECT, m_aDefaultState, m_aSettingsTableSprms, m_aStates, m_aSuperBuffer, m_aTableBufferStack, m_bAfterCellBeforeRow, m_bHadPicture, m_bMathNor, m_bNeedPap, m_nDefaultFontIndex, m_nNestedCells, m_nResetBreakOnSectBreak, m_nTopLevelCells, m_pSdrImport, m_xDstDoc, writerfilter::rtftok::MAC, Mapper(), writerfilter::rtftok::MARGMIRROR, writerfilter::rtftok::MMATHPICT, writerfilter::rtftok::MNOR, writerfilter::rtftok::NOBRKWRPTBL, writerfilter::rtftok::NOCOLBAL, writerfilter::rtftok::NOLINE, writerfilter::dmapper::NONE, writerfilter::rtftok::RTFParserState::NONE, writerfilter::rtftok::NONSHPPICT, writerfilter::rtftok::NOSUPERSUB, writerfilter::rtftok::NOWIDCTLPAR, writerfilter::rtftok::NOWRAP, nType, writerfilter::rtftok::OK, writerfilter::rtftok::PAGE, writerfilter::rtftok::PAGEBB, writerfilter::rtftok::PAR, writerfilter::rtftok::PARAGRAPH, writerfilter::rtftok::PARAGRAPH_BOX, writerfilter::rtftok::PARD, writerfilter::rtftok::PC, writerfilter::rtftok::PCA, writerfilter::rtftok::PGBRDRB, writerfilter::rtftok::PGBRDRL, writerfilter::rtftok::PGBRDRR, writerfilter::rtftok::PGBRDRT, writerfilter::rtftok::PGNBIDIA, writerfilter::rtftok::PGNBIDIB, writerfilter::rtftok::PGNDEC, writerfilter::rtftok::PGNLCLTR, writerfilter::rtftok::PGNLCRM, writerfilter::rtftok::PGNRESTART, writerfilter::rtftok::PGNUCLTR, writerfilter::rtftok::PGNUCRM, writerfilter::rtftok::PHCOL, writerfilter::rtftok::PHMRG, writerfilter::rtftok::PHPG, writerfilter::rtftok::PLAIN, writerfilter::rtftok::PNDEC, writerfilter::rtftok::PNG, writerfilter::rtftok::PNGBLIP, writerfilter::rtftok::PNLVLBLT, writerfilter::rtftok::PNLVLBODY, writerfilter::rtftok::POSXC, writerfilter::rtftok::POSXI, writerfilter::rtftok::POSXL, writerfilter::rtftok::POSXO, writerfilter::rtftok::POSXR, writerfilter::rtftok::POSYB, writerfilter::rtftok::POSYC, writerfilter::rtftok::POSYIL, writerfilter::rtftok::POSYIN, writerfilter::rtftok::POSYOUT, writerfilter::rtftok::POSYT, writerfilter::rtftok::putBorderProperty(), writerfilter::rtftok::putNestedAttribute(), writerfilter::rtftok::putNestedSprm(), writerfilter::rtftok::PVMRG, writerfilter::rtftok::PVPARA, writerfilter::rtftok::PVPG, writerfilter::rtftok::QC, writerfilter::rtftok::QD, writerfilter::rtftok::QJ, writerfilter::rtftok::QL, writerfilter::rtftok::QR, replayBuffer(), resetFrame(), resetTableRowProperties(), writerfilter::rtftok::REVISIONS, writerfilter::rtftok::RTLCH, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_1, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_2, writerfilter::rtftok::RTLGUTTER, writerfilter::rtftok::RTLPAR, writerfilter::rtftok::RTLROW, writerfilter::rtftok::RTLSECT, SAL_INFO, writerfilter::rtftok::SAUTOUPD, writerfilter::rtftok::SBKCOL, writerfilter::rtftok::SBKEVEN, writerfilter::rtftok::SBKNONE, writerfilter::rtftok::SBKODD, writerfilter::rtftok::SBKPAGE, writerfilter::rtftok::SECTD, writerfilter::rtftok::SECTUNLOCKED, writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setBorderState(), writerfilter::rtftok::RTFParserState::setCurrentBuffer(), writerfilter::rtftok::RTFParserState::setCurrentCharacterStyleIndex(), writerfilter::rtftok::RTFParserState::setCurrentEncoding(), writerfilter::rtftok::RTFParserState::setCurrentStyleIndex(), writerfilter::rtftok::RTFParserState::setDestination(), writerfilter::rtftok::RTFParserState::setFieldLocked(), writerfilter::rtftok::RTFDrawingObject::setFLine(), writerfilter::rtftok::RTFDrawingObject::setHadShapeText(), writerfilter::rtftok::RTFShape::setHoriOrientRelation(), writerfilter::rtftok::RTFShape::setHoriOrientRelationToken(), setNeedSect(), writerfilter::rtftok::RTFSkipDestination::setParsed(), writerfilter::rtftok::RTFDrawingObject::setPropertySet(), writerfilter::rtftok::RTFParserState::setRunType(), writerfilter::rtftok::RTFDrawingObject::setShape(), writerfilter::rtftok::RTFFrame::setSprm(), writerfilter::rtftok::RTFShape::setVertOrientRelation(), writerfilter::rtftok::RTFShape::setVertOrientRelationToken(), writerfilter::rtftok::SHPBXPAGE, writerfilter::rtftok::SHPBYPAGE, writerfilter::rtftok::SKIP, writerfilter::Stream::startShape(), writerfilter::rtftok::SUB, writerfilter::rtftok::SUPER, writerfilter::rtftok::TITLEPG, writerfilter::rtftok::TLDOT, writerfilter::rtftok::TLEQ, writerfilter::rtftok::TLHYPH, writerfilter::rtftok::TLMDOT, writerfilter::rtftok::TLTH, writerfilter::rtftok::TLUL, writerfilter::rtftok::RTFStack::top(), writerfilter::rtftok::TQC, writerfilter::rtftok::TQDEC, writerfilter::rtftok::TQR, writerfilter::rtftok::TRKEEP, writerfilter::rtftok::TROWD, writerfilter::rtftok::TRQC, writerfilter::rtftok::TRQL, writerfilter::rtftok::TRQR, u, writerfilter::rtftok::ULD, writerfilter::rtftok::ULNONE, writerfilter::rtftok::ULW, writerfilter::rtftok::WIDCTLPAR, and writerfilter::rtftok::WIDOWCTRL.

Referenced by beforePopState(), dispatchDestination(), dispatchParagraphSprmValue(), dispatchSymbol(), dispatchTableValue(), and sectBreak().

◆ dispatchFloatingTableFlag()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchFloatingTableFlag ( RTFKeyword  nKeyword)

◆ dispatchFrameValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchFrameValue ( RTFKeyword  nKeyword,
int  nParam 
)

◆ dispatchInfoValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchInfoValue ( RTFKeyword  nKeyword,
int  nParam 
)

◆ dispatchParagraphSprmValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchParagraphSprmValue ( RTFKeyword  nKeyword,
int  nParam 
)

◆ dispatchSymbol()

RTFError writerfilter::rtftok::RTFDocumentImpl::dispatchSymbol ( RTFKeyword  nKeyword)
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 26 of file rtfdispatchsymbol.cxx.

References aStr, writerfilter::rtftok::BACKSLASH, writerfilter::rtftok::BUFFER_CELLEND, writerfilter::rtftok::BUFFER_NESTROW, writerfilter::rtftok::BUFFER_PAR, bufferProperties(), writerfilter::rtftok::BULLET, writerfilter::rtftok::CELL, writerfilter::cFieldEnd, writerfilter::cFieldSep, writerfilter::cFieldStart, checkFirstRun(), checkNeedPap(), checkUnicode(), writerfilter::rtftok::CHFTN, writerfilter::rtftok::CHFTNSEP, writerfilter::rtftok::CHPGN, writerfilter::rtftok::RTFSprms::clear(), writerfilter::rtftok::COLUMN, dispatchFlag(), dispatchSymbol(), writerfilter::rtftok::EMDASH, writerfilter::rtftok::ENDASH, writerfilter::Stream::endCharacterGroup(), writerfilter::rtftok::RTFSprms::eraseLast(), writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::FOOTNOTESEPARATOR, writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getFrame(), writerfilter::rtftok::RTFParserState::getParagraphAttributes(), writerfilter::rtftok::RTFParserState::getParagraphSprms(), writerfilter::rtftok::RTFParserState::getSectionSprms(), writerfilter::rtftok::RTFParserState::getTableCellAttributes(), writerfilter::rtftok::RTFParserState::getTableCellSprms(), writerfilter::rtftok::RTFParserState::getTableRowSprms(), writerfilter::rtftok::RTFParserState::getTableRowWidthAfter(), writerfilter::rtftok::HEX, writerfilter::rtftok::HEXCHAR, i, writerfilter::rtftok::IGNORE, writerfilter::rtftok::RTFFrame::inFrame(), writerfilter::rtftok::invalid, writerfilter::rtftok::keywordToString(), writerfilter::rtftok::LBRACE, writerfilter::rtftok::LDBLQUOTE, writerfilter::rtftok::LINE, writerfilter::rtftok::LQUOTE, m_aDefaultState, m_aNestedTableCellsAttributes, m_aNestedTableCellsSprms, m_aStates, m_aSuperBuffer, m_aTableBufferStack, m_aTableInheritingCellsAttributes, m_aTableInheritingCellsSprms, m_aTopLevelTableCellsAttributes, m_aTopLevelTableCellsSprms, m_bAfterCellBeforeRow, m_bFirstRun, m_bHadSect, m_bIgnoreNextContSectBreak, m_bNeedCr, m_bNeedFinalPar, m_bNeedPap, m_bNeedPar, m_bNeedSect, m_bSkipUnknown, m_bWasInFrame, m_nBackupTopLevelCurrentCellX, m_nCellxMax, m_nInheritingCells, m_nNestedCells, m_nNestedCurrentCellX, m_nNestedTRLeft, m_nResetBreakOnSectBreak, m_nTopLevelCells, m_nTopLevelCurrentCellX, m_nTopLevelTRLeft, Mapper(), MINLAY, writerfilter::rtftok::NESTCELL, writerfilter::rtftok::NESTROW, writerfilter::rtftok::NO_APPEND, writerfilter::rtftok::NOBREAK, writerfilter::rtftok::NOBRKHYPH, writerfilter::rtftok::OK, writerfilter::rtftok::OPTHYPH, writerfilter::rtftok::PAGE, writerfilter::rtftok::PAR, parBreak(), prepareProperties(), writerfilter::Stream::props(), writerfilter::rtftok::RBRACE, writerfilter::rtftok::RDBLQUOTE, replayRowBuffer(), resetTableRowProperties(), restoreTableRowProperties(), writerfilter::rtftok::ROW, writerfilter::rtftok::RQUOTE, runProps(), SAL_INFO, SAL_WARN, writerfilter::rtftok::SBKNONE, writerfilter::rtftok::SBKPAGE, writerfilter::rtftok::SECT, sectBreak(), sendProperties(), writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setCurrentBuffer(), writerfilter::rtftok::RTFParserState::setInternalState(), setNeedSect(), writerfilter::rtftok::RTFSkipDestination::setParsed(), writerfilter::rtftok::RTFSkipDestination::setReset(), writerfilter::rtftok::RTFParserState::setTableRowWidthAfter(), writerfilter::rtftok::SHAPETEXT, singleChar(), writerfilter::rtftok::RTFStack::size(), writerfilter::Stream::startCharacterGroup(), SVT_HARD_HYPHEN, SVT_HARD_SPACE, SVT_SOFT_HYPHEN, writerfilter::rtftok::TAB, writerfilter::Stream::text(), text(), writerfilter::rtftok::RTFStack::top(), uFtnEdnSep, and writerfilter::Stream::utext().

Referenced by checkNeedPap(), dispatchFlag(), dispatchSymbol(), popState(), resolveChars(), and sectBreak().

◆ dispatchTableSprmValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchTableSprmValue ( RTFKeyword  nKeyword,
int  nParam 
)

◆ dispatchTableValue()

bool writerfilter::rtftok::RTFDocumentImpl::dispatchTableValue ( RTFKeyword  nKeyword,
int  nParam 
)

Definition at line 382 of file rtfdispatchvalue.cxx.

References writerfilter::rtftok::CELLX, writerfilter::rtftok::CLPADB, writerfilter::rtftok::CLPADL, writerfilter::rtftok::CLPADR, writerfilter::rtftok::CLPADT, writerfilter::rtftok::CLSHDNG, COL_DFLT_WIDTH, dispatchFlag(), writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getTableCellAttributes(), writerfilter::rtftok::RTFParserState::getTableCellSprms(), writerfilter::rtftok::RTFParserState::getTableRowSprms(), writerfilter::rtftok::INTBL, m_aDefaultState, m_aNestedTableCellsAttributes, m_aNestedTableCellsSprms, m_aStates, m_aTopLevelTableCellsAttributes, m_aTopLevelTableCellsSprms, m_nCellxMax, m_nNestedCells, m_nNestedCurrentCellX, m_nNestedTRLeft, m_nTopLevelCells, m_nTopLevelCurrentCellX, m_nTopLevelTRLeft, Mapper(), writerfilter::rtftok::NESTEDTABLEPROPERTIES, writerfilter::rtftok::NO_APPEND, nValue, writerfilter::Stream::props(), writerfilter::rtftok::putNestedAttribute(), writerfilter::rtftok::putNestedSprm(), writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::TBLIND, writerfilter::rtftok::RTFStack::top(), writerfilter::rtftok::TRFTSWIDTH, writerfilter::rtftok::TRGAPH, writerfilter::rtftok::TRLEFT, writerfilter::rtftok::TRPADDB, writerfilter::rtftok::TRPADDFB, writerfilter::rtftok::TRPADDFL, writerfilter::rtftok::TRPADDFR, writerfilter::rtftok::TRPADDFT, writerfilter::rtftok::TRPADDL, writerfilter::rtftok::TRPADDR, writerfilter::rtftok::TRPADDT, writerfilter::rtftok::TRRH, and writerfilter::rtftok::TRWWIDTH.

Referenced by dispatchValue().

◆ dispatchToggle()

RTFError writerfilter::rtftok::RTFDocumentImpl::dispatchToggle ( RTFKeyword  nKeyword,
bool  bParam,
int  nParam 
)
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 1853 of file rtfdocumentimpl.cxx.

References writerfilter::rtftok::AB, writerfilter::rtftok::ACCCIRCLE, writerfilter::rtftok::ACCCOMMA, writerfilter::rtftok::ACCDOT, writerfilter::rtftok::ACCNONE, writerfilter::rtftok::ACCUNDERDOT, writerfilter::rtftok::AI, writerfilter::rtftok::ASPALPHA, writerfilter::rtftok::B, writerfilter::rtftok::CAPS, checkUnicode(), writerfilter::rtftok::RTFParserState::DBCH, writerfilter::rtftok::DELETED, writerfilter::rtftok::FACINGP, writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getParagraphSprms(), writerfilter::rtftok::RTFParserState::getRunType(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::RTFParserState::HICH, writerfilter::rtftok::HYPHAUTO, writerfilter::rtftok::HYPHPAR, writerfilter::rtftok::I, writerfilter::rtftok::IMPR, writerfilter::rtftok::keywordToString(), writerfilter::rtftok::LISTLEVEL, writerfilter::rtftok::RTFParserState::LOCH, writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_1, writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_2, m_aSettingsTableSprms, m_aStates, writerfilter::rtftok::RTFParserState::NONE, writerfilter::rtftok::OK, writerfilter::rtftok::OUTL, writerfilter::rtftok::putNestedAttribute(), writerfilter::rtftok::REVISED, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_1, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_2, writerfilter::rtftok::SAAUTO, SAL_INFO, writerfilter::rtftok::SBAUTO, writerfilter::rtftok::SCAPS, writerfilter::rtftok::RTFSprms::set(), setNeedSect(), writerfilter::rtftok::RTFSkipDestination::setParsed(), writerfilter::rtftok::SHAD, writerfilter::rtftok::STRIKE, writerfilter::rtftok::STRIKED, writerfilter::rtftok::RTFStack::top(), writerfilter::rtftok::UL, writerfilter::rtftok::ULDASH, writerfilter::rtftok::ULDASHD, writerfilter::rtftok::ULDASHDD, writerfilter::rtftok::ULDB, writerfilter::rtftok::ULHWAVE, writerfilter::rtftok::ULLDASH, writerfilter::rtftok::ULTH, writerfilter::rtftok::ULTHD, writerfilter::rtftok::ULTHDASH, writerfilter::rtftok::ULTHDASHD, writerfilter::rtftok::ULTHDASHDD, writerfilter::rtftok::ULTHLDASH, writerfilter::rtftok::ULULDBWAVE, writerfilter::rtftok::ULWAVE, and writerfilter::rtftok::V.

◆ dispatchValue()

RTFError writerfilter::rtftok::RTFDocumentImpl::dispatchValue ( RTFKeyword  nKeyword,
int  nParam 
)
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 722 of file rtfdispatchvalue.cxx.

References writerfilter::rtftok::ADEFLANG, writerfilter::rtftok::AF, writerfilter::rtftok::AFTNSTART, aName, writerfilter::rtftok::ANIMTEXT, writerfilter::rtftok::ANSICPG, writerfilter::rtftok::aRTFEncodings, aSeq, aStr, writerfilter::rtftok::BIN, writerfilter::rtftok::BLUE, writerfilter::rtftok::BRDRCF, writerfilter::rtftok::BRDRW, writerfilter::rtftok::BRSP, writerfilter::rtftok::CBPAT, writerfilter::rtftok::CF, writerfilter::rtftok::CHCBPAT, writerfilter::rtftok::CHECKBOX, checkUnicode(), writerfilter::rtftok::CLCBPAT, writerfilter::rtftok::CLCBPATRAW, writerfilter::rtftok::RTFSprms::clear(), writerfilter::rtftok::RTFEncoding::codepage, COL_AUTO(), writerfilter::rtftok::COLNO, writerfilter::rtftok::COLS, writerfilter::rtftok::COLSR, writerfilter::rtftok::COLSX, writerfilter::rtftok::COLW, comphelper::containerToSequence(), convertTwipToMm100(), writerfilter::rtftok::CPG, writerfilter::rtftok::CS, writerfilter::rtftok::RTFParserState::DBCH, writerfilter::rtftok::DEFF, writerfilter::rtftok::DEFLANG, writerfilter::rtftok::DEFTAB, writerfilter::rtftok::DFRMTXTX, writerfilter::rtftok::DFRMTXTY, writerfilter::rtftok::DIBITMAP, dispatchCharacterAttributeValue(), dispatchCharacterSprmValue(), dispatchFrameValue(), dispatchInfoValue(), dispatchParagraphSprmValue(), dispatchTableSprmValue(), dispatchTableValue(), dispatchValue(), writerfilter::rtftok::DN, writerfilter::rtftok::DODHGT, writerfilter::rtftok::DPFILLBGCB, writerfilter::rtftok::DPFILLBGCG, writerfilter::rtftok::DPFILLBGCR, writerfilter::rtftok::DPLINECOB, writerfilter::rtftok::DPLINECOG, writerfilter::rtftok::DPLINECOR, writerfilter::rtftok::DPPOLYCOUNT, writerfilter::rtftok::DPPTX, writerfilter::rtftok::DPPTY, writerfilter::rtftok::DPX, writerfilter::rtftok::DPXSIZE, writerfilter::rtftok::DPY, writerfilter::rtftok::DPYSIZE, writerfilter::rtftok::DS, writerfilter::rtftok::DTTM22OString(), writerfilter::rtftok::DXFRTEXT, writerfilter::rtftok::EDMINS, writerfilter::rtftok::RTFPicture::eStyle, writerfilter::rtftok::RTFPicture::eWMetafile, writerfilter::rtftok::EXPND, writerfilter::rtftok::F, writerfilter::rtftok::FCHARSET, writerfilter::rtftok::FFDEFRES, writerfilter::rtftok::FFRES, writerfilter::rtftok::FFTYPE, writerfilter::rtftok::FI, writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::FLYANCHOR, writerfilter::rtftok::FLYHORZ, writerfilter::rtftok::FLYVERT, writerfilter::rtftok::FONTENTRY, writerfilter::rtftok::FONTTABLE, writerfilter::rtftok::FOOTERY, writerfilter::rtftok::FPRQ, writerfilter::rtftok::FTNSTART, writerfilter::rtftok::RTFVertOrient::GetAlign(), writerfilter::rtftok::RTFHoriOrient::GetAlign(), writerfilter::rtftok::RTFVertOrient::GetAnchor(), writerfilter::rtftok::RTFHoriOrient::GetAnchor(), LanguageTag::getBcp47(), writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCharsToSkip(), getColorTable(), writerfilter::rtftok::RTFParserState::getCurrentColor(), writerfilter::rtftok::RTFParserState::getCurrentDestinationText(), writerfilter::rtftok::RTFParserState::getCurrentEncoding(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getDrawingObject(), getEncoding(), getFontIndex(), getFontName(), writerfilter::rtftok::RTFParserState::getFrame(), writerfilter::rtftok::getLastAttributes(), writerfilter::rtftok::RTFParserState::getLevelNumbers(), writerfilter::rtftok::RTFParserState::getLevelNumbersValid(), writerfilter::rtftok::RTFParserState::getParagraphAttributes(), writerfilter::rtftok::RTFParserState::getParagraphSprms(), writerfilter::rtftok::RTFParserState::getPicture(), writerfilter::rtftok::RTFDrawingObject::getPolyLineCount(), writerfilter::rtftok::RTFDrawingObject::getPolyLinePoints(), writerfilter::rtftok::RTFDrawingObject::getPropertySet(), writerfilter::rtftok::RTFParserState::getRunType(), writerfilter::rtftok::RTFParserState::getSectionSprms(), writerfilter::rtftok::RTFParserState::getShape(), getStyleName(), writerfilter::rtftok::RTFParserState::getTabAttributes(), writerfilter::rtftok::RTFParserState::getTableAttributes(), writerfilter::rtftok::RTFParserState::getTableCellSprms(), writerfilter::rtftok::RTFParserState::getTableRowSprms(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::RTFParserState::getUc(), writerfilter::rtftok::GREEN, writerfilter::rtftok::GUTTER, handleFontTableEntry(), writerfilter::rtftok::HEADERY, writerfilter::rtftok::RTFParserState::HICH, writerfilter::rtftok::HIGHLIGHT, writerfilter::rtftok::HORZVERT, i, writerfilter::rtftok::ILVL, writerfilter::rtftok::keywordToString(), writerfilter::rtftok::LBR, writerfilter::rtftok::LEVELFOLLOW, writerfilter::rtftok::LEVELNUMBERS, writerfilter::rtftok::LI, writerfilter::rtftok::LIN, writerfilter::rtftok::LINEMOD, writerfilter::rtftok::LINESTARTS, writerfilter::rtftok::LINEX, writerfilter::rtftok::LIST, writerfilter::rtftok::LISTENTRY, writerfilter::rtftok::LISTID, writerfilter::rtftok::LISTLEVEL, writerfilter::rtftok::LISTOVERRIDECOUNT, writerfilter::rtftok::LISTOVERRIDEENTRY, writerfilter::rtftok::LISTTEMPLATEID, writerfilter::rtftok::RTFParserState::LOCH, writerfilter::rtftok::LS, writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_1, writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_2, m_aAuthors, m_aDefaultState, m_aFontIndexes, m_aFontNames, m_aFormfieldSprms, m_aInvalidListLevelFirstIndents, m_aSettingsTableAttributes, m_aSettingsTableSprms, m_aStates, m_aUnicodeBuffer, m_nCurrentEncoding, m_nCurrentFontIndex, m_nCurrentStyleIndex, m_nDefaultFontIndex, m_nFormFieldType, m_nListLevel, m_xDocumentProperties, writerfilter::rtftok::MARGB, writerfilter::rtftok::MARGBSXN, writerfilter::rtftok::MARGL, writerfilter::rtftok::MARGLSXN, writerfilter::rtftok::MARGR, writerfilter::rtftok::MARGRSXN, writerfilter::rtftok::MARGT, writerfilter::rtftok::MARGTSXN, writerfilter::rtftok::RTFPicture::nCropB, writerfilter::rtftok::RTFPicture::nCropL, writerfilter::rtftok::RTFPicture::nCropR, writerfilter::rtftok::RTFPicture::nCropT, writerfilter::rtftok::RTFPicture::nGoalHeight, writerfilter::rtftok::RTFPicture::nGoalWidth, writerfilter::rtftok::RTFPicture::nHeight, nId, writerfilter::rtftok::NO_APPEND, writerfilter::rtftok::NO_IGNORE, writerfilter::rtftok::NOFCHARS, writerfilter::rtftok::NOFCHARSWS, writerfilter::rtftok::NOFPAGES, writerfilter::rtftok::NOFWORDS, writerfilter::rtftok::NONE, writerfilter::rtftok::RTFParserState::NONE, writerfilter::rtftok::nRTFEncodings, writerfilter::rtftok::RTFPicture::nScaleX, writerfilter::rtftok::RTFPicture::nScaleY, nValue, writerfilter::rtftok::RTFPicture::nWidth, writerfilter::rtftok::OK, writerfilter::rtftok::OUTLINELEVEL, outputSettingsTable(), writerfilter::rtftok::PAPERH, writerfilter::rtftok::PAPERW, writerfilter::rtftok::PGBRDROPT, writerfilter::rtftok::PGHSXN, writerfilter::rtftok::PGWSXN, writerfilter::rtftok::PICCROPB, writerfilter::rtftok::PICCROPL, writerfilter::rtftok::PICCROPR, writerfilter::rtftok::PICCROPT, writerfilter::rtftok::PICH, writerfilter::rtftok::PICHGOAL, writerfilter::rtftok::PICSCALEX, writerfilter::rtftok::PICSCALEY, writerfilter::rtftok::PICW, writerfilter::rtftok::PICWGOAL, writerfilter::rtftok::PNF, writerfilter::rtftok::PNSTART, writerfilter::rtftok::PROPTYPE, writerfilter::rtftok::putBorderProperty(), writerfilter::rtftok::putNestedAttribute(), writerfilter::rtftok::putNestedSprm(), writerfilter::rtftok::RED, writerfilter::rtftok::REVAUTH, writerfilter::rtftok::REVAUTHDEL, writerfilter::rtftok::REVDTTM, writerfilter::rtftok::REVDTTMDEL, writerfilter::rtftok::RI, writerfilter::rtftok::RIN, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_1, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_2, writerfilter::rtftok::S, writerfilter::rtftok::SA, SAL_INFO, SAL_MAX_INT16, SAL_MAX_UINT16, SAL_MIN_INT16, writerfilter::rtftok::SB, writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setBinaryToRead(), writerfilter::rtftok::RTFColorTableEntry::SetBlue(), writerfilter::rtftok::RTFShape::setBottom(), writerfilter::rtftok::RTFParserState::setCurrentCharacterStyleIndex(), writerfilter::rtftok::RTFParserState::setCurrentEncoding(), writerfilter::rtftok::RTFParserState::setCurrentListIndex(), writerfilter::rtftok::RTFParserState::setCurrentListOverrideIndex(), writerfilter::rtftok::RTFParserState::setCurrentStyleIndex(), writerfilter::rtftok::RTFDrawingObject::setDhgt(), writerfilter::rtftok::RTFDrawingObject::setFillColorB(), writerfilter::rtftok::RTFDrawingObject::setFillColorG(), writerfilter::rtftok::RTFDrawingObject::setFillColorR(), writerfilter::rtftok::RTFColorTableEntry::SetGreen(), writerfilter::rtftok::RTFDrawingObject::setHasFillColor(), writerfilter::rtftok::RTFDrawingObject::setHasLineColor(), writerfilter::rtftok::RTFShape::setInBackground(), writerfilter::rtftok::RTFParserState::setInternalState(), writerfilter::rtftok::RTFShape::setLeft(), writerfilter::rtftok::RTFParserState::setLevelNumbersValid(), writerfilter::rtftok::RTFDrawingObject::setLineColorB(), writerfilter::rtftok::RTFDrawingObject::setLineColorG(), writerfilter::rtftok::RTFDrawingObject::setLineColorR(), setNeedSect(), writerfilter::rtftok::RTFSkipDestination::setParsed(), writerfilter::rtftok::RTFDrawingObject::setPolyLineCount(), writerfilter::rtftok::RTFParserState::setPropType(), writerfilter::rtftok::RTFColorTableEntry::SetRed(), writerfilter::rtftok::RTFShape::setRight(), writerfilter::rtftok::RTFFrame::setSprm(), writerfilter::rtftok::RTFParserState::setTableRowWidthAfter(), writerfilter::rtftok::RTFShape::setTop(), writerfilter::rtftok::RTFParserState::setUc(), writerfilter::rtftok::RTFShape::setWrap(), writerfilter::rtftok::RTFShape::setZ(), writerfilter::rtftok::SHPBOTTOM, writerfilter::rtftok::SHPFBLWTXT, writerfilter::rtftok::SHPLEFT, writerfilter::rtftok::SHPRIGHT, writerfilter::rtftok::SHPTOP, writerfilter::rtftok::SHPWR, writerfilter::rtftok::SHPWRK, writerfilter::rtftok::SHPZ, writerfilter::rtftok::SL, writerfilter::rtftok::SLMULT, writerfilter::rtftok::STEXTFLOW, writerfilter::rtftok::STSHFDBCH, writerfilter::rtftok::STYLEENTRY, writerfilter::rtftok::STYLESHEET, writerfilter::rtftok::TDFRMTXTBOTTOM, writerfilter::rtftok::TDFRMTXTLEFT, writerfilter::rtftok::TDFRMTXTRIGHT, writerfilter::rtftok::TDFRMTXTTOP, writerfilter::rtftok::TEXT, writerfilter::rtftok::RTFStack::top(), writerfilter::rtftok::TPOSX, writerfilter::rtftok::TPOSY, writerfilter::rtftok::TRWWIDTHA, writerfilter::rtftok::TS, writerfilter::rtftok::TWOINONE, writerfilter::rtftok::TX, writerfilter::rtftok::U, writerfilter::rtftok::UC, writerfilter::rtftok::ULC, writerfilter::rtftok::UP, utl_getLocaleForGlobalDefaultEncoding(), utl_getWinTextEncodingFromLangStr(), writerfilter::rtftok::VERN, writerfilter::rtftok::VERSION, writerfilter::rtftok::VIEWBKSP, writerfilter::rtftok::VIEWSCALE, writerfilter::rtftok::WMETAFILE, and writerfilter::rtftok::YES_PREPEND.

Referenced by dispatchValue().

◆ finishSubstream()

void writerfilter::rtftok::RTFDocumentImpl::finishSubstream ( )
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 362 of file rtfdocumentimpl.cxx.

References checkUnicode().

◆ getColorTable()

Color writerfilter::rtftok::RTFDocumentImpl::getColorTable ( sal_uInt32  nIndex)
private

Definition at line 742 of file rtfdocumentimpl.cxx.

References getColorTable(), m_aColorTable, m_pSuperstream, and nIndex.

Referenced by dispatchValue(), and getColorTable().

◆ getDefaultState()

RTFParserState & writerfilter::rtftok::RTFDocumentImpl::getDefaultState ( )

Get the default parser state.

Definition at line 816 of file rtfdocumentimpl.cxx.

References getDefaultState(), m_aDefaultState, and m_pSuperstream.

Referenced by dispatchFlag(), and getDefaultState().

◆ getDestination()

Destination writerfilter::rtftok::RTFDocumentImpl::getDestination ( )
overridevirtual

◆ getEncoding()

rtl_TextEncoding writerfilter::rtftok::RTFDocumentImpl::getEncoding ( int  nFontIndex)

◆ getFirstRun()

bool writerfilter::rtftok::RTFDocumentImpl::getFirstRun ( ) const
inline

If the initial paragraph is started.

Definition at line 746 of file rtfdocumentimpl.hxx.

References m_bFirstRun.

Referenced by writerfilter::rtftok::RTFFrame::setSprm().

◆ getFontIndex()

int writerfilter::rtftok::RTFDocumentImpl::getFontIndex ( int  nIndex)

Return the dmapper index of an RTF index for fonts.

Definition at line 781 of file rtfdocumentimpl.cxx.

References getFontIndex(), m_aFontIndexes, m_pSuperstream, and nIndex.

Referenced by beforePopState(), dispatchFlag(), dispatchValue(), and getFontIndex().

◆ getFontName()

OUString writerfilter::rtftok::RTFDocumentImpl::getFontName ( int  nIndex)

Return the name of the font, based on a dmapper index.

Definition at line 773 of file rtfdocumentimpl.cxx.

References getFontName(), m_aFontNames, m_pSuperstream, and nIndex.

Referenced by dispatchValue(), and getFontName().

◆ getGraphicHelper()

oox::GraphicHelper & writerfilter::rtftok::RTFDocumentImpl::getGraphicHelper ( )

Definition at line 824 of file rtfdocumentimpl.cxx.

References m_pGraphicHelper.

Referenced by writerfilter::rtftok::RTFSdrImport::resolve().

◆ getInternalState()

RTFInternalState writerfilter::rtftok::RTFDocumentImpl::getInternalState ( )
overridevirtual

◆ getModelFactory()

const css::uno::Reference< css::lang::XMultiServiceFactory > & writerfilter::rtftok::RTFDocumentImpl::getModelFactory ( ) const
inline

◆ getProperties()

writerfilter::Reference< Properties >::Pointer_t writerfilter::rtftok::RTFDocumentImpl::getProperties ( const RTFSprms rAttributes,
RTFSprms const &  rSprms,
Id  nStyleType 
)
private

◆ getSkipUnknown()

bool writerfilter::rtftok::RTFDocumentImpl::getSkipUnknown ( )
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 3737 of file rtfdocumentimpl.cxx.

References m_bSkipUnknown.

◆ getStyleName()

OUString writerfilter::rtftok::RTFDocumentImpl::getStyleName ( int  nIndex)

Return the style name of an RTF style index.

Definition at line 790 of file rtfdocumentimpl.cxx.

References getStyleName(), m_aStyleNames, m_pSuperstream, and nIndex.

Referenced by dispatchFlag(), dispatchTableSprmValue(), dispatchValue(), and getStyleName().

◆ getStyleType()

Id writerfilter::rtftok::RTFDocumentImpl::getStyleType ( int  nIndex)

Return the style type of an RTF style index.

Definition at line 803 of file rtfdocumentimpl.cxx.

References getStyleType(), m_aStyleTypes, m_pSuperstream, and nIndex.

Referenced by dispatchFlag(), and getStyleType().

◆ handleEmbeddedObject()

RTFError writerfilter::rtftok::RTFDocumentImpl::handleEmbeddedObject ( )
private

◆ handleFontTableEntry()

void writerfilter::rtftok::RTFDocumentImpl::handleFontTableEntry ( )
private

◆ isInBackground()

bool writerfilter::rtftok::RTFDocumentImpl::isInBackground ( )

◆ isStyleSheetImport()

bool writerfilter::rtftok::RTFDocumentImpl::isStyleSheetImport ( )

◆ isSubstream()

bool writerfilter::rtftok::RTFDocumentImpl::isSubstream ( ) const
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 360 of file rtfdocumentimpl.cxx.

References m_pSuperstream.

Referenced by sectBreak().

◆ Mapper()

Stream & writerfilter::rtftok::RTFDocumentImpl::Mapper ( )
inline

◆ outputSettingsTable()

void writerfilter::rtftok::RTFDocumentImpl::outputSettingsTable ( )

Send NS_ooxml::LN_settings_settings to dmapper.

Definition at line 396 of file rtfdocumentimpl.cxx.

References m_aSettingsTableAttributes, m_aSettingsTableSprms, m_bIsNewDoc, Mapper(), and writerfilter::Stream::table().

Referenced by checkFirstRun(), and dispatchValue().

◆ parBreak()

void writerfilter::rtftok::RTFDocumentImpl::parBreak ( )
private

◆ popState()

RTFError writerfilter::rtftok::RTFDocumentImpl::popState ( )
overridevirtual

◆ prepareProperties()

void writerfilter::rtftok::RTFDocumentImpl::prepareProperties ( RTFParserState rState,
writerfilter::Reference< Properties >::Pointer_t o_rpParagraphProperties,
writerfilter::Reference< Properties >::Pointer_t o_rpFrameProperties,
writerfilter::Reference< Properties >::Pointer_t o_rpTableRowProperties,
int  nCells,
int  nCurrentCellX 
)
private

◆ pushState()

RTFError writerfilter::rtftok::RTFDocumentImpl::pushState ( )
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 2073 of file rtfdocumentimpl.cxx.

References checkUnicode(), writerfilter::rtftok::RTFStack::empty(), writerfilter::rtftok::FIELDINSTRUCTION, writerfilter::rtftok::FIELDRESULT, writerfilter::rtftok::FONTENTRY, writerfilter::rtftok::FONTTABLE, writerfilter::rtftok::FORMFIELD, writerfilter::rtftok::RTFParserState::getCurrentDestinationText(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getDestinationText(), writerfilter::rtftok::RTFParserState::getRunType(), writerfilter::rtftok::RTFParserState::getTableAttributes(), writerfilter::rtftok::lcl_DestinationToMath(), writerfilter::rtftok::RTFParserState::LTRCH_RTLCH_2, m_aDefaultState, m_aMathBuffer, m_aStates, m_bMathNor, m_nCurrentStyleIndex, m_nGroupStartPos, m_pTokenizer, writerfilter::rtftok::MDEG, writerfilter::rtftok::MDEN, writerfilter::rtftok::ME, writerfilter::rtftok::MFNAME, writerfilter::rtftok::MLIM, writerfilter::rtftok::MNUM, writerfilter::rtftok::MOMATH, writerfilter::rtftok::MR, writerfilter::rtftok::MSUB, writerfilter::rtftok::MSUP, writerfilter::rtftok::RTFParserState::NONE, writerfilter::rtftok::NORMAL, writerfilter::rtftok::OK, writerfilter::rtftok::PICT, writerfilter::rtftok::RTFStack::push(), writerfilter::rtftok::REVISIONENTRY, writerfilter::rtftok::REVISIONTABLE, writerfilter::rtftok::RTFParserState::RTLCH_LTRCH_2, writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setCurrentDestinationText(), writerfilter::rtftok::RTFParserState::setDestination(), writerfilter::rtftok::RTFParserState::setRunType(), writerfilter::rtftok::RTFParserState::setStartedTrackchange(), writerfilter::rtftok::SHAPETEXT, Strm(), writerfilter::rtftok::STYLEENTRY, writerfilter::rtftok::STYLESHEET, SvStream::Tell(), and writerfilter::rtftok::RTFStack::top().

Referenced by beforePopState().

◆ replayBuffer()

void writerfilter::rtftok::RTFDocumentImpl::replayBuffer ( RTFBuffer_t rBuffer,
RTFSprms pSprms,
RTFSprms const *  pAttributes 
)
private

Definition at line 1717 of file rtfdocumentimpl.cxx.

References writerfilter::rtftok::BUFFER_CELLEND, writerfilter::rtftok::BUFFER_ENDRUN, writerfilter::rtftok::BUFFER_ENDSHAPE, writerfilter::rtftok::BUFFER_NESTROW, writerfilter::rtftok::BUFFER_PAR, writerfilter::rtftok::BUFFER_PICTURE, writerfilter::rtftok::BUFFER_PROPS, writerfilter::rtftok::BUFFER_PROPS_CHAR, writerfilter::rtftok::BUFFER_RESOLVESHAPE, writerfilter::rtftok::BUFFER_RESOLVESUBSTREAM, writerfilter::rtftok::BUFFER_SETSTYLE, writerfilter::rtftok::BUFFER_STARTRUN, writerfilter::rtftok::BUFFER_STARTSHAPE, writerfilter::rtftok::BUFFER_TEXT, writerfilter::rtftok::BUFFER_UTEXT, writerfilter::rtftok::RTFStack::empty(), writerfilter::Stream::endCharacterGroup(), writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::TableRowBuffer::GetBuffer(), writerfilter::rtftok::TableRowBuffer::GetCells(), writerfilter::rtftok::TableRowBuffer::GetCellsAttributes(), writerfilter::rtftok::TableRowBuffer::GetCellsSprms(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::TableRowBuffer::GetFrameProperties(), writerfilter::rtftok::TableRowBuffer::GetParaProperties(), writerfilter::rtftok::RTFParserState::getPicture(), getProperties(), writerfilter::rtftok::TableRowBuffer::GetRowProperties(), writerfilter::rtftok::RTFParserState::getShape(), getString(), m_aStates, m_pSdrImport, Mapper(), nId, nPos, nValue, parBreak(), writerfilter::Stream::props(), replayRowBuffer(), resolveSubstream(), sendProperties(), writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::RTFParserState::setCurrentBuffer(), writerfilter::rtftok::RTFParserState::setCurrentStyleIndex(), writerfilter::rtftok::RTFSdrImport::SHAPE, writerfilter::Stream::startCharacterGroup(), tableBreak(), writerfilter::Stream::text(), writerfilter::rtftok::RTFStack::top(), and writerfilter::Stream::utext().

Referenced by dispatchFlag(), popState(), and replayRowBuffer().

◆ replayRowBuffer()

void writerfilter::rtftok::RTFDocumentImpl::replayRowBuffer ( RTFBuffer_t rBuffer,
::std::deque< RTFSprms > &  rCellsSprms,
::std::deque< RTFSprms > &  rCellsAttributes,
int  nCells 
)
private

◆ resetAttributes()

void writerfilter::rtftok::RTFDocumentImpl::resetAttributes ( )
private

◆ resetFrame()

void writerfilter::rtftok::RTFDocumentImpl::resetFrame ( )

◆ resetSprms()

void writerfilter::rtftok::RTFDocumentImpl::resetSprms ( )
private

◆ resetTableRowProperties()

void writerfilter::rtftok::RTFDocumentImpl::resetTableRowProperties ( )
private

◆ resolve()

void writerfilter::rtftok::RTFDocumentImpl::resolve ( Stream rHandler)
overridevirtual

◆ resolveChars()

RTFError writerfilter::rtftok::RTFDocumentImpl::resolveChars ( char  ch)
overridevirtual

◆ resolvePict()

void writerfilter::rtftok::RTFDocumentImpl::resolvePict ( bool  bInline,
css::uno::Reference< css::drawing::XShape > const &  rShape 
)

Resolve a picture: If not inline, then anchored.

Definition at line 867 of file rtfdocumentimpl.cxx.

References aMap, msfilter::rtfutil::AsHex(), aStr, bufferProperties(), ch, checkFirstRun(), oox::drawingml::convertHmmToEmu(), count, writerfilter::rtftok::DIBITMAP, writerfilter::rtftok::RTFSprms::empty(), writerfilter::Stream::endShape(), writerfilter::rtftok::RTFPicture::eStyle, writerfilter::rtftok::RTFPicture::eWMetafile, writerfilter::rtftok::RTFShape::getAnchorAttributes(), writerfilter::rtftok::RTFParserState::getCharacterAttributes(), writerfilter::rtftok::RTFParserState::getCharacterSprms(), writerfilter::rtftok::RTFParserState::getCurrentBuffer(), Application::GetDefaultDevice(), writerfilter::rtftok::RTFParserState::getDestinationText(), writerfilter::rtftok::RTFParserState::getDrawingObject(), writerfilter::rtftok::RTFShape::getHoriOrientRelationToken(), writerfilter::rtftok::RTFShape::getInBackground(), writerfilter::rtftok::RTFParserState::getInListpicture(), writerfilter::rtftok::RTFParserState::getInShape(), writerfilter::rtftok::RTFShape::getLeft(), MapMode::GetMapUnit(), writerfilter::rtftok::RTFParserState::getPicture(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), writerfilter::rtftok::RTFParserState::getShape(), writerfilter::rtftok::RTFDrawingObject::getShape(), writerfilter::rtftok::RTFShape::getTop(), writerfilter::rtftok::RTFShape::getVertOrientRelationToken(), writerfilter::rtftok::RTFShape::getWrapPolygonSprms(), writerfilter::rtftok::RTFShape::getWrapSprm(), Size::Height(), i, OutputDevice::LogicToLogic(), m_aObjectAttributes, m_aStates, m_bHadPicture, m_bObject, m_pBinaryData, m_pGraphicHelper, m_xDstDoc, m_xModelFactory, WmfExternal::mapMode, Mapper(), writerfilter::rtftok::RTFPicture::nCropB, writerfilter::rtftok::RTFPicture::nCropL, writerfilter::rtftok::RTFPicture::nCropR, writerfilter::rtftok::RTFPicture::nCropT, writerfilter::rtftok::RTFPicture::nGoalHeight, writerfilter::rtftok::RTFPicture::nGoalWidth, writerfilter::rtftok::RTFPicture::nHeight, writerfilter::rtftok::NONE, writerfilter::rtftok::RTFPicture::nScaleX, writerfilter::rtftok::RTFPicture::nScaleY, writerfilter::rtftok::RTFPicture::nWidth, OUStringToOString(), OutputDevice::PixelToLogic(), writerfilter::Stream::positionOffset(), writerfilter::Stream::props(), SAL_INFO, SAL_MAX_UINT16, SvStream::Seek(), writerfilter::rtftok::RTFSprms::set(), writerfilter::Stream::startShape(), SvStream::Tell(), writerfilter::rtftok::RTFStack::top(), Size::Width(), SvStream::WriteChar(), SvStream::WriteStream(), SvStream::WriteUInt32(), WmfExternal::xExt, and WmfExternal::yExt.

Referenced by beforePopState(), and writerfilter::rtftok::RTFSdrImport::resolve().

◆ resolveSubstream() [1/2]

void writerfilter::rtftok::RTFDocumentImpl::resolveSubstream ( std::size_t  nPos,
Id  nId 
)
private

Definition at line 364 of file rtfdocumentimpl.cxx.

References nId, nPos, and resolveSubstream().

Referenced by dispatchDestination(), replayBuffer(), resolveSubstream(), and sectBreak().

◆ resolveSubstream() [2/2]

void writerfilter::rtftok::RTFDocumentImpl::resolveSubstream ( std::size_t  nPos,
Id  nId,
OUString const &  rIgnoreFirst 
)
private

◆ restoreTableRowProperties()

void writerfilter::rtftok::RTFDocumentImpl::restoreTableRowProperties ( )
private

◆ runBreak()

void writerfilter::rtftok::RTFDocumentImpl::runBreak ( )
private

Definition at line 646 of file rtfdocumentimpl.cxx.

References m_bNeedCr, Mapper(), and writerfilter::Stream::text().

Referenced by parBreak(), and tableBreak().

◆ runProps()

void writerfilter::rtftok::RTFDocumentImpl::runProps ( )
private

◆ sectBreak()

void writerfilter::rtftok::RTFDocumentImpl::sectBreak ( bool  bFinal = false)
private

◆ sendProperties()

void writerfilter::rtftok::RTFDocumentImpl::sendProperties ( writerfilter::Reference< Properties >::Pointer_t const &  pParagraphProperties,
writerfilter::Reference< Properties >::Pointer_t const &  pFrameProperties,
writerfilter::Reference< Properties >::Pointer_t const &  pTableRowProperties 
)
private

Send the passed properties to dmapper.

Definition at line 1683 of file rtfdocumentimpl.cxx.

References Mapper(), writerfilter::Stream::props(), and tableBreak().

Referenced by dispatchSymbol(), and replayBuffer().

◆ setDestination()

void writerfilter::rtftok::RTFDocumentImpl::setDestination ( Destination  eDestination)
overridevirtual

◆ setDestinationText()

void writerfilter::rtftok::RTFDocumentImpl::setDestinationText ( std::u16string_view  rString)

◆ setInternalState()

void writerfilter::rtftok::RTFDocumentImpl::setInternalState ( RTFInternalState  nInternalState)
overridevirtual

◆ setNeedPar()

void writerfilter::rtftok::RTFDocumentImpl::setNeedPar ( bool  bNeedPar)

If we need to add a dummy paragraph before a section break.

Definition at line 439 of file rtfdocumentimpl.cxx.

References m_bNeedPar.

Referenced by setNeedSect(), and writerfilter::rtftok::RTFFrame::setSprm().

◆ setNeedSect()

void writerfilter::rtftok::RTFDocumentImpl::setNeedSect ( bool  bNeedSect)
private

◆ setSkipUnknown()

void writerfilter::rtftok::RTFDocumentImpl::setSkipUnknown ( bool  bSkipUnknown)
overridevirtual

Implements writerfilter::rtftok::RTFListener.

Definition at line 3739 of file rtfdocumentimpl.cxx.

References m_bSkipUnknown.

◆ setSuperstream()

void writerfilter::rtftok::RTFDocumentImpl::setSuperstream ( RTFDocumentImpl pSuperstream)

Definition at line 355 of file rtfdocumentimpl.cxx.

References m_pSuperstream.

◆ singleChar()

void writerfilter::rtftok::RTFDocumentImpl::singleChar ( sal_uInt8  nValue,
bool  bRunProps = false 
)
private

◆ Strm()

SvStream & writerfilter::rtftok::RTFDocumentImpl::Strm ( )
private

◆ tableBreak()

void writerfilter::rtftok::RTFDocumentImpl::tableBreak ( )
private

◆ text()

void writerfilter::rtftok::RTFDocumentImpl::text ( OUString &  rString)
private

Definition at line 1438 of file rtfdocumentimpl.cxx.

References aName, writerfilter::rtftok::ANNOTATIONAUTHOR, writerfilter::rtftok::ANNOTATIONDATE, writerfilter::rtftok::ANNOTATIONREFERENCE, writerfilter::rtftok::ANNOTATIONREFERENCEEND, writerfilter::rtftok::ANNOTATIONREFERENCESTART, writerfilter::rtftok::RTFParserState::appendDestinationText(), writerfilter::rtftok::RTFParserState::appendDocVar(), writerfilter::rtftok::ATNID, writerfilter::rtftok::AUTHOR, writerfilter::rtftok::BOOKMARKEND, writerfilter::rtftok::BOOKMARKSTART, writerfilter::rtftok::BUFFER_ENDRUN, writerfilter::rtftok::BUFFER_STARTRUN, writerfilter::rtftok::BUFFER_UTEXT, ch, checkFirstRun(), checkNeedPap(), writerfilter::rtftok::COMMENT, writerfilter::rtftok::COMPANY, createStyleProperties(), writerfilter::rtftok::DATAFIELD, writerfilter::rtftok::DOCCOMM, writerfilter::rtftok::DOCVAR, writerfilter::Stream::endCharacterGroup(), writerfilter::rtftok::FALT, writerfilter::rtftok::FIELDRESULT, writerfilter::rtftok::RTFSprms::find(), writerfilter::rtftok::FONTENTRY, writerfilter::rtftok::FONTTABLE, writerfilter::rtftok::FOOTNOTE, writerfilter::rtftok::FORMFIELDLIST, writerfilter::rtftok::FORMFIELDNAME, writerfilter::rtftok::GENERATOR, writerfilter::rtftok::RTFParserState::getCurrentBuffer(), writerfilter::rtftok::RTFParserState::getCurrentDestinationText(), writerfilter::rtftok::RTFParserState::getDestination(), writerfilter::rtftok::RTFParserState::getTableAttributes(), writerfilter::rtftok::RTFParserState::getTableCellSprms(), writerfilter::rtftok::RTFParserState::getTableSprms(), writerfilter::rtftok::INDEXENTRY, writerfilter::rtftok::KEYWORDS, writerfilter::rtftok::LEVELTEXT, writerfilter::rtftok::LISTNAME, m_aAuthors, m_aIgnoreFirst, m_aSettingsTableSprms, m_aStates, m_aStyleNames, m_aStyleTypes, m_aTableBufferStack, m_bNeedCr, m_nCurrentStyleIndex, m_nTopLevelCells, m_pStyleTableEntries, Mapper(), writerfilter::rtftok::MBEGCHR, writerfilter::rtftok::MCHR, writerfilter::rtftok::MDEGHIDE, writerfilter::rtftok::MENDCHR, writerfilter::rtftok::MGROW, writerfilter::rtftok::MPOS, writerfilter::rtftok::MR, writerfilter::rtftok::MSEPCHR, writerfilter::rtftok::MSTRIKEH, writerfilter::rtftok::MSUBHIDE, writerfilter::rtftok::MSUPHIDE, writerfilter::rtftok::MTYPE, writerfilter::rtftok::MVERTJC, writerfilter::rtftok::NORMAL, writerfilter::rtftok::OBJCLASS, writerfilter::rtftok::OBJDATA, writerfilter::rtftok::OPERATOR, writerfilter::rtftok::PARAGRAPHNUMBERING_TEXTAFTER, writerfilter::rtftok::PARAGRAPHNUMBERING_TEXTBEFORE, writerfilter::rtftok::PICT, writerfilter::rtftok::PROPNAME, resetAttributes(), resetSprms(), writerfilter::rtftok::REVISIONENTRY, runProps(), SAL_INFO, writerfilter::rtftok::RTFSprms::set(), writerfilter::rtftok::SHAPEPROPERTYNAME, writerfilter::rtftok::SHAPEPROPERTYVALUE, writerfilter::rtftok::SHAPEPROPERTYVALUEPICT, writerfilter::rtftok::SHAPETEXT, writerfilter::Stream::startCharacterGroup(), writerfilter::rtftok::STATICVAL, writerfilter::rtftok::STYLEENTRY, writerfilter::rtftok::SUBJECT, writerfilter::rtftok::TITLE, writerfilter::rtftok::TOCENTRY, writerfilter::rtftok::RTFStack::top(), and writerfilter::Stream::utext().

Referenced by checkUnicode(), dispatchDestination(), and dispatchSymbol().

Member Data Documentation

◆ m_aAuthor

OUString writerfilter::rtftok::RTFDocumentImpl::m_aAuthor
private

Annotation author of the next annotation.

Definition at line 924 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchDestination(), and resolveSubstream().

◆ m_aAuthorInitials

OUString writerfilter::rtftok::RTFDocumentImpl::m_aAuthorInitials
private

Initials of author of the next annotation.

Definition at line 926 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchDestination(), and resolveSubstream().

◆ m_aAuthors

std::map<int, OUString> writerfilter::rtftok::RTFDocumentImpl::m_aAuthors
private

Revision index <-> author map.

Definition at line 922 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue(), and text().

◆ m_aBackupTableRowAttributes

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aBackupTableRowAttributes
private

Definition at line 902 of file rtfdocumentimpl.hxx.

Referenced by backupTableRowProperties(), and restoreTableRowProperties().

◆ m_aBackupTableRowSprms

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aBackupTableRowSprms
private

Definition at line 901 of file rtfdocumentimpl.hxx.

Referenced by backupTableRowProperties(), and restoreTableRowProperties().

◆ m_aBookmarks

std::map<OUString, int> writerfilter::rtftok::RTFDocumentImpl::m_aBookmarks
private

Bookmark name <-> index map.

Definition at line 920 of file rtfdocumentimpl.hxx.

Referenced by beforePopState().

◆ m_aColorTable

std::vector<Color> writerfilter::rtftok::RTFDocumentImpl::m_aColorTable
private

Color index <-> RGB color value map.

Definition at line 842 of file rtfdocumentimpl.hxx.

Referenced by getColorTable(), and resolveChars().

◆ m_aDefaultState

RTFParserState writerfilter::rtftok::RTFDocumentImpl::m_aDefaultState
private

◆ m_aFontEncodings

std::map<int, rtl_TextEncoding> writerfilter::rtftok::RTFDocumentImpl::m_aFontEncodings
private

Font index <-> encoding map, not part of the parser state.

Definition at line 832 of file rtfdocumentimpl.hxx.

Referenced by getEncoding(), and handleFontTableEntry().

◆ m_aFontIndexes

std::vector<int> writerfilter::rtftok::RTFDocumentImpl::m_aFontIndexes
private

Maps the non-continuous font indexes to the continuous dmapper indexes.

Definition at line 836 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue(), and getFontIndex().

◆ m_aFontNames

std::map<int, OUString> writerfilter::rtftok::RTFDocumentImpl::m_aFontNames
private

Font index <-> name map.

Definition at line 834 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchValue(), getFontName(), and handleFontTableEntry().

◆ m_aFontTableEntries

RTFReferenceTable::Entries_t writerfilter::rtftok::RTFDocumentImpl::m_aFontTableEntries
private

Definition at line 942 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and handleFontTableEntry().

◆ m_aFormfieldAttributes

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aFormfieldAttributes
private

Definition at line 929 of file rtfdocumentimpl.hxx.

Referenced by beforePopState().

◆ m_aFormfieldSprms

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aFormfieldSprms
private

Definition at line 928 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and dispatchValue().

◆ m_aHexBuffer

OStringBuffer writerfilter::rtftok::RTFDocumentImpl::m_aHexBuffer { 512 }
private

Same for hex characters.

Definition at line 958 of file rtfdocumentimpl.hxx.

Referenced by checkUnicode(), and resolveChars().

◆ m_aIgnoreFirst

OUString writerfilter::rtftok::RTFDocumentImpl::m_aIgnoreFirst
private

Ignore the first occurrence of this text.

Definition at line 918 of file rtfdocumentimpl.hxx.

Referenced by text().

◆ m_aInvalidListLevelFirstIndents

std::map<int, int> writerfilter::rtftok::RTFDocumentImpl::m_aInvalidListLevelFirstIndents
private

Maps List level indexes to removed values in the current list entry.

Definition at line 865 of file rtfdocumentimpl.hxx.

Referenced by afterPopState(), and dispatchValue().

◆ m_aInvalidListTableFirstIndents

std::map<int, std::map<int, int> > writerfilter::rtftok::RTFDocumentImpl::m_aInvalidListTableFirstIndents
private

Maps list table indexes to levels (and their removed values).

Definition at line 867 of file rtfdocumentimpl.hxx.

Referenced by afterPopState(), and getProperties().

◆ m_aListOverrideTable

std::map<int, int> writerfilter::rtftok::RTFDocumentImpl::m_aListOverrideTable
private

Maps between listoverridetable and listtable indexes.

Definition at line 859 of file rtfdocumentimpl.hxx.

Referenced by afterPopState(), and getProperties().

◆ m_aListTable

std::map<int, RTFValue::Pointer_t> writerfilter::rtftok::RTFDocumentImpl::m_aListTable
private

Maps listtable indexes to listtable entries.

Definition at line 861 of file rtfdocumentimpl.hxx.

Referenced by afterPopState(), and getProperties().

◆ m_aListTableSprms

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aListTableSprms
private

The list table and list override table combined.

Definition at line 857 of file rtfdocumentimpl.hxx.

Referenced by afterPopState(), and beforePopState().

◆ m_aMathBuffer

oox::formulaimport::XmlStreamBuilder writerfilter::rtftok::RTFDocumentImpl::m_aMathBuffer
private

Formula import.

Definition at line 960 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchDestination(), and pushState().

◆ m_aNestedTableCellsAttributes

std::deque<RTFSprms> writerfilter::rtftok::RTFDocumentImpl::m_aNestedTableCellsAttributes
private

Definition at line 881 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), dispatchSymbol(), and dispatchTableValue().

◆ m_aNestedTableCellsSprms

std::deque<RTFSprms> writerfilter::rtftok::RTFDocumentImpl::m_aNestedTableCellsSprms
private

Definition at line 880 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), dispatchSymbol(), and dispatchTableValue().

◆ m_aObjectAttributes

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aObjectAttributes
private

Definition at line 934 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and resolvePict().

◆ m_aOLEAttributes

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aOLEAttributes
private

OLE attributes are attributes of the ooxml:OLEObject_OLEObject sprm.

Definition at line 933 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and handleEmbeddedObject().

◆ m_aPicturePath

OUString writerfilter::rtftok::RTFDocumentImpl::m_aPicturePath
private

For the INCLUDEPICTURE field's argument.

Definition at line 954 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and dispatchDestination().

◆ m_aSettingsTableAttributes

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aSettingsTableAttributes
private

The settings table attributes.

Definition at line 869 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue(), and outputSettingsTable().

◆ m_aSettingsTableSprms

RTFSprms writerfilter::rtftok::RTFDocumentImpl::m_aSettingsTableSprms
private

The settings table sprms.

Definition at line 871 of file rtfdocumentimpl.hxx.

Referenced by dispatchFlag(), dispatchToggle(), dispatchValue(), outputSettingsTable(), and text().

◆ m_aStates

RTFStack writerfilter::rtftok::RTFDocumentImpl::m_aStates
private

◆ m_aStyleNames

std::map<int, OUString> writerfilter::rtftok::RTFDocumentImpl::m_aStyleNames
private

Maps style indexes to style names.

Definition at line 838 of file rtfdocumentimpl.hxx.

Referenced by getStyleName(), and text().

◆ m_aStyleTypes

std::map<int, Id> writerfilter::rtftok::RTFDocumentImpl::m_aStyleTypes
private

Maps style indexes to style types.

Definition at line 840 of file rtfdocumentimpl.hxx.

Referenced by getStyleType(), and text().

◆ m_aSuperBuffer

RTFBuffer_t writerfilter::rtftok::RTFDocumentImpl::m_aSuperBuffer
private

Buffered superscript, till footnote is reached (or not).

Definition at line 909 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), dispatchFlag(), dispatchSymbol(), and popState().

◆ m_aTableBufferStack

std::deque<RTFBuffer_t> writerfilter::rtftok::RTFDocumentImpl::m_aTableBufferStack
private

Buffered table cells, till cell definitions are not reached.

for nested table, one buffer per table level

Definition at line 907 of file rtfdocumentimpl.hxx.

Referenced by dispatchFlag(), dispatchFrameValue(), dispatchParagraphSprmValue(), dispatchSymbol(), and text().

◆ m_aTableInheritingCellsAttributes

std::deque<RTFSprms> writerfilter::rtftok::RTFDocumentImpl::m_aTableInheritingCellsAttributes
private

Definition at line 889 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol().

◆ m_aTableInheritingCellsSprms

std::deque<RTFSprms> writerfilter::rtftok::RTFDocumentImpl::m_aTableInheritingCellsSprms
private

Definition at line 888 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol().

◆ m_aTopLevelTableCellsAttributes

std::deque<RTFSprms> writerfilter::rtftok::RTFDocumentImpl::m_aTopLevelTableCellsAttributes
private

Definition at line 885 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), and dispatchTableValue().

◆ m_aTopLevelTableCellsSprms

std::deque<RTFSprms> writerfilter::rtftok::RTFDocumentImpl::m_aTopLevelTableCellsSprms
private

Definition at line 884 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), and dispatchTableValue().

◆ m_aUnicodeBuffer

OUStringBuffer writerfilter::rtftok::RTFDocumentImpl::m_aUnicodeBuffer { 512 }
private

Definition at line 956 of file rtfdocumentimpl.hxx.

Referenced by checkUnicode(), and dispatchValue().

◆ m_bAfterCellBeforeRow

bool writerfilter::rtftok::RTFDocumentImpl::m_bAfterCellBeforeRow
private

Are we after a \cell, but before a \row?

Definition at line 993 of file rtfdocumentimpl.hxx.

Referenced by dispatchFlag(), and dispatchSymbol().

◆ m_bFirstRun

bool writerfilter::rtftok::RTFDocumentImpl::m_bFirstRun
private

to start initial paragraph / section after font/style tables

Definition at line 844 of file rtfdocumentimpl.hxx.

Referenced by checkFirstRun(), dispatchSymbol(), getFirstRun(), popState(), and setNeedSect().

◆ m_bFirstRunException

bool writerfilter::rtftok::RTFDocumentImpl::m_bFirstRunException
private

except in the case of tables in initial multicolumn section (global for assertion)

Definition at line 846 of file rtfdocumentimpl.hxx.

Referenced by checkFirstRun(), and setNeedSect().

◆ m_bFormField

bool writerfilter::rtftok::RTFDocumentImpl::m_bFormField
private

Definition at line 952 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and dispatchDestination().

◆ m_bHadPicture

bool writerfilter::rtftok::RTFDocumentImpl::m_bHadPicture
private

A picture was seen in the current paragraph.

Definition at line 973 of file rtfdocumentimpl.hxx.

Referenced by dispatchFlag(), parBreak(), and resolvePict().

◆ m_bHadSect

bool writerfilter::rtftok::RTFDocumentImpl::m_bHadSect
private

The document has multiple sections.

Definition at line 975 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), and sectBreak().

◆ m_bIgnoreNextContSectBreak

bool writerfilter::rtftok::RTFDocumentImpl::m_bIgnoreNextContSectBreak
private

If the next continuous section break should be ignored.

Definition at line 964 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol().

◆ m_bIsNewDoc

bool writerfilter::rtftok::RTFDocumentImpl::m_bIsNewDoc
private

New document means not pasting into an existing one.

Definition at line 982 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), outputSettingsTable(), popState(), and sectBreak().

◆ m_bMathNor

bool writerfilter::rtftok::RTFDocumentImpl::m_bMathNor
private

Normal text property, that is math italic and math spacing are not applied to the current run.

Definition at line 962 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchFlag(), and pushState().

◆ m_bNeedCr

bool writerfilter::rtftok::RTFDocumentImpl::m_bNeedCr
private

If we need to emit a CR at the end of substream.

Definition at line 850 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchDestination(), dispatchSymbol(), popState(), runBreak(), and text().

◆ m_bNeedCrOrig

bool writerfilter::rtftok::RTFDocumentImpl::m_bNeedCrOrig
private

Original value of m_bNeedCr – saved/restored before/after textframes.

Definition at line 852 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and dispatchDestination().

◆ m_bNeedFinalPar

bool writerfilter::rtftok::RTFDocumentImpl::m_bNeedFinalPar
private

If set, an empty paragraph will be added at the end of the document.

Definition at line 855 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchSymbol(), and sectBreak().

◆ m_bNeedPap

bool writerfilter::rtftok::RTFDocumentImpl::m_bNeedPap
private

If paragraph properties should be emitted on next run.

Definition at line 848 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), checkNeedPap(), dispatchCharacterAttributeValue(), dispatchDestination(), dispatchFlag(), dispatchFrameValue(), and dispatchSymbol().

◆ m_bNeedPar

bool writerfilter::rtftok::RTFDocumentImpl::m_bNeedPar
private

Definition at line 853 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), sectBreak(), and setNeedPar().

◆ m_bNeedSect

bool writerfilter::rtftok::RTFDocumentImpl::m_bNeedSect
private

If a section break is needed before the end of the doc (false right after a section break).

Definition at line 969 of file rtfdocumentimpl.hxx.

Referenced by checkFirstRun(), dispatchSymbol(), popState(), sectBreak(), and setNeedSect().

◆ m_bObject

bool writerfilter::rtftok::RTFDocumentImpl::m_bObject
private

If we are in an object group and if the we use its \objdata element.

(if we don't use the \objdata we use the

Returns
element)

Definition at line 938 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchDestination(), and resolvePict().

◆ m_bSkipUnknown

bool writerfilter::rtftok::RTFDocumentImpl::m_bSkipUnknown
private

Definition at line 830 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), getSkipUnknown(), and setSkipUnknown().

◆ m_bWasInFrame

bool writerfilter::rtftok::RTFDocumentImpl::m_bWasInFrame
private

If aFrame.inFrame() was true in the previous state.

Definition at line 971 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), and popState().

◆ m_hasFFooter

bool writerfilter::rtftok::RTFDocumentImpl::m_hasFFooter
private

Definition at line 990 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), and sectBreak().

◆ m_hasFHeader

bool writerfilter::rtftok::RTFDocumentImpl::m_hasFHeader
private

Definition at line 988 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), and sectBreak().

◆ m_hasRFooter

bool writerfilter::rtftok::RTFDocumentImpl::m_hasRFooter
private

Definition at line 989 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), and sectBreak().

◆ m_hasRHeader

bool writerfilter::rtftok::RTFDocumentImpl::m_hasRHeader
private

Flags for ensuring that only one header and footer is added per section.

Definition at line 987 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), and sectBreak().

◆ m_nBackupTopLevelCurrentCellX

int writerfilter::rtftok::RTFDocumentImpl::m_nBackupTopLevelCurrentCellX
private

◆ m_nCellxMax

int writerfilter::rtftok::RTFDocumentImpl::m_nCellxMax
private

Max width of the rows in the current table.

Definition at line 977 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), and dispatchTableValue().

◆ m_nCurrentEncoding

int writerfilter::rtftok::RTFDocumentImpl::m_nCurrentEncoding
private

Used only during font table parsing till we don't know the font name.

Definition at line 945 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue(), and handleFontTableEntry().

◆ m_nCurrentFontIndex

int writerfilter::rtftok::RTFDocumentImpl::m_nCurrentFontIndex
private

Definition at line 943 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue(), and handleFontTableEntry().

◆ m_nCurrentStyleIndex

int writerfilter::rtftok::RTFDocumentImpl::m_nCurrentStyleIndex
private

Definition at line 951 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue(), pushState(), and text().

◆ m_nDefaultFontIndex

int writerfilter::rtftok::RTFDocumentImpl::m_nDefaultFontIndex
private

Raw default font index, use getFont() on it to get a real one.

Definition at line 947 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), dispatchFlag(), dispatchValue(), and resolveSubstream().

◆ m_nFormFieldType

RTFFormFieldType writerfilter::rtftok::RTFDocumentImpl::m_nFormFieldType
private

Definition at line 930 of file rtfdocumentimpl.hxx.

Referenced by dispatchValue().

◆ m_nGroupStartPos

std::size_t writerfilter::rtftok::RTFDocumentImpl::m_nGroupStartPos
private

Definition at line 916 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), and pushState().

◆ m_nHeaderFooterPositions

std::queue<std::pair<Id, std::size_t> > writerfilter::rtftok::RTFDocumentImpl::m_nHeaderFooterPositions
private

Definition at line 915 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), and sectBreak().

◆ m_nInheritingCells

int writerfilter::rtftok::RTFDocumentImpl::m_nInheritingCells
private

backup of top-level props, to support inheriting cell props

Definition at line 887 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol().

◆ m_nListLevel

int writerfilter::rtftok::RTFDocumentImpl::m_nListLevel = -1
private

Index of the current list level in a list table entry.

Definition at line 863 of file rtfdocumentimpl.hxx.

Referenced by afterPopState(), dispatchDestination(), and dispatchValue().

◆ m_nListPictureId

int writerfilter::rtftok::RTFDocumentImpl::m_nListPictureId
private

ID of the next \listlevel picture.

Definition at line 979 of file rtfdocumentimpl.hxx.

Referenced by afterPopState().

◆ m_nNestedCells

int writerfilter::rtftok::RTFDocumentImpl::m_nNestedCells
private

cell props buffer for nested tables, reset by \nestrow the \nesttableprops is a destination and must follow the nested cells, so it should be sufficient to store the currently active one, no need for a stack of them

Definition at line 879 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), dispatchFlag(), dispatchParagraphSprmValue(), dispatchSymbol(), and dispatchTableValue().

◆ m_nNestedCurrentCellX

int writerfilter::rtftok::RTFDocumentImpl::m_nNestedCurrentCellX
private

Current cellx value (nested table)

Definition at line 896 of file rtfdocumentimpl.hxx.

Referenced by dispatchSymbol(), dispatchTableValue(), and resetTableRowProperties().

◆ m_nNestedTRLeft

int writerfilter::rtftok::RTFDocumentImpl::m_nNestedTRLeft
private

◆ m_nResetBreakOnSectBreak

RTFKeyword writerfilter::rtftok::RTFDocumentImpl::m_nResetBreakOnSectBreak
private

clean up a synthetic page break, see RTF_PAGE if inactive value is -1, otherwise the RTF_SKB* to restore

Definition at line 967 of file rtfdocumentimpl.hxx.

Referenced by dispatchFlag(), dispatchSymbol(), and popState().

◆ m_nStreamType

Id writerfilter::rtftok::RTFDocumentImpl::m_nStreamType
private

Type of the stream: header, footer, footnote, etc.

Definition at line 914 of file rtfdocumentimpl.hxx.

Referenced by popState().

◆ m_nTopLevelCells

int writerfilter::rtftok::RTFDocumentImpl::m_nTopLevelCells
private

cell props buffer for top-level table, reset by \row

Definition at line 883 of file rtfdocumentimpl.hxx.

Referenced by dispatchFlag(), dispatchParagraphSprmValue(), dispatchSymbol(), dispatchTableValue(), and text().

◆ m_nTopLevelCurrentCellX

int writerfilter::rtftok::RTFDocumentImpl::m_nTopLevelCurrentCellX
private

Current cellx value (top-level table)

Definition at line 898 of file rtfdocumentimpl.hxx.

Referenced by backupTableRowProperties(), dispatchSymbol(), dispatchTableValue(), resetTableRowProperties(), and restoreTableRowProperties().

◆ m_nTopLevelTRLeft

int writerfilter::rtftok::RTFDocumentImpl::m_nTopLevelTRLeft
private

◆ m_pBinaryData

std::shared_ptr<SvStream> writerfilter::rtftok::RTFDocumentImpl::m_pBinaryData
private

If the data for a picture is a binary one, it's stored here.

Definition at line 940 of file rtfdocumentimpl.hxx.

Referenced by resolveChars(), and resolvePict().

◆ m_pGraphicHelper

std::shared_ptr<oox::GraphicHelper> writerfilter::rtftok::RTFDocumentImpl::m_pGraphicHelper
private

Definition at line 873 of file rtfdocumentimpl.hxx.

Referenced by getGraphicHelper(), resolvePict(), and RTFDocumentImpl().

◆ m_pInStream

std::unique_ptr<SvStream> writerfilter::rtftok::RTFDocumentImpl::m_pInStream
private

Definition at line 823 of file rtfdocumentimpl.hxx.

Referenced by RTFDocumentImpl(), and Strm().

◆ m_pMapperStream

Stream* writerfilter::rtftok::RTFDocumentImpl::m_pMapperStream
private

Definition at line 824 of file rtfdocumentimpl.hxx.

Referenced by Mapper(), and resolve().

◆ m_pSdrImport

tools::SvRef<RTFSdrImport> writerfilter::rtftok::RTFDocumentImpl::m_pSdrImport
private

◆ m_pStyleTableEntries

std::shared_ptr<RTFReferenceTable::Entries_t> writerfilter::rtftok::RTFDocumentImpl::m_pStyleTableEntries
private

To avoid copying entries between DomainMapper instances it is stored as pointer.

Definition at line 950 of file rtfdocumentimpl.hxx.

Referenced by deduplicateStyleTable(), getProperties(), resolveSubstream(), and text().

◆ m_pSuperstream

RTFDocumentImpl* writerfilter::rtftok::RTFDocumentImpl::m_pSuperstream
private

◆ m_pTokenizer

tools::SvRef<RTFTokenizer> writerfilter::rtftok::RTFDocumentImpl::m_pTokenizer
private

◆ m_rMediaDescriptor

const utl::MediaDescriptor& writerfilter::rtftok::RTFDocumentImpl::m_rMediaDescriptor
private

The media descriptor contains e.g. the base URL of the document.

Definition at line 984 of file rtfdocumentimpl.hxx.

Referenced by beforePopState(), and resolveSubstream().

◆ m_xContext

css::uno::Reference<css::uno::XComponentContext> const& writerfilter::rtftok::RTFDocumentImpl::m_xContext
private

Definition at line 816 of file rtfdocumentimpl.hxx.

Referenced by dispatchDestination(), resolveSubstream(), and RTFDocumentImpl().

◆ m_xDocumentProperties

css::uno::Reference<css::document::XDocumentProperties> writerfilter::rtftok::RTFDocumentImpl::m_xDocumentProperties
private

◆ m_xDstDoc

css::uno::Reference<css::lang::XComponent> const& writerfilter::rtftok::RTFDocumentImpl::m_xDstDoc
private

◆ m_xFrame

css::uno::Reference<css::frame::XFrame> const& writerfilter::rtftok::RTFDocumentImpl::m_xFrame
private

Definition at line 819 of file rtfdocumentimpl.hxx.

Referenced by resolveSubstream().

◆ m_xInputStream

css::uno::Reference<css::io::XInputStream> const& writerfilter::rtftok::RTFDocumentImpl::m_xInputStream
private

Definition at line 817 of file rtfdocumentimpl.hxx.

Referenced by resolveSubstream().

◆ m_xModelFactory

css::uno::Reference<css::lang::XMultiServiceFactory> writerfilter::rtftok::RTFDocumentImpl::m_xModelFactory
private

◆ m_xStatusIndicator

css::uno::Reference<css::task::XStatusIndicator> const& writerfilter::rtftok::RTFDocumentImpl::m_xStatusIndicator
private

Definition at line 820 of file rtfdocumentimpl.hxx.

Referenced by resolveSubstream(), and RTFDocumentImpl().


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