LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
DocxExport Class Reference

The class that does all the actual DOCX export-related work. More...

#include <docxexport.hxx>

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

Public Member Functions

DocxExportFilterGetFilter ()
 
const DocxExportFilterGetFilter () const
 
const ww8::FrameGetFloatingTableFrame () const
 
virtual AttributeOutputBaseAttrOutput () const override
 Access to the attribute output class. More...
 
DocxAttributeOutputDocxAttrOutput () const
 Access to the derived attribute output class. More...
 
virtual MSWordSectionsSections () const override
 Access to the sections/headers/footres. More...
 
virtual bool FieldsQuoted () const override
 Determines if the import filter already quoted fields or not. More...
 
virtual bool AddSectionBreaksForTOX () const override
 Determines the Section Breaks are to be added for TOX Section. More...
 
virtual bool ignoreAttributeForStyleDefaults (sal_uInt16 nWhich) const override
 Used to filter out attributes that can be e.g. written to .doc but not to .docx. More...
 
virtual bool PreferPageBreakBefore () const override
 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) override
 Guess the script (asian/western). More...
 
virtual void AppendBookmarks (const SwTextNode &rNode, sal_Int32 nCurrentPos, sal_Int32 nLen, const SwRedlineData *pRedlineData=nullptr) override
 
virtual void AppendBookmark (const OUString &rName) override
 
virtual void AppendAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen) override
 
virtual void ExportGrfBullet (const SwTextNode &) override
 
OString AddRelation (const OUString &rType, std::u16string_view rTarget)
 Returns the relationd id. More...
 
virtual void WriteCR (ww8::WW8TableNodeInfoInner::Pointer_t) override
 
virtual void WriteChar (sal_Unicode) override
 
virtual bool DisallowInheritingOutlineNumbering (const SwFormat &rFormat) override
 Return value indicates if an inherited outline numbering is suppressed. More...
 
virtual void WriteHeadersFooters (sal_uInt8 nHeadFootFlags, const SwFrameFormat &rFormat, const SwFrameFormat &rLeftHeaderFormat, const SwFrameFormat &rLeftFooterFormat, const SwFrameFormat &rFirstPageFormat, sal_uInt8 nBreakCode, bool bEvenAndOddHeaders) override
 Output the actual headers and footers. More...
 
virtual void OutputField (const SwField *pField, ww::eField eFieldType, const OUString &rFieldCmd, FieldFlags nMode=FieldFlags::All) override
 Write the field. More...
 
virtual void WriteFormData (const ::sw::mark::IFieldmark &rFieldmark) override
 Write the data of the form field. More...
 
virtual void WriteHyperlinkData (const ::sw::mark::IFieldmark &rFieldmark) override
 
virtual void DoComboBox (const OUString &rName, const OUString &rHelp, const OUString &ToolTip, const OUString &rSelected, const css::uno::Sequence< OUString > &rListItems) override
 
virtual void DoFormText (const SwInputField *pField) override
 
virtual sal_uInt64 ReplaceCr (sal_uInt8 nChar) override
 
OString OutputChart (css::uno::Reference< css::frame::XModel > const &xModel, sal_Int32 nCount, ::sax_fastparser::FSHelperPtr const &m_pSerializer)
 Returns the relationd id. More...
 
OString WriteOLEObject (SwOLEObj &rObject, OUString &io_rProgID)
 
std::pair< OString, OString > WriteActiveXObject (const uno::Reference< css::drawing::XShape > &rxShape, const uno::Reference< awt::XControlModel > &rxControlModel)
 
void OutputDML (css::uno::Reference< css::drawing::XShape > const &xShape)
 Writes the shape using drawingML syntax. More...
 
sal_Int32 WriteOutliner (const OutlinerParaObject &rOutliner, sal_uInt8 nTyp, bool bNeedsLastParaId)
 
virtual ExportFormat GetExportFormat () const override
 
void AddSdtData (const OUString &namespaces, const OUString &xpath, const OUString &data)
 
