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

The class that has handlers for various resource types when exporting as DOCX. More...

#include <docxattributeoutput.hxx>

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

Classes

struct  EmbeddedFontRef
 
struct  PostItDOCXData
 
struct  PostponedChart
 
struct  PostponedDiagram
 
struct  PostponedDrawing
 
struct  PostponedGraphic
 
struct  PostponedMathObjects
 
struct  PostponedOLE
 

Public Types

enum class  hasProperties {
  no ,
  yes
}
 

Public Member Functions

virtual void RTLAndCJKState (bool bIsRTL, sal_uInt16 nScript) override
 Export the state of RTL/CJK. More...
 
virtual sal_Int32 StartParagraph (ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, bool bGenerateParaId) override
 Start of the paragraph. More...
 
virtual void EndParagraph (ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
 End of the paragraph. More...
 
virtual void EmptyParagraph () override
 Empty paragraph. More...
 
virtual void SectionBreaks (const SwNode &rNode) override
 Called in order to output section breaks. More...
 
virtual void StartParagraphProperties () override
 Called before we start outputting the attributes. More...
 
virtual void EndParagraphProperties (const SfxItemSet &rParagraphMarkerProperties, const SwRedlineData *pRedlineData, const SwRedlineData *pRedlineParagraphMarkerDeleted, const SwRedlineData *pRedlineParagraphMarkerInserted) override
 Called after we end outputting the attributes. More...
 
virtual void StartRun (const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
 Start of the text run. More...
 
virtual void EndRun (const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false) override
 End of the text run. More...
 
virtual void StartRunProperties () override
 Called before we start outputting the attributes. More...
 
virtual void EndRunProperties (const SwRedlineData *pRedlineData) override
 Called after we end outputting the attributes. More...
 
virtual bool FootnoteEndnoteRefTag () override
 docx requires footnoteRef/endnoteRef tag at the beginning of each of them More...
 
virtual void SectFootnoteEndnotePr () override
 for footnote/endnote section properties More...
 
virtual void WritePostitFieldReference () override
 for docx w:commentReference More...
 
virtual void RunText (const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8, const OUString &rSymbolFont=OUString()) override
 Output text (inside a run). More...
 
virtual void RawText (const OUString &rText, rtl_TextEncoding eCharSet) override
 Output text (without markup). More...
 
virtual void StartRuby (const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
 Output ruby start. More...
 
virtual void EndRuby (const SwTextNode &rNode, sal_Int32 nPos) override
 Output ruby end. More...
 
virtual bool StartURL (const OUString &rUrl, const OUString &rTarget) override
 Output URL start. More...
 
virtual bool EndURL (bool) override
 Output URL end. More...
 
virtual void FieldVanish (const OUString &rText, ww::eField eType, OUString const *) override
 
virtual void Redline (const SwRedlineData *pRedline) override
 Output redlining. More...
 
void StartRedline (const SwRedlineData *pRedlineData, bool bLastRun)
 Output redlining. More...
 
void EndRedline (const SwRedlineData *pRedlineData, bool bLastRun)
 Output redlining. More...
 
virtual void SetStateOfFlyFrame (FlyProcessingState nStateOfFlyFrame) override
 Set the state of the Fly at current position. More...
 
virtual void SetAnchorIsLinkedToNode (bool bAnchorLinkedToNode) override
 If the node has an anchor linked. More...
 
virtual bool IsFlyProcessingPostponed () override
 Is processing of fly postponed ? More...
 
virtual void ResetFlyProcessingFlag () override
 Reset the flag for FlyProcessing. More...
 
virtual void FormatDrop (const SwTextNode &rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
 
virtual void ParagraphStyle (sal_uInt16 nStyle) override
 Output style. More...
 
virtual void TableInfoCell (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableInfoRow (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableDefinition (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableDefaultBorders (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableDefaultCellMargins (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
 
virtual void TableBackgrounds (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableRowRedline (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableCellRedline (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableHeight (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableCanSplit (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableBidi (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableVerticalCell (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableNodeInfoInner (ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
 
virtual void TableOrientation (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableSpacing (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
virtual void TableRowEnd (sal_uInt32 nDepth) override
 
virtual void StartStyles () override
 Start of the styles table. More...
 
virtual void EndStyles (sal_uInt16 nNumberOfStyles) override
 End of the styles table. More...
 
virtual void DefaultStyle () override
 Write default style. More...
 
void DocDefaults ()
 Write Doc Defaults. More...
 
void LatentStyles ()
 Write latent styles. More...
 
void OutputDefaultItem (const SfxPoolItem &rHt)
 Similar to OutputItem(), but write something only if it is not the default. More...
 
virtual void StartStyle (const OUString &rName, StyleType eType, sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwId, sal_uInt16 nSlot, bool bAutoUpdate) override
 Start of a style in the styles table. More...
 
virtual void EndStyle () override
 End of a style in the styles table. More...
 
virtual void StartStyleProperties (bool bParProp, sal_uInt16 nStyle) override
 Start of (paragraph or run) properties of a style. More...
 
virtual void EndStyleProperties (bool bParProp) override
 End of (paragraph or run) properties of a style. More...
 
virtual void OutlineNumbering (sal_uInt8 nLvl) override
 Numbering rule and Id. More...
 
virtual void PageBreakBefore (bool bBreak) override
 Page break As a paragraph property - the paragraph should be on the next page. More...
 
virtual void SectionBreak (sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo *pSectionInfo=nullptr, bool bExtraPageBreak=false) override
 Write a section break msword::ColumnBreak or msword::PageBreak bBreakAfter: the break must be scheduled for insertion in the end of current paragraph. More...
 
virtual void TextVerticalAdjustment (const css::drawing::TextVerticalAdjust) override
 
virtual void StartSection () override
 Start of the section properties. More...
 
virtual void EndSection () override
 End of the section properties. More...
 
virtual void SectionFormProtection (bool bProtected) override
 Protection of forms. More...
 
virtual void SectionLineNumbering (sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
 Numbering of the lines in the document. More...
 
virtual void SectionTitlePage () override
 Has different headers/footers for the title page. More...
 
virtual void SectionPageBorders (const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
 Description of the page borders. More...
 
virtual void SectionBiDi (bool bBiDi) override
 Columns populated from right/numbers on the right side? More...
 
virtual void SectionPageNumbering (sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber) override
 The style of the page numbers. More...
 
virtual void SectionType (sal_uInt8 nBreakCode) override
 The type of breaking. More...
 
void StartFont (const OUString &rFamilyName) const
 Start the font. More...
 
void EndFont () const
 End the font. More...
 
void FontAlternateName (const OUString &rName) const
 Alternate name for the font. More...
 
void FontCharset (sal_uInt8 nCharSet, rtl_TextEncoding nEncoding) const
 Font charset. More...
 
void FontFamilyType (FontFamily eFamily) const
 Font family. More...
 
void FontPitchType (FontPitch ePitch) const
 Font pitch. More...
 
void EmbedFont (std::u16string_view name, FontFamily family, FontPitch pitch)
 Write out the font into the document, if it's an embedded font. More...
 
virtual void NumberingDefinition (sal_uInt16 nId, const SwNumRule &rRule) override
 Definition of a numbering instance. More...
 
virtual void OverrideNumberingDefinition (SwNumRule const &rRule, sal_uInt16 nNum, sal_uInt16 nAbstractNum, const std::map< size_t, size_t > &rLevelOverrides) override
 Numbering definition that overrides abstract numbering definition. More...
 
virtual void StartAbstractNumbering (sal_uInt16 nId) override
 Start of the abstract numbering definition instance. More...
 
virtual void EndAbstractNumbering () override
 End of the abstract numbering definition instance. More...
 
virtual void NumberingLevel (sal_uInt8 nLevel, sal_uInt16 nStart, sal_uInt16 nNumberingType, SvxAdjust eAdjust, const sal_uInt8 *pNumLvlPos, sal_uInt8 nFollow, const wwFont *pFont, const SfxItemSet *pOutSet, sal_Int16 nIndentAt, sal_Int16 nFirstLineIndex, sal_Int16 nListTabPos, const OUString &rNumberingString, const SvxBrushItem *pBrush, bool isLegal) override
 All the numbering level information. More...
 
void WriteField_Impl (const SwField *pField, ww::eField eType, const OUString &rFieldCmd, FieldFlags nMode, OUString const *pBookmarkName=nullptr)
 
void WriteFormData_Impl (const ::sw::mark::IFieldmark &rFieldmark)
 
void WriteBookmarks_Impl (std::vector< OUString > &rStarts, std::vector< OUString > &rEnds, const SwRedlineData *pRedlineData=nullptr)
 
void WriteFinalBookmarks_Impl (std::vector< OUString > &rStarts, std::vector< OUString > &rEnds)
 
void WriteAnnotationMarks_Impl (std::vector< OUString > &rStarts, std::vector< OUString > &rEnds)
 
void EndParaSdtBlock ()
 End possibly opened paragraph sdt block. More...
 
void WriteFloatingTable (ww8::Frame const *pParentFrame)
 
 DocxAttributeOutput (DocxExport &rExport, const ::sax_fastparser::FSHelperPtr &pSerializer, oox::drawingml::DrawingML *pDrawingML)
 
virtual ~DocxAttributeOutput () override
 
virtual DocxExportGetExport () override
 Return the right export class. More...
 
const DocxExportGetExport () const
 
void SetSerializer (::sax_fastparser::FSHelperPtr const &pSerializer)
 For e.g. the output of the styles, we need to switch the serializer to another one. More...
 
const ::sax_fastparser::FSHelperPtrGetSerializer () const
 Occasionally need to use this serializer from the outside. More...
 
bool HasFootnotes () const
 Do we have any footnotes? More...
 
bool HasEndnotes () const
 Do we have any endnotes? More...
 
void FootnotesEndnotes (bool bFootnotes)
 Output the content of the footnotes.xml resp. endnotes.xml. More...
 
bool HasPostitFields () const
 
hasProperties WritePostitFields ()
 
void WritePostItFieldsResolved ()
 
virtual void WriteOutliner (const OutlinerParaObject &rParaObj) override
 VMLTextExport. More...
 
virtual void WriteVMLTextBox (css::uno::Reference< css::drawing::XShape > xShape) override
 
virtual void WriteTextBox (css::uno::Reference< css::drawing::XShape > xShape) override
 DMLTextExport. More...
 
virtual css::uno::Reference< css::text::XTextFrame > GetUnoTextFrame (css::uno::Reference< css::drawing::XShape > xShape) override
 
virtual oox::drawingml::DrawingMLGetDrawingML () override
 
virtual bool MaybeOutputBrushItem (SfxItemSet const &) override
 
void BulletDefinition (int nId, const Graphic &rGraphic, Size aSize) override
 Exports the definition (image, size) of a single numbering picture bullet. More...
 
void SetWritingHeaderFooter (bool bWritingHeaderFooter)
 
bool GetWritingHeaderFooter () const
 
void SetAlternateContentChoiceOpen (bool bAltContentChoiceOpen)
 
bool IsAlternateContentChoiceOpen () const
 
void GetSdtEndBefore (const SdrObject *pSdrObj)
 
bool IsFirstParagraph () const
 
void pushToTableExportContext (DocxTableExportContext &rContext)
 Stores the table export state to the passed context and resets own state. More...
 
void popFromTableExportContext (DocxTableExportContext const &rContext)
 Restores from the remembered state. More...
 
- Public Member Functions inherited from AttributeOutputBase
virtual void RTLAndCJKState (bool bIsRTL, sal_uInt16 nScript)=0
 Export the state of RTL/CJK. More...
 
virtual sal_Int32 StartParagraph (ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, bool bGenerateParaId)=0
 Start of the paragraph. More...
 
virtual void EndParagraph (ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner)=0
 End of the paragraph. More...
 
virtual void SectionBreaks (const SwNode &rNode)=0
 Called in order to output section breaks. More...
 
virtual void StartParagraphProperties ()=0
 Called before we start outputting the attributes. More...
 
virtual void EndParagraphProperties (const SfxItemSet &rParagraphMarkerProperties, const SwRedlineData *pRedlineData, const SwRedlineData *pRedlineParagraphMarkerDeleted, const SwRedlineData *pRedlineParagraphMarkerInserted)=0
 Called after we end outputting the attributes. More...
 
virtual void EmptyParagraph ()=0
 Empty paragraph. More...
 
virtual void StartRun (const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false)=0
 Start of the text run. More...
 
virtual void EndRun (const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false)=0
 End of the text run. More...
 
virtual void StartRunProperties ()=0
 Called before we start outputting the attributes. More...
 
virtual void EndRunProperties (const SwRedlineData *pRedlineData)=0
 Called after we end outputting the attributes. More...
 
virtual bool FootnoteEndnoteRefTag ()
 docx requires footnoteRef/endnoteRef tag at the beginning of each of them More...
 
virtual void SectFootnoteEndnotePr ()
 for footnote/endnote section properties More...
 
virtual void WritePostitFieldReference ()
 for docx w:commentReference More...
 
virtual void RunText (const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8, const OUString &rSymbolFont=OUString())=0
 Output text (inside a run). More...
 
virtual void RawText (const OUString &rText, rtl_TextEncoding eCharSet)=0
 Output text (without markup). More...
 
virtual void StartRuby (const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby)=0
 Output ruby start. More...
 
virtual void EndRuby (const SwTextNode &rNode, sal_Int32 nPos)=0
 Output ruby end. More...
 
virtual bool StartURL (const OUString &rUrl, const OUString &rTarget)=0
 Output URL start. More...
 
virtual bool EndURL (bool isAtEndOfParagraph)=0
 Output URL end. More...
 
virtual void FieldVanish (const OUString &rText, ww::eField eType, OUString const *pBookmarkName)=0
 
void GenerateBookmarksForSequenceField (const SwTextNode &rNode, SwWW8AttrIter &rAttrIter)
 MSO uses bookmarks to reference sequence fields, so we need to generate these additional bookmarks during export. More...
 
void StartTOX (const SwSection &rSect)
 
void EndTOX (const SwSection &rSect, bool bCareEnd=true)
 
virtual void OnTOXEnding ()
 
void TOXMark (const SwTextNode &rNode, const SwTOXMark &rAttr)
 
virtual void Redline (const SwRedlineData *pRedline)=0
 Output redlining. More...
 
virtual void FormatDrop (const SwTextNode &rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner)=0
 
virtual void OutputFKP (bool)
 Output FKP (Formatted disK Page) - necessary for binary formats only. More...
 
virtual void ParagraphStyle (sal_uInt16 nStyle)=0
 Output style. More...
 
virtual void TableInfoCell (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableInfoRow (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableDefinition (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableDefaultBorders (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableBackgrounds (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableRowRedline (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableCellRedline (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableHeight (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableCanSplit (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableBidi (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableVerticalCell (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo)=0
 
virtual void TableNodeInfoInner (ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner)=0
 
virtual void TableOrientation (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner)=0
 
virtual void TableSpacing (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner)=0
 
virtual void TableRowEnd (sal_uInt32 nDepth)=0
 
virtual void StartStyles ()=0
 Start of the styles table. More...
 
virtual void EndStyles (sal_uInt16 nNumberOfStyles)=0
 End of the styles table. More...
 
virtual void DefaultStyle ()=0
 Write default style. More...
 
virtual void StartStyle (const OUString &rName, StyleType eType, sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwId, sal_uInt16 nSlot, bool bAutoUpdate)=0
 Start of a style in the styles table. More...
 
virtual void EndStyle ()=0
 End of a style in the styles table. More...
 
virtual void StartStyleProperties (bool bParProp, sal_uInt16 nStyle)=0
 Start of (paragraph or run) properties of a style. More...
 
virtual void EndStyleProperties (bool bParProp)=0
 End of (paragraph or run) properties of a style. More...
 
virtual void OutlineNumbering (sal_uInt8 nLvl)=0
 Numbering rule and Id. More...
 
virtual void PageBreakBefore (bool bBreak)=0
 Page break As a paragraph property - the paragraph should be on the next page. More...
 
virtual void SectionBreak (sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo *pSectionInfo=nullptr, bool bExtraPageBreak=false)=0
 Write a section break msword::ColumnBreak or msword::PageBreak bBreakAfter: the break must be scheduled for insertion in the end of current paragraph. More...
 
virtual void TextVerticalAdjustment (const css::drawing::TextVerticalAdjust)
 
virtual void StartSection ()=0
 Start of the section properties. More...
 
virtual void EndSection ()=0
 End of the section properties. More...
 
virtual void SectionFormProtection (bool bProtected)=0
 Protection of forms. More...
 
virtual void SectionLineNumbering (sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo)=0
 Numbering of the lines in the document. More...
 
virtual void SectionTitlePage ()=0
 Has different headers/footers for the title page. More...
 
virtual void SetStateOfFlyFrame (FlyProcessingState)
 Set the state of the Fly at current position. More...
 
virtual void SetAnchorIsLinkedToNode (bool)
 If the node has an anchor linked. More...
 
virtual bool IsFlyProcessingPostponed ()
 Is processing of fly postponed ? More...
 
virtual void ResetFlyProcessingFlag ()
 Reset the flag for FlyProcessing. More...
 
virtual void SectionPageBorders (const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat)=0
 Description of the page borders. More...
 
virtual void SectionBiDi (bool bBiDi)=0
 Columns populated from right/numbers on the right side? More...
 
virtual void SectionPageNumbering (sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber)=0
 The style of the page numbers. More...
 
virtual void SectionType (sal_uInt8 nBreakCode)=0
 The type of breaking. More...
 
virtual void NumberingDefinition (sal_uInt16 nId, const SwNumRule &rRule)=0
 Definition of a numbering instance. More...
 
virtual void OverrideNumberingDefinition (SwNumRule const &, sal_uInt16, sal_uInt16, const std::map< size_t, size_t > &)
 Numbering definition that overrides abstract numbering definition. More...
 
virtual void StartAbstractNumbering (sal_uInt16)
 Start of the abstract numbering definition instance. More...
 
virtual void EndAbstractNumbering ()
 End of the abstract numbering definition instance. More...
 
virtual void NumberingLevel (sal_uInt8 nLevel, sal_uInt16 nStart, sal_uInt16 nNumberingType, SvxAdjust eAdjust, const sal_uInt8 *pNumLvlPos, sal_uInt8 nFollow, const wwFont *pFont, const SfxItemSet *pOutSet, sal_Int16 nIndentAt, sal_Int16 nFirstLineIndex, sal_Int16 nListTabPos, const OUString &rNumberingString, const SvxBrushItem *pBrush, bool isLegal)=0
 All the numbering level information. More...
 
 AttributeOutputBase (OUString sBaseURL)
 
virtual ~AttributeOutputBase ()
 
virtual MSWordExportBaseGetExport ()=0
 Return the right export class. More...
 
const MSWordExportBaseGetExport () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
void OutputItem (const SfxPoolItem &rHt)
 Call the right virtual function according to the type of the item. More...
 
void OutputStyleItemSet (const SfxItemSet &rSet, bool bTestForDefault)
 Use OutputItem() on an item set - for styles. More...
 
void OutputFlyFrame (const ww8::Frame &rFormat)
 Output frames. More...
 
void GetTablePageSize (ww8::WW8TableNodeInfoInner const *pTableTextNodeInfoInner, tools::Long &rPageSize, bool &rRelBoxSize)
 
virtual bool MaybeOutputBrushItem (SfxItemSet const &)
 
virtual void BulletDefinition (int, const Graphic &, Size)
 Exports the definition (image, size) of a single numbering picture bullet. More...
 
const SwRedlineDataGetParagraphMarkerRedline (const SwTextNode &rNode, RedlineType aRedlineType)
 
virtual void WriteOutliner (const OutlinerParaObject &rParaObj)=0
 
virtual oox::drawingml::DrawingMLGetDrawingML ()=0
 
virtual void WriteVMLTextBox (css::uno::Reference< css::drawing::XShape > xShape)=0
 
virtual void WriteOutliner (const OutlinerParaObject &rParaObj)=0
 
virtual void WriteTextBox (css::uno::Reference< css::drawing::XShape > xShape)=0
 
virtual css::uno::Reference< css::text::XTextFrame > GetUnoTextFrame (css::uno::Reference< css::drawing::XShape > xShape)=0
 

Static Public Member Functions

static void WriteFootnoteEndnotePr (::sax_fastparser::FSHelperPtr const &fs, int tag, const SwEndNoteInfo &info, int listtag)
 writes the footnotePr/endnotePr (depending on tag) section More...
 
static OString convertToOOXMLHoriOrient (sal_Int16 nOrient, bool bIsPosToggle)
 
static OString convertToOOXMLVertOrient (sal_Int16 nOrient)
 
static OString convertToOOXMLVertOrientRel (sal_Int16 nOrientRel)
 
static OString convertToOOXMLHoriOrientRel (sal_Int16 nOrientRel)
 
static void ImplCellMargins (sax_fastparser::FSHelperPtr const &pSerializer, const SvxBoxItem &rBox, sal_Int32 tag, bool bUseStartEnd, const SvxBoxItem *pDefaultMargins=nullptr)
 
template<class... Args>
static void AddToAttrList (rtl::Reference< sax_fastparser::FastAttributeList > &pAttrList, Args &&... args)
 

Static Public Attributes

static const sal_Int32 Tag_StartParagraph_1 = 1
 
static const sal_Int32 Tag_StartParagraph_2 = 2
 
static const sal_Int32 Tag_WriteSdtBlock = 3
 
static const sal_Int32 Tag_StartParagraphProperties = 4
 
static const sal_Int32 Tag_InitCollectedParagraphProperties = 5
 
static const sal_Int32 Tag_StartRun_1 = 6
 
static const sal_Int32 Tag_StartRun_2 = 7
 
static const sal_Int32 Tag_StartRun_3 = 8
 
static const sal_Int32 Tag_EndRun_1 = 9
 
static const sal_Int32 Tag_EndRun_2 = 10
 
static const sal_Int32 Tag_StartRunProperties = 11
 
static const sal_Int32 Tag_InitCollectedRunProperties = 12
 
static const sal_Int32 Tag_Redline_1 = 13
 
static const sal_Int32 Tag_Redline_2 = 14
 
static const sal_Int32 Tag_TableDefinition = 15
 
static const sal_Int32 Tag_OutputFlyFrame = 16
 
static const sal_Int32 Tag_StartSection = 17
 

Protected Member Functions

virtual void OutputFlyFrame_Impl (const ww8::Frame &rFormat, const Point &rNdTopLeft) override
 Output frames - the implementation. More...
 
virtual void CharCaseMap (const SvxCaseMapItem &rCaseMap) override
 Sfx item Sfx item RES_CHRATR_CASEMAP. More...
 
virtual void CharColor (const SvxColorItem &rColor) override
 Sfx item Sfx item RES_CHRATR_COLOR. More...
 
virtual void CharContour (const SvxContourItem &rContour) override
 Sfx item Sfx item RES_CHRATR_CONTOUR. More...
 
virtual void CharCrossedOut (const SvxCrossedOutItem &rCrossedOut) override
 Sfx item RES_CHRATR_CROSSEDOUT. More...
 
virtual void CharEscapement (const SvxEscapementItem &rEscapement) override
 Sfx item RES_CHRATR_ESCAPEMENT. More...
 
virtual void CharFont (const SvxFontItem &rFont) override
 Sfx item RES_CHRATR_FONT. More...
 
virtual void CharFontSize (const SvxFontHeightItem &rFontSize) override
 Sfx item RES_CHRATR_FONTSIZE. More...
 
virtual void CharKerning (const SvxKerningItem &rKerning) override
 Sfx item RES_CHRATR_KERNING. More...
 
virtual void CharLanguage (const SvxLanguageItem &rLanguage) override
 Sfx item RES_CHRATR_LANGUAGE. More...
 
virtual void CharPosture (const SvxPostureItem &rPosture) override
 Sfx item RES_CHRATR_POSTURE. More...
 
virtual void CharShadow (const SvxShadowedItem &rShadow) override
 Sfx item RES_CHRATR_SHADOWED. More...
 
virtual void CharUnderline (const SvxUnderlineItem &rUnderline) override
 Sfx item RES_CHRATR_UNDERLINE. More...
 
virtual void CharWeight (const SvxWeightItem &rWeight) override
 Sfx item RES_CHRATR_WEIGHT. More...
 
virtual void CharAutoKern (const SvxAutoKernItem &) override
 Sfx item RES_CHRATR_AUTOKERN. More...
 
virtual void CharAnimatedText (const SvxBlinkItem &rBlink) override
 Sfx item RES_CHRATR_BLINK. More...
 
virtual void CharBackground (const SvxBrushItem &rBrush) override
 Sfx item RES_CHRATR_BACKGROUND. More...
 
virtual void CharFontCJK (const SvxFontItem &rFont) override
 Sfx item RES_CHRATR_CJK_FONT. More...
 
virtual void CharFontSizeCJK (const SvxFontHeightItem &rFontSize) override
 Sfx item RES_CHRATR_CJK_FONTSIZE. More...
 
virtual void CharLanguageCJK (const SvxLanguageItem &rLanguageItem) override
 Sfx item RES_CHRATR_CJK_LANGUAGE. More...
 
virtual void CharPostureCJK (const SvxPostureItem &rPosture) override
 Sfx item RES_CHRATR_CJK_POSTURE. More...
 
virtual void CharWeightCJK (const SvxWeightItem &rWeight) override
 Sfx item RES_CHRATR_CJK_WEIGHT. More...
 
virtual void CharFontCTL (const SvxFontItem &rFont) override
 Sfx item RES_CHRATR_CTL_FONT. More...
 
virtual void CharFontSizeCTL (const SvxFontHeightItem &rFontSize) override
 Sfx item RES_CHRATR_CTL_FONTSIZE. More...
 
virtual void CharLanguageCTL (const SvxLanguageItem &rLanguageItem) override
 Sfx item RES_CHRATR_CTL_LANGUAGE. More...
 
virtual void CharPostureCTL (const SvxPostureItem &rWeight) override
 Sfx item RES_CHRATR_CTL_POSTURE. More...
 
virtual void CharWeightCTL (const SvxWeightItem &rWeight) override
 Sfx item RES_CHRATR_CTL_WEIGHT. More...
 
virtual void CharBidiRTL (const SfxPoolItem &) override
 Sfx item RES_CHRATR_BidiRTL. More...
 
virtual void CharIdctHint (const SfxPoolItem &) override
 Sfx item RES_CHRATR_IdctHint. More...
 
virtual void CharRotate (const SvxCharRotateItem &rRotate) override
 Sfx item RES_CHRATR_ROTATE. More...
 
virtual void CharEmphasisMark (const SvxEmphasisMarkItem &rEmphasisMark) override
 Sfx item RES_CHRATR_EMPHASIS_MARK. More...
 
virtual void CharTwoLines (const SvxTwoLinesItem &rTwoLines) override
 Sfx item RES_CHRATR_TWO_LINES. More...
 
virtual void CharScaleWidth (const SvxCharScaleWidthItem &rScaleWidth) override
 Sfx item RES_CHRATR_SCALEW. More...
 
virtual void CharRelief (const SvxCharReliefItem &rRelief) override
 Sfx item RES_CHRATR_RELIEF. More...
 
virtual void CharHidden (const SvxCharHiddenItem &rHidden) override
 Sfx item RES_CHRATR_HIDDEN. More...
 
virtual void CharBorder (const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow) override
 Sfx item RES_CHRATR_BOX. More...
 
virtual void CharHighlight (const SvxBrushItem &rHighlight) override
 Sfx item RES_CHRATR_HIGHLIGHT. More...
 
virtual void TextINetFormat (const SwFormatINetFormat &) override
 Sfx item RES_TXTATR_INETFMT. More...
 
virtual void TextCharFormat (const SwFormatCharFormat &) override
 Sfx item RES_TXTATR_CHARFMT. More...
 
virtual void TextFootnote_Impl (const SwFormatFootnote &) override
 Sfx item RES_TXTATR_FTN. More...
 
void FootnoteEndnoteReference ()
 Output the footnote/endnote reference (if there's one to output). More...
 
virtual void ParaLineSpacing_Impl (short nSpace, short nMulti) override
 Sfx item RES_PARATR_LINESPACING. More...
 
virtual void ParaAdjust (const SvxAdjustItem &rAdjust) override
 Sfx item RES_PARATR_ADJUST. More...
 
virtual void ParaSplit (const SvxFormatSplitItem &rSplit) override
 Sfx item RES_PARATR_SPLIT. More...
 
virtual void ParaWidows (const SvxWidowsItem &rWidows) override
 Sfx item RES_PARATR_WIDOWS. More...
 
virtual void ParaTabStop (const SvxTabStopItem &rTabStop) override
 Sfx item RES_PARATR_TABSTOP. More...
 
virtual void ParaHyphenZone (const SvxHyphenZoneItem &) override
 Sfx item RES_PARATR_HYPHENZONE. More...
 
virtual void ParaNumRule_Impl (const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId) override
 Sfx item RES_PARATR_NUMRULE. More...
 
virtual void ParaScriptSpace (const SfxBoolItem &) override
 Sfx item RES_PARATR_SCRIPTSPACE. More...
 
virtual void ParaHangingPunctuation (const SfxBoolItem &) override
 Sfx item RES_PARATR_HANGINGPUNCTUATION. More...
 
virtual void ParaForbiddenRules (const SfxBoolItem &) override
 Sfx item RES_PARATR_FORBIDDEN_RULES. More...
 
virtual void ParaVerticalAlign (const SvxParaVertAlignItem &rAlign) override
 Sfx item RES_PARATR_VERTALIGN. More...
 
virtual void ParaSnapToGrid (const SvxParaGridItem &) override
 Sfx item RES_PARATR_SNAPTOGRID. More...
 
virtual void FormatFrameSize (const SwFormatFrameSize &) override
 Sfx item RES_FRM_SIZE. More...
 
virtual void FormatPaperBin (const SvxPaperBinItem &) override
 Sfx item RES_PAPER_BIN. More...
 
virtual void FormatFirstLineIndent (const SvxFirstLineIndentItem &rFirstLine) override
 Sfx item RES_MARGIN_FIRSTLINE. More...
 
virtual void FormatTextLeftMargin (const SvxTextLeftMarginItem &rTextLeftMargin) override
 Sfx item RES_MARGIN_TEXTLEFT. More...
 
virtual void FormatRightMargin (const SvxRightMarginItem &rRightMargin) override
 Sfx item RES_MARGIN_RIGHT. More...
 
virtual void FormatLRSpace (const SvxLRSpaceItem &rLRSpace) override
 Sfx item RES_LR_SPACE. More...
 
virtual void FormatULSpace (const SvxULSpaceItem &rULSpace) override
 Sfx item RES_UL_SPACE. More...
 
virtual void FormatSurround (const SwFormatSurround &) override
 Sfx item RES_SURROUND. More...
 
virtual void FormatVertOrientation (const SwFormatVertOrient &) override
 Sfx item RES_VERT_ORIENT. More...
 
virtual void FormatHorizOrientation (const SwFormatHoriOrient &) override
 Sfx item RES_HORI_ORIENT. More...
 
virtual void FormatAnchor (const SwFormatAnchor &) override
 Sfx item RES_ANCHOR. More...
 
virtual void FormatBackground (const SvxBrushItem &) override
 Sfx item RES_BACKGROUND. More...
 
virtual void FormatFillStyle (const XFillStyleItem &) override
 Sfx item RES_FILL_STYLE. More...
 
virtual void FormatFillGradient (const XFillGradientItem &) override
 Sfx item RES_FILL_GRADIENT. More...
 
virtual void FormatBox (const SvxBoxItem &) override
 Sfx item RES_BOX. More...
 
virtual void FormatColumns_Impl (sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
 Sfx item RES_COL. More...
 
virtual void FormatKeep (const SvxFormatKeepItem &) override
 Sfx item RES_KEEP. More...
 
virtual void FormatTextGrid (const SwTextGridItem &) override
 Sfx item RES_TEXTGRID. More...
 
virtual void FormatLineNumbering (const SwFormatLineNumber &) override
 Sfx item RES_LINENUMBER. More...
 
virtual void FormatFrameDirection (const SvxFrameDirectionItem &) override
 Sfx item RES_FRAMEDIR. More...
 
virtual void ParaGrabBag (const SfxGrabBagItem &) override
 Sfx item RES_PARATR_GRABBAG. More...
 
virtual void CharGrabBag (const SfxGrabBagItem &) override
 Sfx item RES_CHRATR_GRABBAG. More...
 
virtual void ParaOutlineLevel (const SfxUInt16Item &) override
 
virtual void WriteExpand (const SwField *pField) override
 Write the expanded field. More...
 
virtual void RefField (const SwField &rField, const OUString &rRef) override
 
virtual void HiddenField (const SwField &rField) override
 
virtual void SetField (const SwField &rField, ww::eField eType, const OUString &rCmd) override
 
virtual void PostitField (const SwField *pField) override
 
virtual bool DropdownField (const SwField *pField) override
 
virtual bool PlaceholderField (const SwField *pField) override
 
virtual bool AnalyzeURL (const OUString &rURL, const OUString &rTarget, OUString *pLinkURL, OUString *pMark) override
 
virtual void WriteBookmarkInActParagraph (const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos) override
 Insert a bookmark inside the currently processed paragraph. More...
 
void SectionRtlGutter (const SfxBoolItem &rRtlGutter) override
 RES_RTL_GUTTER. More...
 
void TextLineBreak (const SwFormatLineBreak &rLineBreak) override
 RES_TXTATR_LINEBREAK, i.e. clearing breaks. More...
 
void WriteLineBreak ()
 Writes a clearing line break at the end of run properties, if there are any. More...
 
- Protected Member Functions inherited from AttributeOutputBase
virtual void OutputFlyFrame_Impl (const ww8::Frame &rFormat, const Point &rNdTopLeft)=0
 Output frames - the implementation. More...
 
virtual void CharCaseMap (const SvxCaseMapItem &)=0
 Sfx item Sfx item RES_CHRATR_CASEMAP. More...
 
virtual void CharColor (const SvxColorItem &)=0
 Sfx item Sfx item RES_CHRATR_COLOR. More...
 
virtual void CharContour (const SvxContourItem &)=0
 Sfx item Sfx item RES_CHRATR_CONTOUR. More...
 
virtual void CharCrossedOut (const SvxCrossedOutItem &)=0
 Sfx item RES_CHRATR_CROSSEDOUT. More...
 
virtual void CharEscapement (const SvxEscapementItem &)=0
 Sfx item RES_CHRATR_ESCAPEMENT. More...
 
virtual void CharFont (const SvxFontItem &)=0
 Sfx item RES_CHRATR_FONT. More...
 
virtual void CharFontSize (const SvxFontHeightItem &)=0
 Sfx item RES_CHRATR_FONTSIZE. More...
 
virtual void CharKerning (const SvxKerningItem &)=0
 Sfx item RES_CHRATR_KERNING. More...
 
virtual void CharLanguage (const SvxLanguageItem &)=0
 Sfx item RES_CHRATR_LANGUAGE. More...
 
virtual void CharPosture (const SvxPostureItem &)=0
 Sfx item RES_CHRATR_POSTURE. More...
 
virtual void CharShadow (const SvxShadowedItem &)=0
 Sfx item RES_CHRATR_SHADOWED. More...
 
virtual void CharUnderline (const SvxUnderlineItem &)=0
 Sfx item RES_CHRATR_UNDERLINE. More...
 
virtual void CharWeight (const SvxWeightItem &)=0
 Sfx item RES_CHRATR_WEIGHT. More...
 
virtual void CharAutoKern (const SvxAutoKernItem &)=0
 Sfx item RES_CHRATR_AUTOKERN. More...
 
virtual void CharAnimatedText (const SvxBlinkItem &)=0
 Sfx item RES_CHRATR_BLINK. More...
 
void CharBackgroundBase (const SvxBrushItem &)
 Sfx item RES_CHRATR_BACKGROUND. More...
 
virtual void CharBackground (const SvxBrushItem &)=0
 
virtual void CharFontCJK (const SvxFontItem &)=0
 Sfx item RES_CHRATR_CJK_FONT. More...
 
virtual void CharFontSizeCJK (const SvxFontHeightItem &)=0
 Sfx item RES_CHRATR_CJK_FONTSIZE. More...
 
virtual void CharLanguageCJK (const SvxLanguageItem &)=0
 Sfx item RES_CHRATR_CJK_LANGUAGE. More...
 
virtual void CharPostureCJK (const SvxPostureItem &)=0
 Sfx item RES_CHRATR_CJK_POSTURE. More...
 
virtual void CharWeightCJK (const SvxWeightItem &)=0
 Sfx item RES_CHRATR_CJK_WEIGHT. More...
 
virtual void CharFontCTL (const SvxFontItem &)=0
 Sfx item RES_CHRATR_CTL_FONT. More...
 
virtual void CharFontSizeCTL (const SvxFontHeightItem &)=0
 Sfx item RES_CHRATR_CTL_FONTSIZE. More...
 
virtual void CharLanguageCTL (const SvxLanguageItem &)=0
 Sfx item RES_CHRATR_CTL_LANGUAGE. More...
 
virtual void CharPostureCTL (const SvxPostureItem &)=0
 Sfx item RES_CHRATR_CTL_POSTURE. More...
 
virtual void CharWeightCTL (const SvxWeightItem &)=0
 Sfx item RES_CHRATR_CTL_WEIGHT. More...
 
virtual void CharBidiRTL (const SfxPoolItem &)=0
 Sfx item RES_CHRATR_BidiRTL. More...
 
virtual void CharIdctHint (const SfxPoolItem &)=0
 Sfx item RES_CHRATR_IdctHint. More...
 
virtual void CharRotate (const SvxCharRotateItem &)=0
 Sfx item RES_CHRATR_ROTATE. More...
 
virtual void CharEmphasisMark (const SvxEmphasisMarkItem &)=0
 Sfx item RES_CHRATR_EMPHASIS_MARK. More...
 
virtual void CharTwoLines (const SvxTwoLinesItem &)=0
 Sfx item RES_CHRATR_TWO_LINES. More...
 
virtual void CharScaleWidth (const SvxCharScaleWidthItem &)=0
 Sfx item RES_CHRATR_SCALEW. More...
 
virtual void CharRelief (const SvxCharReliefItem &)=0
 Sfx item RES_CHRATR_RELIEF. More...
 
virtual void CharHidden (const SvxCharHiddenItem &)=0
 Sfx item RES_CHRATR_HIDDEN. More...
 
void FormatCharBorder (const SvxBoxItem &rBox)
 Sfx item RES_CHRATR_BOX. More...
 
virtual void CharBorder (const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow)=0
 
virtual void CharHighlight (const SvxBrushItem &)=0
 Sfx item RES_CHRATR_HIGHLIGHT. More...
 
virtual void TextINetFormat (const SwFormatINetFormat &)=0
 Sfx item RES_TXTATR_INETFMT. More...
 
virtual void TextCharFormat (const SwFormatCharFormat &)=0
 Sfx item RES_TXTATR_CHARFMT. More...
 
void TextField (const SwFormatField &)
 Sfx item RES_TXTATR_FIELD, RES_TXTATR_ANNOTATION and RES_TXTATR_INPUTFIELD. More...
 
void TextFlyContent (const SwFormatFlyCnt &)
 Sfx item RES_TXTATR_FLYCNT. More...
 
void TextFootnote (const SwFormatFootnote &)
 Sfx item RES_TXTATR_FTN. More...
 
virtual void TextFootnote_Impl (const SwFormatFootnote &)=0
 Sfx item RES_TXTATR_FTN. More...
 
virtual void TextLineBreak (const SwFormatLineBreak &)=0
 RES_TXTATR_LINEBREAK, i.e. clearing breaks. More...
 
void ParaLineSpacing (const SvxLineSpacingItem &)
 Sfx item RES_PARATR_LINESPACING. More...
 
virtual void ParaLineSpacing_Impl (short nSpace, short nMulti)=0
 Count the values in ParaLineSpacing, and pass theme here. More...
 
virtual void ParaAdjust (const SvxAdjustItem &)=0
 Sfx item RES_PARATR_ADJUST. More...
 
virtual void ParaSplit (const SvxFormatSplitItem &)=0
 Sfx item RES_PARATR_SPLIT. More...
 
virtual void ParaWidows (const SvxWidowsItem &)=0
 Sfx item RES_PARATR_WIDOWS. More...
 
virtual void ParaTabStop (const SvxTabStopItem &)=0
 Sfx item RES_PARATR_TABSTOP. More...
 
virtual void ParaHyphenZone (const SvxHyphenZoneItem &)=0
 Sfx item RES_PARATR_HYPHENZONE. More...
 
void ParaNumRule (const SwNumRuleItem &)
 Sfx item RES_PARATR_NUMRULE. More...
 
virtual void ParaNumRule_Impl (const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId)=0
 Numbering - the implementation. More...
 
virtual void ParaScriptSpace (const SfxBoolItem &)=0
 Sfx item RES_PARATR_SCRIPTSPACE. More...
 
virtual void ParaHangingPunctuation (const SfxBoolItem &)=0
 Sfx item RES_PARATR_HANGINGPUNCTUATION. More...
 
virtual void ParaForbiddenRules (const SfxBoolItem &)=0
 Sfx item RES_PARATR_FORBIDDEN_RULES. More...
 
virtual void ParaVerticalAlign (const SvxParaVertAlignItem &)=0
 Sfx item RES_PARATR_VERTALIGN. More...
 
virtual void ParaSnapToGrid (const SvxParaGridItem &)=0
 Sfx item RES_PARATR_SNAPTOGRID. More...
 
virtual void FormatFrameSize (const SwFormatFrameSize &)=0
 Sfx item RES_FRM_SIZE. More...
 
virtual void FormatPaperBin (const SvxPaperBinItem &)=0
 Sfx item RES_PAPER_BIN. More...
 
virtual void FormatFirstLineIndent (const SvxFirstLineIndentItem &rFirstLine)=0
 Sfx item RES_MARGIN_FIRSTLINE. More...
 
virtual void FormatTextLeftMargin (const SvxTextLeftMarginItem &rTextLeftMargin)=0
 Sfx item RES_MARGIN_TEXTLEFT. More...
 
virtual void FormatRightMargin (const SvxRightMarginItem &rRightMargin)=0
 Sfx item RES_MARGIN_RIGHT. More...
 
virtual void FormatLRSpace (const SvxLRSpaceItem &)=0
 Sfx item RES_LR_SPACE. More...
 
virtual void FormatULSpace (const SvxULSpaceItem &)=0
 Sfx item RES_UL_SPACE. More...
 
void FormatPageDescription (const SwFormatPageDesc &)
 Sfx item RES_PAGEDESC. More...
 
void FormatBreak (const SvxFormatBreakItem &)
 Sfx item RES_BREAK. More...
 
virtual void FormatSurround (const SwFormatSurround &)=0
 Sfx item RES_SURROUND. More...
 
virtual void FormatVertOrientation (const SwFormatVertOrient &)=0
 Sfx item RES_VERT_ORIENT. More...
 
virtual void FormatHorizOrientation (const SwFormatHoriOrient &)=0
 Sfx item RES_HORI_ORIENT. More...
 
virtual void FormatAnchor (const SwFormatAnchor &)=0
 Sfx item RES_ANCHOR. More...
 
virtual void FormatBackground (const SvxBrushItem &)=0
 Sfx item RES_BACKGROUND. More...
 
virtual void FormatFillStyle (const XFillStyleItem &)=0
 Sfx item RES_FILL_STYLE. More...
 
virtual void FormatFillGradient (const XFillGradientItem &)=0
 Sfx item RES_FILL_GRADIENT. More...
 
virtual void FormatBox (const SvxBoxItem &)=0
 Sfx item RES_BOX. More...
 
void FormatColumns (const SwFormatCol &)
 Sfx item RES_COL. More...
 
virtual void FormatColumns_Impl (sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize)=0
 
virtual void FormatKeep (const SvxFormatKeepItem &)=0
 Sfx item RES_KEEP. More...
 
sal_uInt32 GridCharacterPitch (const SwTextGridItem &rGrid) const
 Compute the grid character pitch. More...
 
virtual void FormatTextGrid (const SwTextGridItem &)=0
 Sfx item RES_TEXTGRID. More...
 
virtual void FormatLineNumbering (const SwFormatLineNumber &)=0
 Sfx item RES_LINENUMBER. More...
 
virtual void FormatFrameDirection (const SvxFrameDirectionItem &)=0
 Sfx item RES_FRAMEDIR. More...
 
virtual void ParaGrabBag (const SfxGrabBagItem &)=0
 Sfx item RES_PARATR_GRABBAG. More...
 
virtual void CharGrabBag (const SfxGrabBagItem &)=0
 Sfx item RES_CHRATR_GRABBAG. More...
 
void ParaOutlineLevelBase (const SfxUInt16Item &rItem)
 Sfx item RES_PARATR_OUTLINELEVEL. More...
 
virtual void ParaOutlineLevel (const SfxUInt16Item &)=0
 
virtual void WriteExpand (const SwField *pField)=0
 Write the expanded field. More...
 
virtual void RefField (const SwField &rField, const OUString &rRef)=0
 
virtual void HiddenField (const SwField &rField)=0
 
virtual void SetField (const SwField &rField, ww::eField eType, const OUString &rCmd)=0
 
virtual void PostitField (const SwField *pField)=0
 
virtual bool DropdownField (const SwField *pField)=0
 
virtual bool PlaceholderField (const SwField *pField)=0
 
virtual bool AnalyzeURL (const OUString &rUrl, const OUString &rTarget, OUString *pLinkURL, OUString *pMark)
 
virtual void WriteBookmarkInActParagraph (const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos)=0
 Insert a bookmark inside the currently processed paragraph. More...
 
ww8::GridColsPtr GetGridCols (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
 
ww8::WidthsPtr GetColumnWidths (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
 
virtual void SectionRtlGutter (const SfxBoolItem &rRtlGutter)=0
 RES_RTL_GUTTER. More...
 
- Protected Member Functions inherited from oox::vml::VMLTextExport
 VMLTextExport ()
 
virtual ~VMLTextExport ()
 
- Protected Member Functions inherited from oox::drawingml::DMLTextExport
 DMLTextExport ()
 
virtual ~DMLTextExport ()
 

Private Types

enum class  ParentStatus {
  None ,
  IsParent ,
  HasParent
}
 Used to store the parent status of a PostIt (parent/child/neither) More...
 

Private Member Functions

void InitCollectedParagraphProperties ()
 Initialize the structures where we are going to collect some of the paragraph properties. More...
 
void WriteCollectedParagraphProperties ()
 Output what we collected during the run properties output. More...
 
void InitCollectedRunProperties ()
 Initialize the structures where we are going to collect some of the run properties. More...
 
void WriteCollectedRunProperties ()
 Output what we collected during the run properties output. More...
 
void FlyFrameGraphic (const SwGrfNode *pGrfNode, const Size &rSize, const SwFlyFrameFormat *pOLEFrameFormat, SwOLENode *pOLENode, const SdrObject *pSdrObj=nullptr)
 Output graphic fly frames or replacement graphics for OLE nodes. More...
 
void WriteSrcRect (const css::uno::Reference< css::beans::XPropertySet > &xShapePropSet, const SwFrameFormat *pFrameFormat)
 
void WriteOLE2Obj (const SdrObject *pSdrObj, SwOLENode &rNode, const Size &rSize, const SwFlyFrameFormat *pFlyFrameFormat, const sal_Int8 nFormulaAlignment)
 
bool WriteOLEChart (const SdrObject *pSdrObj, const Size &rSize, const SwFlyFrameFormat *pFlyFrameFormat)
 
bool WriteOLEMath (const SwOLENode &rNode, const sal_Int8 nAlign)
 
void PostponeOLE (SwOLENode &rNode, const Size &rSize, const SwFlyFrameFormat *pFlyFrameFormat)
 
void WriteOLE (SwOLENode &rNode, const Size &rSize, const SwFlyFrameFormat *rFlyFrameFormat)
 
void WriteOLEShape (const SwFlyFrameFormat &rFrameFormat, const Size &rSize, std::string_view rShapeId, const OUString &rImageId)
 
void ExportOLESurround (const SwFormatSurround &rWrap)
 
void WriteActiveXControl (const SdrObject *pObject, const SwFrameFormat &rFrameFormat, bool bInsideRun)
 
bool ExportAsActiveXControl (const SdrObject *pObject) const
 
void InitTableHelper (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
 
void StartTable (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
 
void StartTableRow (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
 
void StartTableCell (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow)
 
void TableCellProperties (ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow)
 
void EndTableCell (sal_uInt32 nCell)
 
void EndTableRow ()
 
void EndTable ()
 
void SyncNodelessCells (ww8::WW8TableNodeInfoInner::Pointer_t const &pInner, sal_Int32 nCell, sal_uInt32 nRow)
 
void PopulateFrameProperties (const SwFrameFormat *pFrameFormat, const Size &rSize)
 
void FinishTableRowCell (ww8::WW8TableNodeInfoInner::Pointer_t const &pInner, bool bForceEmptyParagraph=false)
 End cell, row, and even the entire table if necessary. More...
 
void WriteFFData (const FieldInfos &rInfos)
 
void WritePendingPlaceholder ()
 
void EmbedFontStyle (std::u16string_view name, int tag, FontFamily family, FontItalic italic, FontWeight weight, FontPitch pitch)
 
void DoWriteBookmarkTagStart (std::u16string_view bookmarkName)
 
void DoWriteBookmarkTagEnd (sal_Int32 nId)
 
void DoWriteMoveRangeTagStart (std::u16string_view bookmarkName, bool bFrom, const SwRedlineData *pRedlineData)
 
void DoWriteMoveRangeTagEnd (sal_Int32 nId, bool bFrom)
 
void DoWriteBookmarksStart (std::vector< OUString > &rStarts, const SwRedlineData *pRedlineData=nullptr)
 Write the start bookmarks. More...
 
void DoWriteBookmarksEnd (std::vector< OUString > &rEnds)
 export the end bookmarks More...
 
void DoWriteBookmarkStartIfExist (sal_Int32 nRunPos)
 
void DoWriteBookmarkEndIfExist (sal_Int32 nRunPos)
 
void DoWritePermissionTagStart (std::u16string_view permission)
 
void DoWritePermissionTagEnd (std::u16string_view permission)
 
void DoWritePermissionsStart ()
 Write the start permissions. More...
 
void DoWritePermissionsEnd ()
 export the end permissions More...
 
void DoWriteAnnotationMarks ()
 
void WritePostponedGraphic ()
 
void WritePostponedMath (const SwOLENode *pObject, sal_Int8)
 
void WritePostponedFormControl (const SdrObject *pObject)
 
void WritePostponedActiveXControl (bool bInsideRun)
 
void WritePostponedDiagram ()
 
void WritePostponedChart ()
 
void WritePostponedOLE ()
 
void WritePostponedDMLDrawing ()
 
void WritePostponedCustomShape ()
 
void WriteFlyFrame (const ww8::Frame &rFrame)
 
void WriteFormDateStart (const OUString &sFullDate, const OUString &sDateFormat, const OUString &sLang, const uno::Sequence< beans::PropertyValue > &aGrabBagSdt)
 
void WriteSdtPlainText (const OUString &sValue, const uno::Sequence< beans::PropertyValue > &aGrabBagSdt)
 
void WriteSdtDropDownStart (const OUString &rName, OUString const &rSelected, uno::Sequence< OUString > const &rListItems)
 
void WriteSdtDropDownEnd (OUString const &rSelected, uno::Sequence< OUString > const &rListItems)
 
void WriteContentControlStart ()
 
void WriteContentControlEnd ()
 
void StartField_Impl (const SwTextNode *pNode, sal_Int32 nPos, FieldInfos const &rInfos, bool bWriteRun=false)
 
void DoWriteCmd (std::u16string_view rCmd)
 
void CmdField_Impl (const SwTextNode *pNode, sal_Int32 nPos, FieldInfos const &rInfos, bool bWriteRun)
 
void CmdEndField_Impl (const SwTextNode *pNode, sal_Int32 nPos, bool bWriteRun)
 
void EndField_Impl (const SwTextNode *pNode, sal_Int32 nPos, FieldInfos &rInfos)
 
void DoWriteFieldRunProperties (const SwTextNode *pNode, sal_Int32 nPos, bool bWriteCombChars=false)
 Writes properties for run that is used to separate field implementation. More...
 

Static Private Member Functions

static OString GetOLEStyle (const SwFlyFrameFormat &rFormat, const Size &rSize)
 
static bool TextBoxIsFramePr (const SwFrameFormat &rFrameFormat)
 
static OString TransHighlightColor (sal_uInt8 nIco)
 Translate an ico value to the corresponding HighlightColorValues enumaration item. More...
 

Private Attributes

DocxExportm_rExport
 Reference to the export, where to get the data from. More...
 
::sax_fastparser::FSHelperPtr m_pSerializer
 Fast serializer to output the data. More...
 
oox::drawingml::DrawingMLm_rDrawingML
 DrawingML access. More...
 
rtl::Reference< sax_fastparser::FastAttributeListm_pFontsAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pEastAsianLayoutAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pCharLangAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pSectionSpacingAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pLRSpaceAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pParagraphSpacingAttrList
 
rtl::Reference< sax_fastparser::FastAttributeListm_pHyperlinkAttrList
 
std::shared_ptr< SwContentControlm_pContentControl
 
bool m_bEndCharSdt
 If the current SDT around runs should be ended before the current run. More...
 
rtl::Reference< sax_fastparser::FastAttributeListm_pColorAttrList
 Attributes of the run color. More...
 
sal_uInt8 m_nCharTransparence = 0
 
rtl::Reference< sax_fastparser::FastAttributeListm_pBackgroundAttrList
 Attributes of the paragraph background. More...
 
OUString m_sOriginalBackgroundColor
 
OUString m_hyperLinkAnchor
 
bool m_endPageRef
 
std::unique_ptr< docx::FootnotesListm_pFootnotesList
 
std::unique_ptr< docx::FootnotesListm_pEndnotesList
 
int m_footnoteEndnoteRefTag
 
OUString m_footnoteCustomLabel
 
std::unique_ptr< const WW8_SepInfom_pSectionInfo
 
const SwRedlineDatam_pRedlineData
 Redline data to remember in the text run. More...
 
sal_Int32 m_nRedlineId
 Id of the redline. More...
 
bool m_bOpenedSectPr
 Flag indicating that the section properties are being written. More...
 
bool m_bHadSectPr
 Did we have a section break in this paragraph? Set by StartSection(), reset by the next StartParagraph(). More...
 
bool m_bRunTextIsOn
 Flag indicating that the Run Text is being written. More...
 
bool m_bWritingHeaderFooter
 Flag indicating that the header \ footer are being written. More...
 
bool m_bAnchorLinkedToNode
 
bool m_bWritingField
 Flag indicating that multiple runs of a field are being written. More...
 
bool m_bPreventDoubleFieldsHandling
 Field data to remember in the text run. More...
 
std::vector< FieldInfosm_Fields
 
OUString m_sFieldBkm
 
sal_Int32 m_nNextBookmarkId
 
sal_Int32 m_nNextAnnotationMarkId
 
sal_Int32 m_nNextParaId = 1
 [MS-DOCX] section 2.6.2.3 More...
 
OUString m_sRawText
 
sal_uInt32 m_nEmbedFlyLevel
 The first frame (anchored to the main text) is 0. More...
 
std::vector< ww8::Framem_vPostponedFlys
 Stores the flys what are anchored inside a fly. More...
 
std::vector< OUString > m_rBookmarksStart
 Bookmarks to output. More...
 
std::vector< OUString > m_rBookmarksEnd
 
SwRedlineDatam_pMoveRedlineData
 
std::vector< OUString > m_rFinalBookmarksStart
 Bookmarks to output at the end. More...
 
std::vector< OUString > m_rFinalBookmarksEnd
 
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphStart
 Bookmarks of the current paragraph. More...
 
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphEnd
 
std::vector< OUString > m_rPermissionsStart
 Permissions to output. More...
 
std::vector< OUString > m_rPermissionsEnd
 
std::vector< OUString > m_rAnnotationMarksStart
 Annotation marks to output. More...
 
std::vector< OUString > m_rAnnotationMarksEnd
 
std::map< OUString, sal_Int32 > m_rOpenedBookmarksIds
 Maps of the bookmarks ids. More...
 
OUString m_sLastOpenedBookmark
 Name of the last opened bookmark. More...
 
std::unordered_set< sal_Int32 > m_rSavedBookmarksIds
 Set of ids of the saved bookmarks (used only for moveRange, yet) More...
 
std::map< OUString, sal_Int32 > m_rOpenedAnnotationMarksIds
 Maps of the annotation marks ids. More...
 
OUString m_sLastOpenedAnnotationMark
 Name of the last opened annotation mark. More...
 
std::map< OUString, std::vector< OUString > > m_aSeqBookmarksNames
 If there are bookmarks around sequence fields, this map contains the names of these bookmarks for each sequence. More...
 
std::vector< css::beans::PropertyValue > m_aTextEffectsGrabBag
 GrabBag for text effects like glow, shadow, ... More...
 
std::unique_ptr< SwWriteTablem_xTableWrt
 The current table helper. More...
 
FramePrHelper m_aFramePr
 
bool m_bParagraphOpened
 
bool m_bParagraphFrameOpen
 
bool m_bIsFirstParagraph
 
bool m_bAlternateContentChoiceOpen
 
bool m_bPostponedProcessingFly
 
DocxColBreakStatus m_nColBreakStatus
 
bool m_bPostponedPageBreak
 
bool m_bPageBreakAfter = false
 
std::stack< std::vector< ww8::Frame > > m_aFramesOfParagraph
 
o3tl::sorted_vector< const SwFrameFormat * > m_aFloatingTablesOfParagraph
 
sal_Int32 m_nTextFrameLevel
 
bool m_closeHyperlinkInThisRun
 
bool m_closeHyperlinkInPreviousRun
 
std::vector< sal_Int32 > m_nHyperLinkCount
 
sal_Int16 m_nFieldsInHyperlink
 
bool m_bExportingOutline
 
std::optional< std::vector< PostponedGraphic > > m_oPostponedGraphic
 
std::optional< std::vector< PostponedDiagram > > m_oPostponedDiagrams
 
std::optional< std::vector< PostponedDrawing > > m_oPostponedDMLDrawings
 
std::optional< std::vector< PostponedDrawing > > m_oPostponedCustomShape
 
std::optional< std::vector< PostponedOLE > > m_oPostponedOLEs
 
std::vector< PostponedMathObjectsm_aPostponedMaths
 
unsigned int m_nChartCount
 count charts consistently for unit tests More...
 
std::vector< PostponedChartm_aPostponedCharts
 
std::vector< const SdrObject * > m_aPostponedFormControls
 
std::vector< PostponedDrawingm_aPostponedActiveXControls
 
const SwFieldm_PendingPlaceholder
 
std::vector< std::pair< const SwPostItField *, PostItDOCXData > > m_postitFields
 Maps postit fields to ID's, used in commentRangeStart/End, commentReference and comment.xml. More...
 
unsigned int m_postitFieldsMaxId
 Number of postit fields which already have a commentReference written. More...
 
int m_anchorId
 
int m_nextFontId
 
TableReference m_tableReference
 
std::map< OUString, EmbeddedFontRefm_FontFilesMap
 
std::vector< ww8::WW8TableNodeInfoInner::Pointer_tm_TableFirstCells
 
std::vector< sal_Int32 > m_LastOpenCell
 
std::vector< sal_Int32 > m_LastClosedCell
 
std::optional< css::drawing::FillStyle > m_oFillStyle
 
bool m_bIgnoreNextFill
 If FormatBox() already handled fill style / gradient. More...
 
editeng::WordPageMargins m_pageMargins
 
std::shared_ptr< DocxTableStyleExportm_pTableStyleExport
 
bool m_bParaBeforeAutoSpacing
 
bool m_bParaAfterAutoSpacing
 
sal_Int32 m_nParaBeforeSpacing
 
sal_Int32 m_nParaAfterSpacing
 
SdtBlockHelper m_aParagraphSdt
 
SdtBlockHelper m_aRunSdt
 
FlyProcessingState m_nStateOfFlyFrame
 State of the Fly at current position. More...
 
OUString m_aStartedParagraphSdtPrAlias
 Same as m_aParagraphSdtPrAlias, but its content is available till the SDT is closed. More...
 
std::vector< std::map< SvxBoxItemLine, css::table::BorderLine2 > > m_aTableStyleConfs
 
std::optional< SwLineBreakClearm_oLineBreakClear
 

Additional Inherited Members

- Static Protected Member Functions inherited from AttributeOutputBase
static void GetNumberPara (OUString &rStr, const SwField &rField)
 

Detailed Description

The class that has handlers for various resource types when exporting as DOCX.

Definition at line 196 of file docxattributeoutput.hxx.

Member Enumeration Documentation

◆ hasProperties

Enumerator
no 
yes 

Definition at line 1111 of file docxattributeoutput.hxx.

◆ ParentStatus

enum class DocxAttributeOutput::ParentStatus
strongprivate

Used to store the parent status of a PostIt (parent/child/neither)

Enumerator
None 
IsParent 
HasParent 

Definition at line 1024 of file docxattributeoutput.hxx.

Constructor & Destructor Documentation

◆ DocxAttributeOutput()

DocxAttributeOutput::DocxAttributeOutput ( DocxExport rExport,
const ::sax_fastparser::FSHelperPtr pSerializer,
oox::drawingml::DrawingML pDrawingML 
)

Definition at line 10100 of file docxattributeoutput.cxx.

References m_nHyperLinkCount, and make_shared().

◆ ~DocxAttributeOutput()

DocxAttributeOutput::~DocxAttributeOutput ( )
overridevirtual

Definition at line 10151 of file docxattributeoutput.cxx.

Member Function Documentation

◆ AddToAttrList()

template<class... Args>
static void DocxAttributeOutput::AddToAttrList ( rtl::Reference< sax_fastparser::FastAttributeList > &  pAttrList,
Args &&...  args 
)
inlinestatic

◆ AnalyzeURL()

bool DocxAttributeOutput::AnalyzeURL ( const OUString &  rURL,
const OUString &  rTarget,
OUString *  pLinkURL,
OUString *  pMark 
)
overrideprotectedvirtual

Reimplemented from AttributeOutputBase.

Definition at line 3848 of file docxattributeoutput.cxx.

References AttributeOutputBase::AnalyzeURL(), ww::eHYPERLINK, FieldString(), and rTarget.

Referenced by StartURL().

◆ BulletDefinition()

void DocxAttributeOutput::BulletDefinition ( int  ,
const Graphic ,
Size   
)
overridevirtual

Exports the definition (image, size) of a single numbering picture bullet.

Reimplemented from AttributeOutputBase.

Definition at line 10181 of file docxattributeoutput.cxx.

References FSNS(), Size::Height(), m_pSerializer, m_rDrawingML, nId, Size::Width(), and oox::drawingml::DrawingML::WriteImage().

◆ CharAnimatedText()

void DocxAttributeOutput::CharAnimatedText ( const SvxBlinkItem rBlink)
overrideprotectedvirtual

Sfx item RES_CHRATR_BLINK.

Implements AttributeOutputBase.

Definition at line 8001 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharAutoKern()

void DocxAttributeOutput::CharAutoKern ( const SvxAutoKernItem rAutoKern)
overrideprotectedvirtual

Sfx item RES_CHRATR_AUTOKERN.

Implements AttributeOutputBase.

Definition at line 7993 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharBackground()

void DocxAttributeOutput::CharBackground ( const SvxBrushItem rBrush)
overrideprotectedvirtual

◆ CharBidiRTL()

void DocxAttributeOutput::CharBidiRTL ( const SfxPoolItem )
overrideprotectedvirtual

Sfx item RES_CHRATR_BidiRTL.

Implements AttributeOutputBase.

Definition at line 8089 of file docxattributeoutput.cxx.

◆ CharBorder()

void DocxAttributeOutput::CharBorder ( const ::editeng::SvxBorderLine pAllBorder,
const sal_uInt16  nDist,
const bool  bShadow 
)
overrideprotectedvirtual

◆ CharCaseMap()

void DocxAttributeOutput::CharCaseMap ( const SvxCaseMapItem rCaseMap)
overrideprotectedvirtual

Sfx item Sfx item RES_CHRATR_CASEMAP.

Implements AttributeOutputBase.

Definition at line 7734 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharColor()

void DocxAttributeOutput::CharColor ( const SvxColorItem rColor)
overrideprotectedvirtual

◆ CharContour()

void DocxAttributeOutput::CharContour ( const SvxContourItem rContour)
overrideprotectedvirtual

Sfx item Sfx item RES_CHRATR_CONTOUR.

Implements AttributeOutputBase.

Definition at line 7771 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharCrossedOut()

void DocxAttributeOutput::CharCrossedOut ( const SvxCrossedOutItem rCrossedOut)
overrideprotectedvirtual

Sfx item RES_CHRATR_CROSSEDOUT.

Implements AttributeOutputBase.

Definition at line 7779 of file docxattributeoutput.cxx.

References FSNS(), SvxCrossedOutItem::GetStrikeout(), m_pSerializer, STRIKEOUT_DOUBLE, and STRIKEOUT_NONE.

◆ CharEmphasisMark()

void DocxAttributeOutput::CharEmphasisMark ( const SvxEmphasisMarkItem rEmphasisMark)
overrideprotectedvirtual

Sfx item RES_CHRATR_EMPHASIS_MARK.

Implements AttributeOutputBase.

Definition at line 8109 of file docxattributeoutput.cxx.

References FSNS(), SvxEmphasisMarkItem::GetEmphasisMark(), m_pSerializer, and v.

◆ CharEscapement()

void DocxAttributeOutput::CharEscapement ( const SvxEscapementItem rEscapement)
overrideprotectedvirtual

◆ CharFont()

void DocxAttributeOutput::CharFont ( const SvxFontItem rFont)
overrideprotectedvirtual

Sfx item RES_CHRATR_FONT.

Implements AttributeOutputBase.

Definition at line 7860 of file docxattributeoutput.cxx.

References AddToAttrList(), FSNS(), GetExport(), SvxFontItem::GetFamilyName(), MSWordExportBase::GetId(), and m_pFontsAttrList.

Referenced by StartRuby().

◆ CharFontCJK()

void DocxAttributeOutput::CharFontCJK ( const SvxFontItem rFont)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_FONT.

Implements AttributeOutputBase.

Definition at line 8031 of file docxattributeoutput.cxx.

References AddToAttrList(), FSNS(), SvxFontItem::GetFamilyName(), and m_pFontsAttrList.

◆ CharFontCTL()

void DocxAttributeOutput::CharFontCTL ( const SvxFontItem rFont)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_FONT.

Implements AttributeOutputBase.

Definition at line 8060 of file docxattributeoutput.cxx.

References AddToAttrList(), FSNS(), SvxFontItem::GetFamilyName(), and m_pFontsAttrList.

◆ CharFontSize()

void DocxAttributeOutput::CharFontSize ( const SvxFontHeightItem rFontSize)
overrideprotectedvirtual

◆ CharFontSizeCJK()

virtual void DocxAttributeOutput::CharFontSizeCJK ( const SvxFontHeightItem rFontSize)
inlineoverrideprotectedvirtual

Sfx item RES_CHRATR_CJK_FONTSIZE.

Implements AttributeOutputBase.

Definition at line 579 of file docxattributeoutput.hxx.

References CharFontSize().

◆ CharFontSizeCTL()

virtual void DocxAttributeOutput::CharFontSizeCTL ( const SvxFontHeightItem rFontSize)
inlineoverrideprotectedvirtual

Sfx item RES_CHRATR_CTL_FONTSIZE.

Implements AttributeOutputBase.

Definition at line 594 of file docxattributeoutput.hxx.

References CharFontSize().

◆ CharGrabBag()

void DocxAttributeOutput::CharGrabBag ( const SfxGrabBagItem rItem)
overrideprotectedvirtual

◆ CharHidden()

void DocxAttributeOutput::CharHidden ( const SvxCharHiddenItem rHidden)
overrideprotectedvirtual

Sfx item RES_CHRATR_HIDDEN.

Implements AttributeOutputBase.

Definition at line 8179 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharHighlight()

void DocxAttributeOutput::CharHighlight ( const SvxBrushItem rHighlight)
overrideprotectedvirtual

Sfx item RES_CHRATR_HIGHLIGHT.

Implements AttributeOutputBase.

Definition at line 8208 of file docxattributeoutput.cxx.

References FSNS(), SvxBrushItem::GetColor(), m_pSerializer, sColor, msfilter::util::TransColToIco(), and TransHighlightColor().

◆ CharIdctHint()

void DocxAttributeOutput::CharIdctHint ( const SfxPoolItem )
overrideprotectedvirtual

Sfx item RES_CHRATR_IdctHint.

Implements AttributeOutputBase.

Definition at line 8093 of file docxattributeoutput.cxx.

◆ CharKerning()

void DocxAttributeOutput::CharKerning ( const SvxKerningItem rKerning)
overrideprotectedvirtual

Sfx item RES_CHRATR_KERNING.

Implements AttributeOutputBase.

Definition at line 7899 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharLanguage()

void DocxAttributeOutput::CharLanguage ( const SvxLanguageItem rLanguage)
overrideprotectedvirtual

◆ CharLanguageCJK()

virtual void DocxAttributeOutput::CharLanguageCJK ( const SvxLanguageItem rLanguageItem)
inlineoverrideprotectedvirtual

Sfx item RES_CHRATR_CJK_LANGUAGE.

Implements AttributeOutputBase.

Definition at line 582 of file docxattributeoutput.hxx.

References CharLanguage().

◆ CharLanguageCTL()

virtual void DocxAttributeOutput::CharLanguageCTL ( const SvxLanguageItem rLanguageItem)
inlineoverrideprotectedvirtual

Sfx item RES_CHRATR_CTL_LANGUAGE.

Implements AttributeOutputBase.

Definition at line 597 of file docxattributeoutput.hxx.

References CharLanguage().

◆ CharPosture()

void DocxAttributeOutput::CharPosture ( const SvxPostureItem rPosture)
overrideprotectedvirtual

Sfx item RES_CHRATR_POSTURE.

Implements AttributeOutputBase.

Definition at line 7923 of file docxattributeoutput.cxx.

References FSNS(), SvxPostureItem::GetPosture(), ITALIC_NONE, and m_pSerializer.

◆ CharPostureCJK()

void DocxAttributeOutput::CharPostureCJK ( const SvxPostureItem rPosture)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_POSTURE.

Implements AttributeOutputBase.

Definition at line 8044 of file docxattributeoutput.cxx.

References FSNS(), SvxPostureItem::GetPosture(), ITALIC_NONE, and m_pSerializer.

◆ CharPostureCTL()

void DocxAttributeOutput::CharPostureCTL ( const SvxPostureItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_POSTURE.

Implements AttributeOutputBase.

Definition at line 8073 of file docxattributeoutput.cxx.

References FSNS(), SvxPostureItem::GetPosture(), ITALIC_NONE, and m_pSerializer.

◆ CharRelief()

void DocxAttributeOutput::CharRelief ( const SvxCharReliefItem rRelief)
overrideprotectedvirtual

Sfx item RES_CHRATR_RELIEF.

Implements AttributeOutputBase.

Definition at line 8162 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharRotate()

void DocxAttributeOutput::CharRotate ( const SvxCharRotateItem rRotate)
overrideprotectedvirtual

◆ CharScaleWidth()

void DocxAttributeOutput::CharScaleWidth ( const SvxCharScaleWidthItem rScaleWidth)
overrideprotectedvirtual

Sfx item RES_CHRATR_SCALEW.

Implements AttributeOutputBase.

Definition at line 8153 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharShadow()

void DocxAttributeOutput::CharShadow ( const SvxShadowedItem rShadow)
overrideprotectedvirtual

Sfx item RES_CHRATR_SHADOWED.

Implements AttributeOutputBase.

Definition at line 7931 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ CharTwoLines()

void DocxAttributeOutput::CharTwoLines ( const SvxTwoLinesItem rTwoLines)
overrideprotectedvirtual

◆ CharUnderline()

void DocxAttributeOutput::CharUnderline ( const SvxUnderlineItem rUnderline)
overrideprotectedvirtual

◆ CharWeight()

void DocxAttributeOutput::CharWeight ( const SvxWeightItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_WEIGHT.

Implements AttributeOutputBase.

Definition at line 7985 of file docxattributeoutput.cxx.

References FSNS(), SvxWeightItem::GetWeight(), m_pSerializer, and WEIGHT_BOLD.

◆ CharWeightCJK()

void DocxAttributeOutput::CharWeightCJK ( const SvxWeightItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_WEIGHT.

Implements AttributeOutputBase.

Definition at line 8052 of file docxattributeoutput.cxx.

References FSNS(), SvxWeightItem::GetWeight(), m_pSerializer, and WEIGHT_BOLD.

◆ CharWeightCTL()

void DocxAttributeOutput::CharWeightCTL ( const SvxWeightItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_WEIGHT.

Implements AttributeOutputBase.

Definition at line 8081 of file docxattributeoutput.cxx.

References FSNS(), SvxWeightItem::GetWeight(), m_pSerializer, and WEIGHT_BOLD.

◆ CmdEndField_Impl()

void DocxAttributeOutput::CmdEndField_Impl ( const SwTextNode pNode,
sal_Int32  nPos,
bool  bWriteRun 
)
private

Definition at line 3040 of file docxattributeoutput.cxx.

References DoWriteFieldRunProperties(), FSNS(), m_pSerializer, and nPos.

Referenced by EndField_Impl(), and EndRun().

◆ CmdField_Impl()

void DocxAttributeOutput::CmdField_Impl ( const SwTextNode pNode,
sal_Int32  nPos,
FieldInfos const &  rInfos,
bool  bWriteRun 
)
private

◆ convertToOOXMLHoriOrient()

OString DocxAttributeOutput::convertToOOXMLHoriOrient ( sal_Int16  nOrient,
bool  bIsPosToggle 
)
static

◆ convertToOOXMLHoriOrientRel()

OString DocxAttributeOutput::convertToOOXMLHoriOrientRel ( sal_Int16  nOrientRel)
static

◆ convertToOOXMLVertOrient()

OString DocxAttributeOutput::convertToOOXMLVertOrient ( sal_Int16  nOrient)
static

◆ convertToOOXMLVertOrientRel()

OString DocxAttributeOutput::convertToOOXMLVertOrientRel ( sal_Int16  nOrientRel)
static

◆ DefaultStyle()

void DocxAttributeOutput::DefaultStyle ( )
overridevirtual

Write default style.

Implements AttributeOutputBase.

Definition at line 5058 of file docxattributeoutput.cxx.

References SAL_INFO.

◆ DocDefaults()

void DocxAttributeOutput::DocDefaults ( )

◆ DoWriteAnnotationMarks()

void DocxAttributeOutput::DoWriteAnnotationMarks ( )
private

◆ DoWriteBookmarkEndIfExist()

void DocxAttributeOutput::DoWriteBookmarkEndIfExist ( sal_Int32  nRunPos)
private

◆ DoWriteBookmarksEnd()

void DocxAttributeOutput::DoWriteBookmarksEnd ( std::vector< OUString > &  rEnds)
private

export the end bookmarks

Definition at line 2283 of file docxattributeoutput.cxx.

References BookmarkToWord(), DoWriteBookmarkTagEnd(), DoWriteMoveRangeTagEnd(), and m_rOpenedBookmarksIds.

Referenced by EndRun().

◆ DoWriteBookmarksStart()

void DocxAttributeOutput::DoWriteBookmarksStart ( std::vector< OUString > &  rStarts,
const SwRedlineData pRedlineData = nullptr 
)
private

◆ DoWriteBookmarkStartIfExist()

void DocxAttributeOutput::DoWriteBookmarkStartIfExist ( sal_Int32  nRunPos)
private

◆ DoWriteBookmarkTagEnd()

void DocxAttributeOutput::DoWriteBookmarkTagEnd ( sal_Int32  nId)
private

◆ DoWriteBookmarkTagStart()

void DocxAttributeOutput::DoWriteBookmarkTagStart ( std::u16string_view  bookmarkName)
private

◆ DoWriteCmd()

void DocxAttributeOutput::DoWriteCmd ( std::u16string_view  rCmd)
private

◆ DoWriteFieldRunProperties()

void DocxAttributeOutput::DoWriteFieldRunProperties ( const SwTextNode pNode,
sal_Int32  nPos,
bool  bWriteCombChars = false 
)
private

Writes properties for run that is used to separate field implementation.

There are several runs are used: <w:r> <w:rPr>

Definition at line 3092 of file docxattributeoutput.cxx.

References GetExport(), m_bPreventDoubleFieldsHandling, m_pHyperlinkAttrList, m_pSerializer, m_rExport, nPos, SwWW8AttrIter::OutAttr(), and WriteCollectedRunProperties().

Referenced by CmdEndField_Impl(), CmdField_Impl(), and EndField_Impl().

◆ DoWriteMoveRangeTagEnd()

void DocxAttributeOutput::DoWriteMoveRangeTagEnd ( sal_Int32  nId,
bool  bFrom 
)
private

Definition at line 2213 of file docxattributeoutput.cxx.

References FSNS(), m_pSerializer, m_rSavedBookmarksIds, and nId.

Referenced by DoWriteBookmarksEnd().

◆ DoWriteMoveRangeTagStart()

void DocxAttributeOutput::DoWriteMoveRangeTagStart ( std::u16string_view  bookmarkName,
bool  bFrom,
const SwRedlineData pRedlineData 
)
private

◆ DoWritePermissionsEnd()

void DocxAttributeOutput::DoWritePermissionsEnd ( )
private

export the end permissions

Definition at line 2380 of file docxattributeoutput.cxx.

References DoWritePermissionTagEnd(), and m_rPermissionsEnd.

Referenced by EndRun().

◆ DoWritePermissionsStart()

void DocxAttributeOutput::DoWritePermissionsStart ( )
private

Write the start permissions.

Definition at line 2370 of file docxattributeoutput.cxx.

References DoWritePermissionTagStart(), and m_rPermissionsStart.

Referenced by EndRun().

◆ DoWritePermissionTagEnd()

void DocxAttributeOutput::DoWritePermissionTagEnd ( std::u16string_view  permission)
private

Definition at line 2353 of file docxattributeoutput.cxx.

References BookmarkToWord(), FSNS(), m_pSerializer, o3tl::starts_with(), and u.

Referenced by DoWritePermissionsEnd().

◆ DoWritePermissionTagStart()

void DocxAttributeOutput::DoWritePermissionTagStart ( std::u16string_view  permission)
private

Definition at line 2314 of file docxattributeoutput.cxx.

References BookmarkToWord(), FSNS(), m_pSerializer, o3tl::starts_with(), and u.

Referenced by DoWritePermissionsStart().

◆ DropdownField()

bool DocxAttributeOutput::DropdownField ( const SwField pField)
overrideprotectedvirtual

◆ EmbedFont()

void DocxAttributeOutput::EmbedFont ( std::u16string_view  name,
FontFamily  family,
FontPitch  pitch 
)

Write out the font into the document, if it's an embedded font.

Definition at line 7313 of file docxattributeoutput.cxx.

References EMBED_FONTS, EmbedFontStyle(), IDocumentSettingAccess::get(), SwDoc::getIDocumentSettingAccess(), ITALIC_NONE, ITALIC_NORMAL, MSWordExportBase::m_rDoc, m_rExport, name, WEIGHT_BOLD, and WEIGHT_NORMAL.

Referenced by wwFont::WriteDocx().

◆ EmbedFontStyle()

void DocxAttributeOutput::EmbedFontStyle ( std::u16string_view  name,
int  tag,
FontFamily  family,
FontItalic  italic,
FontWeight  weight,
FontPitch  pitch 
)
private

◆ EmptyParagraph()

void DocxAttributeOutput::EmptyParagraph ( )
overridevirtual

Empty paragraph.

Implements AttributeOutputBase.

Definition at line 1399 of file docxattributeoutput.cxx.

References m_pSerializer.

◆ EndAbstractNumbering()

void DocxAttributeOutput::EndAbstractNumbering ( )
overridevirtual

End of the abstract numbering definition instance.

Reimplemented from AttributeOutputBase.

Definition at line 7548 of file docxattributeoutput.cxx.

References m_pSerializer.

◆ EndField_Impl()

void DocxAttributeOutput::EndField_Impl ( const SwTextNode pNode,
sal_Int32  nPos,
FieldInfos rInfos 
)
private

◆ EndFont()

void DocxAttributeOutput::EndFont ( ) const

End the font.

Definition at line 7256 of file docxattributeoutput.cxx.

References m_pSerializer.

Referenced by wwFont::WriteDocx().

◆ EndParagraph()

void DocxAttributeOutput::EndParagraph ( ww8::WW8TableNodeInfoInner::Pointer_t  pTextNodeInfoInner)
overridevirtual

End of the paragraph.

This is to avoid AlternateContent within another AlternateContent. So when Choice is Open, only write the DML Drawing instead of both DML and VML Drawing in another AlternateContent.

Save the table info's before writing the shape as there might be a new table that might get spawned from within the VML & DML block and alter the contents.

FDO#71834 : Save the table reference attributes before calling WriteDMLTextFrame, otherwise the StartParagraph function will use the previous existing table reference attributes since the variable is being shared.

Implements AttributeOutputBase.

Definition at line 1120 of file docxattributeoutput.cxx.

References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SdtBlockHelper::DeleteAndResetTheLists(), SdtBlockHelper::EndSdtBlock(), FinishTableRowCell(), ww8::Frame::GetFrameFormat(), DocxSdrExport::IsDMLAndVMLDrawingOpen(), DocxSdrExport::IsParagraphHasDrawing(), m_aBookmarksOfParagraphEnd, m_aBookmarksOfParagraphStart, m_aFloatingTablesOfParagraph, m_aFramePr, m_aFramesOfParagraph, m_anchorId, m_aParagraphSdt, m_aRunSdt, m_bAnchorLinkedToNode, m_bPageBreakAfter, m_bParagraphFrameOpen, m_bParagraphOpened, m_bRunTextIsOn, SdtBlockHelper::m_bStartedSdt, TableReference::m_bTableCellOpen, TableReference::m_bTableCellParaSdtOpen, m_bWritingHeaderFooter, m_nHyperLinkCount, SdtBlockHelper::m_nSdtPrToken, TableReference::m_nTableDepth, m_nTextFrameLevel, m_oPostponedCustomShape, m_pSerializer, MSWordExportBase::m_pTableInfo, m_rExport, m_tableReference, m_xTableWrt, nIndex, msword::PageBreak, sax_fastparser::PREPEND, DocxExport::SdrExporter(), SectionBreak(), SetAlternateContentChoiceOpen(), FramePrHelper::SetFrame(), DocxSdrExport::setParagraphHasDrawing(), DocxSdrExport::setParagraphSdtOpen(), Tag_StartParagraph_1, Tag_StartParagraph_2, TextBoxIsFramePr(), DocxSdrExport::writeDMLTextFrame(), DocxSdrExport::writeOnlyTextOfFrame(), WritePostponedCustomShape(), SdtBlockHelper::WriteSdtBlock(), and DocxSdrExport::writeVMLTextFrame().

Referenced by WriteOutliner().

◆ EndParagraphProperties()

void DocxAttributeOutput::EndParagraphProperties ( const SfxItemSet rParagraphMarkerProperties,
const SwRedlineData pRedlineData,
const SwRedlineData pRedlineParagraphMarkerDeleted,
const SwRedlineData pRedlineParagraphMarkerInserted 
)
overridevirtual

Called after we end outputting the attributes.

Implements AttributeOutputBase.

Definition at line 1603 of file docxattributeoutput.cxx.

References COLBRK_NONE, COLBRK_POSTPONE, COLBRK_WRITE, COLBRK_WRITEANDPOSTPONE, EndRedline(), FormatBackground(), FormatBox(), FormatFrameDirection(), FramePrHelper::Frame(), FSNS(), SwFormat::GetAttrSet(), SwFormat::GetBox(), SwFormat::GetFrameDir(), ww8::Frame::GetFrameFormat(), SfxItemSet::GetItem(), ww8::Frame::GetSize(), getSvxBrushItemFromSourceSet(), SwRDFHelper::getTextNodeStatements(), InitCollectedRunProperties(), DocxSdrExport::IsDMLAndVMLDrawingOpen(), m_aFramePr, MSWordExportBase::m_bOutPageDescs, m_bPostponedPageBreak, m_bWritingHeaderFooter, m_nColBreakStatus, TableReference::m_nTableDepth, m_pCharLangAttrList, MSWordExportBase::m_pCurPam, m_pEastAsianLayoutAttrList, m_pFontsAttrList, m_pSerializer, m_rExport, m_tableReference, m_xTableWrt, PopulateFrameProperties(), sax_fastparser::PREPEND, Redline(), RES_BACKGROUND(), rSet, DocxExport::SdrExporter(), FramePrHelper::SetUseFrameBackground(), FramePrHelper::SetUseFrameBorders(), FramePrHelper::SetUseFrameTextDirection(), StartRedline(), Tag_InitCollectedParagraphProperties, Tag_InitCollectedRunProperties, Tag_StartParagraphProperties, TextBoxIsFramePr(), FramePrHelper::UseFrameBackground(), FramePrHelper::UseFrameBorders(), FramePrHelper::UseFrameTextDirection(), WriteCollectedParagraphProperties(), WriteCollectedRunProperties(), XATTR_FILLSTYLE(), and XML_type.

Referenced by WriteOutliner().

◆ EndParaSdtBlock()

void DocxAttributeOutput::EndParaSdtBlock ( )

End possibly opened paragraph sdt block.

Definition at line 6888 of file docxattributeoutput.cxx.

References SdtBlockHelper::EndSdtBlock(), m_aParagraphSdt, SdtBlockHelper::m_bStartedSdt, and m_pSerializer.

Referenced by EndTableCell(), and StartTable().

◆ EndRedline()

void DocxAttributeOutput::EndRedline ( const SwRedlineData pRedlineData,
bool  bLastRun 
)

◆ EndRuby()

void DocxAttributeOutput::EndRuby ( const SwTextNode rNode,
sal_Int32  nPos 
)
overridevirtual

Output ruby end.

Implements AttributeOutputBase.

Definition at line 3838 of file docxattributeoutput.cxx.

References EndRun(), m_pSerializer, nPos, SAL_INFO, and StartRun().

◆ EndRun()

void DocxAttributeOutput::EndRun ( const SwTextNode pNode,
sal_Int32  nPos,
sal_Int32  nLen,
bool  bLastRun = false 
)
overridevirtual

End of the text run.

Implements AttributeOutputBase.

Definition at line 1796 of file docxattributeoutput.cxx.

References CmdEndField_Impl(), sw::Default, SdtBlockHelper::DeleteAndResetTheLists(), DoWriteAnnotationMarks(), DoWriteBookmarkEndIfExist(), DoWriteBookmarksEnd(), DoWriteBookmarksStart(), DoWriteBookmarkStartIfExist(), DoWriteBookmarkTagEnd(), DoWriteBookmarkTagStart(), DoWriteCmd(), DoWritePermissionsEnd(), DoWritePermissionsStart(), ww::eFILLIN, ww::eFORMDROPDOWN, EndField_Impl(), EndRedline(), SdtBlockHelper::EndSdtBlock(), ww::eUNKNOWN, FSNS(), SwTextAttr::GetEnd(), GetExport(), SwInputField::getGrabBagParams(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrAt(), i, DocxSdrExport::IsParagraphHasDrawing(), m_aPostponedFormControls, m_aPostponedMaths, m_aRunSdt, m_bAnchorLinkedToNode, m_bEndCharSdt, m_bRunTextIsOn, SdtBlockHelper::m_bStartedSdt, m_bWritingField, m_closeHyperlinkInPreviousRun, m_closeHyperlinkInThisRun, m_endPageRef, m_Fields, m_hyperLinkAnchor, m_nFieldsInHyperlink, m_nHyperLinkCount, m_nNextBookmarkId, SdtBlockHelper::m_nSdtPrToken, m_pContentControl, m_pHyperlinkAttrList, m_pMoveRedlineData, m_pRedlineData, m_pSerializer, m_rBookmarksEnd, m_rBookmarksStart, m_rExport, m_rFinalBookmarksEnd, m_rFinalBookmarksStart, m_sFieldBkm, m_sRawText, nPos, sax_fastparser::PREPEND, RES_TXTATR_CONTENTCONTROL(), RunText(), DocxExport::SdrExporter(), StartField_Impl(), StartRedline(), Tag_EndRun_1, Tag_EndRun_2, Tag_StartRun_1, Tag_StartRun_2, Tag_StartRun_3, WriteContentControlEnd(), WriteContentControlStart(), WritePendingPlaceholder(), WritePostponedActiveXControl(), WritePostponedFormControl(), WritePostponedMath(), and SdtBlockHelper::WriteSdtBlock().

Referenced by EndRuby(), and StartRuby().

◆ EndRunProperties()

void DocxAttributeOutput::EndRunProperties ( const SwRedlineData pRedlineData)
overridevirtual

◆ EndSection()

void DocxAttributeOutput::EndSection ( )
overridevirtual

End of the section properties.

Implements AttributeOutputBase.

Definition at line 6936 of file docxattributeoutput.cxx.

References m_bOpenedSectPr, m_pSectionSpacingAttrList, m_pSerializer, and Tag_StartSection.

◆ EndStyle()

void DocxAttributeOutput::EndStyle ( )
overridevirtual

End of a style in the styles table.

Implements AttributeOutputBase.

Definition at line 6731 of file docxattributeoutput.cxx.

References m_pSerializer.

◆ EndStyleProperties()

void DocxAttributeOutput::EndStyleProperties ( bool  bParProp)
overridevirtual

◆ EndStyles()

void DocxAttributeOutput::EndStyles ( sal_uInt16  nNumberOfStyles)
overridevirtual

End of the styles table.

Implements AttributeOutputBase.

Definition at line 5047 of file docxattributeoutput.cxx.

References m_pSerializer, m_pTableStyleExport, and MSWORD_MAX_STYLES_LIMIT.

◆ EndTable()

void DocxAttributeOutput::EndTable ( )
private

◆ EndTableCell()

void DocxAttributeOutput::EndTableCell ( sal_uInt32  nCell)
private

◆ EndTableRow()

void DocxAttributeOutput::EndTableRow ( )
private

Definition at line 4710 of file docxattributeoutput.cxx.

References m_LastClosedCell, m_LastOpenCell, and m_pSerializer.

Referenced by FinishTableRowCell().

◆ EndURL()

bool DocxAttributeOutput::EndURL ( bool  )
overridevirtual

Output URL end.

Implements AttributeOutputBase.

Definition at line 3955 of file docxattributeoutput.cxx.

References m_closeHyperlinkInThisRun, m_endPageRef, m_hyperLinkAnchor, and m_nHyperLinkCount.

◆ ExportAsActiveXControl()

bool DocxAttributeOutput::ExportAsActiveXControl ( const SdrObject pObject) const
private

◆ ExportOLESurround()

void DocxAttributeOutput::ExportOLESurround ( const SwFormatSurround rWrap)
private

◆ FieldVanish()

void DocxAttributeOutput::FieldVanish ( const OUString &  rText,
ww::eField  eType,
OUString const *  pBookmarkName 
)
overridevirtual

Implements AttributeOutputBase.

Definition at line 3966 of file docxattributeoutput.cxx.

References All, eType, and WriteField_Impl().

◆ FinishTableRowCell()

void DocxAttributeOutput::FinishTableRowCell ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pInner,
bool  bForceEmptyParagraph = false 
)
private

◆ FlyFrameGraphic()

void DocxAttributeOutput::FlyFrameGraphic ( const SwGrfNode pGrfNode,
const Size rSize,
const SwFlyFrameFormat pOLEFrameFormat,
SwOLENode pOLENode,
const SdrObject pSdrObj = nullptr 
)
private

Output graphic fly frames or replacement graphics for OLE nodes.

For graphic frames, just use the first two parameters, for OLE replacement graphics, set the first as 0, and pass the remaining three.

See also
WriteOLE2Obj()

Definition at line 5149 of file docxattributeoutput.cxx.

References AddExtLst(), oox::core::XmlFilterBase::addRelation(), DocxExport::AddRelation(), Both, CharGrabBag(), CreateDocPrAttrList(), DocxSdrExport::endDMLAnchorInline(), oox::drawingml::ExportRotateClockwisify(), FSNS(), SfxItemSet::Get(), SwFormat::GetAttrSet(), SwFormat::GetBox(), SwNoTextNode::GetDescription(), SfxEnumItemInterface::GetEnumValue(), GetExport(), SwGrfNode::GetFileFilterNms(), DocxExport::GetFilter(), SwNode::GetFlyFormat(), SwOLENode::GetGraphic(), SwGrfNode::GetGrf(), SfxItemSet::GetItemIfSet(), SvxBoxItem::GetLine(), SwFormat::GetName(), SwFlyFrameFormat::GetObjDescription(), SwFlyFrameFormat::GetObjTitle(), oox::getRelationship(), GetSdtEndBefore(), SwContentNode::GetSwAttrSet(), SwNoTextNode::GetTitle(), Size::Height(), SwGrfNode::IsLinkedFile(), m_anchorId, m_pSerializer, m_rDrawingML, m_rExport, o3tl::mm100, OUStringToOString(), rBoxItem, RES_FRMATR_GRABBAG(), RES_GRFATR_DRAWMODE(), RES_GRFATR_MIRRORGRF(), RES_GRFATR_ROTATION(), rSet, SAL_INFO, SAL_WARN, DocxExport::SdrExporter(), oox::drawingml::DrawingML::SetFS(), DocxSdrExport::startDMLAnchorInline(), o3tl::toTwips(), Vertical, Size::Width(), DocxSdrExport::writeBoxItemLine(), DocxSdrExport::writeDMLEffectLst(), oox::drawingml::DrawingML::WriteImage(), and WriteSrcRect().

Referenced by WriteFlyFrame(), WriteOLE(), and WritePostponedGraphic().

◆ FontAlternateName()

void DocxAttributeOutput::FontAlternateName ( const OUString &  rName) const

Alternate name for the font.

Definition at line 7261 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

Referenced by wwFont::WriteDocx().

◆ FontCharset()

void DocxAttributeOutput::FontCharset ( sal_uInt8  nCharSet,
rtl_TextEncoding  nEncoding 
) const

Font charset.

Definition at line 7266 of file docxattributeoutput.cxx.

References oox::core::ECMA_376_1ST_EDITION, FSNS(), GetExport(), and m_pSerializer.

Referenced by wwFont::WriteDocx().

◆ FontFamilyType()

void DocxAttributeOutput::FontFamilyType ( FontFamily  eFamily) const

Font family.

Definition at line 7284 of file docxattributeoutput.cxx.

References FAMILY_DECORATIVE, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, FSNS(), and m_pSerializer.

Referenced by wwFont::WriteDocx().

◆ FontPitchType()

void DocxAttributeOutput::FontPitchType ( FontPitch  ePitch) const

Font pitch.

Definition at line 7300 of file docxattributeoutput.cxx.

References FSNS(), m_pSerializer, PITCH_FIXED, and PITCH_VARIABLE.

Referenced by wwFont::WriteDocx().

◆ FootnoteEndnoteReference()

void DocxAttributeOutput::FootnoteEndnoteReference ( )
protected

Output the footnote/endnote reference (if there's one to output).

Definition at line 8582 of file docxattributeoutput.cxx.

References FSNS(), SwFormatFootnote::GetNumStr(), m_pEndnotesList, m_pFootnotesList, m_pSerializer, nId, nToken, and RunText().

Referenced by EndRunProperties().

◆ FootnoteEndnoteRefTag()

bool DocxAttributeOutput::FootnoteEndnoteRefTag ( )
overridevirtual

◆ FootnotesEndnotes()

void DocxAttributeOutput::FootnotesEndnotes ( bool  bFootnotes)

◆ FormatAnchor()

void DocxAttributeOutput::FormatAnchor ( const SwFormatAnchor )
overrideprotectedvirtual

Sfx item RES_ANCHOR.

Implements AttributeOutputBase.

Definition at line 9461 of file docxattributeoutput.cxx.

◆ FormatBackground()

void DocxAttributeOutput::FormatBackground ( const SvxBrushItem rBrush)
overrideprotectedvirtual

◆ FormatBox()

void DocxAttributeOutput::FormatBox ( const SvxBoxItem rBox)
overrideprotectedvirtual

Sfx item RES_BOX.

Implements AttributeOutputBase.

Definition at line 9623 of file docxattributeoutput.cxx.

References sax_fastparser::FastAttributeList::add(), AddToAttrList(), OutputBorderOptions::aShadowLocation, o3tl::convert(), editeng::ConvertBorderWidthToWord(), msfilter::util::ConvertColor(), SwFormat::DerivedFrom(), SwFrameFormat::FindRealSdrObject(), FormatFillGradient(), FormatFillStyle(), FramePrHelper::Frame(), SwFormat::GetAttrSet(), DocxSdrExport::getBodyPrAttrList(), editeng::SvxBorderLine::GetBorderLineStyle(), SvxBoxItem::GetBottom(), DocxSdrExport::getDashLineStyle(), SvxBoxItem::GetDistance(), DocxSdrExport::getDMLTextFrameSyntax(), GetExport(), DocxSdrExport::getFlyAttrList(), ww8::Frame::GetFrameFormat(), SfxItemSet::GetItem(), SvxBoxItem::GetLeft(), SvxShadowItem::GetLocation(), SvxBoxItem::GetRight(), DocxSdrExport::getTextboxAttrList(), DocxSdrExport::getTextFrameSyntax(), SvxBoxItem::GetTop(), GetWritingHeaderFooter(), MSWordExportBase::HasItem(), impl_borders(), o3tl::in, lcl_getBoxBorderOptions(), m_aFramePr, m_bIgnoreNextFill, m_bOpenedSectPr, TableReference::m_nTableDepth, m_oFillStyle, MSWordExportBase::m_pCurrentStyle, MSWordExportBase::m_pParentFrame, m_pSerializer, MSWordExportBase::m_pStyAttr, m_rDrawingML, m_rExport, m_tableReference, m_xTableWrt, RES_BOX(), RES_SHADOW(), sColor, DocxExport::SdrExporter(), oox::drawingml::DrawingML::SetFS(), FramePrHelper::SetUseFrameBorders(), SvxBoxItem::SvxLineToLine(), o3tl::twip, FramePrHelper::UseFrameBorders(), oox::drawingml::DrawingML::WriteBlipFill(), DocxSdrExport::writeBoxItemLine(), XATTR_FILLGRADIENT(), and XATTR_FILLSTYLE().

Referenced by EndParagraphProperties().

◆ FormatColumns_Impl()

void DocxAttributeOutput::FormatColumns_Impl ( sal_uInt16  nCols,
const SwFormatCol rCol,
bool  bEven,
SwTwips  nPageSize 
)
overrideprotectedvirtual

◆ FormatDrop()

void DocxAttributeOutput::FormatDrop ( const SwTextNode rNode,
const SwFormatDrop rSwFormatDrop,
sal_uInt16  nStyle,
ww8::WW8TableNodeInfo::Pointer_t  pTextNodeInfo,
ww8::WW8TableNodeInfoInner::Pointer_t  pTextNodeInfoInner 
)
overridevirtual

Implements AttributeOutputBase.

Definition at line 4208 of file docxattributeoutput.cxx.

References SAL_INFO.

◆ FormatFillGradient()

void DocxAttributeOutput::FormatFillGradient ( const XFillGradientItem rFillGradient)
overrideprotectedvirtual

◆ FormatFillStyle()

void DocxAttributeOutput::FormatFillStyle ( const XFillStyleItem rFillStyle)
overrideprotectedvirtual

Sfx item RES_FILL_STYLE.

Implements AttributeOutputBase.

Definition at line 9553 of file docxattributeoutput.cxx.

References m_bIgnoreNextFill, m_oFillStyle, m_pBackgroundAttrList, and m_sOriginalBackgroundColor.

Referenced by FormatBox().

◆ FormatFirstLineIndent()

void DocxAttributeOutput::FormatFirstLineIndent ( const SvxFirstLineIndentItem rFirstLine)
overrideprotectedvirtual

Sfx item RES_MARGIN_FIRSTLINE.

Implements AttributeOutputBase.

Definition at line 9085 of file docxattributeoutput.cxx.

References AddToAttrList(), FSNS(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), and m_pLRSpaceAttrList.

◆ FormatFrameDirection()

void DocxAttributeOutput::FormatFrameDirection ( const SvxFrameDirectionItem rDirection)
overrideprotectedvirtual

◆ FormatFrameSize()

void DocxAttributeOutput::FormatFrameSize ( const SwFormatFrameSize rSize)
overrideprotectedvirtual

◆ FormatHorizOrientation()

void DocxAttributeOutput::FormatHorizOrientation ( const SwFormatHoriOrient rFlyHori)
overrideprotectedvirtual

◆ FormatKeep()

void DocxAttributeOutput::FormatKeep ( const SvxFormatKeepItem rItem)
overrideprotectedvirtual

Sfx item RES_KEEP.

Implements AttributeOutputBase.

Definition at line 9828 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ FormatLineNumbering()

void DocxAttributeOutput::FormatLineNumbering ( const SwFormatLineNumber rNumbering)
overrideprotectedvirtual

Sfx item RES_LINENUMBER.

Implements AttributeOutputBase.

Definition at line 9867 of file docxattributeoutput.cxx.

References SwFormatLineNumber::IsCount(), and m_pSerializer.

◆ FormatLRSpace()

void DocxAttributeOutput::FormatLRSpace ( const SvxLRSpaceItem rLRSpace)
overrideprotectedvirtual

◆ FormatPaperBin()

void DocxAttributeOutput::FormatPaperBin ( const SvxPaperBinItem )
overrideprotectedvirtual

Sfx item RES_PAPER_BIN.

Implements AttributeOutputBase.

Definition at line 9080 of file docxattributeoutput.cxx.

References SAL_INFO.

◆ FormatRightMargin()

void DocxAttributeOutput::FormatRightMargin ( const SvxRightMarginItem rRightMargin)
overrideprotectedvirtual

◆ FormatSurround()

void DocxAttributeOutput::FormatSurround ( const SwFormatSurround rSurround)
overrideprotectedvirtual

◆ FormatTextGrid()

void DocxAttributeOutput::FormatTextGrid ( const SwTextGridItem rGrid)
overrideprotectedvirtual

◆ FormatTextLeftMargin()

void DocxAttributeOutput::FormatTextLeftMargin ( const SvxTextLeftMarginItem rTextLeftMargin)
overrideprotectedvirtual

◆ FormatULSpace()

void DocxAttributeOutput::FormatULSpace ( const SvxULSpaceItem rULSpace)
overrideprotectedvirtual

◆ FormatVertOrientation()

void DocxAttributeOutput::FormatVertOrientation ( const SwFormatVertOrient rFlyVert)
overrideprotectedvirtual

◆ GetDrawingML()

oox::drawingml::DrawingML & DocxAttributeOutput::GetDrawingML ( )
overridevirtual

Implements oox::vml::VMLTextExport.

Definition at line 6562 of file docxattributeoutput.cxx.

References m_rDrawingML.

◆ GetExport() [1/2]

const DocxExport & DocxAttributeOutput::GetExport ( ) const
inline

Definition at line 1090 of file docxattributeoutput.hxx.

References GetExport().

Referenced by GetExport().

◆ GetExport() [2/2]

DocxExport & DocxAttributeOutput::GetExport ( )
overridevirtual

◆ GetOLEStyle()

OString DocxAttributeOutput::GetOLEStyle ( const SwFlyFrameFormat rFormat,
const Size rSize 
)
staticprivate

◆ GetSdtEndBefore()

void DocxAttributeOutput::GetSdtEndBefore ( const SdrObject pSdrObj)

Definition at line 3594 of file docxattributeoutput.cxx.

References m_aRunSdt, m_bEndCharSdt, and SdtBlockHelper::m_bStartedSdt.

Referenced by FlyFrameGraphic().

◆ GetSerializer()

const ::sax_fastparser::FSHelperPtr & DocxAttributeOutput::GetSerializer ( ) const
inline

Occasionally need to use this serializer from the outside.

Definition at line 1096 of file docxattributeoutput.hxx.

References m_pSerializer.

◆ GetUnoTextFrame()

uno::Reference< css::text::XTextFrame > DocxAttributeOutput::GetUnoTextFrame ( css::uno::Reference< css::drawing::XShape >  xShape)
overridevirtual

◆ GetWritingHeaderFooter()

bool DocxAttributeOutput::GetWritingHeaderFooter ( ) const
inline

Definition at line 1128 of file docxattributeoutput.hxx.

References m_bWritingHeaderFooter.

Referenced by FormatBox().

◆ HasEndnotes()

bool DocxAttributeOutput::HasEndnotes ( ) const

Do we have any endnotes?

Definition at line 10171 of file docxattributeoutput.cxx.

References m_pEndnotesList.

Referenced by SectFootnoteEndnotePr().

◆ HasFootnotes()

bool DocxAttributeOutput::HasFootnotes ( ) const

Do we have any footnotes?

Definition at line 10166 of file docxattributeoutput.cxx.

References m_pFootnotesList.

Referenced by SectFootnoteEndnotePr().

◆ HasPostitFields()

bool DocxAttributeOutput::HasPostitFields ( ) const

Definition at line 10176 of file docxattributeoutput.cxx.

References m_postitFields.

◆ HiddenField()

void DocxAttributeOutput::HiddenField ( const SwField rField)
overrideprotectedvirtual

Implements AttributeOutputBase.

Definition at line 8249 of file docxattributeoutput.cxx.

References SAL_INFO.

◆ ImplCellMargins()

void DocxAttributeOutput::ImplCellMargins ( sax_fastparser::FSHelperPtr const &  pSerializer,
const SvxBoxItem rBox,
sal_Int32  tag,
bool  bUseStartEnd,
const SvxBoxItem pDefaultMargins = nullptr 
)
static

Definition at line 4494 of file docxattributeoutput.cxx.

References FSNS(), SvxBoxItem::GetDistance(), i, and XML_type.

Referenced by TableCellProperties(), and TableDefaultCellMargins().

◆ InitCollectedParagraphProperties()

void DocxAttributeOutput::InitCollectedParagraphProperties ( )
private

Initialize the structures where we are going to collect some of the paragraph properties.

Some of the properties have to be collected from more sources, and are actually not written between StartParagraphProperties and EndParagraphProperties. They are output in this method, which is supposed to be called just before outputting </rPr> whenever it is done.

Definition at line 1463 of file docxattributeoutput.cxx.

References comphelper::containerToSequence(), FSNS(), m_pLRSpaceAttrList, m_pParagraphSpacingAttrList, m_pSerializer, and Tag_InitCollectedParagraphProperties.

Referenced by StartParagraphProperties(), and StartStyleProperties().

◆ InitCollectedRunProperties()

void DocxAttributeOutput::InitCollectedRunProperties ( )
private

Initialize the structures where we are going to collect some of the run properties.

This is an equivalent of InitCollectedParagraphProperties(), resp. WriteCollectectedParagraphProperties().

See also
InitCollectedParagraphProperties().

Definition at line 3265 of file docxattributeoutput.cxx.

References comphelper::containerToSequence(), FSNS(), m_pCharLangAttrList, m_pEastAsianLayoutAttrList, m_pFontsAttrList, m_pSerializer, and Tag_InitCollectedRunProperties.

Referenced by EndParagraphProperties(), StartRunProperties(), and StartStyleProperties().

◆ InitTableHelper()

void DocxAttributeOutput::InitTableHelper ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pTableTextNodeInfoInner)
private

◆ IsAlternateContentChoiceOpen()

bool DocxAttributeOutput::IsAlternateContentChoiceOpen ( ) const
inline

◆ IsFirstParagraph()

bool DocxAttributeOutput::IsFirstParagraph ( ) const
inline

Definition at line 1132 of file docxattributeoutput.hxx.

References m_bIsFirstParagraph.

◆ IsFlyProcessingPostponed()

bool DocxAttributeOutput::IsFlyProcessingPostponed ( )
overridevirtual

Is processing of fly postponed ?

Reimplemented from AttributeOutputBase.

Definition at line 1772 of file docxattributeoutput.cxx.

References m_bPostponedProcessingFly.

◆ LatentStyles()

void DocxAttributeOutput::LatentStyles ( )

◆ MaybeOutputBrushItem()

bool DocxAttributeOutput::MaybeOutputBrushItem ( SfxItemSet const &  rSet)
overridevirtual

◆ NumberingDefinition()

void DocxAttributeOutput::NumberingDefinition ( sal_uInt16  nId,
const SwNumRule rRule 
)
overridevirtual

Definition of a numbering instance.

Implements AttributeOutputBase.

Definition at line 7433 of file docxattributeoutput.cxx.

References FSNS(), SwNumRule::IsContinusNum(), m_pSerializer, nId, and SAL_INFO.

◆ NumberingLevel()

void DocxAttributeOutput::NumberingLevel ( sal_uInt8  nLevel,
sal_uInt16  nStart,
sal_uInt16  nNumberingType,
SvxAdjust  eAdjust,
const sal_uInt8 pNumLvlPos,
sal_uInt8  nFollow,
const wwFont pFont,
const SfxItemSet pOutSet,
sal_Int16  nIndentAt,
sal_Int16  nFirstLineIndex,
sal_Int16  nListTabPos,
const OUString &  rNumberingString,
const SvxBrushItem pBrush,
bool  isLegal 
)
overridevirtual

◆ OutlineNumbering()

void DocxAttributeOutput::OutlineNumbering ( sal_uInt8  nLvl)
overridevirtual

Numbering rule and Id.

Implements AttributeOutputBase.

Definition at line 6772 of file docxattributeoutput.cxx.

◆ OutputDefaultItem()

void DocxAttributeOutput::OutputDefaultItem ( const SfxPoolItem rHt)

Similar to OutputItem(), but write something only if it is not the default.

This is to output the docDefaults, and we should write something out only in case it is not what MSO already uses for the document by default.

Definition at line 4838 of file docxattributeoutput.cxx.

References SvxParaVertAlignItem::Automatic, COL_AUTO(), Count, SvxBoxItem::GetBottom(), GetCaseMap(), SvxBrushItem::GetColor(), SvxBrushItem::GetGraphic(), SvxBrushItem::GetGraphicObject(), SvxBoxItem::GetLeft(), SvxBoxItem::GetRight(), SvxBrushItem::GetShadingValue(), SvxBoxItem::GetSmallestDistance(), SvxBoxItem::GetTop(), GetValue, ITALIC_NONE, LINESTYLE_NONE, AttributeOutputBase::OutputItem(), rBoxItem, RES_CHRATR_AUTOKERN(), RES_CHRATR_BACKGROUND(), RES_CHRATR_BLINK(), RES_CHRATR_BOX(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CONTOUR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_EMPHASIS_MARK(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_GRABBAG(), RES_CHRATR_HIDDEN(), RES_CHRATR_HIGHLIGHT(), RES_CHRATR_KERNING(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), RES_CHRATR_RELIEF(), RES_CHRATR_ROTATE(), RES_CHRATR_SCALEW(), RES_CHRATR_SHADOWED(), RES_CHRATR_TWO_LINES(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_PARATR_ADJUST(), RES_PARATR_FORBIDDEN_RULES(), RES_PARATR_HANGINGPUNCTUATION(), RES_PARATR_HYPHENZONE(), RES_PARATR_LINESPACING(), RES_PARATR_NUMRULE(), RES_PARATR_SCRIPTSPACE(), RES_PARATR_SNAPTOGRID(), RES_PARATR_SPLIT(), RES_PARATR_TABSTOP(), RES_PARATR_VERTALIGN(), RES_PARATR_WIDOWS(), SAL_INFO, STRIKEOUT_NONE, WEIGHT_NORMAL, and SfxPoolItem::Which().

Referenced by DocDefaults().

◆ OutputFlyFrame_Impl()

void DocxAttributeOutput::OutputFlyFrame_Impl ( const ww8::Frame rFormat,
const Point rNdTopLeft 
)
overrideprotectedvirtual

Output frames - the implementation.

The old OutputFlyFrame_Impl() moved to WriteFlyFrame(). Now if a frame anchored inside another frame, it will not be exported immediately, because OOXML does not support that feature, instead it postponed and exported later when the original shape closed.

Implements AttributeOutputBase.

Definition at line 6348 of file docxattributeoutput.cxx.

References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), ww8::Frame::GetContentNode(), SwNode::GetFlyFormat(), ww8::Frame::GetFrameFormat(), SwFormat::GetHoriOrient(), SwFormat::GetVertOrient(), i, ww8::Frame::IsInline(), m_nEmbedFlyLevel, m_vPostponedFlys, and WriteFlyFrame().

◆ OverrideNumberingDefinition()

void DocxAttributeOutput::OverrideNumberingDefinition ( SwNumRule const &  rRule,
sal_uInt16  nNum,
sal_uInt16  nAbstractNum,
const std::map< size_t, size_t > &  rLevelOverrides 
)
overridevirtual

◆ PageBreakBefore()

void DocxAttributeOutput::PageBreakBefore ( bool  bBreak)
overridevirtual

Page break As a paragraph property - the paragraph should be on the next page.

Implements AttributeOutputBase.

Definition at line 6785 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ ParaAdjust()

void DocxAttributeOutput::ParaAdjust ( const SvxAdjustItem rAdjust)
overrideprotectedvirtual

◆ ParaForbiddenRules()

void DocxAttributeOutput::ParaForbiddenRules ( const SfxBoolItem rItem)
overrideprotectedvirtual

Sfx item RES_PARATR_FORBIDDEN_RULES.

Implements AttributeOutputBase.

Definition at line 9001 of file docxattributeoutput.cxx.

References FSNS(), SfxBoolItem::GetValue(), and m_pSerializer.

◆ ParaGrabBag()

void DocxAttributeOutput::ParaGrabBag ( const SfxGrabBagItem rItem)
overrideprotectedvirtual

◆ ParagraphStyle()

void DocxAttributeOutput::ParagraphStyle ( sal_uInt16  nStyle)
overridevirtual

Output style.

Implements AttributeOutputBase.

Definition at line 4213 of file docxattributeoutput.cxx.

References FSNS(), m_pSerializer, MSWordExportBase::m_pStyles, and m_rExport.

◆ ParaHangingPunctuation()

void DocxAttributeOutput::ParaHangingPunctuation ( const SfxBoolItem rItem)
overrideprotectedvirtual

Sfx item RES_PARATR_HANGINGPUNCTUATION.

Implements AttributeOutputBase.

Definition at line 8995 of file docxattributeoutput.cxx.

References FSNS(), SfxBoolItem::GetValue(), and m_pSerializer.

◆ ParaHyphenZone()

void DocxAttributeOutput::ParaHyphenZone ( const SvxHyphenZoneItem rHyphenZone)
overrideprotectedvirtual

Sfx item RES_PARATR_HYPHENZONE.

Implements AttributeOutputBase.

Definition at line 8953 of file docxattributeoutput.cxx.

References FSNS(), SvxHyphenZoneItem::IsHyphen(), and m_pSerializer.

◆ ParaLineSpacing_Impl()

void DocxAttributeOutput::ParaLineSpacing_Impl ( short  nSpace,
short  nMulti 
)
overrideprotectedvirtual

Sfx item RES_PARATR_LINESPACING.

Implements AttributeOutputBase.

Definition at line 8750 of file docxattributeoutput.cxx.

References AddToAttrList(), FSNS(), and m_pParagraphSpacingAttrList.

◆ ParaNumRule_Impl()

void DocxAttributeOutput::ParaNumRule_Impl ( const SwTextNode pTextNd,
sal_Int32  nLvl,
sal_Int32  nNumId 
)
overrideprotectedvirtual

◆ ParaOutlineLevel()

void DocxAttributeOutput::ParaOutlineLevel ( const SfxUInt16Item rItem)
overrideprotectedvirtual

◆ ParaScriptSpace()

void DocxAttributeOutput::ParaScriptSpace ( const SfxBoolItem rScriptSpace)
overrideprotectedvirtual

Sfx item RES_PARATR_SCRIPTSPACE.

Implements AttributeOutputBase.

Definition at line 8989 of file docxattributeoutput.cxx.

References FSNS(), SfxBoolItem::GetValue(), and m_pSerializer.

◆ ParaSnapToGrid()

void DocxAttributeOutput::ParaSnapToGrid ( const SvxParaGridItem rGrid)
overrideprotectedvirtual

Sfx item RES_PARATR_SNAPTOGRID.

Implements AttributeOutputBase.

Definition at line 9034 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ ParaSplit()

void DocxAttributeOutput::ParaSplit ( const SvxFormatSplitItem rSplit)
overrideprotectedvirtual

Sfx item RES_PARATR_SPLIT.

Implements AttributeOutputBase.

Definition at line 8833 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ ParaTabStop()

void DocxAttributeOutput::ParaTabStop ( const SvxTabStopItem rTabStop)
overrideprotectedvirtual

◆ ParaVerticalAlign()

void DocxAttributeOutput::ParaVerticalAlign ( const SvxParaVertAlignItem rAlign)
overrideprotectedvirtual

◆ ParaWidows()

void DocxAttributeOutput::ParaWidows ( const SvxWidowsItem rWidows)
overrideprotectedvirtual

Sfx item RES_PARATR_WIDOWS.

Implements AttributeOutputBase.

Definition at line 8841 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ PlaceholderField()

bool DocxAttributeOutput::PlaceholderField ( const SwField pField)
overrideprotectedvirtual

Implements AttributeOutputBase.

Definition at line 8400 of file docxattributeoutput.cxx.

References m_PendingPlaceholder.

◆ popFromTableExportContext()

void DocxAttributeOutput::popFromTableExportContext ( DocxTableExportContext const &  rContext)

◆ PopulateFrameProperties()

void DocxAttributeOutput::PopulateFrameProperties ( const SwFrameFormat pFrameFormat,
const Size rSize 
)
private

◆ PostitField()

void DocxAttributeOutput::PostitField ( const SwField pField)
overrideprotectedvirtual

◆ PostponeOLE()

void DocxAttributeOutput::PostponeOLE ( SwOLENode rNode,
const Size rSize,
const SwFlyFrameFormat pFlyFrameFormat 
)
private

Definition at line 5744 of file docxattributeoutput.cxx.

References m_oPostponedOLEs, and WriteOLE().

Referenced by WriteOLE2Obj().

◆ pushToTableExportContext()

void DocxAttributeOutput::pushToTableExportContext ( DocxTableExportContext rContext)

◆ RawText()

void DocxAttributeOutput::RawText ( const OUString &  rText,
rtl_TextEncoding  eCharSet 
)
overridevirtual

Output text (without markup).

Implements AttributeOutputBase.

Definition at line 3778 of file docxattributeoutput.cxx.

References m_sRawText.

◆ Redline()

void DocxAttributeOutput::Redline ( const SwRedlineData pRedline)
overridevirtual

◆ RefField()

void DocxAttributeOutput::RefField ( const SwField rField,
const OUString &  rRef 
)
overrideprotectedvirtual

◆ ResetFlyProcessingFlag()

void DocxAttributeOutput::ResetFlyProcessingFlag ( )
overridevirtual

Reset the flag for FlyProcessing.

Reimplemented from AttributeOutputBase.

Definition at line 1767 of file docxattributeoutput.cxx.

References m_bPostponedProcessingFly.

◆ RTLAndCJKState()

void DocxAttributeOutput::RTLAndCJKState ( bool  bIsRTL,
sal_uInt16  nScript 
)
overridevirtual

Export the state of RTL/CJK.

Implements AttributeOutputBase.

Definition at line 399 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ RunText()

void DocxAttributeOutput::RunText ( const OUString &  rText,
rtl_TextEncoding  eCharSet = RTL_TEXTENCODING_UTF8,
const OUString &  rSymbolFont = OUString() 
)
overridevirtual

◆ SectFootnoteEndnotePr()

void DocxAttributeOutput::SectFootnoteEndnotePr ( )
overridevirtual

◆ SectionBiDi()

void DocxAttributeOutput::SectionBiDi ( bool  bBiDi)
overridevirtual

Columns populated from right/numbers on the right side?

Implements AttributeOutputBase.

Definition at line 7078 of file docxattributeoutput.cxx.

References m_pSerializer.

◆ SectionBreak()

void DocxAttributeOutput::SectionBreak ( sal_uInt8  nC,
bool  bBreakAfter,
const WW8_SepInfo pSectionInfo = nullptr,
bool  bExtraPageBreak = false 
)
overridevirtual

◆ SectionBreaks()

void DocxAttributeOutput::SectionBreaks ( const SwNode rNode)
overridevirtual

◆ SectionFormProtection()

void DocxAttributeOutput::SectionFormProtection ( bool  bProtected)
overridevirtual

Protection of forms.

Implements AttributeOutputBase.

Definition at line 6951 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ SectionLineNumbering()

void DocxAttributeOutput::SectionLineNumbering ( sal_uLong  nRestartNo,
const SwLineNumberInfo rLnNumInfo 
)
overridevirtual

◆ SectionPageBorders()

void DocxAttributeOutput::SectionPageBorders ( const SwFrameFormat pFormat,
const SwFrameFormat pFirstPageFormat 
)
overridevirtual

◆ SectionPageNumbering()

void DocxAttributeOutput::SectionPageNumbering ( sal_uInt16  nNumType,
const ::std::optional< sal_uInt16 > &  oPageRestartNumber 
)
overridevirtual

The style of the page numbers.

Implements AttributeOutputBase.

Definition at line 7193 of file docxattributeoutput.cxx.

References FSNS(), lcl_ConvertNumberingType(), m_pSerializer, nNumType, and SAL_INFO.

◆ SectionRtlGutter()

void DocxAttributeOutput::SectionRtlGutter ( const SfxBoolItem rRtlGutter)
overrideprotectedvirtual

RES_RTL_GUTTER.

Implements AttributeOutputBase.

Definition at line 6959 of file docxattributeoutput.cxx.

References SfxBoolItem::GetValue(), and m_pSerializer.

◆ SectionTitlePage()

void DocxAttributeOutput::SectionTitlePage ( )
overridevirtual

Has different headers/footers for the title page.

Implements AttributeOutputBase.

Definition at line 7016 of file docxattributeoutput.cxx.

References m_pSerializer.

◆ SectionType()

void DocxAttributeOutput::SectionType ( sal_uInt8  nBreakCode)
overridevirtual

The type of breaking.

Implements AttributeOutputBase.

Definition at line 7215 of file docxattributeoutput.cxx.

References FSNS(), m_pSerializer, and XML_type.

◆ SetAlternateContentChoiceOpen()

void DocxAttributeOutput::SetAlternateContentChoiceOpen ( bool  bAltContentChoiceOpen)
inline

Definition at line 1129 of file docxattributeoutput.hxx.

References m_bAlternateContentChoiceOpen.

Referenced by EndParagraph().

◆ SetAnchorIsLinkedToNode()

void DocxAttributeOutput::SetAnchorIsLinkedToNode ( bool  )
overridevirtual

If the node has an anchor linked.

Reimplemented from AttributeOutputBase.

Definition at line 1762 of file docxattributeoutput.cxx.

References m_bAnchorLinkedToNode.

◆ SetField()

void DocxAttributeOutput::SetField ( const SwField rField,
ww::eField  eType,
const OUString &  rCmd 
)
overrideprotectedvirtual

Implements AttributeOutputBase.

Definition at line 8429 of file docxattributeoutput.cxx.

References eType, GetExport(), and DocxExport::OutputField().

◆ SetSerializer()

void DocxAttributeOutput::SetSerializer ( ::sax_fastparser::FSHelperPtr const &  pSerializer)

For e.g. the output of the styles, we need to switch the serializer to another one.

Definition at line 10160 of file docxattributeoutput.cxx.

References m_pSerializer, and m_pTableStyleExport.

◆ SetStateOfFlyFrame()

void DocxAttributeOutput::SetStateOfFlyFrame ( FlyProcessingState  )
overridevirtual

Set the state of the Fly at current position.

Reimplemented from AttributeOutputBase.

Definition at line 1757 of file docxattributeoutput.cxx.

References m_nStateOfFlyFrame.

◆ SetWritingHeaderFooter()

void DocxAttributeOutput::SetWritingHeaderFooter ( bool  bWritingHeaderFooter)
inline

Definition at line 1127 of file docxattributeoutput.hxx.

References m_bWritingHeaderFooter.

◆ StartAbstractNumbering()

void DocxAttributeOutput::StartAbstractNumbering ( sal_uInt16  nId)
overridevirtual

Start of the abstract numbering definition instance.

Reimplemented from AttributeOutputBase.

Definition at line 7540 of file docxattributeoutput.cxx.

References FSNS(), SwNumRule::IsOutlineRule(), m_bExportingOutline, m_pSerializer, MSWordExportBase::m_pUsedNumTable, m_rExport, and nId.

◆ StartField_Impl()

void DocxAttributeOutput::StartField_Impl ( const SwTextNode pNode,
sal_Int32  nPos,
FieldInfos const &  rInfos,
bool  bWriteRun = false 
)
private

◆ StartFont()

void DocxAttributeOutput::StartFont ( const OUString &  rFamilyName) const

Start the font.

Definition at line 7251 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

Referenced by wwFont::WriteDocx().

◆ StartParagraph()

sal_Int32 DocxAttributeOutput::StartParagraph ( ww8::WW8TableNodeInfo::Pointer_t  pTextNodeInfo,
bool  bGenerateParaId 
)
overridevirtual

◆ StartParagraphProperties()

void DocxAttributeOutput::StartParagraphProperties ( )
overridevirtual

◆ StartRedline()

void DocxAttributeOutput::StartRedline ( const SwRedlineData pRedlineData,
bool  bLastRun 
)

◆ StartRuby()

void DocxAttributeOutput::StartRuby ( const SwTextNode rNode,
sal_Int32  nPos,
const SwFormatRuby rRuby 
)
overridevirtual

◆ StartRun()

void DocxAttributeOutput::StartRun ( const SwRedlineData pRedlineData,
sal_Int32  nPos,
bool  bSingleEmptyRun = false 
)
overridevirtual

Start of the text run.

Implements AttributeOutputBase.

Definition at line 1777 of file docxattributeoutput.cxx.

References m_pRedlineData, m_pSerializer, Tag_StartRun_1, Tag_StartRun_2, and Tag_StartRun_3.

Referenced by EndRuby(), and StartRuby().

◆ StartRunProperties()

void DocxAttributeOutput::StartRunProperties ( )
overridevirtual

◆ StartSection()

void DocxAttributeOutput::StartSection ( )
overridevirtual

Start of the section properties.

Implements AttributeOutputBase.

Definition at line 6897 of file docxattributeoutput.cxx.

References comphelper::containerToSequence(), FSNS(), m_bHadSectPr, m_bOpenedSectPr, m_pSerializer, Tag_StartSection, and XML_type.

◆ StartStyle()

void DocxAttributeOutput::StartStyle ( const OUString &  rName,
StyleType  eType,
sal_uInt16  nBase,
sal_uInt16  nNext,
sal_uInt16  nLink,
sal_uInt16  nWwId,
sal_uInt16  nSlot,
bool  bAutoUpdate 
)
overridevirtual

◆ StartStyleProperties()

void DocxAttributeOutput::StartStyleProperties ( bool  bParProp,
sal_uInt16  nStyle 
)
overridevirtual

Start of (paragraph or run) properties of a style.

Implements AttributeOutputBase.

Definition at line 6736 of file docxattributeoutput.cxx.

References InitCollectedParagraphProperties(), InitCollectedRunProperties(), and m_pSerializer.

Referenced by DocDefaults().

◆ StartStyles()

void DocxAttributeOutput::StartStyles ( )
overridevirtual

Start of the styles table.

Implements AttributeOutputBase.

Definition at line 4745 of file docxattributeoutput.cxx.

References DocDefaults(), FSNS(), GetExport(), LatentStyles(), and m_pSerializer.

◆ StartTable()

void DocxAttributeOutput::StartTable ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pTableTextNodeInfoInner)
private

◆ StartTableCell()

void DocxAttributeOutput::StartTableCell ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pTableTextNodeInfoInner,
sal_uInt32  nCell,
sal_uInt32  nRow 
)
private

◆ StartTableRow()

void DocxAttributeOutput::StartTableRow ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pTableTextNodeInfoInner)
private

◆ StartURL()

bool DocxAttributeOutput::StartURL ( const OUString &  rUrl,
const OUString &  rTarget 
)
overridevirtual

◆ SyncNodelessCells()

void DocxAttributeOutput::SyncNodelessCells ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pInner,
sal_Int32  nCell,
sal_uInt32  nRow 
)
private

◆ TableBackgrounds()

void DocxAttributeOutput::TableBackgrounds ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TableBidi()

void DocxAttributeOutput::TableBidi ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TableCanSplit()

void DocxAttributeOutput::TableCanSplit ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TableCellProperties()

void DocxAttributeOutput::TableCellProperties ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pTableTextNodeInfoInner,
sal_uInt32  nCell,
sal_uInt32  nRow 
)
private

◆ TableCellRedline()

void DocxAttributeOutput::TableCellRedline ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TableDefaultBorders()

void DocxAttributeOutput::TableDefaultBorders ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

Implements AttributeOutputBase.

Definition at line 523 of file docxtableexport.cxx.

Referenced by TableDefinition().

◆ TableDefaultCellMargins()

void DocxAttributeOutput::TableDefaultCellMargins ( ww8::WW8TableNodeInfoInner::Pointer_t const &  pTableTextNodeInfoInner)

◆ TableDefinition()

void DocxAttributeOutput::TableDefinition ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

As per ECMA Specification : ECMA-376, Second Edition, Part 1 - Fundamentals And Markup Language Reference [ 17.18.90 ST_TableWidth (Table Width Units)] http://www.schemacentral.com/sc/ooxml/a-w_type-7.html

Fiftieths of a Percent : http://startbigthinksmall.wordpress.com/2010/01/04/points-inches-and-emus-measuring-units-in-office-open-xml/ pct Width is in Fiftieths of a Percent

ex. If the Table width is 50% then Width in Fiftieths of a percent is (50 * 50) % or 0.5 * 5000 = 2500pct

Implements AttributeOutputBase.

Definition at line 173 of file docxtableexport.cxx.

References SvxBoxItem::CalcLineWidth(), COL_AUTO(), comphelper::containerToSequence(), msfilter::util::ConvertColor(), DocxStringGetToken(), oox::core::ECMA_376_1ST_EDITION, FSNS(), SwFormat::GetAttrSet(), SwFormat::GetBox(), SvxBrushItem::GetColor(), AttributeOutputBase::GetColumnWidths(), SvxBoxItem::GetDistance(), GetExport(), DocxExport::GetFilter(), DocxExport::GetFloatingTableFrame(), SwFormat::GetFlySplit(), SwTable::GetFrameFormat(), ww8::Frame::GetFrameFormat(), SwFormat::GetFrameSize(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SfxItemSet::GetItem(), SvxLRSpaceItem::GetLeft(), SwFormat::GetLRSpace(), SwXTextTables::GetObject(), AttributeOutputBase::GetTablePageSize(), SfxBoolItem::GetValue(), oox::core::FilterBase::getVersion(), SwFormatFrameSize::GetWidthPercent(), m_aTableStyleConfs, TableReference::m_nTableDepth, m_pSerializer, m_rExport, m_tableReference, SwPostItHelper::NONE, nToken, nValue, OUStringToOString(), RES_BACKGROUND(), RES_FRMATR_GRABBAG(), SAL_WARN, sColor, DocxExport::SetFloatingTableFrame(), TableBidi(), TableDefaultBorders(), TableDefaultCellMargins(), Tag_TableDefinition, and XML_type.

Referenced by StartTable().

◆ TableHeight()

void DocxAttributeOutput::TableHeight ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TableInfoCell()

void DocxAttributeOutput::TableInfoCell ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

Implements AttributeOutputBase.

Definition at line 164 of file docxtableexport.cxx.

◆ TableInfoRow()

void DocxAttributeOutput::TableInfoRow ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

Implements AttributeOutputBase.

Definition at line 169 of file docxtableexport.cxx.

◆ TableNodeInfoInner()

void DocxAttributeOutput::TableNodeInfoInner ( ww8::WW8TableNodeInfoInner::Pointer_t  pNodeInfoInner)
overridevirtual

Implements AttributeOutputBase.

Definition at line 856 of file docxtableexport.cxx.

References FinishTableRowCell().

◆ TableOrientation()

void DocxAttributeOutput::TableOrientation ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

Implements AttributeOutputBase.

Definition at line 865 of file docxtableexport.cxx.

References SAL_INFO.

◆ TableRowEnd()

void DocxAttributeOutput::TableRowEnd ( sal_uInt32  nDepth)
overridevirtual

Implements AttributeOutputBase.

Definition at line 879 of file docxtableexport.cxx.

References SAL_INFO.

◆ TableRowRedline()

void DocxAttributeOutput::TableRowRedline ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TableSpacing()

void DocxAttributeOutput::TableSpacing ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

Implements AttributeOutputBase.

Definition at line 872 of file docxtableexport.cxx.

References SAL_INFO.

◆ TableVerticalCell()

void DocxAttributeOutput::TableVerticalCell ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner)
overridevirtual

◆ TextBoxIsFramePr()

bool DocxAttributeOutput::TextBoxIsFramePr ( const SwFrameFormat rFrameFormat)
staticprivate

◆ TextCharFormat()

void DocxAttributeOutput::TextCharFormat ( const SwFormatCharFormat rCharFormat)
overrideprotectedvirtual

◆ TextFootnote_Impl()

void DocxAttributeOutput::TextFootnote_Impl ( const SwFormatFootnote rFootnote)
overrideprotectedvirtual

◆ TextINetFormat()

void DocxAttributeOutput::TextINetFormat ( const SwFormatINetFormat rLink)
overrideprotectedvirtual

◆ TextLineBreak()

void DocxAttributeOutput::TextLineBreak ( const SwFormatLineBreak )
overrideprotectedvirtual

RES_TXTATR_LINEBREAK, i.e. clearing breaks.

Implements AttributeOutputBase.

Definition at line 6969 of file docxattributeoutput.cxx.

References SfxEnumItem< typename EnumT >::GetValue(), and m_oLineBreakClear.

◆ TextVerticalAdjustment()

void DocxAttributeOutput::TextVerticalAdjustment ( const css::drawing::TextVerticalAdjust  )
overridevirtual

Reimplemented from AttributeOutputBase.

Definition at line 7233 of file docxattributeoutput.cxx.

References FSNS(), and m_pSerializer.

◆ TransHighlightColor()

OString DocxAttributeOutput::TransHighlightColor ( sal_uInt8  nIco)
staticprivate

Translate an ico value to the corresponding HighlightColorValues enumaration item.

Parameters
[in]nIcoico value [0..16]
Returns
color name (e.g. "red"), if color is inside [1..16] range empty string, otherwise

Definition at line 7408 of file docxattributeoutput.cxx.

Referenced by CharHighlight().

◆ WriteActiveXControl()

void DocxAttributeOutput::WriteActiveXControl ( const SdrObject pObject,
const SwFrameFormat rFrameFormat,
bool  bInsideRun 
)
private

◆ WriteAnnotationMarks_Impl()

void DocxAttributeOutput::WriteAnnotationMarks_Impl ( std::vector< OUString > &  rStarts,
std::vector< OUString > &  rEnds 
)

Definition at line 8551 of file docxattributeoutput.cxx.

References m_rAnnotationMarksEnd, and m_rAnnotationMarksStart.

◆ WriteBookmarkInActParagraph()

void DocxAttributeOutput::WriteBookmarkInActParagraph ( const OUString &  rName,
sal_Int32  nFirstRunPos,
sal_Int32  nLastRunPos 
)
overrideprotectedvirtual

Insert a bookmark inside the currently processed paragraph.

Implements AttributeOutputBase.

Definition at line 3872 of file docxattributeoutput.cxx.

References m_aBookmarksOfParagraphEnd, and m_aBookmarksOfParagraphStart.

◆ WriteBookmarks_Impl()

void DocxAttributeOutput::WriteBookmarks_Impl ( std::vector< OUString > &  rStarts,
std::vector< OUString > &  rEnds,
const SwRedlineData pRedlineData = nullptr 
)

◆ WriteCollectedParagraphProperties()

void DocxAttributeOutput::WriteCollectedParagraphProperties ( )
private

Output what we collected during the run properties output.

See also
WriteCollectedParagrapProperties().

Definition at line 1515 of file docxattributeoutput.cxx.

References DocxSdrExport::getFlyAttrList(), m_aFramePr, m_pBackgroundAttrList, m_pLRSpaceAttrList, m_pParagraphSpacingAttrList, m_pSerializer, m_rExport, DocxExport::SdrExporter(), and FramePrHelper::SetUseFrameBackground().

Referenced by EndParagraphProperties(), EndStyleProperties(), and Redline().

◆ WriteCollectedRunProperties()

void DocxAttributeOutput::WriteCollectedRunProperties ( )
private

◆ WriteContentControlEnd()

void DocxAttributeOutput::WriteContentControlEnd ( )
private

Definition at line 2768 of file docxattributeoutput.cxx.

References m_pSerializer.

Referenced by EndField_Impl(), EndRun(), and WriteSdtDropDownEnd().

◆ WriteContentControlStart()

void DocxAttributeOutput::WriteContentControlStart ( )
private

◆ WriteExpand()

void DocxAttributeOutput::WriteExpand ( const SwField pField)
overrideprotectedvirtual

Write the expanded field.

Implements AttributeOutputBase.

Definition at line 8435 of file docxattributeoutput.cxx.

References ww::eUNKNOWN, m_rExport, and DocxExport::OutputField().

◆ WriteFFData()

void DocxAttributeOutput::WriteFFData ( const FieldInfos rInfos)
private

◆ WriteField_Impl()

void DocxAttributeOutput::WriteField_Impl ( const SwField pField,
ww::eField  eType,
const OUString &  rFieldCmd,
FieldFlags  nMode,
OUString const *  pBookmarkName = nullptr 
)

◆ WriteFinalBookmarks_Impl()

void DocxAttributeOutput::WriteFinalBookmarks_Impl ( std::vector< OUString > &  rStarts,
std::vector< OUString > &  rEnds 
)

◆ WriteFloatingTable()

void DocxAttributeOutput::WriteFloatingTable ( ww8::Frame const *  pParentFrame)

◆ WriteFlyFrame()

void DocxAttributeOutput::WriteFlyFrame ( const ww8::Frame rFrame)
private

Definition at line 6175 of file docxattributeoutput.cxx.

References ww8::Frame::eDrawing, ww8::Frame::eFormControl, ww8::Frame::eGraphic, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), ww8::Frame::eOle, ww8::Frame::eTextBox, ExportAsActiveXControl(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), SwFrameFormat::FindRealSdrObject(), FlyFrameGraphic(), SvxAdjustItem::GetAdjust(), SwAttrSet::GetAdjust(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorNode(), ww8::Frame::GetContent(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), DocxExport::GetFilter(), ww8::Frame::GetFrameFormat(), SwNode::GetGrfNode(), ww8::Frame::GetLayoutSize(), oox::core::XmlFilterBase::GetMaxDocId(), SwFormat::GetName(), SwNodeIndex::GetNode(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwContentNode::GetSwAttrSet(), SwNode::GetTextNode(), ww8::Frame::GetWriterType(), IsAlternateContentChoiceOpen(), SdrObject::isDiagram(), DocxSdrExport::IsDrawingOpen(), ww8::Frame::IsInline(), SotExchange::IsMath(), DocxSdrExport::isTextBox(), SwTextNode::Len(), m_aFloatingTablesOfParagraph, m_aFramesOfParagraph, m_anchorId, m_aPostponedActiveXControls, m_aPostponedFormControls, m_bParagraphFrameOpen, m_bPostponedProcessingFly, m_oPostponedCustomShape, m_oPostponedDiagrams, m_oPostponedDMLDrawings, m_oPostponedGraphic, m_pSerializer, m_rExport, nIndex, pObject, SAL_INFO, DocxExport::SdrExporter(), oox::core::XmlFilterBase::SetMaxDocId(), Tag_OutputFlyFrame, DocxSdrExport::writeDiagram(), DocxSdrExport::writeDMLAndVMLDrawing(), DocxSdrExport::writeDMLDrawing(), and WriteOLE2Obj().

Referenced by OutputFlyFrame_Impl().

◆ WriteFootnoteEndnotePr()

void DocxAttributeOutput::WriteFootnoteEndnotePr ( ::sax_fastparser::FSHelperPtr const &  fs,
int  tag,
const SwEndNoteInfo info,
int  listtag 
)
static

◆ WriteFormData_Impl()

void DocxAttributeOutput::WriteFormData_Impl ( const ::sw::mark::IFieldmark &  rFieldmark)

Definition at line 8482 of file docxattributeoutput.cxx.

References m_Fields.

◆ WriteFormDateStart()

void DocxAttributeOutput::WriteFormDateStart ( const OUString &  sFullDate,
const OUString &  sDateFormat,
const OUString &  sLang,
const uno::Sequence< beans::PropertyValue > &  aGrabBagSdt 
)
private

◆ WriteLineBreak()

void DocxAttributeOutput::WriteLineBreak ( )
protected

Writes a clearing line break at the end of run properties, if there are any.

Definition at line 6974 of file docxattributeoutput.cxx.

References ALL, FSNS(), LEFT, m_oLineBreakClear, m_pSerializer, NONE, RIGHT, and XML_type.

Referenced by EndRunProperties().

◆ WriteOLE()

void DocxAttributeOutput::WriteOLE ( SwOLENode rNode,
const Size rSize,
const SwFlyFrameFormat rFlyFrameFormat 
)
private

◆ WriteOLE2Obj()

void DocxAttributeOutput::WriteOLE2Obj ( const SdrObject pSdrObj,
SwOLENode rNode,
const Size rSize,
const SwFlyFrameFormat pFlyFrameFormat,
const sal_Int8  nFormulaAlignment 
)
private

Definition at line 5376 of file docxattributeoutput.cxx.

References PostponeOLE(), WriteOLEChart(), and WriteOLEMath().

Referenced by WriteFlyFrame().

◆ WriteOLEChart()

bool DocxAttributeOutput::WriteOLEChart ( const SdrObject pSdrObj,
const Size rSize,
const SwFlyFrameFormat pFlyFrameFormat 
)
private

Definition at line 5385 of file docxattributeoutput.cxx.

References aClassID, SotExchange::IsChart(), and m_aPostponedCharts.

Referenced by WriteOLE2Obj().

◆ WriteOLEMath()

bool DocxAttributeOutput::WriteOLEMath ( const SwOLENode rNode,
const sal_Int8  nAlign 
)
private

◆ WriteOLEShape()

void DocxAttributeOutput::WriteOLEShape ( const SwFlyFrameFormat rFrameFormat,
const Size rSize,
std::string_view  rShapeId,
const OUString &  rImageId 
)
private

◆ WriteOutliner()

void DocxAttributeOutput::WriteOutliner ( const OutlinerParaObject rParaObj)
overridevirtual

◆ WritePendingPlaceholder()

void DocxAttributeOutput::WritePendingPlaceholder ( )
private

◆ WritePostitFieldReference()

void DocxAttributeOutput::WritePostitFieldReference ( )
overridevirtual

for docx w:commentReference

Reimplemented from AttributeOutputBase.

Definition at line 8269 of file docxattributeoutput.cxx.

References FSNS(), m_postitFields, m_postitFieldsMaxId, m_pSerializer, and m_rOpenedAnnotationMarksIds.

◆ WritePostitFields()

DocxAttributeOutput::hasProperties DocxAttributeOutput::WritePostitFields ( )

◆ WritePostItFieldsResolved()

void DocxAttributeOutput::WritePostItFieldsResolved ( )

◆ WritePostponedActiveXControl()

void DocxAttributeOutput::WritePostponedActiveXControl ( bool  bInsideRun)
private

Definition at line 5633 of file docxattributeoutput.cxx.

References m_aPostponedActiveXControls, and WriteActiveXControl().

Referenced by EndRun(), and EndRunProperties().

◆ WritePostponedChart()

void DocxAttributeOutput::WritePostponedChart ( )
private

◆ WritePostponedCustomShape()

void DocxAttributeOutput::WritePostponedCustomShape ( )
private

◆ WritePostponedDiagram()

void DocxAttributeOutput::WritePostponedDiagram ( )
private

◆ WritePostponedDMLDrawing()

void DocxAttributeOutput::WritePostponedDMLDrawing ( )
private

◆ WritePostponedFormControl()

void DocxAttributeOutput::WritePostponedFormControl ( const SdrObject pObject)
private

◆ WritePostponedGraphic()

void DocxAttributeOutput::WritePostponedGraphic ( )
private

Definition at line 3622 of file docxattributeoutput.cxx.

References FlyFrameGraphic(), and m_oPostponedGraphic.

Referenced by EndRunProperties().

◆ WritePostponedMath()

void DocxAttributeOutput::WritePostponedMath ( const SwOLENode pObject,
sal_Int8  nAlign 
)
private

Definition at line 5501 of file docxattributeoutput.cxx.

References oox::drawingml::DOCUMENT_DOCX, GetExport(), m_pSerializer, and SAL_WARN.

Referenced by EndRun().

◆ WritePostponedOLE()

void DocxAttributeOutput::WritePostponedOLE ( )
private

Definition at line 5756 of file docxattributeoutput.cxx.

References m_oPostponedOLEs, and WriteOLE().

Referenced by EndRunProperties().

◆ WriteSdtDropDownEnd()

void DocxAttributeOutput::WriteSdtDropDownEnd ( OUString const &  rSelected,
uno::Sequence< OUString > const &  rListItems 
)
private

Definition at line 2808 of file docxattributeoutput.cxx.

References comphelper::findValue(), m_pSerializer, nId, and WriteContentControlEnd().

Referenced by EndField_Impl().

◆ WriteSdtDropDownStart()

void DocxAttributeOutput::WriteSdtDropDownStart ( const OUString &  rName,
OUString const &  rSelected,
uno::Sequence< OUString > const &  rListItems 
)
private

Definition at line 2774 of file docxattributeoutput.cxx.

References comphelper::findValue(), FSNS(), m_pSerializer, nId, and OUStringToOString().

Referenced by StartField_Impl().

◆ WriteSdtPlainText()

void DocxAttributeOutput::WriteSdtPlainText ( const OUString &  sValue,
const uno::Sequence< beans::PropertyValue > &  aGrabBagSdt 
)
private

◆ WriteSrcRect()

void DocxAttributeOutput::WriteSrcRect ( const css::uno::Reference< css::beans::XPropertySet > &  xShapePropSet,
const SwFrameFormat pFrameFormat 
)
private

◆ WriteTextBox()

void DocxAttributeOutput::WriteTextBox ( css::uno::Reference< css::drawing::XShape >  xShape)
overridevirtual

◆ WriteVMLTextBox()

void DocxAttributeOutput::WriteVMLTextBox ( css::uno::Reference< css::drawing::XShape >  xShape)
overridevirtual

Member Data Documentation

◆ m_aBookmarksOfParagraphEnd

std::multimap<sal_Int32, OUString> DocxAttributeOutput::m_aBookmarksOfParagraphEnd
private

◆ m_aBookmarksOfParagraphStart

std::multimap<sal_Int32, OUString> DocxAttributeOutput::m_aBookmarksOfParagraphStart
private

Bookmarks of the current paragraph.

Definition at line 898 of file docxattributeoutput.hxx.

Referenced by DoWriteBookmarkStartIfExist(), EndParagraph(), and WriteBookmarkInActParagraph().

◆ m_aFloatingTablesOfParagraph

o3tl::sorted_vector<const SwFrameFormat*> DocxAttributeOutput::m_aFloatingTablesOfParagraph
private

Definition at line 954 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), WriteFloatingTable(), and WriteFlyFrame().

◆ m_aFramePr

FramePrHelper DocxAttributeOutput::m_aFramePr
private

◆ m_aFramesOfParagraph

std::stack< std::vector<ww8::Frame> > DocxAttributeOutput::m_aFramesOfParagraph
private

Definition at line 953 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), StartParagraph(), and WriteFlyFrame().

◆ m_anchorId

int DocxAttributeOutput::m_anchorId
private

◆ m_aParagraphSdt

SdtBlockHelper DocxAttributeOutput::m_aParagraphSdt
private

◆ m_aPostponedActiveXControls

std::vector<PostponedDrawing> DocxAttributeOutput::m_aPostponedActiveXControls
private

Definition at line 1020 of file docxattributeoutput.hxx.

Referenced by WriteFlyFrame(), and WritePostponedActiveXControl().

◆ m_aPostponedCharts

std::vector<PostponedChart> DocxAttributeOutput::m_aPostponedCharts
private

Definition at line 1018 of file docxattributeoutput.hxx.

Referenced by WriteOLEChart(), and WritePostponedChart().

◆ m_aPostponedFormControls

std::vector<const SdrObject*> DocxAttributeOutput::m_aPostponedFormControls
private

Definition at line 1019 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteFlyFrame().

◆ m_aPostponedMaths

std::vector<PostponedMathObjects> DocxAttributeOutput::m_aPostponedMaths
private

Definition at line 1008 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteOLEMath().

◆ m_aRunSdt

SdtBlockHelper DocxAttributeOutput::m_aRunSdt
private

◆ m_aSeqBookmarksNames

std::map<OUString, std::vector<OUString> > DocxAttributeOutput::m_aSeqBookmarksNames
private

If there are bookmarks around sequence fields, this map contains the names of these bookmarks for each sequence.

Definition at line 926 of file docxattributeoutput.hxx.

Referenced by DoWriteCmd(), and StartURL().

◆ m_aStartedParagraphSdtPrAlias

OUString DocxAttributeOutput::m_aStartedParagraphSdtPrAlias
private

Same as m_aParagraphSdtPrAlias, but its content is available till the SDT is closed.

Definition at line 1077 of file docxattributeoutput.hxx.

Referenced by ParaGrabBag(), and StartParagraph().

◆ m_aTableStyleConfs

std::vector<std::map<SvxBoxItemLine, css::table::BorderLine2> > DocxAttributeOutput::m_aTableStyleConfs
private

◆ m_aTextEffectsGrabBag

std::vector<css::beans::PropertyValue> DocxAttributeOutput::m_aTextEffectsGrabBag
private

GrabBag for text effects like glow, shadow, ...

Definition at line 929 of file docxattributeoutput.hxx.

Referenced by CharGrabBag(), and WriteCollectedRunProperties().

◆ m_bAlternateContentChoiceOpen

bool DocxAttributeOutput::m_bAlternateContentChoiceOpen
private

◆ m_bAnchorLinkedToNode

bool DocxAttributeOutput::m_bAnchorLinkedToNode
private

Definition at line 863 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), EndRun(), and SetAnchorIsLinkedToNode().

◆ m_bEndCharSdt

bool DocxAttributeOutput::m_bEndCharSdt
private

If the current SDT around runs should be ended before the current run.

Definition at line 832 of file docxattributeoutput.hxx.

Referenced by CharGrabBag(), EndRun(), and GetSdtEndBefore().

◆ m_bExportingOutline

bool DocxAttributeOutput::m_bExportingOutline
private

Definition at line 965 of file docxattributeoutput.hxx.

Referenced by NumberingLevel(), and StartAbstractNumbering().

◆ m_bHadSectPr

bool DocxAttributeOutput::m_bHadSectPr
private

Did we have a section break in this paragraph? Set by StartSection(), reset by the next StartParagraph().

Definition at line 856 of file docxattributeoutput.hxx.

Referenced by StartParagraph(), and StartSection().

◆ m_bIgnoreNextFill

bool DocxAttributeOutput::m_bIgnoreNextFill
private

If FormatBox() already handled fill style / gradient.

Definition at line 1060 of file docxattributeoutput.hxx.

Referenced by FormatBox(), and FormatFillStyle().

◆ m_bIsFirstParagraph

bool DocxAttributeOutput::m_bIsFirstParagraph
private

Definition at line 938 of file docxattributeoutput.hxx.

Referenced by IsFirstParagraph(), SectionBreak(), and StartParagraph().

◆ m_bOpenedSectPr

bool DocxAttributeOutput::m_bOpenedSectPr
private

Flag indicating that the section properties are being written.

Definition at line 854 of file docxattributeoutput.hxx.

Referenced by EndSection(), FormatBox(), and StartSection().

◆ m_bPageBreakAfter

bool DocxAttributeOutput::m_bPageBreakAfter = false
private

Definition at line 951 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), and SectionBreak().

◆ m_bParaAfterAutoSpacing

bool DocxAttributeOutput::m_bParaAfterAutoSpacing
private

Definition at line 1066 of file docxattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_bParaBeforeAutoSpacing

bool DocxAttributeOutput::m_bParaBeforeAutoSpacing
private

Definition at line 1066 of file docxattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_bParagraphFrameOpen

bool DocxAttributeOutput::m_bParagraphFrameOpen
private

Definition at line 937 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), and WriteFlyFrame().

◆ m_bParagraphOpened

bool DocxAttributeOutput::m_bParagraphOpened
private

Definition at line 936 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), SectionBreak(), and StartParagraph().

◆ m_bPostponedPageBreak

bool DocxAttributeOutput::m_bPostponedPageBreak
private

Definition at line 948 of file docxattributeoutput.hxx.

Referenced by EndParagraphProperties(), and SectionBreak().

◆ m_bPostponedProcessingFly

bool DocxAttributeOutput::m_bPostponedProcessingFly
private

◆ m_bPreventDoubleFieldsHandling

bool DocxAttributeOutput::m_bPreventDoubleFieldsHandling
private

Field data to remember in the text run.

Definition at line 869 of file docxattributeoutput.hxx.

Referenced by CharGrabBag(), DoWriteFieldRunProperties(), and WriteField_Impl().

◆ m_bRunTextIsOn

bool DocxAttributeOutput::m_bRunTextIsOn
private

Flag indicating that the Run Text is being written.

Definition at line 859 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), EndRun(), and RunText().

◆ m_bWritingField

bool DocxAttributeOutput::m_bWritingField
private

Flag indicating that multiple runs of a field are being written.

Definition at line 866 of file docxattributeoutput.hxx.

Referenced by EndField_Impl(), EndRedline(), EndRun(), and StartField_Impl().

◆ m_bWritingHeaderFooter

bool DocxAttributeOutput::m_bWritingHeaderFooter
private

Flag indicating that the header \ footer are being written.

Definition at line 862 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), EndParagraphProperties(), GetWritingHeaderFooter(), and SetWritingHeaderFooter().

◆ m_closeHyperlinkInPreviousRun

bool DocxAttributeOutput::m_closeHyperlinkInPreviousRun
private

Definition at line 959 of file docxattributeoutput.hxx.

Referenced by EndRun(), RunText(), and StartRuby().

◆ m_closeHyperlinkInThisRun

bool DocxAttributeOutput::m_closeHyperlinkInThisRun
private

Definition at line 958 of file docxattributeoutput.hxx.

Referenced by EndRun(), EndURL(), RunText(), and StartRuby().

◆ m_endPageRef

bool DocxAttributeOutput::m_endPageRef
private

Definition at line 840 of file docxattributeoutput.hxx.

Referenced by EndRun(), and EndURL().

◆ m_Fields

std::vector< FieldInfos > DocxAttributeOutput::m_Fields
private

Definition at line 870 of file docxattributeoutput.hxx.

Referenced by EndRun(), WriteField_Impl(), and WriteFormData_Impl().

◆ m_FontFilesMap

std::map< OUString, EmbeddedFontRef > DocxAttributeOutput::m_FontFilesMap
private

Definition at line 1050 of file docxattributeoutput.hxx.

Referenced by EmbedFontStyle().

◆ m_footnoteCustomLabel

OUString DocxAttributeOutput::m_footnoteCustomLabel
private

Definition at line 844 of file docxattributeoutput.hxx.

Referenced by FootnoteEndnoteRefTag(), and FootnotesEndnotes().

◆ m_footnoteEndnoteRefTag

int DocxAttributeOutput::m_footnoteEndnoteRefTag
private

Definition at line 843 of file docxattributeoutput.hxx.

Referenced by FootnoteEndnoteRefTag(), and FootnotesEndnotes().

◆ m_hyperLinkAnchor

OUString DocxAttributeOutput::m_hyperLinkAnchor
private

Definition at line 839 of file docxattributeoutput.hxx.

Referenced by EndRun(), EndURL(), and StartURL().

◆ m_LastClosedCell

std::vector<sal_Int32> DocxAttributeOutput::m_LastClosedCell
private

◆ m_LastOpenCell

std::vector<sal_Int32> DocxAttributeOutput::m_LastOpenCell
private

◆ m_nChartCount

unsigned int DocxAttributeOutput::m_nChartCount
private

count charts consistently for unit tests

Definition at line 1010 of file docxattributeoutput.hxx.

Referenced by WritePostponedChart().

◆ m_nCharTransparence

sal_uInt8 DocxAttributeOutput::m_nCharTransparence = 0
private

Definition at line 835 of file docxattributeoutput.hxx.

Referenced by CharColor(), and WriteCollectedRunProperties().

◆ m_nColBreakStatus

DocxColBreakStatus DocxAttributeOutput::m_nColBreakStatus
private

Definition at line 944 of file docxattributeoutput.hxx.

Referenced by EndParagraphProperties(), SectionBreak(), and StartParagraph().

◆ m_nEmbedFlyLevel

sal_uInt32 DocxAttributeOutput::m_nEmbedFlyLevel
private

The first frame (anchored to the main text) is 0.

The second frame what is anchored to the previous in, is 1 The third anchored inside the second is the 2 etc.

Definition at line 883 of file docxattributeoutput.hxx.

Referenced by OutputFlyFrame_Impl().

◆ m_nextFontId

int DocxAttributeOutput::m_nextFontId
private

Definition at line 1041 of file docxattributeoutput.hxx.

Referenced by EmbedFontStyle().

◆ m_nFieldsInHyperlink

sal_Int16 DocxAttributeOutput::m_nFieldsInHyperlink
private

Definition at line 962 of file docxattributeoutput.hxx.

Referenced by EndRun().

◆ m_nHyperLinkCount

std::vector<sal_Int32> DocxAttributeOutput::m_nHyperLinkCount
private

◆ m_nNextAnnotationMarkId

sal_Int32 DocxAttributeOutput::m_nNextAnnotationMarkId
private

Definition at line 873 of file docxattributeoutput.hxx.

Referenced by DoWriteAnnotationMarks(), and PostitField().

◆ m_nNextBookmarkId

sal_Int32 DocxAttributeOutput::m_nNextBookmarkId
private

◆ m_nNextParaId

sal_Int32 DocxAttributeOutput::m_nNextParaId = 1
private

[MS-DOCX] section 2.6.2.3

Definition at line 876 of file docxattributeoutput.hxx.

Referenced by StartParagraph(), and WritePostitFields().

◆ m_nParaAfterSpacing

sal_Int32 DocxAttributeOutput::m_nParaAfterSpacing
private

Definition at line 1068 of file docxattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_nParaBeforeSpacing

sal_Int32 DocxAttributeOutput::m_nParaBeforeSpacing
private

Definition at line 1068 of file docxattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_nRedlineId

sal_Int32 DocxAttributeOutput::m_nRedlineId
private

Id of the redline.

Definition at line 851 of file docxattributeoutput.hxx.

Referenced by StartRedline(), TableCellRedline(), and TableRowRedline().

◆ m_nStateOfFlyFrame

FlyProcessingState DocxAttributeOutput::m_nStateOfFlyFrame
private

State of the Fly at current position.

Definition at line 1074 of file docxattributeoutput.hxx.

Referenced by CharGrabBag(), and SetStateOfFlyFrame().

◆ m_nTextFrameLevel

sal_Int32 DocxAttributeOutput::m_nTextFrameLevel
private

Definition at line 955 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), and StartParagraph().

◆ m_oFillStyle

std::optional<css::drawing::FillStyle> DocxAttributeOutput::m_oFillStyle
private

Definition at line 1058 of file docxattributeoutput.hxx.

Referenced by FormatBox(), FormatFillGradient(), and FormatFillStyle().

◆ m_oLineBreakClear

std::optional<SwLineBreakClear> DocxAttributeOutput::m_oLineBreakClear
private

Definition at line 1081 of file docxattributeoutput.hxx.

Referenced by TextLineBreak(), and WriteLineBreak().

◆ m_oPostponedCustomShape

std::optional< std::vector<PostponedDrawing> > DocxAttributeOutput::m_oPostponedCustomShape
private

Definition at line 992 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), WriteFlyFrame(), and WritePostponedCustomShape().

◆ m_oPostponedDiagrams

std::optional< std::vector<PostponedDiagram> > DocxAttributeOutput::m_oPostponedDiagrams
private

◆ m_oPostponedDMLDrawings

std::optional< std::vector<PostponedDrawing> > DocxAttributeOutput::m_oPostponedDMLDrawings
private

◆ m_oPostponedGraphic

std::optional< std::vector<PostponedGraphic> > DocxAttributeOutput::m_oPostponedGraphic
private

◆ m_oPostponedOLEs

std::optional< std::vector<PostponedOLE> > DocxAttributeOutput::m_oPostponedOLEs
private

◆ m_pageMargins

editeng::WordPageMargins DocxAttributeOutput::m_pageMargins
private

Definition at line 1062 of file docxattributeoutput.hxx.

Referenced by FormatLRSpace(), FormatULSpace(), and SectionPageBorders().

◆ m_pBackgroundAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pBackgroundAttrList
private

Attributes of the paragraph background.

Definition at line 837 of file docxattributeoutput.hxx.

Referenced by FormatBackground(), FormatFillStyle(), ParaGrabBag(), and WriteCollectedParagraphProperties().

◆ m_pCharLangAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pCharLangAttrList
private

◆ m_pColorAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pColorAttrList
private

Attributes of the run color.

Definition at line 834 of file docxattributeoutput.hxx.

Referenced by CharColor(), and WriteCollectedRunProperties().

◆ m_pContentControl

std::shared_ptr<SwContentControl> DocxAttributeOutput::m_pContentControl
private

Definition at line 830 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteContentControlStart().

◆ m_pEastAsianLayoutAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pEastAsianLayoutAttrList
private

◆ m_PendingPlaceholder

const SwField* DocxAttributeOutput::m_PendingPlaceholder
private

Definition at line 1021 of file docxattributeoutput.hxx.

Referenced by PlaceholderField(), and WritePendingPlaceholder().

◆ m_pEndnotesList

std::unique_ptr<docx::FootnotesList> DocxAttributeOutput::m_pEndnotesList
private

◆ m_pFontsAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pFontsAttrList
private

◆ m_pFootnotesList

std::unique_ptr<docx::FootnotesList> DocxAttributeOutput::m_pFootnotesList
private

◆ m_pHyperlinkAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pHyperlinkAttrList
private

◆ m_pLRSpaceAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pLRSpaceAttrList
private

◆ m_pMoveRedlineData

SwRedlineData* DocxAttributeOutput::m_pMoveRedlineData
private

Definition at line 891 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteBookmarks_Impl().

◆ m_postitFields

std::vector<std::pair<const SwPostItField*, PostItDOCXData> > DocxAttributeOutput::m_postitFields
private

Maps postit fields to ID's, used in commentRangeStart/End, commentReference and comment.xml.

Definition at line 1037 of file docxattributeoutput.hxx.

Referenced by HasPostitFields(), PostitField(), WritePostitFieldReference(), WritePostitFields(), and WritePostItFieldsResolved().

◆ m_postitFieldsMaxId

unsigned int DocxAttributeOutput::m_postitFieldsMaxId
private

Number of postit fields which already have a commentReference written.

Definition at line 1039 of file docxattributeoutput.hxx.

Referenced by WritePostitFieldReference().

◆ m_pParagraphSpacingAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pParagraphSpacingAttrList
private

◆ m_pRedlineData

const SwRedlineData* DocxAttributeOutput::m_pRedlineData
private

Redline data to remember in the text run.

Definition at line 848 of file docxattributeoutput.hxx.

Referenced by DoWriteCmd(), EndRun(), RunText(), and StartRun().

◆ m_pSectionInfo

std::unique_ptr< const WW8_SepInfo > DocxAttributeOutput::m_pSectionInfo
private

Definition at line 845 of file docxattributeoutput.hxx.

Referenced by SectionBreak(), StartParagraph(), and StartParagraphProperties().

◆ m_pSectionSpacingAttrList

rtl::Reference<sax_fastparser::FastAttributeList> DocxAttributeOutput::m_pSectionSpacingAttrList
private

Definition at line 826 of file docxattributeoutput.hxx.

Referenced by EndSection(), FormatLRSpace(), and FormatULSpace().

◆ m_pSerializer

::sax_fastparser::FSHelperPtr DocxAttributeOutput::m_pSerializer
private

Fast serializer to output the data.

Definition at line 818 of file docxattributeoutput.hxx.

Referenced by BulletDefinition(), CharAnimatedText(), CharAutoKern(), CharBackground(), CharBorder(), CharCaseMap(), CharContour(), CharCrossedOut(), CharEmphasisMark(), CharEscapement(), CharFontSize(), CharHidden(), CharHighlight(), CharKerning(), CharPosture(), CharPostureCJK(), CharPostureCTL(), CharRelief(), CharScaleWidth(), CharShadow(), CharUnderline(), CharWeight(), CharWeightCJK(), CharWeightCTL(), CmdEndField_Impl(), CmdField_Impl(), DocDefaults(), DoWriteAnnotationMarks(), DoWriteBookmarkTagEnd(), DoWriteBookmarkTagStart(), DoWriteCmd(), DoWriteFieldRunProperties(), DoWriteMoveRangeTagEnd(), DoWriteMoveRangeTagStart(), DoWritePermissionTagEnd(), DoWritePermissionTagStart(), EmbedFontStyle(), EmptyParagraph(), EndAbstractNumbering(), EndField_Impl(), EndFont(), EndParagraph(), EndParagraphProperties(), EndParaSdtBlock(), EndRedline(), EndRuby(), EndRun(), EndRunProperties(), EndSection(), EndStyle(), EndStyleProperties(), EndStyles(), EndTable(), EndTableCell(), EndTableRow(), ExportOLESurround(), FinishTableRowCell(), FlyFrameGraphic(), FontAlternateName(), FontCharset(), FontFamilyType(), FontPitchType(), FootnoteEndnoteReference(), FootnoteEndnoteRefTag(), FootnotesEndnotes(), FormatBackground(), FormatBox(), FormatColumns_Impl(), FormatFillGradient(), FormatFrameDirection(), FormatFrameSize(), FormatKeep(), FormatLineNumbering(), FormatLRSpace(), FormatTextGrid(), FormatULSpace(), GetSerializer(), InitCollectedParagraphProperties(), InitCollectedRunProperties(), LatentStyles(), NumberingDefinition(), NumberingLevel(), OverrideNumberingDefinition(), PageBreakBefore(), ParaAdjust(), ParaForbiddenRules(), ParaGrabBag(), ParagraphStyle(), ParaHangingPunctuation(), ParaHyphenZone(), ParaNumRule_Impl(), ParaOutlineLevel(), ParaScriptSpace(), ParaSnapToGrid(), ParaSplit(), ParaTabStop(), ParaVerticalAlign(), ParaWidows(), PopulateFrameProperties(), Redline(), RTLAndCJKState(), RunText(), SectFootnoteEndnotePr(), SectionBiDi(), SectionBreak(), SectionFormProtection(), SectionLineNumbering(), SectionPageBorders(), SectionPageNumbering(), SectionRtlGutter(), SectionTitlePage(), SectionType(), SetSerializer(), StartAbstractNumbering(), StartField_Impl(), StartFont(), StartParagraph(), StartParagraphProperties(), StartRedline(), StartRuby(), StartRun(), StartRunProperties(), StartSection(), StartStyle(), StartStyleProperties(), StartStyles(), StartTable(), StartTableCell(), StartTableRow(), StartURL(), SyncNodelessCells(), TableBackgrounds(), TableBidi(), TableCanSplit(), TableCellProperties(), TableCellRedline(), TableDefaultCellMargins(), TableDefinition(), TableHeight(), TableRowRedline(), TableVerticalCell(), TextCharFormat(), TextFootnote_Impl(), TextINetFormat(), TextVerticalAdjustment(), WriteActiveXControl(), WriteCollectedParagraphProperties(), WriteCollectedRunProperties(), WriteContentControlEnd(), WriteContentControlStart(), WriteFFData(), WriteFlyFrame(), WriteFormDateStart(), WriteLineBreak(), WriteOLE(), WriteOLEShape(), WriteOutliner(), WritePendingPlaceholder(), WritePostitFieldReference(), WritePostitFields(), WritePostItFieldsResolved(), WritePostponedChart(), WritePostponedFormControl(), WritePostponedMath(), WriteSdtDropDownEnd(), WriteSdtDropDownStart(), WriteSdtPlainText(), and WriteSrcRect().

◆ m_pTableStyleExport

std::shared_ptr<DocxTableStyleExport> DocxAttributeOutput::m_pTableStyleExport
private

◆ m_rAnnotationMarksEnd

std::vector<OUString> DocxAttributeOutput::m_rAnnotationMarksEnd
private

Definition at line 907 of file docxattributeoutput.hxx.

Referenced by DoWriteAnnotationMarks(), and WriteAnnotationMarks_Impl().

◆ m_rAnnotationMarksStart

std::vector<OUString> DocxAttributeOutput::m_rAnnotationMarksStart
private

Annotation marks to output.

Definition at line 906 of file docxattributeoutput.hxx.

Referenced by DoWriteAnnotationMarks(), and WriteAnnotationMarks_Impl().

◆ m_rBookmarksEnd

std::vector<OUString> DocxAttributeOutput::m_rBookmarksEnd
private

Definition at line 890 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteBookmarks_Impl().

◆ m_rBookmarksStart

std::vector<OUString> DocxAttributeOutput::m_rBookmarksStart
private

Bookmarks to output.

Definition at line 889 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteBookmarks_Impl().

◆ m_rDrawingML

oox::drawingml::DrawingML& DocxAttributeOutput::m_rDrawingML
private

DrawingML access.

Definition at line 821 of file docxattributeoutput.hxx.

Referenced by BulletDefinition(), FlyFrameGraphic(), FormatBox(), FormatFillGradient(), GetDrawingML(), and WriteOLE().

◆ m_rExport

DocxExport& DocxAttributeOutput::m_rExport
private

Reference to the export, where to get the data from.

Definition at line 815 of file docxattributeoutput.hxx.

Referenced by CharBorder(), CharEscapement(), DocDefaults(), DoWriteFieldRunProperties(), EmbedFont(), EmbedFontStyle(), EndParagraph(), EndParagraphProperties(), EndRedline(), EndRun(), ExportAsActiveXControl(), FlyFrameGraphic(), FootnoteEndnoteRefTag(), FootnotesEndnotes(), FormatBackground(), FormatBox(), FormatFillGradient(), FormatFrameDirection(), FormatFrameSize(), FormatHorizOrientation(), FormatLRSpace(), FormatRightMargin(), FormatSurround(), FormatTextLeftMargin(), FormatULSpace(), FormatVertOrientation(), GetExport(), LatentStyles(), MaybeOutputBrushItem(), NumberingLevel(), OverrideNumberingDefinition(), ParagraphStyle(), ParaNumRule_Impl(), ParaTabStop(), popFromTableExportContext(), pushToTableExportContext(), Redline(), RefField(), RunText(), SectFootnoteEndnotePr(), SectionBreak(), SectionBreaks(), StartAbstractNumbering(), StartParagraph(), StartParagraphProperties(), StartRedline(), StartStyle(), StartURL(), TableBidi(), TableCellRedline(), TableDefinition(), TableRowRedline(), TableVerticalCell(), TextCharFormat(), TextFootnote_Impl(), TextINetFormat(), WriteActiveXControl(), WriteCollectedParagraphProperties(), WriteContentControlStart(), WriteExpand(), WriteFloatingTable(), WriteFlyFrame(), WriteOLE(), WriteOutliner(), WritePostponedChart(), WritePostponedCustomShape(), WritePostponedDiagram(), WritePostponedDMLDrawing(), WriteSdtPlainText(), WriteTextBox(), and WriteVMLTextBox().

◆ m_rFinalBookmarksEnd

std::vector<OUString> DocxAttributeOutput::m_rFinalBookmarksEnd
private

Definition at line 895 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteFinalBookmarks_Impl().

◆ m_rFinalBookmarksStart

std::vector<OUString> DocxAttributeOutput::m_rFinalBookmarksStart
private

Bookmarks to output at the end.

Definition at line 894 of file docxattributeoutput.hxx.

Referenced by EndRun(), and WriteFinalBookmarks_Impl().

◆ m_rOpenedAnnotationMarksIds

std::map<OUString, sal_Int32> DocxAttributeOutput::m_rOpenedAnnotationMarksIds
private

Maps of the annotation marks ids.

Definition at line 919 of file docxattributeoutput.hxx.

Referenced by DoWriteAnnotationMarks(), PostitField(), and WritePostitFieldReference().

◆ m_rOpenedBookmarksIds

std::map<OUString, sal_Int32> DocxAttributeOutput::m_rOpenedBookmarksIds
private

Maps of the bookmarks ids.

Definition at line 910 of file docxattributeoutput.hxx.

Referenced by DoWriteBookmarkEndIfExist(), DoWriteBookmarksEnd(), DoWriteBookmarksStart(), and DoWriteBookmarkStartIfExist().

◆ m_rPermissionsEnd

std::vector<OUString> DocxAttributeOutput::m_rPermissionsEnd
private

◆ m_rPermissionsStart

std::vector<OUString> DocxAttributeOutput::m_rPermissionsStart
private

Permissions to output.

Definition at line 902 of file docxattributeoutput.hxx.

Referenced by DoWritePermissionsStart(), WriteBookmarks_Impl(), and WriteFinalBookmarks_Impl().

◆ m_rSavedBookmarksIds

std::unordered_set<sal_Int32> DocxAttributeOutput::m_rSavedBookmarksIds
private

Set of ids of the saved bookmarks (used only for moveRange, yet)

Definition at line 916 of file docxattributeoutput.hxx.

Referenced by DoWriteMoveRangeTagEnd(), and DoWriteMoveRangeTagStart().

◆ m_sFieldBkm

OUString DocxAttributeOutput::m_sFieldBkm
private

Definition at line 871 of file docxattributeoutput.hxx.

Referenced by EndField_Impl(), EndRun(), and WriteField_Impl().

◆ m_sLastOpenedAnnotationMark

OUString DocxAttributeOutput::m_sLastOpenedAnnotationMark
private

Name of the last opened annotation mark.

Definition at line 922 of file docxattributeoutput.hxx.

Referenced by DoWriteAnnotationMarks().

◆ m_sLastOpenedBookmark

OUString DocxAttributeOutput::m_sLastOpenedBookmark
private

Name of the last opened bookmark.

Definition at line 913 of file docxattributeoutput.hxx.

Referenced by DoWriteBookmarksStart(), DoWriteBookmarkStartIfExist(), and DoWriteCmd().

◆ m_sOriginalBackgroundColor

OUString DocxAttributeOutput::m_sOriginalBackgroundColor
private

Definition at line 838 of file docxattributeoutput.hxx.

Referenced by FormatBackground(), FormatFillStyle(), and ParaGrabBag().

◆ m_sRawText

OUString DocxAttributeOutput::m_sRawText
private

Definition at line 878 of file docxattributeoutput.hxx.

Referenced by EndRun(), RawText(), StartField_Impl(), and WriteOutliner().

◆ m_TableFirstCells

std::vector<ww8::WW8TableNodeInfoInner::Pointer_t> DocxAttributeOutput::m_TableFirstCells
private

Definition at line 1053 of file docxattributeoutput.hxx.

Referenced by EndTable(), StartTable(), and TableCellProperties().

◆ m_tableReference

TableReference DocxAttributeOutput::m_tableReference
private

◆ m_vPostponedFlys

std::vector<ww8::Frame> DocxAttributeOutput::m_vPostponedFlys
private

Stores the flys what are anchored inside a fly.

Definition at line 886 of file docxattributeoutput.hxx.

Referenced by OutputFlyFrame_Impl().

◆ m_xTableWrt

std::unique_ptr<SwWriteTable> DocxAttributeOutput::m_xTableWrt
private

◆ Tag_EndRun_1

const sal_Int32 DocxAttributeOutput::Tag_EndRun_1 = 9
static

Definition at line 1160 of file docxattributeoutput.hxx.

Referenced by EndRun().

◆ Tag_EndRun_2

const sal_Int32 DocxAttributeOutput::Tag_EndRun_2 = 10
static

Definition at line 1161 of file docxattributeoutput.hxx.

Referenced by EndRun().

◆ Tag_InitCollectedParagraphProperties

const sal_Int32 DocxAttributeOutput::Tag_InitCollectedParagraphProperties = 5
static

◆ Tag_InitCollectedRunProperties

const sal_Int32 DocxAttributeOutput::Tag_InitCollectedRunProperties = 12
static

◆ Tag_OutputFlyFrame

const sal_Int32 DocxAttributeOutput::Tag_OutputFlyFrame = 16
static

Definition at line 1167 of file docxattributeoutput.hxx.

Referenced by WriteFlyFrame().

◆ Tag_Redline_1

const sal_Int32 DocxAttributeOutput::Tag_Redline_1 = 13
static

Definition at line 1164 of file docxattributeoutput.hxx.

Referenced by Redline().

◆ Tag_Redline_2

const sal_Int32 DocxAttributeOutput::Tag_Redline_2 = 14
static

Definition at line 1165 of file docxattributeoutput.hxx.

Referenced by Redline().

◆ Tag_StartParagraph_1

const sal_Int32 DocxAttributeOutput::Tag_StartParagraph_1 = 1
static

Definition at line 1152 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), and StartParagraph().

◆ Tag_StartParagraph_2

const sal_Int32 DocxAttributeOutput::Tag_StartParagraph_2 = 2
static

Definition at line 1153 of file docxattributeoutput.hxx.

Referenced by EndParagraph(), and StartParagraph().

◆ Tag_StartParagraphProperties

const sal_Int32 DocxAttributeOutput::Tag_StartParagraphProperties = 4
static

Definition at line 1155 of file docxattributeoutput.hxx.

Referenced by EndParagraphProperties(), and StartParagraphProperties().

◆ Tag_StartRun_1

const sal_Int32 DocxAttributeOutput::Tag_StartRun_1 = 6
static

Definition at line 1157 of file docxattributeoutput.hxx.

Referenced by EndRun(), and StartRun().

◆ Tag_StartRun_2

const sal_Int32 DocxAttributeOutput::Tag_StartRun_2 = 7
static

Definition at line 1158 of file docxattributeoutput.hxx.

Referenced by EndRun(), and StartRun().

◆ Tag_StartRun_3

const sal_Int32 DocxAttributeOutput::Tag_StartRun_3 = 8
static

Definition at line 1159 of file docxattributeoutput.hxx.

Referenced by EndRun(), and StartRun().

◆ Tag_StartRunProperties

const sal_Int32 DocxAttributeOutput::Tag_StartRunProperties = 11
static

Definition at line 1162 of file docxattributeoutput.hxx.

Referenced by EndRunProperties(), and StartRunProperties().

◆ Tag_StartSection

const sal_Int32 DocxAttributeOutput::Tag_StartSection = 17
static

Definition at line 1168 of file docxattributeoutput.hxx.

Referenced by EndSection(), and StartSection().

◆ Tag_TableDefinition

const sal_Int32 DocxAttributeOutput::Tag_TableDefinition = 15
static

Definition at line 1166 of file docxattributeoutput.hxx.

Referenced by TableDefinition().

◆ Tag_WriteSdtBlock

const sal_Int32 DocxAttributeOutput::Tag_WriteSdtBlock = 3
static

Definition at line 1154 of file docxattributeoutput.hxx.

Referenced by SdtBlockHelper::WriteSdtBlock().


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