LibreOffice Module sw (master) 1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
MSWordExportBase Class Referenceabstract

Base class for WW8Export and DocxExport. More...

#include <wrtww8.hxx>

Inheritance diagram for MSWordExportBase:
[legend]
Collaboration diagram for MSWordExportBase:
[legend]

Classes

struct  LinkedTextboxInfo
 

Public Types

enum  ExportFormat {
  DOC = 0 ,
  RTF = 1 ,
  DOCX = 2
}
 
typedef std::vector< ::sw::mark::IMark * > IMarkVector
 Used to split the runs according to the bookmarks start and ends. More...
 

Public Member Functions

ErrCode ExportDocument (bool bWriteAll)
 The main function to export the document. More...
 
void WriteText ()
 Iterate through the nodes and call the appropriate OutputNode() on them. More...
 
bool IsInTable () const
 Return whether currently exported node is in table. More...
 
void WriteSpecialText (SwNodeOffset nStart, SwNodeOffset nEnd, sal_uInt8 nTTyp)
 Set the pCurPam appropriately and call WriteText(). More...
 
void ExportPoolItemsToCHP (ww8::PoolItems &rItems, sal_uInt16 nScript, const SvxFontItem *pFont, bool bWriteCombChars=false)
 Export the pool items to attributes (through an attribute output class). More...
 
sal_uInt16 GetNumberingId (const SwNumRule &rNumRule)
 Return the numeric id of the numbering rule. More...
 
sal_uInt16 GetId (const SwTextFormatColl &rColl) const
 Return the numeric id of the style. More...
 
sal_uInt16 GetId (const SwCharFormat *pFormat) const
 Return the numeric id of the style. More...
 
sal_uInt16 GetId (const SwTOXType &rTOXType)
 
sal_uInt16 GetId (const SvxFontItem &rFont)
 Return the numeric id of the font (and add it to the font list if needed) More...
 
void GetId (const wwFont &rFont)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
const SfxPoolItemGetItem (sal_uInt16 nWhich) const
 
template<class T >
const T & GetItem (TypedWhichId< T > nWhich) const
 
bool HasRefToAttr (const OUString &rName)
 Find the reference. More...
 
bool HasRefToFootOrEndnote (const bool isEndNote, const sal_uInt16 nSeqNo)
 
void OutputItemSet (const SfxItemSet &rSet, bool bPapFormat, bool bChpFormat, sal_uInt16 nScript, bool bExportParentItemSet)
 Use OutputItem() on an item set according to the parameters. More...
 
SvxFrameDirection GetDefaultFrameDirection () const
 
SvxFrameDirection TrueFrameDirection (const SwFrameFormat &rFlyFormat) const
 Right to left? More...
 
SvxFrameDirection GetCurrentPageDirection () const
 Right to left? More...
 
sal_uInt16 DuplicateNumRule (const SwNumRule *pRule, sal_uInt8 nLevel, sal_uInt16 nVal)
 In case of numbering restart. More...
 
SwNumRuleDuplicateNumRuleImpl (const SwNumRule *pRule)
 
sal_uInt16 DuplicateAbsNum (OUString const &rListId, SwNumRule const &rAbstractRule)
 check if a new abstractNum is needed for this list More...
 
sal_uInt16 OverrideNumRule (SwNumRule const &rExistingRule, OUString const &rListId, SwNumRule const &rAbstractRule)
 Create a overriding numbering definition (if it does not yet exist) More...
 
void AddListLevelOverride (sal_uInt16 nListId, sal_uInt16 nLevelNum, sal_uInt16 nStartAt)
 Store list level overrides (restart of list) More...
 
virtual AttributeOutputBaseAttrOutput () const =0
 Access to the attribute output class. More...
 
virtual MSWordSectionsSections () const =0
 Access to the sections/headers/footres. More...
 
virtual bool FieldsQuoted () const =0
 Determines if the import filter already quoted fields or not. More...
 
virtual bool AddSectionBreaksForTOX () const =0
 Determines the Section Breaks are to be added for TOX Section. More...
 
virtual bool ignoreAttributeForStyleDefaults (sal_uInt16) const
 Used to filter out attributes that can be e.g. written to .doc but not to .docx. More...
 
virtual bool PreferPageBreakBefore () const =0
 If saving page break is preferred as a paragraph attribute (yes) or as a special character (no). More...
 
virtual bool CollapseScriptsforWordOk (sal_uInt16 nScript, sal_uInt16 nWhich)=0
 Guess the script (asian/western). More...
 
virtual void AppendBookmarks (const SwTextNode &rNd, sal_Int32 nCurrentPos, sal_Int32 nLen, const SwRedlineData *pSwRedline=nullptr)=0
 
virtual void AppendBookmark (const OUString &rName)=0
 
virtual void AppendAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen)=0
 
virtual void AppendSmartTags (SwTextNode &)
 
virtual void ExportGrfBullet (const SwTextNode &rNd)=0
 
virtual void WriteCR (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner=ww8::WW8TableNodeInfoInner::Pointer_t())=0
 
virtual void WriteChar (sal_Unicode c)=0
 
void OutputFormat (const SwFormat &rFormat, bool bPapFormat, bool bChpFormat, bool bFlyFormat=false)
 Output attributes. More...
 
const SfxItemSetGetCurItemSet () const
 Getter for pISet. More...
 
void SetCurItemSet (const SfxItemSet *pS)
 Setter for pISet. More...
 
virtual void SaveData (SwNodeOffset nStt, SwNodeOffset nEnd)
 Remember some of the members so that we can recurse in WriteText(). More...
 
virtual void RestoreData ()
 Restore what was saved in SaveData(). More...
 
bool OutputFollowPageDesc (const SfxItemSet *pSet, const SwTextNode *pNd)
 The return value indicates, if a follow page desc is written. More...
 
void WriteHeaderFooterText (const SwFormat &rFormat, bool bHeader)
 Write header/footer text. More...
 
void OutputSectionBreaks (const SfxItemSet *pSet, const SwNode &rNd, bool isCellOpen=false)
 Start new section. More...
 
void SectionProperties (const WW8_SepInfo &rSectionInfo, WW8_PdAttrDesc *pA=nullptr)
 Write section properties. More...
 
virtual void WriteNumbering ()=0
 Output the numbering table. More...
 
void NumberingDefinitions ()
 Write static data of SwNumRule - LSTF. More...
 
void AbstractNumberingDefinitions ()
 Write all Levels for all SwNumRules - LVLF. More...
 
void NumberingLevel (SwNumRule const &rRule, sal_uInt8 nLvl)
 Write one numbering level. More...
 
void SubstituteBullet (OUString &rNumStr, rtl_TextEncoding &rChrSet, OUString &rFontName) const
 
virtual void SetupSectionPositions (WW8_PdAttrDesc *)
 Setup the pA's info. More...
 
void SetHdFtPageRoot (const SwTextNode *pNd)
 Top node of host page when in header/footer. More...
 
const SwTextNodeGetHdFtPageRoot () const
 Top node of host page when in header/footer. More...
 
virtual void WriteHeadersFooters (sal_uInt8 nHeadFootFlags, const SwFrameFormat &rFormat, const SwFrameFormat &rLeftHeaderFormat, const SwFrameFormat &rLeftFooterFormat, const SwFrameFormat &rFirstPageFormat, sal_uInt8 nBreakCode, bool bEvenAndOddHeaders)=0
 Output the actual headers and footers. More...
 
virtual void OutputField (const SwField *pField, ww::eField eFieldType, const OUString &rFieldCmd, FieldFlags nMode=FieldFlags::All)=0
 Write the field. More...
 
virtual void WriteFormData (const ::sw::mark::IFieldmark &rFieldmark)=0
 Write the data of the form field. More...
 
virtual void WriteHyperlinkData (const ::sw::mark::IFieldmark &rFieldmark)=0
 
virtual void DoComboBox (const OUString &rName, const OUString &rHelp, const OUString &ToolTip, const OUString &rSelected, const css::uno::Sequence< OUString > &rListItems)=0
 
virtual void DoFormText (const SwInputField *pField)=0
 
bool GetNumberFormat (const SwField &rField, OUString &rStr)
 
virtual sal_uInt64 ReplaceCr (sal_uInt8 nChar)=0
 
const SfxPoolItemHasItem (sal_uInt16 nWhich) const
 
template<class T >
const T * HasItem (TypedWhichId< T > nWhich) const
 
int GetGrfIndex (const SvxBrushItem &rBrush)
 Returns the index of a picture bullet, used in numberings. More...
 
virtual ExportFormat GetExportFormat () const =0
 
 MSWordExportBase (SwDoc &rDocument, std::shared_ptr< SwUnoCursor > &pCurrentPam, SwPaM *pOriginalPam)
 
virtual ~MSWordExportBase ()
 

Static Public Member Functions

static OUString GetBookmarkName (sal_uInt16 nTyp, const OUString *pName, sal_uInt16 nSeqNo)
 Find the bookmark name. More...
 
static const SwSectionFormatGetSectionFormat (const SwNode &rNd)
 Format of the section. More...
 
static sal_uLong GetSectionLineNo (const SfxItemSet *pSet, const SwNode &rNd)
 Line number of the section start. More...
 
static bool NoPageBreakSection (const SfxItemSet *pSet)
 
static void CorrectTabStopInSet (SfxItemSet &rSet, sal_Int32 nAbsLeft)
 

Public Attributes

wwFontHelper m_aFontHelper
 
std::vector< SwNodeOffsetm_aChapterFieldLocs
 
OUString m_aMainStg
 
std::vector< const SwTOXType * > m_aTOXArr
 
const SfxItemSetm_pISet
 
const SwFrameFormatm_pFirstPageFormat = nullptr
 
std::unique_ptr< WW8_WrPctm_pPiece
 
std::unique_ptr< SwNumRuleTablem_pUsedNumTable
 
std::map< size_t, std::pair< size_t, size_t > > m_OverridingNums
 overriding numdef index -> (existing numdef index, abstractnumdef index) More...
 
std::map< OUString, size_t > m_Lists
 list-id -> abstractnumdef index More...
 