rtl::Reference< sax_fastparser::FastAttributeListMainXmlNamespaces ()
 All xml namespaces to be used at the top of any text .xml file (main doc, headers, footers,...) More...
 
void WriteMainText ()
 FIXME this is temporary, remotely reminding the method of the same name in WW8Export. More...
 
 DocxExport (DocxExportFilter &rFilter, SwDoc &rDocument, std::shared_ptr< SwUnoCursor > &pCurrentPam, SwPaM &rOriginalPam, bool bDocm, bool bTemplate)
 Pass the pDocument, pCurrentPam and pOriginalPam to the base class. More...
 
virtual ~DocxExport () override
 Destructor. More...
 
oox::vml::VMLExportVMLExporter ()
 Reference to the VMLExport instance for the main document. More...
 
DocxSdrExportSdrExporter ()
 Reference to the DocxSdrExport instance for the main document. More...
 
void setDefaultTabStop (int stop)
 Set the document default tab stop. More...
 
const ::sax_fastparser::FSHelperPtrGetFS () const
 
void SetFS (::sax_fastparser::FSHelperPtr const &mpFS)
 
void SetFloatingTableFrame (const ww8::Frame *pF)
 
size_t GetInfoID (const OUString sPersonalInfo) const
 
sal_Int32 getWordCompatibilityModeFromGrabBag () const
 
- Public Member Functions inherited from MSWordExportBase
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...
 
tools::Long GetParaTabStopOffset () const
 
virtual ExportFormat GetExportFormat () const =0
 
 MSWordExportBase (SwDoc &rDocument, std::shared_ptr< SwUnoCursor > &pCurrentPam, SwPaM *pOriginalPam)
 
virtual ~MSWordExportBase ()
 

Protected Member Functions

virtual ErrCode ExportDocument_Impl () override
 Format-dependent part of the actual export. More...
 
virtual void OutputEndNode (const SwEndNode &) override
 Output SwEndNode. More...
 
virtual void OutputGrfNode (const SwGrfNode &) override
 Output SwGrfNode. More...
 
virtual void OutputOLENode (const SwOLENode &) override
 Output SwOLENode. More...
 
virtual void OutputLinkedOLE (const OUString &) override
 
virtual void AppendSection (const SwPageDesc *pPageDesc, const SwSectionFormat *pFormat, sal_uLong nLnNum) override
 
virtual void SectionBreaksAndFrames (const SwTextNode &) override
 
virtual void PrepareNewPageDesc (const SfxItemSet *pSet, const SwNode &rNd, const SwFormatPageDesc *pNewPgDescFormat, const SwPageDesc *pNewPgDesc, bool bExtraPageBreak=false) override
 Get ready for a new section. More...
 
- Protected Member Functions inherited from MSWordExportBase
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
 

Private Member Functions

void InitStyles ()
 Setup pStyles and write styles.xml. More...
 
void WriteFootnotesEndnotes ()
 Write footnotes.xml and endnotes.xml. More...
 
void WritePostitFields ()
 Write comments.xml. More...
 
virtual void WriteNumbering () override
 Write the numbering table. More...
 
void WriteHeaderFooter (const SwFormat *pFormat, bool bHeader, const char *pType)
 Write reference to a header/footer + the actual xml containing the text. More...
 
void WriteFonts ()
 Write word/fontTable.xml. More...
 
void WriteProperties ()
 Write docProps/core.xml. More...
 
void WriteSettings ()
 Write word/settings.xml. More...
 
void WriteDocVars (const sax_fastparser::FSHelperPtr &pFS)
 Writes the <w:docVars> part of settings.xml. More...
 
void WriteTheme ()
 Write word/theme/theme1.xml. More...
 
void WriteGlossary ()
 
void WriteCustomXml ()
 Write customXml/item[n].xml and customXml/itemProps[n].xml. More...
 
void WriteEmbeddings ()
 Write word/embeddings/Worksheet[n].xlsx. More...
 
void WriteVBA ()
 Writes word/vbaProject.bin. More...
 
bool isMirroredMargin ()
 return true if Page Layout is set as Mirrored More...
 
 DocxExport (const DocxExport &)=delete
 
DocxExportoperator= (const DocxExport &)=delete
 

Private Attributes

DocxExportFilterm_rFilter
 Pointer to the filter that owns us. More...
 
::sax_fastparser::FSHelperPtr m_pDocumentFS
 Fast serializer for the document output. More...
 
::sax_fastparser::FSHelperPtr mpFS
 Fast serializer to output the data. More...
 
std::unique_ptr< oox::drawingml::DrawingMLm_pDrawingML
 Access to the DrawingML writer. More...
 
std::unique_ptr< DocxAttributeOutputm_pAttrOutput
 Attribute output for document. More...
 
std::unique_ptr< MSWordSectionsm_pSections
 Sections/headers/footers. More...
 
sal_Int32 m_nHeaders
 Header counter. More...
 
sal_Int32 m_nFooters
 Footer counter. More...
 
sal_Int32 m_nOLEObjects
 OLE objects counter. More...
 
sal_Int32 m_nActiveXControls
 ActiveX controls counter. More...
 
sal_Int32 m_nHeadersFootersInSection
 Footer and Header counter in Section properties. More...
 
std::unique_ptr< oox::vml::VMLExportm_pVMLExport
 Exporter of the VML shapes. More...
 
std::unique_ptr< DocxSdrExportm_pSdrExport
 Exporter of drawings. More...
 
bool m_bDocm
 If the result will be a .docm file or not. More...
 
bool const m_bTemplate
 Export is done into template (.dotx) More...
 
DocxSettingsData m_aSettings
 
const ww8::Framem_pFloatingTableFrame = nullptr
 Pointer to the Frame of a floating table it is nested in. More...
 
std::unique_ptr< SvtSecurityMapPersonalInfom_pAuthorIDs
 Map authors to remove personal info. More...
 
std::vector< SdtDatam_SdtData
 Storage for sdt data which need to be written to other XMLs. More...
 

Additional Inherited Members

- Public Types inherited from MSWordExportBase
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...
 
- Static Public Member Functions inherited from MSWordExportBase
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 inherited from MSWordExportBase
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::optional< SvxMSExportOLEObjectsm_oOLEExp
 
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
 
- Static Protected Member Functions inherited from MSWordExportBase
static void UpdateTocSectionNodeProperties (const SwSectionNode &rSectionNode)
 
- Protected Attributes inherited from MSWordExportBase
std::vector< const Graphic * > m_vecBulletPic
 Vector to record all the graphics of bullets. More...
 

Detailed Description

The class that does all the actual DOCX export-related work.

Definition at line 74 of file docxexport.hxx.

Constructor & Destructor Documentation

◆ DocxExport() [1/2]

DocxExport::DocxExport ( DocxExportFilter rFilter,
SwDoc rDocument,
std::shared_ptr< SwUnoCursor > &  pCurrentPam,
SwPaM rOriginalPam,
bool  bDocm,
bool  bTemplate 
)

◆ ~DocxExport()

DocxExport::~DocxExport ( )
overridevirtual

Destructor.

Definition at line 2138 of file docxexport.cxx.

References m_pDocumentFS.

◆ DocxExport() [2/2]

DocxExport::DocxExport ( const DocxExport )
privatedelete

Member Function Documentation

◆ AddRelation()

OString DocxExport::AddRelation ( const OUString &  rType,
std::u16string_view  rTarget 
)

Returns the relationd id.

Definition at line 228 of file docxexport.cxx.

References oox::core::XmlFilterBase::addRelation(), m_pDocumentFS, m_rFilter, rTarget, and sId.

Referenced by DocxAttributeOutput::FlyFrameGraphic().

◆ AddSdtData()

void DocxExport::AddSdtData ( const OUString &  namespaces,
const OUString &  xpath,
const OUString &  data 
)
inline

◆ AddSectionBreaksForTOX()

virtual bool DocxExport::AddSectionBreaksForTOX ( ) const
inlineoverridevirtual

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

Implements MSWordExportBase.

Definition at line 150 of file docxexport.hxx.

◆ AppendAnnotationMarks()