std::map< size_t, std::map< size_t, size_t > > m_ListLevelOverrides
 Map of maps for list levels overrides listid -> level number -> restart value. More...
 
const SwTextNodem_pTopNodeOfHdFtPage
 Top node of host page when in hd/ft. More...
 
std::stack< sal_Int32 > m_aCurrentCharPropStarts
 To remember the position in a run. More...
 
std::unique_ptr< WW8_WrtBookmarksm_pBkmks
 
std::unique_ptr< WW8_WrtRedlineAuthorm_pRedlAuthors
 
std::shared_ptr< NfKeywordTablem_pKeyMap
 
std::unique_ptr< SvxMSExportOLEObjectsm_pOLEExp
 
std::unique_ptr< SwMSConvertControlsm_pOCXExp
 
WW8OleMap m_aOleMap
 
ww8::WW8TableInfo::Pointer_t m_pTableInfo
 
sal_uInt16 m_nCharFormatStart
 
sal_uInt16 m_nFormatCollStart
 
sal_uInt16 m_nStyleBeforeFly
 style number of the node More...
 
sal_uInt16 m_nLastFormatId
 Style of last TextNode in normal range. More...
 
sal_uInt16 m_nUniqueList
 current number for creating unique list names More...
 
unsigned int m_nHdFtIndex
 
RedlineFlags m_nOrigRedlineFlags
 Remember the original redline mode. More...
 
bool m_bOrigShowChanges
 Remember the original Show Changes mode. More...
 
std::vector< aBookmarkPairm_aImplicitBookmarks
 
std::unordered_map< OUString, OUString > m_TOXMarkBookmarksByURL
 
std::unordered_map< SwTOXMark const *, OUString > m_TOXMarkBookmarksByTOXMark
 
ww8::Frames m_aFrames
 
const SwPageDescm_pCurrentPageDesc
 
const SwPageDescm_pPreviousSectionPageDesc
 
bool m_bFirstTOCNodeWithSection
 
std::unique_ptr< WW8_WrPlcPnm_pPapPlc
 
std::unique_ptr< WW8_WrPlcPnm_pChpPlc
 
MSWordAttrIterm_pChpIter
 
std::unique_ptr< MSWordStylesm_pStyles
 
std::unique_ptr< WW8_WrPlcAnnotationsm_pAtn
 
std::unique_ptr< WW8_WrtFactoidsm_pFactoids
 
std::unique_ptr< WW8_WrPlcTextBoxesm_pTextBxs
 
std::unique_ptr< WW8_WrPlcTextBoxesm_pHFTextBxs
 
std::map< OUString, LinkedTextboxInfom_aLinkedTextboxesHelper
 
bool m_bLinkedTextboxesHelperInitialized = false
 
sal_Int32 m_nLinkedTextboxesChainId =0
 
const ww8::Framem_pParentFrame
 
Pointm_pFlyOffset
 
RndStdIds m_eNewAnchorType
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldMain
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldHdFt
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldFootnote
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldEdn
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldAtn
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldTextBxs
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldHFTextBxs
 
std::unique_ptr< WW8_WrMagicTablem_pMagicTable
 
std::unique_ptr< SwWW8WrGrfm_pGrf
 
const SwAttrSetm_pStyAttr
 
const sw::BroadcastingModify * m_pOutFormatNode
 
const SwFormatm_pCurrentStyle
 
std::unique_ptr< MainTextPlcDrawObjm_pSdrObjs
 
std::unique_ptr< HdFtPlcDrawObjm_pHFSdrObjs
 
SwEscherExm_pEscher
 
sal_uInt8 m_nTextTyp
 
bool m_bStyDef: 1
 
bool m_bBreakBefore: 1
 
bool m_bOutKF: 1
 
bool m_bOutFlyFrameAttrs: 1
 
bool m_bOutPageDescs: 1
 PageDescs (section properties) are being written. More...
 
bool m_bOutFirstPage: 1
 
bool m_bOutTable: 1
 
bool m_bOutGrf: 1
 
bool m_bInWriteEscher: 1
 
bool m_bStartTOX: 1
 
bool m_bInWriteTOX: 1
 
bool m_bFootnoteAtTextEnd: 1
 
bool m_bEndAtTextEnd: 1
 
bool m_bHasHdr: 1
 
bool m_bHasFtr: 1
 
bool m_bSubstituteBullets: 1
 
bool m_bTabInTOC: 1
 
bool m_bHideTabLeaderAndPageNumbers: 1
 
bool m_bExportModeRTF
 
bool m_bFontSizeWritten
 Is font size written already as part of the current character properties? More...
 
bool m_bAddFootnoteTab
 
SwDocm_rDoc
 
SwNodeOffset m_nCurStart
 
SwNodeOffset m_nCurEnd
 
std::shared_ptr< SwUnoCursor > & m_pCurPam
 
SwPaMm_pOrigPam
 
std::stack< MSWordSaveDatam_aSaveData
 Stack to remember the nesting (see MSWordSaveData for more) More...
 
IMarkVector m_rSortedBookmarksStart
 
IMarkVector m_rSortedBookmarksEnd
 
IMarkVector m_rSortedAnnotationMarksStart
 
IMarkVector m_rSortedAnnotationMarksEnd
 

Protected Member Functions

virtual ErrCode ExportDocument_Impl ()=0
 Format-dependent part of the actual export. More...
 
sal_Int32 GetNextPos (SwWW8AttrIter const *pAttrIter, const SwTextNode &rNode, sal_Int32 nCurrentPos)
 Get the next position in the text node to output. More...
 
void UpdatePosition (SwWW8AttrIter *pAttrIter, sal_Int32 nCurrentPos)
 Update the information for GetNextPos(). More...
 
virtual void OutputTextNode (SwTextNode &)
 Output SwTextNode. More...
 
void GatherChapterFields ()
 Setup the chapter fields (maChapterFieldLocs). More...
 
void AddLinkTarget (std::u16string_view rURL)
 
void CollectOutlineBookmarks (const SwDoc &rDoc)
 
bool SetCurrentPageDescFromNode (const SwNode &rNd)
 
bool ContentContainsChapterField (const SwFormatContent &rContent) const
 
bool FormatHdFtContainsChapterField (const SwFrameFormat &rFormat) const
 
virtual void SectionBreaksAndFrames (const SwTextNode &rNode)=0
 
virtual void PrepareNewPageDesc (const SfxItemSet *pSet, const SwNode &rNd, const SwFormatPageDesc *pNewPgDescFormat, const SwPageDesc *pNewPgDesc, bool bExtraPageBreak=false)=0
 
virtual bool DisallowInheritingOutlineNumbering (const SwFormat &rFormat)=0
 Return value indicates if an inherited outline numbering is suppressed. More...
 
void OutputStartNode (const SwStartNode &)
 Output SwStartNode. More...
 
virtual void OutputEndNode (const SwEndNode &)
 Output SwEndNode. More...
 
virtual void OutputGrfNode (const SwGrfNode &)=0
 Output SwGrfNode. More...
 
virtual void OutputOLENode (const SwOLENode &)=0
 Output SwOLENode. More...
 
virtual void OutputLinkedOLE (const OUString &)=0
 
void OutputSectionNode (const SwSectionNode &)
 Output SwSectionNode. More...
 
virtual void AppendSection (const SwPageDesc *pPageDesc, const SwSectionFormat *pFormat, sal_uLong nLnNum)=0
 
void OutputContentNode (SwContentNode &)
 Call the right (virtual) function according to the type of the item. More...
 
bool NearestBookmark (sal_Int32 &rNearest, const sal_Int32 nCurrentPos, bool bNextPositionOnly)
 Find the nearest bookmark from the current position. More...
 
void GetSortedBookmarks (const SwTextNode &rNd, sal_Int32 nCurrentPos, sal_Int32 nLen)
 
bool GetBookmarks (const SwTextNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, IMarkVector &rArr)
 
void NearestAnnotationMark (sal_Int32 &rNearest, const sal_Int32 nCurrentPos, bool bNextPositionOnly)
 Find the nearest annotation mark from the current position. More...
 
void GetSortedAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen)
 
bool GetAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nStt, sal_Int32 nEnd, IMarkVector &rArr)
 
const NfKeywordTableGetNfKeywordTable ()
 
void SetCurPam (SwNodeOffset nStt, SwNodeOffset nEnd)
 
std::unique_ptr< SvxBrushItemgetBackground ()
 Get background color of the document, if there is one. More...
 
int CollectGrfsOfBullets ()
 Populates m_vecBulletPic with all the bullet graphics used by numberings. More...
 
void BulletDefinitions ()
 Write the numbering picture bullets. More...
 
bool NeedSectionBreak (const SwNode &rNd) const
 
bool NeedTextNodeSplit (const SwTextNode &rNd, SwSoftPageBreakList &pList) const
 

Static Protected Member Functions

static void UpdateTocSectionNodeProperties (const SwSectionNode &rSectionNode)
 

Protected Attributes

std::vector< const Graphic * > m_vecBulletPic
 Vector to record all the graphics of bullets. More...
 

Private Member Functions

 MSWordExportBase (const MSWordExportBase &)=delete
 
MSWordExportBaseoperator= (const MSWordExportBase &)=delete
 

Detailed Description

Base class for WW8Export and DocxExport.

Definition at line 450 of file wrtww8.hxx.

Member Typedef Documentation

◆ IMarkVector

Used to split the runs according to the bookmarks start and ends.

Definition at line 585 of file wrtww8.hxx.

Member Enumeration Documentation

◆ ExportFormat

Enumerator
DOC 
RTF 
DOCX 

Definition at line 825 of file wrtww8.hxx.

Constructor & Destructor Documentation

◆ MSWordExportBase() [1/2]

MSWordExportBase::MSWordExportBase ( SwDoc rDocument,
std::shared_ptr< SwUnoCursor > &  pCurrentPam,
SwPaM pOriginalPam 
)

Definition at line 3851 of file wrtww8.cxx.

References FLY_AS_CHAR, and make_shared().