void DocxExport::AppendAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
overridevirtual

Implements MSWordExportBase.

Definition at line 198 of file docxexport.cxx.

References MSWordExportBase::GetAnnotationMarks(), and m_pAttrOutput.

◆ AppendBookmark()

void DocxExport::AppendBookmark ( const OUString &  rName)
overridevirtual

Implements MSWordExportBase.

Definition at line 190 of file docxexport.cxx.

References m_pAttrOutput.

◆ AppendBookmarks()

void DocxExport::AppendBookmarks ( const SwTextNode rNode,
sal_Int32  nCurrentPos,
sal_Int32  nLen,
const SwRedlineData pRedlineData = nullptr 
)
overridevirtual

◆ AppendSection()

void DocxExport::AppendSection ( const SwPageDesc pPageDesc,
const SwSectionFormat pFormat,
sal_uLong  nLnNum 
)
overrideprotectedvirtual

◆ AttrOutput()

AttributeOutputBase & DocxExport::AttrOutput ( ) const
overridevirtual

Access to the attribute output class.

Implements MSWordExportBase.

Definition at line 111 of file docxexport.cxx.

References m_pAttrOutput.

Referenced by AppendSection(), OutputEndNode(), PrepareNewPageDesc(), WriteHeaderFooter(), and WriteOutliner().

◆ CollapseScriptsforWordOk()

bool DocxExport::CollapseScriptsforWordOk ( sal_uInt16  nScript,
sal_uInt16  nWhich 
)
overridevirtual

◆ DisallowInheritingOutlineNumbering()

bool DocxExport::DisallowInheritingOutlineNumbering ( const SwFormat rFormat)
overridevirtual

Return value indicates if an inherited outline numbering is suppressed.

Implements MSWordExportBase.

Definition at line 236 of file docxexport.cxx.

References SwFormat::DerivedFrom(), FSNS(), SwFormat::GetItemState(), m_pAttrOutput, and RES_PARATR_NUMRULE().

◆ DoComboBox()

void DocxExport::DoComboBox ( const OUString &  rName,
const OUString &  rHelp,
const OUString &  ToolTip,
const OUString &  rSelected,
const css::uno::Sequence< OUString > &  rListItems 
)
overridevirtual

Implements MSWordExportBase.

Definition at line 336 of file docxexport.cxx.

References comphelper::findValue(), FSNS(), i, m_pDocumentFS, min(), nId, and SAL_WARN_IF.

Referenced by DocxAttributeOutput::WriteFFData().

◆ DocxAttrOutput()

DocxAttributeOutput & DocxExport::DocxAttrOutput ( ) const

Access to the derived attribute output class.

Definition at line 116 of file docxexport.cxx.

References m_pAttrOutput.

◆ DoFormText()

void DocxExport::DoFormText ( const SwInputField pField)
overridevirtual

Implements MSWordExportBase.

Definition at line 376 of file docxexport.cxx.

References ww::eFILLIN, FieldString(), SwInputField::GetPar2(), and OutputField().

◆ ExportDocument_Impl()

ErrCode DocxExport::ExportDocument_Impl ( )
overrideprotectedvirtual

◆ ExportGrfBullet()

void DocxExport::ExportGrfBullet ( const SwTextNode )
overridevirtual

Implements MSWordExportBase.

Definition at line 222 of file docxexport.cxx.

References MSWordExportBase::CollectGrfsOfBullets().

◆ FieldsQuoted()

virtual bool DocxExport::FieldsQuoted ( ) const
inlineoverridevirtual

Determines if the import filter already quoted fields or not.

Implements MSWordExportBase.

Definition at line 148 of file docxexport.hxx.

◆ GetExportFormat()

virtual ExportFormat DocxExport::GetExportFormat ( ) const
inlineoverridevirtual

Implements MSWordExportBase.

Definition at line 210 of file docxexport.hxx.

◆ GetFilter() [1/2]

DocxExportFilter & DocxExport::GetFilter ( )
inline

◆ GetFilter() [2/2]

const DocxExportFilter & DocxExport::GetFilter ( ) const
inline

Definition at line 135 of file docxexport.hxx.

References m_rFilter.

◆ GetFloatingTableFrame()

const ww8::Frame * DocxExport::GetFloatingTableFrame ( ) const
inline

Definition at line 137 of file docxexport.hxx.

References m_pFloatingTableFrame.

Referenced by DocxAttributeOutput::TableDefinition().

◆ GetFS()

const ::sax_fastparser::FSHelperPtr & DocxExport::GetFS ( ) const
inline

Definition at line 313 of file docxexport.hxx.

References mpFS.

Referenced by WriteOLEObject().

◆ GetInfoID()

size_t DocxExport::GetInfoID ( const OUString  sPersonalInfo) const
inline

Definition at line 320 of file docxexport.hxx.

References m_pAuthorIDs.

◆ getWordCompatibilityModeFromGrabBag()

sal_Int32 DocxExport::getWordCompatibilityModeFromGrabBag ( ) const

◆ ignoreAttributeForStyleDefaults()

bool DocxExport::ignoreAttributeForStyleDefaults ( sal_uInt16  ) const
overridevirtual

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

Reimplemented from MSWordExportBase.

Definition at line 1948 of file docxexport.cxx.

References MSWordExportBase::ignoreAttributeForStyleDefaults(), RES_PARATR_HYPHENZONE(), and RES_TEXTGRID().

◆ InitStyles()

void DocxExport::InitStyles ( )
private

◆ isMirroredMargin()

bool DocxExport::isMirroredMargin ( )
private

return true if Page Layout is set as Mirrored

Definition at line 1878 of file docxexport.cxx.

References SwDoc::GetPageDesc(), MSWordExportBase::m_rDoc, Mirror, and SwPageDesc::ReadUseOn().

Referenced by WriteSettings().

◆ MainXmlNamespaces()

rtl::Reference< FastAttributeList > DocxExport::MainXmlNamespaces ( )

All xml namespaces to be used at the top of any text .xml file (main doc, headers, footers,...)

Definition at line 1929 of file docxexport.cxx.

References FSNS(), oox::core::XmlFilterBase::getNamespaceURL(), m_rFilter, and OUStringToOString().

Referenced by DocxAttributeOutput::FootnotesEndnotes(), WriteHeaderFooter(), WriteMainText(), and WritePostitFields().

◆ operator=()

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

◆ OutputChart()

OString DocxExport::OutputChart ( css::uno::Reference< css::frame::XModel > const &  xModel,
sal_Int32  nCount,
::sax_fastparser::FSHelperPtr const &  m_pSerializer 
)

◆ OutputDML()

void DocxExport::OutputDML ( css::uno::Reference< css::drawing::XShape > const &  xShape)

Writes the shape using drawingML syntax.

Definition at line 511 of file docxexport.cxx.

References oox::drawingml::DOCUMENT_DOCX, m_pAttrOutput, m_rFilter, nNamespace, and oox::drawingml::ShapeExport::WriteShape().

◆ OutputEndNode()

void DocxExport::OutputEndNode ( const SwEndNode rEndNode)
overrideprotectedvirtual

◆ OutputField()

void DocxExport::OutputField ( const SwField pField,
ww::eField  eFieldType,
const OUString &  rFieldCmd,
FieldFlags  nMode = FieldFlags::All 
)
overridevirtual

◆ OutputGrfNode()

void DocxExport::OutputGrfNode ( const SwGrfNode )
overrideprotectedvirtual

Output SwGrfNode.

Implements MSWordExportBase.

Definition at line 620 of file docxexport.cxx.

References SAL_INFO.

◆ OutputLinkedOLE()

void DocxExport::OutputLinkedOLE ( const OUString &  )
overrideprotectedvirtual

Implements MSWordExportBase.

Definition at line 630 of file docxexport.cxx.

◆ OutputOLENode()

void DocxExport::OutputOLENode ( const SwOLENode )
overrideprotectedvirtual

Output SwOLENode.

Implements MSWordExportBase.

Definition at line 625 of file docxexport.cxx.

References SAL_INFO.