◆ ~MSWordExportBase()

MSWordExportBase::~MSWordExportBase ( )
virtual

Definition at line 3905 of file wrtww8.cxx.

References m_nUniqueList, m_pOCXExp, m_pOLEExp, and m_pUsedNumTable.

◆ MSWordExportBase() [2/2]

MSWordExportBase::MSWordExportBase ( const MSWordExportBase )
privatedelete

Member Function Documentation

◆ AbstractNumberingDefinitions()

void MSWordExportBase::AbstractNumberingDefinitions ( )

◆ AddLinkTarget()

void MSWordExportBase::AddLinkTarget ( std::u16string_view  rURL)
protected

◆ AddListLevelOverride()

void MSWordExportBase::AddListLevelOverride ( sal_uInt16  nListId,
sal_uInt16  nLevelNum,
sal_uInt16  nStartAt 
)

Store list level overrides (restart of list)

Definition at line 115 of file wrtw8num.cxx.

References m_ListLevelOverrides.

Referenced by AttributeOutputBase::ParaNumRule().

◆ AddSectionBreaksForTOX()

virtual bool MSWordExportBase::AddSectionBreaksForTOX ( ) const
pure virtual

Determines the Section Breaks are to be added for TOX Section.

Implemented in DocxExport, RtfExport, and WW8Export.

◆ AppendAnnotationMarks()

virtual void MSWordExportBase::AppendAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
pure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputTextNode().

◆ AppendBookmark()

virtual void MSWordExportBase::AppendBookmark ( const OUString &  rName)
pure virtual

◆ AppendBookmarks()

virtual void MSWordExportBase::AppendBookmarks ( const SwTextNode rNd,
sal_Int32  nCurrentPos,
sal_Int32  nLen,
const SwRedlineData pSwRedline = nullptr 
)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

◆ AppendSection()

virtual void MSWordExportBase::AppendSection ( const SwPageDesc pPageDesc,
const SwSectionFormat pFormat,
sal_uLong  nLnNum 
)
protectedpure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputSectionNode(), and WriteText().

◆ AppendSmartTags()

virtual void MSWordExportBase::AppendSmartTags ( SwTextNode )
inlinevirtual

Reimplemented in WW8Export.

Definition at line 715 of file wrtww8.hxx.

Referenced by OutputTextNode().

◆ AttrOutput()

virtual AttributeOutputBase & MSWordExportBase::AttrOutput ( ) const
pure virtual

◆ BulletDefinitions()

void MSWordExportBase::BulletDefinitions ( )
protected

◆ CollapseScriptsforWordOk()

virtual bool MSWordExportBase::CollapseScriptsforWordOk ( sal_uInt16  nScript,
sal_uInt16  nWhich 
)
pure virtual

Guess the script (asian/western).

Sadly word does not have two different sizes for asian font size and western font size, it has two different fonts, but not sizes, so we have to use our guess as to the script used and disable the export of one type. The same occurs for font weight and posture (bold and italic).

In addition WW7- has only one character language identifier while WW8+ has two

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by ExportPoolItemsToCHP(), MSWord_SdrAttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().

◆ CollectGrfsOfBullets()

int MSWordExportBase::CollectGrfsOfBullets ( )
protected

◆ CollectOutlineBookmarks()

void MSWordExportBase::CollectOutlineBookmarks ( const SwDoc rDoc)
protected

◆ ContentContainsChapterField()

bool MSWordExportBase::ContentContainsChapterField ( const SwFormatContent rContent) const
protected

◆ CorrectTabStopInSet()

void MSWordExportBase::CorrectTabStopInSet ( SfxItemSet rSet,
sal_Int32  nAbsLeft 
)
static

◆ DisallowInheritingOutlineNumbering()

virtual bool MSWordExportBase::DisallowInheritingOutlineNumbering ( const SwFormat rFormat)
protectedpure virtual

Return value indicates if an inherited outline numbering is suppressed.

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputFormat().

◆ DoComboBox()

virtual void MSWordExportBase::DoComboBox ( const OUString &  rName,
const OUString &  rHelp,
const OUString &  ToolTip,
const OUString &  rSelected,
const css::uno::Sequence< OUString > &  rListItems 
)
pure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

◆ DoFormText()

virtual void MSWordExportBase::DoFormText ( const SwInputField pField)
pure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by AttributeOutputBase::TextField().

◆ DuplicateAbsNum()

sal_uInt16 MSWordExportBase::DuplicateAbsNum ( OUString const &  rListId,
SwNumRule const &  rAbstractRule 
)

check if a new abstractNum is needed for this list

Definition at line 70 of file wrtw8num.cxx.

References DuplicateNumRuleImpl(), GetNumberingId(), m_Lists, and m_pUsedNumTable.

Referenced by OverrideNumRule(), and AttributeOutputBase::ParaNumRule().

◆ DuplicateNumRule()

sal_uInt16 MSWordExportBase::DuplicateNumRule ( const SwNumRule pRule,
sal_uInt8  nLevel,
sal_uInt16  nVal 
)

In case of numbering restart.

List is set to restart at a particular value so for export make a completely new list based on this one and export that instead, which duplicates words behaviour in this respect.

Definition at line 57 of file wrtw8num.cxx.

References DuplicateNumRuleImpl(), SwNumRule::Get(), GetNumberingId(), SwNumRule::Set(), and SvxNumberFormat::SetStart().

Referenced by AttributeOutputBase::ParaNumRule().

◆ DuplicateNumRuleImpl()

SwNumRule * MSWordExportBase::DuplicateNumRuleImpl ( const SwNumRule pRule)

◆ ExportDocument()

ErrCode MSWordExportBase::ExportDocument ( bool  bWriteAll)

The main function to export the document.

Definition at line 3320 of file wrtww8.cxx.