◆ PreferPageBreakBefore()

virtual bool DocxExport::PreferPageBreakBefore ( ) const
inlineoverridevirtual

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

Implements MSWordExportBase.

Definition at line 154 of file docxexport.hxx.

◆ PrepareNewPageDesc()

void DocxExport::PrepareNewPageDesc ( const SfxItemSet pSet,
const SwNode rNd,
const SwFormatPageDesc pNewPgDescFormat,
const SwPageDesc pNewPgDesc,
bool  bExtraPageBreak = false 
)
overrideprotectedvirtual

◆ ReplaceCr()

sal_uInt64 DocxExport::ReplaceCr ( sal_uInt8  nChar)
overridevirtual

Implements MSWordExportBase.

Definition at line 635 of file docxexport.cxx.

◆ SdrExporter()

DocxSdrExport & DocxExport::SdrExporter ( )
inline

◆ SectionBreaksAndFrames()

virtual void DocxExport::SectionBreaksAndFrames ( const SwTextNode )
inlineoverrideprotectedvirtual

Implements MSWordExportBase.

Definition at line 234 of file docxexport.hxx.

◆ Sections()

MSWordSections & DocxExport::Sections ( ) const
overridevirtual

Access to the sections/headers/footres.

Implements MSWordExportBase.

Definition at line 121 of file docxexport.cxx.

References m_pSections.

◆ setDefaultTabStop()

void DocxExport::setDefaultTabStop ( int  stop)
inline

Set the document default tab stop.

Definition at line 311 of file docxexport.hxx.

References DocxSettingsData::defaultTabStop, m_aSettings, and stop().

Referenced by DocxAttributeOutput::ParaTabStop().

◆ SetFloatingTableFrame()

void DocxExport::SetFloatingTableFrame ( const ww8::Frame pF)
inline

◆ SetFS()

void DocxExport::SetFS ( ::sax_fastparser::FSHelperPtr const &  mpFS)

Definition at line 2068 of file docxexport.cxx.

References mpFS.

Referenced by DocxExport(), and WriteHeaderFooter().

◆ VMLExporter()

oox::vml::VMLExport & DocxExport::VMLExporter ( )
inline

Reference to the VMLExport instance for the main document.

Definition at line 305 of file docxexport.hxx.

References m_pVMLExport.

Referenced by DocxAttributeOutput::WriteActiveXControl().

◆ WriteActiveXObject()

std::pair< OString, OString > DocxExport::WriteActiveXObject ( const uno::Reference< css::drawing::XShape > &  rxShape,
const uno::Reference< awt::XControlModel > &  rxControlModel 
)

◆ WriteChar()

virtual void DocxExport::WriteChar ( sal_Unicode  )
inlineoverridevirtual

Implements MSWordExportBase.

Definition at line 171 of file docxexport.hxx.

References SAL_WARN.

◆ WriteCR()

virtual void DocxExport::WriteCR ( ww8::WW8TableNodeInfoInner::Pointer_t  )
inlineoverridevirtual

Implements MSWordExportBase.

Definition at line 170 of file docxexport.hxx.

◆ WriteCustomXml()

void DocxExport::WriteCustomXml ( )
private

◆ WriteDocVars()

void DocxExport::WriteDocVars ( const sax_fastparser::FSHelperPtr pFS)
private

Writes the <w:docVars> part of settings.xml.

Definition at line 953 of file docxexport.cxx.

References FSNS(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), MSWordExportBase::m_rDoc, u, and xModel.

Referenced by WriteSettings().

◆ WriteEmbeddings()

void DocxExport::WriteEmbeddings ( )
private

◆ WriteFonts()

void DocxExport::WriteFonts ( )
private

◆ WriteFootnotesEndnotes()

void DocxExport::WriteFootnotesEndnotes ( )
private

◆ WriteFormData()

void DocxExport::WriteFormData ( const ::sw::mark::IFieldmark &  rFieldmark)
overridevirtual

Write the data of the form field.

Implements MSWordExportBase.

Definition at line 326 of file docxexport.cxx.

References m_pAttrOutput.

◆ WriteGlossary()

void DocxExport::WriteGlossary ( )
private

◆ WriteHeaderFooter()

void DocxExport::WriteHeaderFooter ( const SwFormat pFormat,
bool  bHeader,
const char *  pType 
)
private

◆ WriteHeadersFooters()

void DocxExport::WriteHeadersFooters ( sal_uInt8  nHeadFootFlags,
const SwFrameFormat rFormat,
const SwFrameFormat rLeftHeaderFormat,
const SwFrameFormat rLeftFooterFormat,
const SwFrameFormat rFirstPageFormat,
sal_uInt8  nBreakCode,
bool  bEvenAndOddHeaders 
)
overridevirtual

◆ WriteHyperlinkData()

void DocxExport::WriteHyperlinkData ( const ::sw::mark::IFieldmark &  rFieldmark)
overridevirtual

Implements MSWordExportBase.

Definition at line 331 of file docxexport.cxx.

References SAL_INFO.

◆ WriteMainText()

void DocxExport::WriteMainText ( )

◆ WriteNumbering()

void DocxExport::WriteNumbering ( )
overrideprivatevirtual

◆ WriteOLEObject()

OString DocxExport::WriteOLEObject ( SwOLEObj rObject,
OUString &  io_rProgID 
)

◆ WriteOutliner()

sal_Int32 DocxExport::WriteOutliner ( const OutlinerParaObject rOutliner,
sal_uInt8  nTyp,
bool  bNeedsLastParaId 
)

◆ WritePostitFields()

void DocxExport::WritePostitFields ( )
private

◆ WriteProperties()

void DocxExport::WriteProperties ( )
private

◆ WriteSettings()

void DocxExport::WriteSettings ( )
private

Write word/settings.xml.

Definition at line 1034 of file docxexport.cxx.