References SwPosition::Assign(), CollectOutlineBookmarks(), DEFAULT_STYLES_COUNT, SwPaM::DeleteMark(), SwRedlineTable::empty(), err, ExportDocument_Impl(), GatherChapterFields(), SvtFilterOptions::Get(), SwDoc::GetCharFormats(), IDocumentLayoutAccess::GetCurrentLayout(), SwDoc::GetDocShell(), IDocumentDrawModelAccess::GetDrawModel(), SwNodes::GetEndOfContent(), sw::util::GetFrames(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetNodes(), SdrModel::GetPage(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), wwFontHelper::InitFontTable(), SvtFilterOptions::IsCalc2Excel(), SwRootFrame::IsHideRedlines(), SvtFilterOptions::IsImpress2PowerPoint(), SvtFilterOptions::IsMath2MathType(), SvtFilterOptions::IsWriter2WinWord(), m_aFontHelper, m_aFrames, m_aTOXArr, m_bBreakBefore, m_bEndAtTextEnd, m_bFootnoteAtTextEnd, m_bInWriteEscher, m_bInWriteTOX, m_bOrigShowChanges, m_bOutFirstPage, m_bOutFlyFrameAttrs, m_bOutGrf, m_bOutKF, m_bOutPageDescs, m_bOutTable, m_bStartTOX, m_bStyDef, m_eNewAnchorType, m_nCharFormatStart, m_nFormatCollStart, m_nLastFormatId, m_nOrigRedlineFlags, m_nStyleBeforeFly, m_nTextTyp, m_pCurPam, m_pCurrentStyle, m_pEscher, m_pFlyOffset, m_pOCXExp, m_pOLEExp, m_pOrigPam, m_pOutFormatNode, m_pParentFrame, m_pRedlAuthors, m_pStyAttr, m_rDoc, OLE_STARCALC_2_EXCEL, OLE_STARIMPRESS_2_POWERPOINT, OLE_STARMATH_2_MATHTYPE, OLE_STARWRITER_2_WINWORD, SdrObjList::RecalcObjOrdNums(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, SwCharFormats::size(), TXT_MAINTEXT, and sw::util::UpdateFramePositions().

Referenced by DocxExportFilter::exportDocument(), RtfExportFilter::filter(), and SwWW8Writer::WriteStorageImpl().

◆ ExportDocument_Impl()

virtual ErrCode MSWordExportBase::ExportDocument_Impl ( )
protectedpure virtual

Format-dependent part of the actual export.

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by ExportDocument().

◆ ExportGrfBullet()

virtual void MSWordExportBase::ExportGrfBullet ( const SwTextNode rNd)
pure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputTextNode().

◆ ExportPoolItemsToCHP()

void MSWordExportBase::ExportPoolItemsToCHP ( ww8::PoolItems rItems,
sal_uInt16  nScript,
const SvxFontItem pFont,
bool  bWriteCombChars = false 
)

◆ FieldsQuoted()

virtual bool MSWordExportBase::FieldsQuoted ( ) const
pure virtual

Determines if the import filter already quoted fields or not.

Implemented in DocxExport, RtfExport, and WW8Export.

◆ FormatHdFtContainsChapterField()

bool MSWordExportBase::FormatHdFtContainsChapterField ( const SwFrameFormat rFormat) const
protected

◆ GatherChapterFields()

void MSWordExportBase::GatherChapterFields ( )
protected

Setup the chapter fields (maChapterFieldLocs).

Definition at line 402 of file ww8atr.cxx.

References Chapter, SwFieldType::GatherNodeIndex(), SwDoc::getIDocumentFieldsAccess(), IDocumentFieldsAccess::GetSysFieldType(), m_aChapterFieldLocs, and m_rDoc.

Referenced by ExportDocument().

◆ GetAnnotationMarks()

bool MSWordExportBase::GetAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nStt,
sal_Int32  nEnd,
IMarkVector rArr 
)
protected

◆ getBackground()

std::unique_ptr< SvxBrushItem > MSWordExportBase::getBackground ( )
protected

Get background color of the document, if there is one.

Definition at line 1506 of file wrtww8.cxx.

References COL_AUTO(), SwFormat::GetBackgroundState(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), m_rDoc, and RES_BACKGROUND().

Referenced by DocxExport::WriteMainText(), RtfExport::WriteMainText(), and DocxExport::WriteSettings().

◆ GetBookmarkName()

OUString MSWordExportBase::GetBookmarkName ( sal_uInt16  nTyp,
const OUString *  pName,
sal_uInt16  nSeqNo 
)
static

◆ GetBookmarks()

bool MSWordExportBase::GetBookmarks ( const SwTextNode rNd,
sal_Int32  nStt,
sal_Int32  nEnd,
IMarkVector rArr 
)
protected

◆ GetCurItemSet()

const SfxItemSet * MSWordExportBase::GetCurItemSet ( ) const
inline

◆ GetCurrentPageDirection()

SvxFrameDirection MSWordExportBase::GetCurrentPageDirection ( ) const

◆ GetDefaultFrameDirection()

SvxFrameDirection MSWordExportBase::GetDefaultFrameDirection ( ) const

◆ GetExportFormat()

virtual ExportFormat MSWordExportBase::GetExportFormat ( ) const
pure virtual

◆ GetGrfIndex()

int MSWordExportBase::GetGrfIndex ( const SvxBrushItem rBrush)

Returns the index of a picture bullet, used in numberings.

Definition at line 1630 of file wrtww8.cxx.

References Graphic::GetChecksum(), SvxBrushItem::GetGraphic(), i, m_vecBulletPic, and nIndex.

Referenced by DocxAttributeOutput::NumberingLevel(), RtfAttributeOutput::NumberingLevel(), and WW8AttributeOutput::NumberingLevel().

◆ GetHdFtPageRoot()

const SwTextNode * MSWordExportBase::GetHdFtPageRoot ( ) const
inline

Top node of host page when in header/footer.

Definition at line 786 of file wrtww8.hxx.

References m_pTopNodeOfHdFtPage.

Referenced by SectionProperties(), and AttributeOutputBase::TextField().

◆ GetId() [1/5]

sal_uInt16 MSWordExportBase::GetId ( const SvxFontItem rFont)
inline

Return the numeric id of the font (and add it to the font list if needed)

Definition at line 621 of file wrtww8.hxx.

References wwFontHelper::GetId(), and m_aFontHelper.

◆ GetId() [2/5]

sal_uInt16 MSWordExportBase::GetId ( const SwCharFormat pFormat) const

Return the numeric id of the style.

Definition at line 126 of file wrtw8sty.cxx.

References m_pStyles.

◆ GetId() [3/5]

sal_uInt16 MSWordExportBase::GetId ( const SwTextFormatColl rColl) const

◆ GetId() [4/5]

sal_uInt16 MSWordExportBase::GetId ( const SwTOXType rTOXType)

Definition at line 1980 of file ww8atr.cxx.

References m_aTOXArr.

◆ GetId() [5/5]

void MSWordExportBase::GetId ( const wwFont rFont)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 626 of file wrtww8.hxx.

References wwFontHelper::GetId(), and m_aFontHelper.

◆ GetItem() [1/2]

const SfxPoolItem & MSWordExportBase::GetItem ( sal_uInt16  nWhich) const

◆ GetItem() [2/2]

template<class T >
const T & MSWordExportBase::GetItem ( TypedWhichId< T >  nWhich) const
inline

Definition at line 632 of file wrtww8.hxx.

References GetItem().

◆ GetNextPos()

sal_Int32 MSWordExportBase::GetNextPos ( SwWW8AttrIter const *  pAttrIter,
const SwTextNode rNode,
sal_Int32  nCurrentPos 
)
protected

Get the next position in the text node to output.

Definition at line 1912 of file wrtw8nds.cxx.

References GetSortedAnnotationMarks(), GetSortedBookmarks(), min(), NearestAnnotationMark(), NearestBookmark(), and SwWW8AttrIter::WhereNext().

Referenced by OutputTextNode().

◆ GetNfKeywordTable()

const NfKeywordTable & MSWordExportBase::GetNfKeywordTable ( )
protected

◆ GetNumberFormat()

bool MSWordExportBase::GetNumberFormat ( const SwField rField,
OUString &  rStr 
)

◆ GetNumberingId()

sal_uInt16 MSWordExportBase::GetNumberingId ( const SwNumRule rNumRule)

◆ GetSectionFormat()

const SwSectionFormat * MSWordExportBase::GetSectionFormat ( const SwNode rNd)
static

◆ GetSectionLineNo()

sal_uLong MSWordExportBase::GetSectionLineNo ( const SfxItemSet pSet,
const SwNode rNd 
)
static

◆ GetSortedAnnotationMarks()

void MSWordExportBase::GetSortedAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
protected

◆ GetSortedBookmarks()

void MSWordExportBase::GetSortedBookmarks ( const SwTextNode rNd,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
protected

Definition at line 2145 of file wrtw8nds.cxx.

References GetBookmarks(), m_rSortedBookmarksEnd, and m_rSortedBookmarksStart.

Referenced by GetNextPos().

◆ HasItem() [1/2]

const SfxPoolItem * MSWordExportBase::HasItem ( sal_uInt16  nWhich) const

◆ HasItem() [2/2]

template<class T >
const T * MSWordExportBase::HasItem ( TypedWhichId< T >  nWhich) const
inline

Definition at line 817 of file wrtww8.hxx.

References HasItem().

◆ HasRefToAttr()

bool MSWordExportBase::HasRefToAttr ( const OUString &  rName)

◆ HasRefToFootOrEndnote()

bool MSWordExportBase::HasRefToFootOrEndnote ( const bool  isEndNote,
const sal_uInt16  nSeqNo 
)

◆ ignoreAttributeForStyleDefaults()

virtual bool MSWordExportBase::ignoreAttributeForStyleDefaults ( sal_uInt16  ) const
inlinevirtual

Used to filter out attributes that can be e.g. written to .doc but not to .docx.

Reimplemented in DocxExport.

Definition at line 692 of file wrtww8.hxx.

Referenced by DocxExport::ignoreAttributeForStyleDefaults(), and MSWordStyles::SetStyleDefaults().

◆ IsInTable()

bool MSWordExportBase::IsInTable ( ) const

Return whether currently exported node is in table.

Definition at line 2959 of file wrtww8.cxx.

References m_pCurPam, and m_pTableInfo.

Referenced by WW8AttributeOutput::CharRotate(), DocxExport::OutputEndNode(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputSectionNode(), OutputTextNode(), and WriteText().

◆ NearestAnnotationMark()

void MSWordExportBase::NearestAnnotationMark ( sal_Int32 &  rNearest,
const sal_Int32  nCurrentPos,
bool  bNextPositionOnly 
)
protected

Find the nearest annotation mark from the current position.

Definition at line 2082 of file wrtw8nds.cxx.

References SwPosition::GetContentIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedAnnotationMarksEnd, m_rSortedAnnotationMarksStart, and min().

Referenced by GetNextPos().

◆ NearestBookmark()

bool MSWordExportBase::NearestBookmark ( sal_Int32 &  rNearest,
const sal_Int32  nCurrentPos,
bool  bNextPositionOnly 
)
protected

Find the nearest bookmark from the current position.

Returns false when there is no bookmark.

Definition at line 2050 of file wrtw8nds.cxx.

References SwPosition::GetContentIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedBookmarksEnd, m_rSortedBookmarksStart, and min().

Referenced by GetNextPos(), and UpdatePosition().

◆ NeedSectionBreak()

bool MSWordExportBase::NeedSectionBreak ( const SwNode rNd) const
protected

◆ NeedTextNodeSplit()

bool MSWordExportBase::NeedTextNodeSplit ( const SwTextNode rNd,
SwSoftPageBreakList pList 
) const
protected

◆ NoPageBreakSection()

bool MSWordExportBase::NoPageBreakSection ( const SfxItemSet pSet)
static

◆ NumberingDefinitions()

void MSWordExportBase::NumberingDefinitions ( )

◆ NumberingLevel()

void MSWordExportBase::NumberingLevel ( SwNumRule const &  rRule,
sal_uInt8  nLvl 
)

◆ operator=()

MSWordExportBase & MSWordExportBase::operator= ( const MSWordExportBase )
privatedelete

◆ OutputContentNode()

void MSWordExportBase::OutputContentNode ( SwContentNode rNode)
protected

Call the right (virtual) function according to the type of the item.

One of OutputTextNode(), OutputGrfNode(), or OutputOLENode()

Definition at line 3575 of file wrtw8nds.cxx.

References SwNode::GetGrfNode(), SwNode::GetNodeType(), SwNode::GetOLENode(), SwNode::GetTextNode(), Grf, Ole, OutputGrfNode(), OutputOLENode(), OutputTextNode(), SAL_WARN, and Text.

Referenced by WriteText().

◆ OutputEndNode()

void MSWordExportBase::OutputEndNode ( const SwEndNode rNode)
protectedvirtual

Output SwEndNode.

Reimplemented in DocxExport, and RtfExport.

Definition at line 4437 of file wrtww8.cxx.

References AttrOutput(), dbg_out(), m_pTableInfo, SAL_INFO, and AttributeOutputBase::TableNodeInfoInner().

Referenced by DocxExport::OutputEndNode(), and WriteText().

◆ OutputField()

virtual void MSWordExportBase::OutputField ( const SwField pField,
ww::eField  eFieldType,
const OUString &  rFieldCmd,
FieldFlags  nMode = FieldFlags::All 
)
pure virtual

◆ OutputFollowPageDesc()

bool MSWordExportBase::OutputFollowPageDesc ( const SfxItemSet pSet,
const SwTextNode pNd 
)

The return value indicates, if a follow page desc is written.

Definition at line 640 of file ww8atr.cxx.

References SwPageDesc::GetFollow(), m_pCurrentPageDesc, and PrepareNewPageDesc().

Referenced by AttributeOutputBase::FormatBreak().

◆ OutputFormat()

void MSWordExportBase::OutputFormat ( const SwFormat rFormat,
bool  bPapFormat,
bool  bChpFormat,
bool  bFlyFormat = false 
)

◆ OutputGrfNode()

virtual void MSWordExportBase::OutputGrfNode ( const SwGrfNode )
protectedpure virtual

Output SwGrfNode.

Implemented in DocxExport, WW8Export, and RtfExport.

Referenced by OutputContentNode().

◆ OutputItemSet()

void MSWordExportBase::OutputItemSet ( const SfxItemSet rSet,
bool  bPapFormat,
bool  bChpFormat,
sal_uInt16  nScript,
bool  bExportParentItemSet 
)

◆ OutputLinkedOLE()

virtual void MSWordExportBase::OutputLinkedOLE ( const OUString &  )
protectedpure virtual

Implemented in DocxExport, WW8Export, and RtfExport.

Referenced by OutputTextNode().

◆ OutputOLENode()

virtual void MSWordExportBase::OutputOLENode ( const SwOLENode )
protectedpure virtual

Output SwOLENode.

Implemented in DocxExport, WW8Export, and RtfExport.

Referenced by OutputContentNode().

◆ OutputSectionBreaks()

void MSWordExportBase::OutputSectionBreaks ( const SfxItemSet pSet,
const SwNode rNd,
bool  isCellOpen = false 
)

Start new section.

WW only knows Break-After (page break and section breaks), whereas in SW page breaks exist both "before" and "after" and PageDesc exists only "before".

Therefore the breaks are iterated two times, namely before and after every line. Depending on the break type they're set before or after the line. Only functions can be called, which do not write in output area pO, because that one only exits once for CHP and PAP and therefore end up in the wrong one.

Definition at line 480 of file ww8atr.cxx.

References AttrOutput(), SfxItemSet::Count(), SwNode::FindPageDesc(), SwNode::FindTableNode(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwNode::GetContentNode(), SwNodes::GetEndOfContent(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwFormatPageDesc::GetNumOffset(), SwFormatPageDesc::GetPageDesc(), SwClient::GetRegisteredIn(), SwTableBox::GetSttNd(), SwNode::GetTableBox(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), sw::util::IsPlausableSingleWordSection(), SwFormatPageDesc::KnowsPageDesc(), m_bBreakBefore, m_bInWriteEscher, m_bOutKF, m_bOutPageDescs, m_bOutTable, m_bStyDef, m_pCurrentPageDesc, m_rDoc, AttributeOutputBase::OutputItem(), PrepareNewPageDesc(), RES_BREAK(), RES_PAGEDESC(), SetCurrentPageDescFromNode(), and SwNode::StartOfSectionNode().

Referenced by DocxAttributeOutput::SectionBreaks(), RtfAttributeOutput::SectionBreaks(), and WW8Export::SectionBreaksAndFrames().

◆ OutputSectionNode()

void MSWordExportBase::OutputSectionNode ( const SwSectionNode rSectionNode)
protected

◆ OutputStartNode()

void MSWordExportBase::OutputStartNode ( const SwStartNode rNode)
protected

Output SwStartNode.

Definition at line 4412 of file wrtww8.cxx.

References AttrOutput(), m_pTableInfo, SAL_INFO, and AttributeOutputBase::TableNodeInfoInner().

Referenced by WriteText().

◆ OutputTextNode()

void MSWordExportBase::OutputTextNode ( SwTextNode rNode)
protectedvirtual

Output SwTextNode.

Reimplemented in RtfExport.

Definition at line 2226 of file wrtw8nds.cxx.

References ADD_PARA_SPACING_TO_TABLE_CELLS, AppendAnnotationMarks(), AppendBookmark(), AppendBookmarks(), AppendSmartTags(), SwTextNode::AreListLevelIndentsApplicable(), aStr, AttrOutput(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), BookmarkToWord(), ch, CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, CH_TXTATR_BREAKWORD, SwTableBoxFormula::Clone(), Close, CmdEnd, CmdStart, CorrectTabStopInSet(), ww::eEquals, eFieldId, ww::eFORMDATE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), SwTextAttr::End(), AttributeOutputBase::EndParagraph(), AttributeOutputBase::EndParagraphProperties(), AttributeOutputBase::EndRun(), AttributeOutputBase::EndRunProperties(), AttributeOutputBase::EndTOX(), ExportGrfBullet(), SwNode::FindPageDesc(), SwNode::FindSectionNode(), SwNode::FindTableNode(), FLY_NONE, FLY_POSTPONED, FLY_PROCESSED, AttributeOutputBase::FormatDrop(), AttributeOutputBase::GenerateBookmarksForSequenceField(), IDocumentSettingAccess::get(), SwNumRule::Get(), SfxItemSet::Get(), SvxNumberFormat::GetAbsLSpace(), SwTextNode::GetActualListLevel(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SwTextNode::GetAttr(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwFormat::GetBreak(), SwWW8AttrIter::GetCharSet(), SwNodes::GetEndOfContent(), GetExportFormat(), IDocumentMarkAccess::getFieldmarkAt(), IDocumentMarkAccess::getFieldmarkFor(), SvxNumberFormat::GetFirstLineOffset(), SwNode::GetFlyFormat(), SwPageDesc::GetFollow(), SwFormat::GetFrameDir(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), ww8::Frame::GetFrameFormat(), GetId(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentSettingAccess(), SvxNumberFormat::GetIndentAt(), SwNode::GetIndex(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwFormat::GetKeep(), SwFormat::GetLayoutSplit(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SwNumRule::GetName(), GetNextPos(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNumRule::GetNumFormat(), SwTextNode::GetNumRule(), SwWW8AttrIter::GetParagraphLevelRedline(), AttributeOutputBase::GetParagraphMarkerRedline(), SwTableLines::GetPos(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), SwWW8AttrIter::GetRunLevelRedline(), SwSectionNode::GetSection(), SwWW8AttrIter::GetSnippet(), SwTextAttr::GetStart(), SwTableBox::GetSttNd(), SwFormatAutoFormat::GetStyleHandle(), SwContentNode::GetSwAttrSet(), SwWW8AttrIter::GetSwFormatDrop(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwFormat::GetTableBoxFormula(), SwTable::GetTabLines(), SwTextNode::GetText(), SvxLRSpaceItem::GetTextFirstLineOffset(), SvxLRSpaceItem::GetTextLeft(), SwNode::GetTextNode(), SwSection::GetType(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SvxULSpaceItem::GetUpper(), SfxBoolItem::GetValue(), GetWordFirstLineOffset(), SwNodes::GoNext(), SwNode::HasPrevNextLayNode(), i, SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SvxTabStopItem::Insert(), SwWW8AttrIter::IsAnchorLinkedToThisNode(), SwTextNode::IsCountedInList(), SwWW8AttrIter::IsDropCap(), SwWW8AttrIter::IsExportableAttr(), SwTableBox::IsFormulaOrValueBox(), IsInTable(), SwTextNode::IsNumbered(), SwWW8AttrIter::IsParaRTL(), SwWW8AttrIter::IsTextAttr(), SwNode::IsTextNode(), SwWW8AttrIter::IsWatermarkFrame(), SwFormatPageDesc::KnowsPageDesc(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, lcl_getFieldCode(), lcl_getFieldId(), lcl_getFormatCollection(), m_aCurrentCharPropStarts, m_bAddFootnoteTab, m_bInWriteTOX, m_bStartTOX, m_nStyleBeforeFly, m_nTextTyp, m_pCurrentPageDesc, m_pOutFormatNode, m_pParentFrame, m_pStyAttr, m_pTableInfo, m_rDoc, MAXLEVEL, ND_HAS_NEXT_LAYNODE, ND_HAS_PREV_LAYNODE, NeedTextNodeSplit(), NoPageBreakSection(), ODF_CODE_PARAM, ODF_FORMCHECKBOX, ODF_FORMDATE, ODF_FORMDROPDOWN, ODF_FORMTEXT, ODF_HYPERLINK, ODF_ID_PARAM, ODF_OLE_PARAM, ODF_UNHANDLED, SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), SwWW8AttrIter::OutFlys(), OutputField(), AttributeOutputBase::OutputFKP(), OutputFormat(), OutputItemSet(), OutputLinkedOLE(), msword::PageBreak, AttributeOutputBase::PageBreakBefore(), PARA_SPACE_MAX_AT_PAGES, AttributeOutputBase::ParagraphStyle(), PrepareNewPageDesc(), SfxItemSet::Put(), AttributeOutputBase::Redline(), SwWW8AttrIter::RequiresImplicitBookmark(), RES_BOXATR_FORMULA(), RES_BREAK(), RES_FRAMEDIR(), RES_KEEP(), RES_LR_SPACE(), RES_PAGEDESC(), RES_PARATR_ADJUST(), RES_PARATR_LIST_AUTOFMT(), RES_PARATR_NUMRULE(), RES_PARATR_TABSTOP(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), RES_UL_SPACE(), AttributeOutputBase::ResetFlyProcessingFlag(), AttributeOutputBase::RunText(), SAL_INFO, AttributeOutputBase::SectionBreak(), AttributeOutputBase::SectionBreaks(), AttributeOutputBase::SetAnchorIsLinkedToNode(), SwFormat::SetFormatAttr(), SvxULSpaceItem::SetLower(), AttributeOutputBase::SetStateOfFlyFrame(), SvxLRSpaceItem::SetTextFirstLineOffset(), SvxLRSpaceItem::SetTextFirstLineOffsetValue(), SvxLRSpaceItem::SetTextLeft(), SvxULSpaceItem::SetUpper(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwTableLines::size(), Start, AttributeOutputBase::StartParagraph(), AttributeOutputBase::StartParagraphProperties(), AttributeOutputBase::StartRun(), AttributeOutputBase::StartRunProperties(), AttributeOutputBase::StartTOX(), AttributeOutputBase::TableInfoCell(), ToxContent, TXT_EDN, TXT_FTN, TXT_HDFT, TXT_MAINTEXT, UpdatePosition(), SfxPoolItem::Which(), WriteCR(), WriteFormData(), WriteHyperlinkData(), and AttributeOutputBase::WritePostitFieldReference().

Referenced by OutputContentNode(), and RtfExport::OutputTextNode().

◆ OverrideNumRule()

sal_uInt16 MSWordExportBase::OverrideNumRule ( SwNumRule const &  rExistingRule,
OUString const &  rListId,
SwNumRule const &  rAbstractRule 
)

Create a overriding numbering definition (if it does not yet exist)

Returns
index of the overriding numbering definition

Definition at line 93 of file wrtw8num.cxx.

References DuplicateAbsNum(), SwNumRule::GetDefaultListId(), GetNumberingId(), m_nUniqueList, m_OverridingNums, and m_pUsedNumTable.

Referenced by AttributeOutputBase::ParaNumRule().

◆ PreferPageBreakBefore()

virtual bool MSWordExportBase::PreferPageBreakBefore ( ) const
pure virtual

If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).

Implemented in DocxExport, RtfExport, and WW8Export.

◆ PrepareNewPageDesc()

virtual void MSWordExportBase::PrepareNewPageDesc ( const SfxItemSet pSet,
const SwNode rNd,
const SwFormatPageDesc pNewPgDescFormat,
const SwPageDesc pNewPgDesc,
bool  bExtraPageBreak = false 
)
protectedpure virtual

◆ ReplaceCr()

virtual sal_uInt64 MSWordExportBase::ReplaceCr ( sal_uInt8  nChar)
pure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputSectionNode(), and WriteText().

◆ RestoreData()

void MSWordExportBase::RestoreData ( )
virtual

◆ SaveData()

void MSWordExportBase::SaveData ( SwNodeOffset  nStt,
SwNodeOffset  nEnd 
)
virtual

◆ SectionBreaksAndFrames()

virtual void MSWordExportBase::SectionBreaksAndFrames ( const SwTextNode rNode)
protectedpure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by WriteText().

◆ SectionProperties()

void MSWordExportBase::SectionProperties ( const WW8_SepInfo rSectionInfo,
WW8_PdAttrDesc pA = nullptr 
)

Write section properties.

pA is ignored for docx.

Definition at line 1598 of file wrtw8sty.cxx.

References All, AttrOutput(), WW8_SepInfo::bIsFirstParagraph, AttributeOutputBase::EndSection(), SwFormat::GetAttrSet(), SwNode::GetContentNode(), GetExportFormat(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetFormatAttr(), GetHdFtPageRoot(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwFormat::GetItemState(), SwPageDesc::GetLeft(), SvxLRSpaceItem::GetLeft(), SwDoc::GetLineNumberInfo(), SwPageDesc::GetMaster(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwDoc::GetPageDesc(), SwPageDesc::GetPageFormatOfNode(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), SwPageDesc::GetStashedFrameFormat(), SwContentNode::GetSwAttrSet(), SwNode::GetTextNode(), SwPageDesc::GetVerticalAdjustment(), SwNode::IsContentNode(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFollowNextPageOfNode(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), SwLineNumberInfo::IsPaintLineNumbers(), sw::util::IsPlausableSingleWordSection(), WW8_SepInfo::IsProtected(), Left, m_bOutFirstPage, m_bOutPageDescs, m_pCurrentPageDesc, m_pFirstPageFormat, m_pISet, m_pPreviousSectionPageDesc, m_rDoc, WW8_SepInfo::nLnNumRestartNo, NoPageBreakSection(), WW8_SepInfo::oPgRestartNo, AttributeOutputBase::OutputItem(), AttributeOutputBase::OutputStyleItemSet(), WW8_SepInfo::pPageDesc, WW8_SepInfo::pPDNd, WW8_SepInfo::pSectionFormat, SfxItemSet::Put(), SwPageDesc::ReadUseOn(), RES_COL(), RES_LR_SPACE(), RES_PAPER_BIN(), Right, AttributeOutputBase::SectFootnoteEndnotePr(), AttributeOutputBase::SectionBiDi(), AttributeOutputBase::SectionFormProtection(), AttributeOutputBase::SectionLineNumbering(), AttributeOutputBase::SectionPageBorders(), AttributeOutputBase::SectionPageNumbering(), AttributeOutputBase::SectionTitlePage(), AttributeOutputBase::SectionType(), SwFormatCol::SetAdjustValue(), MSWordSections::SetFooterFlag(), SetHdFtPageRoot(), MSWordSections::SetHeaderFlag(), SfxItemSet::SetParent(), SetupSectionPositions(), AttributeOutputBase::StartSection(), AttributeOutputBase::TextVerticalAdjustment(), TrueFrameDirection(), WriteHeadersFooters(), nsHdFtFlags::WW8_FOOTER_EVEN, nsHdFtFlags::WW8_FOOTER_FIRST, nsHdFtFlags::WW8_FOOTER_ODD, nsHdFtFlags::WW8_HEADER_EVEN, nsHdFtFlags::WW8_HEADER_FIRST, and nsHdFtFlags::WW8_HEADER_ODD.

Referenced by DocxAttributeOutput::SectionBreak(), RtfAttributeOutput::SectionBreak(), DocxAttributeOutput::StartParagraphProperties(), WW8_WrPlcSepx::WriteKFText(), and DocxExport::WriteMainText().

◆ Sections()

virtual MSWordSections & MSWordExportBase::Sections ( ) const
pure virtual

Access to the sections/headers/footres.

Implemented in DocxExport, RtfExport, and WW8Export.

◆ SetCurItemSet()

void MSWordExportBase::SetCurItemSet ( const SfxItemSet pS)
inline

Setter for pISet.

Definition at line 734 of file wrtww8.hxx.

References m_pISet, and pS.

Referenced by SwWW8AttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().

◆ SetCurPam()

void MSWordExportBase::SetCurPam ( SwNodeOffset  nStt,
SwNodeOffset  nEnd 
)
protected

◆ SetCurrentPageDescFromNode()

bool MSWordExportBase::SetCurrentPageDescFromNode ( const SwNode rNd)
protected

◆ SetHdFtPageRoot()

void MSWordExportBase::SetHdFtPageRoot ( const SwTextNode pNd)
inline

Top node of host page when in header/footer.

Definition at line 783 of file wrtww8.hxx.

References m_pTopNodeOfHdFtPage.

Referenced by SectionProperties().

◆ SetupSectionPositions()

virtual void MSWordExportBase::SetupSectionPositions ( WW8_PdAttrDesc )
inlinevirtual

Setup the pA's info.

Reimplemented in WW8Export.

Definition at line 780 of file wrtww8.hxx.

Referenced by SectionProperties().

◆ SubstituteBullet()

void MSWordExportBase::SubstituteBullet ( OUString &  rNumStr,
rtl_TextEncoding &  rChrSet,
OUString &  rFontName 
) const

Definition at line 627 of file wrtw8num.cxx.

References msfilter::util::bestFitOpenSymbolToMSFont(), m_bSubstituteBullets, and u.

Referenced by NumberingLevel().

◆ TrueFrameDirection()

SvxFrameDirection MSWordExportBase::TrueFrameDirection ( const SwFrameFormat rFlyFormat) const

◆ UpdatePosition()

void MSWordExportBase::UpdatePosition ( SwWW8AttrIter pAttrIter,
sal_Int32  nCurrentPos 
)
protected

Update the information for GetNextPos().

Definition at line 1929 of file wrtw8nds.cxx.

References NearestBookmark(), SwWW8AttrIter::NextPos(), and SwWW8AttrIter::WhereNext().

Referenced by OutputTextNode().

◆ UpdateTocSectionNodeProperties()

void MSWordExportBase::UpdateTocSectionNodeProperties ( const SwSectionNode rSectionNode)
staticprotected

◆ WriteChar()

virtual void MSWordExportBase::WriteChar ( sal_Unicode  c)
pure virtual

Implemented in RtfExport, WW8Export, and DocxExport.

Referenced by MSWord_SdrAttrIter::OutAttr().

◆ WriteCR()

virtual void MSWordExportBase::WriteCR ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner = ww8::WW8TableNodeInfoInner::Pointer_t())
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

◆ WriteFormData()

virtual void MSWordExportBase::WriteFormData ( const ::sw::mark::IFieldmark &  rFieldmark)
pure virtual

Write the data of the form field.

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputTextNode().

◆ WriteHeaderFooterText()

void MSWordExportBase::WriteHeaderFooterText ( const SwFormat rFormat,
bool  bHeader 
)

◆ WriteHeadersFooters()

virtual void MSWordExportBase::WriteHeadersFooters ( sal_uInt8  nHeadFootFlags,
const SwFrameFormat rFormat,
const SwFrameFormat rLeftHeaderFormat,
const SwFrameFormat rLeftFooterFormat,
const SwFrameFormat rFirstPageFormat,
sal_uInt8  nBreakCode,
bool  bEvenAndOddHeaders 
)
pure virtual

Output the actual headers and footers.

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by SectionProperties().

◆ WriteHyperlinkData()

virtual void MSWordExportBase::WriteHyperlinkData ( const ::sw::mark::IFieldmark &  rFieldmark)
pure virtual

Implemented in DocxExport, RtfExport, and WW8Export.

Referenced by OutputTextNode().

◆ WriteNumbering()

virtual void MSWordExportBase::WriteNumbering ( )
pure virtual

Output the numbering table.

Implemented in DocxExport, RtfExport, and WW8Export.

◆ WriteSpecialText()

void MSWordExportBase::WriteSpecialText ( SwNodeOffset  nStart,
SwNodeOffset  nEnd,
sal_uInt8  nTTyp 
)

Set the pCurPam appropriately and call WriteText().

Used to export paragraphs in footnotes/endnotes/etc.

! Simply shifting the PaM without restoring should do the job too

Definition at line 1798 of file wrtww8.cxx.

References m_aLinkedTextboxesHelper, m_bAddFootnoteTab, m_bOutPageDescs, m_nCurEnd, m_nCurStart, m_nTextTyp, m_pCurPam, m_pOrigPam, m_pTableInfo, SetCurPam(), TXT_EDN, TXT_FTN, and WriteText().

Referenced by DocxAttributeOutput::FootnotesEndnotes(), RtfAttributeOutput::TextFootnote_Impl(), WW8_WrPlcSubDoc::WriteGenericText(), and WriteHeaderFooterText().

◆ WriteText()

void MSWordExportBase::WriteText ( )

Member Data Documentation

◆ m_aChapterFieldLocs

std::vector<SwNodeOffset> MSWordExportBase::m_aChapterFieldLocs

◆ m_aCurrentCharPropStarts

std::stack< sal_Int32 > MSWordExportBase::m_aCurrentCharPropStarts

To remember the position in a run.

Definition at line 471 of file wrtww8.hxx.

Referenced by SwWW8AttrIter::GetSnippet(), SwWW8AttrIter::HasTextItem(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), and OutputTextNode().

◆ m_aFontHelper

wwFontHelper MSWordExportBase::m_aFontHelper

◆ m_aFrames

ww8::Frames MSWordExportBase::m_aFrames

◆ m_aImplicitBookmarks

std::vector<aBookmarkPair> MSWordExportBase::m_aImplicitBookmarks

Definition at line 493 of file wrtww8.hxx.

Referenced by AddLinkTarget(), and SwWW8AttrIter::RequiresImplicitBookmark().

◆ m_aLinkedTextboxesHelper

std::map<OUString,LinkedTextboxInfo> MSWordExportBase::m_aLinkedTextboxesHelper

◆ m_aMainStg

OUString MSWordExportBase::m_aMainStg

Definition at line 455 of file wrtww8.hxx.

Referenced by WW8Export::ExportDocument_Impl().

◆ m_aOleMap

WW8OleMap MSWordExportBase::m_aOleMap

Definition at line 477 of file wrtww8.hxx.

Referenced by WW8Export::OutputOLENode().

◆ m_aSaveData

std::stack< MSWordSaveData > MSWordExportBase::m_aSaveData

Stack to remember the nesting (see MSWordSaveData for more)

Definition at line 582 of file wrtww8.hxx.

Referenced by RestoreData(), WW8Export::RestoreData(), SaveData(), and WW8Export::SaveData().

◆ m_aTOXArr

std::vector<const SwTOXType*> MSWordExportBase::m_aTOXArr

Definition at line 456 of file wrtww8.hxx.

Referenced by ExportDocument(), and GetId().

◆ m_bAddFootnoteTab

bool MSWordExportBase::m_bAddFootnoteTab

Definition at line 574 of file wrtww8.hxx.

Referenced by OutputTextNode(), and WriteSpecialText().

◆ m_bBreakBefore

bool MSWordExportBase::m_bBreakBefore

Definition at line 552 of file wrtww8.hxx.

Referenced by ExportDocument(), and OutputSectionBreaks().

◆ m_bEndAtTextEnd

bool MSWordExportBase::m_bEndAtTextEnd

◆ m_bExportModeRTF

bool MSWordExportBase::m_bExportModeRTF

◆ m_bFirstTOCNodeWithSection

bool MSWordExportBase::m_bFirstTOCNodeWithSection

Definition at line 499 of file wrtww8.hxx.

Referenced by MSWordSections::MSWordSections().

◆ m_bFontSizeWritten

bool MSWordExportBase::m_bFontSizeWritten

Is font size written already as part of the current character properties?

Definition at line 573 of file wrtww8.hxx.

Referenced by DocxAttributeOutput::CharEscapement(), and MSWord_SdrAttrIter::OutAttr().

◆ m_bFootnoteAtTextEnd

bool MSWordExportBase::m_bFootnoteAtTextEnd

◆ m_bHasFtr

bool MSWordExportBase::m_bHasFtr

◆ m_bHasHdr

bool MSWordExportBase::m_bHasHdr

◆ m_bHideTabLeaderAndPageNumbers

bool MSWordExportBase::m_bHideTabLeaderAndPageNumbers

Definition at line 570 of file wrtww8.hxx.

Referenced by AttributeOutputBase::EndTOX(), and AttributeOutputBase::StartTOX().

◆ m_bInWriteEscher

bool MSWordExportBase::m_bInWriteEscher

◆ m_bInWriteTOX

bool MSWordExportBase::m_bInWriteTOX

◆ m_bLinkedTextboxesHelperInitialized

bool MSWordExportBase::m_bLinkedTextboxesHelperInitialized = false

Definition at line 517 of file wrtww8.hxx.

Referenced by SwWW8AttrIter::OutFlys().

◆ m_bOrigShowChanges

bool MSWordExportBase::m_bOrigShowChanges

Remember the original Show Changes mode.

Definition at line 489 of file wrtww8.hxx.

Referenced by ExportDocument(), and DocxExport::ExportDocument_Impl().

◆ m_bOutFirstPage

bool MSWordExportBase::m_bOutFirstPage

◆ m_bOutFlyFrameAttrs

bool MSWordExportBase::m_bOutFlyFrameAttrs

◆ m_bOutGrf

bool MSWordExportBase::m_bOutGrf

◆ m_bOutKF

bool MSWordExportBase::m_bOutKF

◆ m_bOutPageDescs

bool MSWordExportBase::m_bOutPageDescs

◆ m_bOutTable

bool MSWordExportBase::m_bOutTable

◆ m_bStartTOX

bool MSWordExportBase::m_bStartTOX

◆ m_bStyDef

bool MSWordExportBase::m_bStyDef

◆ m_bSubstituteBullets

bool MSWordExportBase::m_bSubstituteBullets

Definition at line 567 of file wrtww8.hxx.

Referenced by RtfExport::RtfExport(), and SubstituteBullet().

◆ m_bTabInTOC

bool MSWordExportBase::m_bTabInTOC

Definition at line 568 of file wrtww8.hxx.

Referenced by AttributeOutputBase::StartTOX().

◆ m_eNewAnchorType

RndStdIds MSWordExportBase::m_eNewAnchorType

◆ m_ListLevelOverrides

std::map< size_t, std::map<size_t, size_t> > MSWordExportBase::m_ListLevelOverrides

Map of maps for list levels overrides listid -> level number -> restart value.

Definition at line 468 of file wrtww8.hxx.

Referenced by AddListLevelOverride(), and NumberingDefinitions().

◆ m_Lists

std::map<OUString, size_t> MSWordExportBase::m_Lists

list-id -> abstractnumdef index

Definition at line 464 of file wrtww8.hxx.

Referenced by DuplicateAbsNum().

◆ m_nCharFormatStart

sal_uInt16 MSWordExportBase::m_nCharFormatStart

Definition at line 480 of file wrtww8.hxx.

Referenced by ExportDocument().

◆ m_nCurEnd

SwNodeOffset MSWordExportBase::m_nCurEnd

Definition at line 577 of file wrtww8.hxx.

Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().

◆ m_nCurStart

SwNodeOffset MSWordExportBase::m_nCurStart

Definition at line 577 of file wrtww8.hxx.

Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().

◆ m_nFormatCollStart

sal_uInt16 MSWordExportBase::m_nFormatCollStart

Definition at line 481 of file wrtww8.hxx.

Referenced by ExportDocument().

◆ m_nHdFtIndex

unsigned int MSWordExportBase::m_nHdFtIndex

◆ m_nLastFormatId

sal_uInt16 MSWordExportBase::m_nLastFormatId

Style of last TextNode in normal range.

Definition at line 484 of file wrtww8.hxx.

Referenced by ExportDocument(), and WW8Export::WriteMainText().

◆ m_nLinkedTextboxesChainId

sal_Int32 MSWordExportBase::m_nLinkedTextboxesChainId =0

Definition at line 518 of file wrtww8.hxx.

Referenced by DocxExport::WriteMainText().

◆ m_nOrigRedlineFlags

RedlineFlags MSWordExportBase::m_nOrigRedlineFlags

Remember the original redline mode.

Definition at line 488 of file wrtww8.hxx.

Referenced by ExportDocument(), DocxExport::ExportDocument_Impl(), RtfExport::ExportDocument_Impl(), and WW8Export::ExportDocument_Impl().

◆ m_nStyleBeforeFly

sal_uInt16 MSWordExportBase::m_nStyleBeforeFly

style number of the node

to which the Fly is connected

Definition at line 482 of file wrtww8.hxx.

Referenced by ExportDocument(), OutputTextNode(), and WW8AttributeOutput::TableNodeInfoInner().

◆ m_nTextTyp

sal_uInt8 MSWordExportBase::m_nTextTyp

◆ m_nUniqueList

sal_uInt16 MSWordExportBase::m_nUniqueList

current number for creating unique list names

Definition at line 485 of file wrtww8.hxx.

Referenced by DuplicateNumRuleImpl(), OverrideNumRule(), and ~MSWordExportBase().

◆ m_OverridingNums

std::map<size_t, std::pair<size_t, size_t> > MSWordExportBase::m_OverridingNums

overriding numdef index -> (existing numdef index, abstractnumdef index)

Definition at line 462 of file wrtww8.hxx.

Referenced by NumberingDefinitions(), and OverrideNumRule().

◆ m_pAtn

std::unique_ptr<WW8_WrPlcAnnotations> MSWordExportBase::m_pAtn

◆ m_pBkmks

std::unique_ptr<WW8_WrtBookmarks> MSWordExportBase::m_pBkmks

◆ m_pChpIter

MSWordAttrIter* MSWordExportBase::m_pChpIter

◆ m_pChpPlc

std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pChpPlc

◆ m_pCurPam

std::shared_ptr<SwUnoCursor>& MSWordExportBase::m_pCurPam

◆ m_pCurrentPageDesc

const SwPageDesc* MSWordExportBase::m_pCurrentPageDesc

◆ m_pCurrentStyle

const SwFormat* MSWordExportBase::m_pCurrentStyle

◆ m_pEscher

SwEscherEx* MSWordExportBase::m_pEscher

◆ m_pFactoids

std::unique_ptr<WW8_WrtFactoids> MSWordExportBase::m_pFactoids

◆ m_pFieldAtn

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldAtn

◆ m_pFieldEdn

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldEdn

◆ m_pFieldFootnote

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldFootnote

◆ m_pFieldHdFt

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHdFt

◆ m_pFieldHFTextBxs

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHFTextBxs

◆ m_pFieldMain

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldMain

◆ m_pFieldTextBxs

std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldTextBxs

◆ m_pFirstPageFormat

const SwFrameFormat* MSWordExportBase::m_pFirstPageFormat = nullptr

Definition at line 458 of file wrtww8.hxx.

Referenced by DocxAttributeOutput::FormatULSpace(), and SectionProperties().

◆ m_pFlyOffset

Point* MSWordExportBase::m_pFlyOffset

◆ m_pGrf

std::unique_ptr<SwWW8WrGrf> MSWordExportBase::m_pGrf

◆ m_pHFSdrObjs

std::unique_ptr<HdFtPlcDrawObj> MSWordExportBase::m_pHFSdrObjs

◆ m_pHFTextBxs

std::unique_ptr<WW8_WrPlcTextBoxes> MSWordExportBase::m_pHFTextBxs

◆ m_pISet

const SfxItemSet* MSWordExportBase::m_pISet

◆ m_pKeyMap

std::shared_ptr<NfKeywordTable> MSWordExportBase::m_pKeyMap

Definition at line 474 of file wrtww8.hxx.

Referenced by GetNfKeywordTable().

◆ m_pMagicTable

std::unique_ptr<WW8_WrMagicTable> MSWordExportBase::m_pMagicTable

◆ m_pOCXExp

std::unique_ptr<SwMSConvertControls> MSWordExportBase::m_pOCXExp

Definition at line 476 of file wrtww8.hxx.

Referenced by ExportDocument(), WW8Export::GetOCXExp(), and ~MSWordExportBase().

◆ m_pOLEExp

std::unique_ptr<SvxMSExportOLEObjects> MSWordExportBase::m_pOLEExp

Definition at line 475 of file wrtww8.hxx.

Referenced by ExportDocument(), WW8Export::OutputOLENode(), and ~MSWordExportBase().

◆ m_pOrigPam

SwPaM* MSWordExportBase::m_pOrigPam

Definition at line 579 of file wrtww8.hxx.

Referenced by ExportDocument(), RestoreData(), SaveData(), SetCurPam(), and WriteSpecialText().

◆ m_pOutFormatNode

const sw::BroadcastingModify* MSWordExportBase::m_pOutFormatNode

◆ m_pPapPlc

std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pPapPlc

◆ m_pParentFrame

const ww8::Frame* MSWordExportBase::m_pParentFrame

◆ m_pPiece

std::unique_ptr<WW8_WrPct> MSWordExportBase::m_pPiece

◆ m_pPreviousSectionPageDesc

const SwPageDesc* MSWordExportBase::m_pPreviousSectionPageDesc

Definition at line 498 of file wrtww8.hxx.

Referenced by SectionProperties().

◆ m_pRedlAuthors

std::unique_ptr<WW8_WrtRedlineAuthor> MSWordExportBase::m_pRedlAuthors

◆ m_pSdrObjs

std::unique_ptr<MainTextPlcDrawObj> MSWordExportBase::m_pSdrObjs

◆ m_pStyAttr

const SwAttrSet* MSWordExportBase::m_pStyAttr

◆ m_pStyles

std::unique_ptr<MSWordStyles> MSWordExportBase::m_pStyles

◆ m_pTableInfo

ww8::WW8TableInfo::Pointer_t MSWordExportBase::m_pTableInfo

◆ m_pTextBxs

std::unique_ptr<WW8_WrPlcTextBoxes> MSWordExportBase::m_pTextBxs

◆ m_pTopNodeOfHdFtPage

const SwTextNode* MSWordExportBase::m_pTopNodeOfHdFtPage

Top node of host page when in hd/ft.

Definition at line 470 of file wrtww8.hxx.

Referenced by GetHdFtPageRoot(), and SetHdFtPageRoot().

◆ m_pUsedNumTable

std::unique_ptr<SwNumRuleTable> MSWordExportBase::m_pUsedNumTable

◆ m_rDoc

SwDoc& MSWordExportBase::m_rDoc

Definition at line 576 of file wrtww8.hxx.

Referenced by AddLinkTarget(), RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), CollectGrfsOfBullets(), WW8Export::CreateEscher(), WW8Export::CurrentPageWidth(), DocxAttributeOutput::DocDefaults(), DuplicateNumRuleImpl(), DocxAttributeOutput::EmbedFont(), RtfAttributeOutput::EndParagraph(), DocxAttributeOutput::ExportAsActiveXControl(), ExportDocument(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), WW8Export::ExportDopTypography(), ExportPoolItemsToCHP(), DocxAttributeOutput::FootnoteEndnoteRefTag(), DocxAttributeOutput::FootnotesEndnotes(), AttributeOutputBase::FormatColumns(), DocxAttributeOutput::FormatLRSpace(), GatherChapterFields(), AttributeOutputBase::GenerateBookmarksForSequenceField(), GetAnnotationMarks(), getBackground(), GetBookmarks(), WW8Export::GetCurrentPageBgBrush(), GetCurrentPageDirection(), GetDefaultFrameDirection(), SwBasicEscherEx::GetInvisibleHellId(), GetItem(), MSWord_SdrAttrIter::GetItem(), GetNumberFormat(), GetNumberingId(), SwWW8AttrIter::GetParagraphLevelRedline(), SwWW8AttrIter::GetRunLevelRedline(), WW8Export::GetSdrOrdNum(), AttributeOutputBase::GetTablePageSize(), DocxExport::getWordCompatibilityModeFromGrabBag(), HasItem(), HasRefToAttr(), HasRefToFootOrEndnote(), MSWord_SdrAttrIter::HasTextItem(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwBasicEscherEx::Init(), DocxExport::isMirroredMargin(), DocxAttributeOutput::LatentStyles(), lcl_getFormatCollection(), WW8Export::MiserableRTLFrameFormatHack(), MSWordSections::MSWordSections(), MSWordStyles::MSWordStyles(), NumberingLevel(), MSWord_SdrAttrIter::OutAttr(), RtfExport::OutColorTable(), WW8Export::OutGrf(), MSWord_SdrAttrIter::OutParaAttr(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputFormat(), WW8Export::OutputLinkedOLE(), OutputSectionBreaks(), OutputTextNode(), WW8AttributeOutput::ParaAdjust(), AttributeOutputBase::ParaNumRule(), DocxAttributeOutput::ParaTabStop(), RtfAttributeOutput::ParaTabStop(), WW8Export::PrepareStorage(), WW8Export::RestoreMacroCmds(), WW8AttributeOutput::RTLAndCJKState(), SwWW8AttrIter::SearchNext(), DocxAttributeOutput::SectFootnoteEndnotePr(), RtfAttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectFootnoteEndnotePr(), DocxAttributeOutput::SectionBreak(), SectionProperties(), SetCurPam(), MSWord_SdrAttrIter::SetItemsThatDifferFromStandard(), MSWordStyles::SetStyleDefaults(), AttributeOutputBase::StartTOX(), SwEscherEx::SwEscherEx(), SwWW8AttrIter::SwWW8AttrIter(), DocxAttributeOutput::TableCellRedline(), WW8AttributeOutput::TableDefinition(), DocxAttributeOutput::TableRowRedline(), WW8Export::TestOleNeedsGraphic(), AttributeOutputBase::TextField(), DocxAttributeOutput::TextFootnote_Impl(), RtfAttributeOutput::TextFootnote_Impl(), DocxAttributeOutput::TextINetFormat(), WW8AttributeOutput::TextINetFormat(), DocxExport::WriteActiveXObject(), DocxExport::WriteCustomXml(), RtfExport::WriteDocVars(), DocxExport::WriteDocVars(), WriteDop(), DocxExport::WriteEmbeddings(), WW8Export::WriteFkpPlcUsw(), WW8Export::WriteFootnoteBegin(), WW8_WrPlcSepx::WriteFootnoteEndText(), RtfExport::WriteFootnoteSettings(), DocxExport::WriteGlossary(), RtfExport::WriteInfo(), DocxExport::WriteMainText(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), SwEscherEx::WriteOCXControl(), DocxAttributeOutput::WriteOLE(), DocxExport::WriteOutliner(), DocxAttributeOutput::WriteOutliner(), RtfExport::WritePageDescTable(), PlcDrawObj::WritePlc(), DocxExport::WriteProperties(), RtfExport::WriteRevTab(), DocxExport::WriteSettings(), WriteText(), DocxExport::WriteTheme(), RtfExport::WriteUserProps(), DocxExport::WriteVBA(), and WW8Ruby::WW8Ruby().

◆ m_rSortedAnnotationMarksEnd

IMarkVector MSWordExportBase::m_rSortedAnnotationMarksEnd

Definition at line 589 of file wrtww8.hxx.

Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().

◆ m_rSortedAnnotationMarksStart

IMarkVector MSWordExportBase::m_rSortedAnnotationMarksStart

Definition at line 588 of file wrtww8.hxx.

Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().

◆ m_rSortedBookmarksEnd

IMarkVector MSWordExportBase::m_rSortedBookmarksEnd

Definition at line 587 of file wrtww8.hxx.

Referenced by GetSortedBookmarks(), and NearestBookmark().

◆ m_rSortedBookmarksStart

IMarkVector MSWordExportBase::m_rSortedBookmarksStart

Definition at line 586 of file wrtww8.hxx.

Referenced by GetSortedBookmarks(), and NearestBookmark().

◆ m_TOXMarkBookmarksByTOXMark

std::unordered_map<SwTOXMark const*, OUString> MSWordExportBase::m_TOXMarkBookmarksByTOXMark

Definition at line 495 of file wrtww8.hxx.

Referenced by AddLinkTarget().

◆ m_TOXMarkBookmarksByURL

std::unordered_map<OUString, OUString> MSWordExportBase::m_TOXMarkBookmarksByURL

Definition at line 494 of file wrtww8.hxx.

Referenced by AddLinkTarget().

◆ m_vecBulletPic

std::vector<const Graphic*> MSWordExportBase::m_vecBulletPic
protected

Vector to record all the graphics of bullets.

Definition at line 920 of file wrtww8.hxx.

Referenced by BulletDefinitions(), CollectGrfsOfBullets(), WW8Export::ExportGrfBullet(), GetGrfIndex(), and RtfExport::WriteNumbering().


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