References SL::aData, oox::core::XmlFilterBase::addRelation(), aName, sax_fastparser::FastSerializerHelper::createAttrList(), DocxSettingsData::defaultTabStop, DocxStringGetToken(), oox::core::ECMA_376_1ST_EDITION, EMBED_FONTS, EMBED_SYSTEM_FONTS, DocxSettingsData::evenAndOddHeaders, FSNS(), IDocumentSettingAccess::get(), MSWordExportBase::getBackground(), SfxObjectShell::GetBaseModel(), SwViewOption::getBrowseMode(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::GetDBData(), SwDoc::GetDocShell(), SwDoc::GetEndNoteInfo(), GetFilter(), SwDoc::GetFootnoteInfo(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SwDoc::getIDocumentStylePoolAccess(), SwFormat::GetItemIfSet(), SfxObjectShell::GetModifyPasswordInfo(), oox::core::XmlFilterBase::getNamespaceURL(), oox::getRelationship(), IDocumentStylePoolAccess::GetTextCollFromPool(), SvxHyphenZoneItem::GetTextHyphenZone(), oox::core::FilterBase::getVersion(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), GUTTER_AT_TOP, DocxSettingsData::hasData(), isMirroredMargin(), SvxHyphenZoneItem::IsNoCapsHyphenation(), SfxObjectShell::IsSecurityOptOpenReadOnly(), m_aSettings, m_pAttrOutput, m_pDocumentFS, m_pSections, MSWordExportBase::m_rDoc, m_rFilter, nCount, nToken, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), PROTECT_FORM, RES_PARATR_HYPHENZONE(), RES_POOLCOLL_STANDARD, DocxSettingsData::revisionView, sHash, DocxSettingsData::trackRevisions, u, UNO_NAME_MISC_OBJ_INTEROPGRABBAG, WriteCompat(), WriteDocVars(), and DocxAttributeOutput::WriteFootnoteEndnotePr().

Referenced by ExportDocument_Impl().

◆ WriteTheme()

void DocxExport::WriteTheme ( )
private

◆ WriteVBA()

void DocxExport::WriteVBA ( )
private

Member Data Documentation

◆ m_aSettings

DocxSettingsData DocxExport::m_aSettings
private

◆ m_bDocm

bool DocxExport::m_bDocm
private

If the result will be a .docm file or not.

Definition at line 116 of file docxexport.hxx.

Referenced by DocxExport(), and ExportDocument_Impl().

◆ m_bTemplate

bool const DocxExport::m_bTemplate
private

Export is done into template (.dotx)

Definition at line 119 of file docxexport.hxx.

Referenced by DocxExport().

◆ m_nActiveXControls

sal_Int32 DocxExport::m_nActiveXControls
private

ActiveX controls counter.

Definition at line 104 of file docxexport.hxx.

Referenced by WriteActiveXObject().

◆ m_nFooters

sal_Int32 DocxExport::m_nFooters
private

Footer counter.

Definition at line 98 of file docxexport.hxx.

Referenced by WriteHeaderFooter().

◆ m_nHeaders

sal_Int32 DocxExport::m_nHeaders
private

Header counter.

Definition at line 95 of file docxexport.hxx.

Referenced by WriteHeaderFooter().

◆ m_nHeadersFootersInSection

sal_Int32 DocxExport::m_nHeadersFootersInSection
private

Footer and Header counter in Section properties.

Definition at line 107 of file docxexport.hxx.

Referenced by WriteHeadersFooters().

◆ m_nOLEObjects

sal_Int32 DocxExport::m_nOLEObjects
private

OLE objects counter.

Definition at line 101 of file docxexport.hxx.

Referenced by WriteOLEObject().

◆ m_pAttrOutput

std::unique_ptr<DocxAttributeOutput> DocxExport::m_pAttrOutput
private

◆ m_pAuthorIDs

std::unique_ptr<SvtSecurityMapPersonalInfo> DocxExport::m_pAuthorIDs
private

Map authors to remove personal info.

Definition at line 127 of file docxexport.hxx.

Referenced by GetInfoID().

◆ m_pDocumentFS

::sax_fastparser::FSHelperPtr DocxExport::m_pDocumentFS
private

◆ m_pDrawingML

std::unique_ptr<oox::drawingml::DrawingML> DocxExport::m_pDrawingML
private

Access to the DrawingML writer.

Definition at line 86 of file docxexport.hxx.

Referenced by DocxExport(), and WriteNumbering().

◆ m_pFloatingTableFrame

const ww8::Frame* DocxExport::m_pFloatingTableFrame = nullptr
private

Pointer to the Frame of a floating table it is nested in.

Definition at line 124 of file docxexport.hxx.

Referenced by GetFloatingTableFrame(), and SetFloatingTableFrame().

◆ m_pSdrExport

std::unique_ptr<DocxSdrExport> DocxExport::m_pSdrExport
private

Exporter of drawings.

Definition at line 113 of file docxexport.hxx.

Referenced by DocxExport(), SdrExporter(), WriteFootnotesEndnotes(), and WriteHeaderFooter().

◆ m_pSections

std::unique_ptr<MSWordSections> DocxExport::m_pSections
private

Sections/headers/footers.

Definition at line 92 of file docxexport.hxx.

Referenced by AppendSection(), ExportDocument_Impl(), PrepareNewPageDesc(), Sections(), WriteMainText(), and WriteSettings().

◆ m_pVMLExport

std::unique_ptr<oox::vml::VMLExport> DocxExport::m_pVMLExport
private

Exporter of the VML shapes.

Definition at line 110 of file docxexport.hxx.

Referenced by DocxExport(), VMLExporter(), WriteFootnotesEndnotes(), and WriteHeaderFooter().

◆ m_rFilter

DocxExportFilter& DocxExport::m_rFilter
private

◆ m_SdtData

std::vector<SdtData> DocxExport::m_SdtData
private

Storage for sdt data which need to be written to other XMLs.

Definition at line 130 of file docxexport.hxx.

Referenced by AddSdtData(), and WriteCustomXml().

◆ mpFS

::sax_fastparser::FSHelperPtr DocxExport::mpFS
private

Fast serializer to output the data.

Definition at line 83 of file docxexport.hxx.

Referenced by GetFS(), and SetFS().


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