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

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

#include <rtfattributeoutput.hxx>

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

Public Member Functions

void RTLAndCJKState (bool bIsRTL, sal_uInt16 nScript) override
 Export the state of RTL/CJK. More...
 
sal_Int32 StartParagraph (ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, bool bGenerateParaId) override
 Start of the paragraph. More...
 
void EndParagraph (ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
 End of the paragraph. More...
 
void EmptyParagraph () override
 Empty paragraph. More...
 
void SectionBreaks (const SwNode &rNode) override
 Called in order to output section breaks. More...
 
void StartParagraphProperties () override
 Called before we start outputting the attributes. More...
 
void EndParagraphProperties (const SfxItemSet &rParagraphMarkerProperties, const SwRedlineData *pRedlineData, const SwRedlineData *pRedlineParagraphMarkerDeleted, const SwRedlineData *pRedlineParagraphMarkerInserted) override
 Called after we end outputting the attributes. More...
 
void StartRun (const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
 Start of the text run. More...
 
void EndRun (const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false) override
 End of the text run. More...
 
void StartRunProperties () override
 Called before we start outputting the attributes. More...
 
void EndRunProperties (const SwRedlineData *pRedlineData) override
 Called after we end outputting the attributes. More...
 
void RunText (const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8, const OUString &rSymbolFont=OUString()) override
 Output text (inside a run). More...
 
OStringBuffer & RunText ()
 
OString MoveCharacterProperties (bool aAutoWriteRtlLtr=false)
 
void RawText (const OUString &rText, rtl_TextEncoding eCharSet) override
 Output text (without markup). More...
 
void StartRuby (const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
 Output ruby start. More...
 
void EndRuby (const SwTextNode &rNode, sal_Int32 nPos) override
 Output ruby end. More...
 
bool StartURL (const OUString &rUrl, const OUString &rTarget) override
 Output URL start. More...
 
bool EndURL (bool isAtEndOfParagraph) override
 Output URL end. More...
 
void FieldVanish (const OUString &rText, ww::eField eType, OUString const *pBookmarkName) override
 
void Redline (const SwRedlineData *pRedline) override
 Output redlining. More...
 
void FormatDrop (const SwTextNode &rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
 
void ParagraphStyle (sal_uInt16 nStyle) override
 Output style. More...
 
void TableInfoCell (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableInfoRow (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableDefinition (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TablePositioning (SwFrameFormat *pFlyFormat)
 
void TableDefaultBorders (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableBackgrounds (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableRowRedline (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableCellRedline (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableHeight (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableCanSplit (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableBidi (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableVerticalCell (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableNodeInfoInner (ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
 
void TableOrientation (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableSpacing (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
 
void TableRowEnd (sal_uInt32 nDepth) override
 
void StartStyles () override
 Start of the styles table. More...
 
void EndStyles (sal_uInt16 nNumberOfStyles) override
 End of the styles table. More...
 
void DefaultStyle () override
 Write default style. More...
 
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...
 
void EndStyle () override
 End of a style in the styles table. More...
 
void StartStyleProperties (bool bParProp, sal_uInt16 nStyle) override
 Start of (paragraph or run) properties of a style. More...
 
void EndStyleProperties (bool bParProp) override
 End of (paragraph or run) properties of a style. More...
 
void OutlineNumbering (sal_uInt8 nLvl) override
 Numbering rule and Id. More...
 
void PageBreakBefore (bool bBreak) override
 Page break As a paragraph property - the paragraph should be on the next page. More...
 
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. More...
 
void StartSection () override
 Start of the section properties. More...
 
void EndSection () override
 End of the section properties. More...
 
void SectionFormProtection (bool bProtected) override
 Protection of forms. More...
 
void SectionLineNumbering (sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
 Numbering of the lines in the document. More...
 
void SectionTitlePage () override
 Has different headers/footers for the title page. More...
 
void SectionPageBorders (const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
 Description of the page borders. More...
 
void SectionBiDi (bool bBiDi) override
 Columns populated from right/numbers on the right side? More...
 
void SectionPageNumbering (sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber) override
 The style of the page numbers. More...
 
void SectionType (sal_uInt8 nBreakCode) override
 The type of breaking. More...
 
void SectFootnoteEndnotePr () override
 for footnote/endnote section properties More...
 
void WriteFootnoteEndnotePr (bool bFootnote, const SwEndNoteInfo &rInfo)
 
void NumberingDefinition (sal_uInt16 nId, const SwNumRule &rRule) override
 Definition of a numbering instance. More...
 
void StartAbstractNumbering (sal_uInt16 nId) override
 Start of the abstract numbering definition instance. More...
 
void EndAbstractNumbering () override
 End of the abstract numbering definition instance. More...
 
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, std::u16string_view rFieldCmd, FieldFlags nMode)
 
void WriteBookmarks_Impl (std::vector< OUString > &rStarts, std::vector< OUString > &rEnds)
 
void WriteAnnotationMarks_Impl (std::vector< OUString > &rStarts, std::vector< OUString > &rEnds)
 
void WriteHeaderFooter_Impl (const SwFrameFormat &rFormat, bool bHeader, const char *pStr, bool bTitlepg)
 
void WriteBookmarkInActParagraph (const OUString &, sal_Int32, sal_Int32) override
 Insert a bookmark inside the currently processed paragraph. More...
 
 RtfAttributeOutput (RtfExport &rExport)
 
 ~RtfAttributeOutput () override
 
MSWordExportBaseGetExport () override
 Return the right export class. More...
 
void StartFont (std::u16string_view rFamilyName) const
 Start the font. More...
 
void EndFont () const
 End the font. More...
 
void FontAlternateName (std::u16string_view rName) const
 Alternate name for the font. More...
 
void FontCharset (sal_uInt8 nCharSet) const
 Font charset. More...
 
void FontFamilyType (FontFamily eFamily, const wwFont &rFont) const
 Font family. More...
 
void FontPitchType (FontPitch ePitch) const
 Font pitch. More...
 
void BulletDefinition (int nId, const Graphic &rGraphic, Size aSize) override
 Exports the definition (image, size) of a single numbering picture bullet. More...
 
void writeTextFrame (const ww8::Frame &rFrame, bool bTextBox=false)
 Handles just the {\shptxt ...} part of a shape export. More...
 
OStringBuffer & GetTabStop ()
 
const SwPageDescGetPrevPageDesc () const
 
- 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)
 

Protected Member Functions

void OutputFlyFrame_Impl (const ww8::Frame &rFrame, const Point &rNdTopLeft) override
 Output frames - the implementation. More...
 
void CharCaseMap (const SvxCaseMapItem &rCaseMap) override
 Sfx item Sfx item RES_CHRATR_CASEMAP. More...
 
void CharColor (const SvxColorItem &rColor) override
 Sfx item Sfx item RES_CHRATR_COLOR. More...
 
void CharContour (const SvxContourItem &rContour) override
 Sfx item Sfx item RES_CHRATR_CONTOUR. More...
 
void CharCrossedOut (const SvxCrossedOutItem &rCrossedOut) override
 Sfx item RES_CHRATR_CROSSEDOUT. More...
 
void CharEscapement (const SvxEscapementItem &rEscapement) override
 Sfx item RES_CHRATR_ESCAPEMENT. More...
 
void CharFont (const SvxFontItem &rFont) override
 Sfx item RES_CHRATR_FONT. More...
 
void CharFontSize (const SvxFontHeightItem &rFontSize) override
 Sfx item RES_CHRATR_FONTSIZE. More...
 
void CharKerning (const SvxKerningItem &rKerning) override
 Sfx item RES_CHRATR_KERNING. More...
 
void CharLanguage (const SvxLanguageItem &rLanguage) override
 Sfx item RES_CHRATR_LANGUAGE. More...
 
void CharPosture (const SvxPostureItem &rPosture) override
 Sfx item RES_CHRATR_POSTURE. More...
 
void CharShadow (const SvxShadowedItem &rShadow) override
 Sfx item RES_CHRATR_SHADOWED. More...
 
void CharUnderline (const SvxUnderlineItem &rUnderline) override
 Sfx item RES_CHRATR_UNDERLINE. More...
 
void CharWeight (const SvxWeightItem &rWeight) override
 Sfx item RES_CHRATR_WEIGHT. More...
 
void CharAutoKern (const SvxAutoKernItem &rAutoKern) override
 Sfx item RES_CHRATR_AUTOKERN. More...
 
void CharAnimatedText (const SvxBlinkItem &rBlink) override
 Sfx item RES_CHRATR_BLINK. More...
 
void CharBackground (const SvxBrushItem &rBrush) override
 Sfx item RES_CHRATR_BACKGROUND. More...
 
void CharFontCJK (const SvxFontItem &rFont) override
 Sfx item RES_CHRATR_CJK_FONT. More...
 
void CharFontSizeCJK (const SvxFontHeightItem &rFontSize) override
 Sfx item RES_CHRATR_CJK_FONTSIZE. More...
 
void CharLanguageCJK (const SvxLanguageItem &rLanguageItem) override
 Sfx item RES_CHRATR_CJK_LANGUAGE. More...
 
void CharPostureCJK (const SvxPostureItem &rPosture) override
 Sfx item RES_CHRATR_CJK_POSTURE. More...
 
void CharWeightCJK (const SvxWeightItem &rWeight) override
 Sfx item RES_CHRATR_CJK_WEIGHT. More...
 
void CharFontCTL (const SvxFontItem &rFont) override
 Sfx item RES_CHRATR_CTL_FONT. More...
 
void CharFontSizeCTL (const SvxFontHeightItem &rFontSize) override
 Sfx item RES_CHRATR_CTL_FONTSIZE. More...
 
void CharLanguageCTL (const SvxLanguageItem &rLanguageItem) override
 Sfx item RES_CHRATR_CTL_LANGUAGE. More...
 
void CharPostureCTL (const SvxPostureItem &rPosture) override
 Sfx item RES_CHRATR_CTL_POSTURE. More...
 
void CharWeightCTL (const SvxWeightItem &rWeight) override
 Sfx item RES_CHRATR_CTL_WEIGHT. More...
 
void CharBidiRTL (const SfxPoolItem &rItem) override
 Sfx item RES_CHRATR_BidiRTL. More...
 
void CharIdctHint (const SfxPoolItem &rItem) override
 Sfx item RES_CHRATR_IdctHint. More...
 
void CharRotate (const SvxCharRotateItem &rRotate) override
 Sfx item RES_CHRATR_ROTATE. More...
 
void CharEmphasisMark (const SvxEmphasisMarkItem &rEmphasisMark) override
 Sfx item RES_CHRATR_EMPHASIS_MARK. More...
 
void CharTwoLines (const SvxTwoLinesItem &rTwoLines) override
 Sfx item RES_CHRATR_TWO_LINES. More...
 
void CharScaleWidth (const SvxCharScaleWidthItem &rScaleWidth) override
 Sfx item RES_CHRATR_SCALEW. More...
 
void CharRelief (const SvxCharReliefItem &rRelief) override
 Sfx item RES_CHRATR_RELIEF. More...
 
void CharHidden (const SvxCharHiddenItem &rHidden) override
 Sfx item RES_CHRATR_HIDDEN. More...
 
void CharBorder (const ::editeng::SvxBorderLine *pAllBorder, sal_uInt16 nDist, bool bShadow) override
 Sfx item RES_CHRATR_BOX. More...
 
void CharHighlight (const SvxBrushItem &rBrush) override
 Sfx item RES_CHRATR_HIGHLIGHT. More...
 
void TextINetFormat (const SwFormatINetFormat &rURL) override
 Sfx item RES_TXTATR_INETFMT. More...
 
void TextCharFormat (const SwFormatCharFormat &rCharFormat) override
 Sfx item RES_TXTATR_CHARFMT. More...
 
void TextFootnote_Impl (const SwFormatFootnote &rFootnote) override
 Sfx item RES_TXTATR_FTN. More...
 
void ParaLineSpacing_Impl (short nSpace, short nMulti) override
 Sfx item RES_PARATR_LINESPACING. More...
 
void ParaAdjust (const SvxAdjustItem &rAdjust) override
 Sfx item RES_PARATR_ADJUST. More...
 
void ParaSplit (const SvxFormatSplitItem &rSplit) override
 Sfx item RES_PARATR_SPLIT. More...
 
void ParaWidows (const SvxWidowsItem &rWidows) override
 Sfx item RES_PARATR_WIDOWS. More...
 
void ParaTabStop (const SvxTabStopItem &rTabStop) override
 Sfx item RES_PARATR_TABSTOP. More...
 
void ParaHyphenZone (const SvxHyphenZoneItem &rHyphenZone) override
 Sfx item RES_PARATR_HYPHENZONE. More...
 
void ParaNumRule_Impl (const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId) override
 Sfx item RES_PARATR_NUMRULE. More...
 
void ParaScriptSpace (const SfxBoolItem &rScriptSpace) override
 Sfx item RES_PARATR_SCRIPTSPACE. More...
 
void ParaHangingPunctuation (const SfxBoolItem &rItem) override
 Sfx item RES_PARATR_HANGINGPUNCTUATION. More...
 
void ParaForbiddenRules (const SfxBoolItem &rItem) override
 Sfx item RES_PARATR_FORBIDDEN_RULES. More...
 
void ParaVerticalAlign (const SvxParaVertAlignItem &rAlign) override
 Sfx item RES_PARATR_VERTALIGN. More...
 
void ParaSnapToGrid (const SvxParaGridItem &rItem) override
 Sfx item RES_PARATR_SNAPTOGRID. More...
 
void FormatFrameSize (const SwFormatFrameSize &rSize) override
 Sfx item RES_FRM_SIZE. More...
 
void FormatPaperBin (const SvxPaperBinItem &rItem) 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...
 
void FormatLRSpace (const SvxLRSpaceItem &rLRSpace) override
 Sfx item RES_LR_SPACE. More...
 
void FormatULSpace (const SvxULSpaceItem &rULSpace) override
 Sfx item RES_UL_SPACE. More...
 
void FormatSurround (const SwFormatSurround &rSurround) override
 Sfx item RES_SURROUND. More...
 
void FormatVertOrientation (const SwFormatVertOrient &rFlyVert) override
 Sfx item RES_VERT_ORIENT. More...
 
void FormatHorizOrientation (const SwFormatHoriOrient &rFlyHori) override
 Sfx item RES_HORI_ORIENT. More...
 
void FormatAnchor (const SwFormatAnchor &rAnchor) override
 Sfx item RES_ANCHOR. More...
 
void FormatBackground (const SvxBrushItem &rBrush) override
 Sfx item RES_BACKGROUND. More...
 
void FormatFillStyle (const XFillStyleItem &rFillStyle) override
 Sfx item RES_FILL_STYLE. More...
 
void FormatFillGradient (const XFillGradientItem &rFillGradient) override
 Sfx item RES_FILL_GRADIENT. More...
 
void FormatBox (const SvxBoxItem &rBox) override
 Sfx item RES_BOX. More...
 
void FormatColumns_Impl (sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
 Sfx item RES_COL. More...
 
void FormatKeep (const SvxFormatKeepItem &rItem) override
 Sfx item RES_KEEP. More...
 
void FormatTextGrid (const SwTextGridItem &rItem) override
 Sfx item RES_TEXTGRID. More...
 
void FormatLineNumbering (const SwFormatLineNumber &rNumbering) override
 Sfx item RES_LINENUMBER. More...
 
void FormatFrameDirection (const SvxFrameDirectionItem &rDirection) override
 Sfx item RES_FRAMEDIR. More...
 
void ParaGrabBag (const SfxGrabBagItem &rItem) override
 Sfx item RES_PARATR_GRABBAG. More...
 
void CharGrabBag (const SfxGrabBagItem &rItem) override
 Sfx item RES_CHRATR_GRABBAG. More...
 
void ParaOutlineLevel (const SfxUInt16Item &rItem) override
 Sfx item RES_PARATR_OUTLINELEVEL. More...
 
void WriteExpand (const SwField *pField) override
 Write the expanded field. More...
 
void RefField (const SwField &rField, const OUString &rRef) override
 
void HiddenField (const SwField &rField) override
 
void SetField (const SwField &rField, ww::eField eType, const OUString &rCmd) override
 
void PostitField (const SwField *pField) override
 
bool DropdownField (const SwField *pField) override
 
bool PlaceholderField (const SwField *pField) override
 
void SectionRtlGutter (const SfxBoolItem &rRtlGutter) override
 RES_RTL_GUTTER. More...
 
void TextLineBreak (const SwFormatLineBreak &rLineBreak) override
 RES_TXTATR_LINEBREAK, i.e. clearing breaks. 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...
 

Private Member Functions

void FlyFrameGraphic (const SwFlyFrameFormat *pFlyFrameFormat, const SwGrfNode *pGrfNode)
 Output graphic fly frames. More...
 
void FlyFrameOLE (const SwFlyFrameFormat *pFlyFrameFormat, SwOLENode &rOLENode, const Size &rSize)
 
void FlyFrameOLEReplacement (const SwFlyFrameFormat *pFlyFrameFormat, SwOLENode &rOLENode, const Size &rSize)
 
bool FlyFrameOLEMath (const SwFlyFrameFormat *pFlyFrameFormat, SwOLENode &rOLENode, const Size &rSize)
 Math export. More...
 
void InitTableHelper (const ww8::WW8TableNodeInfoInner::Pointer_t &pTableTextNodeInfoInner)
 
void StartTable ()
 
void StartTableRow (const ww8::WW8TableNodeInfoInner::Pointer_t &pTableTextNodeInfoInner)
 
void StartTableCell ()
 
void TableCellProperties (const ww8::WW8TableNodeInfoInner::Pointer_t &pTableTextNodeInfoInner)
 
void EndTableCell ()
 
void EndTableRow ()
 
void EndTable ()
 
void FinishTableRowCell (const ww8::WW8TableNodeInfoInner::Pointer_t &pInner)
 End cell, row, and even the entire table if necessary. More...
 
void WriteTextFootnoteNumStr (const SwFormatFootnote &rFootnote)
 

Private Attributes

RtfExportm_rExport
 Reference to the export, where to get the data from. More...
 
OStringBuffer m_aTabStop
 
const SwPageDescm_pPrevPageDesc
 Access to the page style of the previous paragraph. More...
 
OUString m_rStyleName
 
sal_uInt16 m_nStyleId
 
sal_uInt16 m_nListId
 
RtfStringBuffer m_aRun
 
RtfStringBuffer m_aRunText
 
OStringBuffer m_aAfterRuns
 
OStringBuffer m_aStylesheet
 
OStringBuffer m_aStyles
 
OStringBuffer m_aStylesAssocHich
 
OStringBuffer m_aStylesAssocDbch
 
OStringBuffer m_aStylesAssocRtlch
 
OStringBuffer m_aStylesAssocLtrch
 
bool m_bIsRTL
 
sal_uInt16 m_nScript
 
bool m_bControlLtrRtl
 
sal_Int32 m_nNextAnnotationMarkId
 
sal_Int32 m_nCurrentAnnotationMarkId
 
std::map< OString, sal_Int32 > m_rOpenedAnnotationMarksIds
 Maps annotation mark names to ID's. More...
 
std::unique_ptr< SwWriteTablem_pTableWrt
 
bool m_bTableCellOpen
 
sal_uInt32 m_nTableDepth
 
bool m_bTableAfterCell
 
OStringBuffer m_aRowDefs
 
bool m_nColBreakNeeded
 
bool m_bBufferSectionBreaks
 
OStringBuffer m_aSectionBreaks
 
bool m_bBufferSectionHeaders
 
OStringBuffer m_aSectionHeaders
 
bool m_bLastTable
 
std::vector< OString > m_aTables
 
bool m_bWroteCellInfo
 
bool m_bTableRowEnded
 If we ended a table row without starting a new one. More...
 
std::map< sal_uInt32, sal_uInt32 > m_aCells
 Number of cells from the table definition, by depth. More...
 
bool m_bIsBeforeFirstParagraph
 
bool m_bSingleEmptyRun
 If we're in a paragraph that has a single empty run only. More...
 
bool m_bInRun
 
bool m_bInRuby
 
std::map< sal_uInt16, const SwPostItField * > m_aPostitFields
 Maps ID's to postit fields, used in atrfstart/end and atnref. More...
 
const Sizem_pFlyFrameSize
 When exporting fly frames, this holds the real size of the frame. More...
 
std::vector< std::pair< OString, OString > > m_aFlyProperties
 
std::optional< css::drawing::FillStyle > m_oFillStyle
 
std::stack< OUString > m_aURLs
 If we're in the process of exporting a hyperlink, then its URL. More...
 
bool m_bParaBeforeAutoSpacing
 If original file had \sbauto. More...
 
sal_Int32 m_nParaBeforeSpacing
 If m_bParaBeforeAutoSpacing is set, value of \sb. More...
 
bool m_bParaAfterAutoSpacing
 If original file had \saauto. More...
 
sal_Int32 m_nParaAfterSpacing
 If m_bParaBeforeAutoSpacing is set, value of. More...
 
editeng::WordPageMargins m_aPageMargins
 

Friends

class RtfStringBufferValue
 
class SaveRunState
 

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 RTF.

Definition at line 42 of file rtfattributeoutput.hxx.

Constructor & Destructor Documentation

◆ RtfAttributeOutput()

RtfAttributeOutput::RtfAttributeOutput ( RtfExport rExport)
explicit

Definition at line 4051 of file rtfattributeoutput.cxx.

References LATIN.

◆ ~RtfAttributeOutput()

RtfAttributeOutput::~RtfAttributeOutput ( )
overridedefault

Member Function Documentation

◆ BulletDefinition()

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

◆ CharAnimatedText()

void RtfAttributeOutput::CharAnimatedText ( const SvxBlinkItem rBlink)
overrideprotectedvirtual

Sfx item RES_CHRATR_BLINK.

Implements AttributeOutputBase.

Definition at line 2803 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_ANIMTEXT.

◆ CharAutoKern()

void RtfAttributeOutput::CharAutoKern ( const SvxAutoKernItem rAutoKern)
overrideprotectedvirtual

Sfx item RES_CHRATR_AUTOKERN.

Implements AttributeOutputBase.

Definition at line 2797 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_KERNING.

◆ CharBackground()

void RtfAttributeOutput::CharBackground ( const SvxBrushItem rBrush)
overrideprotectedvirtual

◆ CharBidiRTL()

void RtfAttributeOutput::CharBidiRTL ( const SfxPoolItem rItem)
overrideprotectedvirtual

Sfx item RES_CHRATR_BidiRTL.

Implements AttributeOutputBase.

Definition at line 2880 of file rtfattributeoutput.cxx.

◆ CharBorder()

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

Sfx item RES_CHRATR_BOX.

Implements AttributeOutputBase.

Definition at line 2962 of file rtfattributeoutput.cxx.

References m_aStyles, m_rExport, OOO_STRING_SVTOOLS_RTF_CHBRDR, and OutBorderLine().

◆ CharCaseMap()

void RtfAttributeOutput::CharCaseMap ( const SvxCaseMapItem rCaseMap)
overrideprotectedvirtual

Sfx item Sfx item RES_CHRATR_CASEMAP.

Implements AttributeOutputBase.

Definition at line 2517 of file rtfattributeoutput.cxx.

References m_aStyles, OOO_STRING_SVTOOLS_RTF_CAPS, and OOO_STRING_SVTOOLS_RTF_SCAPS.

◆ CharColor()

void RtfAttributeOutput::CharColor ( const SvxColorItem rColor)
overrideprotectedvirtual

Sfx item Sfx item RES_CHRATR_COLOR.

Implements AttributeOutputBase.

Definition at line 2536 of file rtfattributeoutput.cxx.

References RtfExport::GetColor(), SvxColorItem::GetValue(), m_aStyles, m_rExport, and OOO_STRING_SVTOOLS_RTF_CF.

◆ CharContour()

void RtfAttributeOutput::CharContour ( const SvxContourItem rContour)
overrideprotectedvirtual

Sfx item Sfx item RES_CHRATR_CONTOUR.

Implements AttributeOutputBase.

Definition at line 2544 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_OUTL.

◆ CharCrossedOut()

void RtfAttributeOutput::CharCrossedOut ( const SvxCrossedOutItem rCrossedOut)
overrideprotectedvirtual

◆ CharEmphasisMark()

void RtfAttributeOutput::CharEmphasisMark ( const SvxEmphasisMarkItem rEmphasisMark)
overrideprotectedvirtual

◆ CharEscapement()

void RtfAttributeOutput::CharEscapement ( const SvxEscapementItem rEscapement)
overrideprotectedvirtual

◆ CharFont()

void RtfAttributeOutput::CharFont ( const SvxFontItem rFont)
overrideprotectedvirtual

◆ CharFontCJK()

void RtfAttributeOutput::CharFontCJK ( const SvxFontItem rFont)
overrideprotectedvirtual

◆ CharFontCTL()

void RtfAttributeOutput::CharFontCTL ( const SvxFontItem rFont)
overrideprotectedvirtual

◆ CharFontSize()

void RtfAttributeOutput::CharFontSize ( const SvxFontHeightItem rFontSize)
overrideprotectedvirtual

◆ CharFontSizeCJK()

void RtfAttributeOutput::CharFontSizeCJK ( const SvxFontHeightItem rFontSize)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_FONTSIZE.

Implements AttributeOutputBase.

Definition at line 2825 of file rtfattributeoutput.cxx.

References CharFontSize().

◆ CharFontSizeCTL()

void RtfAttributeOutput::CharFontSizeCTL ( const SvxFontHeightItem rFontSize)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_FONTSIZE.

Implements AttributeOutputBase.

Definition at line 2856 of file rtfattributeoutput.cxx.

References CharFontSize().

◆ CharGrabBag()

void RtfAttributeOutput::CharGrabBag ( const SfxGrabBagItem rItem)
overrideprotectedvirtual

Sfx item RES_CHRATR_GRABBAG.

Implements AttributeOutputBase.

Definition at line 3961 of file rtfattributeoutput.cxx.

◆ CharHidden()

void RtfAttributeOutput::CharHidden ( const SvxCharHiddenItem rHidden)
overrideprotectedvirtual

Sfx item RES_CHRATR_HIDDEN.

Implements AttributeOutputBase.

Definition at line 2955 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_V.

◆ CharHighlight()

void RtfAttributeOutput::CharHighlight ( const SvxBrushItem rBrush)
overrideprotectedvirtual

Sfx item RES_CHRATR_HIGHLIGHT.

Implements AttributeOutputBase.

Definition at line 2970 of file rtfattributeoutput.cxx.

References SvxBrushItem::GetColor(), m_aStyles, OOO_STRING_SVTOOLS_RTF_HIGHLIGHT, and msfilter::util::TransColToIco().

◆ CharIdctHint()

void RtfAttributeOutput::CharIdctHint ( const SfxPoolItem rItem)
overrideprotectedvirtual

Sfx item RES_CHRATR_IdctHint.

Implements AttributeOutputBase.

Definition at line 2882 of file rtfattributeoutput.cxx.

◆ CharKerning()

void RtfAttributeOutput::CharKerning ( const SvxKerningItem rKerning)
overrideprotectedvirtual

Sfx item RES_CHRATR_KERNING.

Implements AttributeOutputBase.

Definition at line 2663 of file rtfattributeoutput.cxx.

References m_aStyles, OOO_STRING_SVTOOLS_RTF_EXPND, and OOO_STRING_SVTOOLS_RTF_EXPNDTW.

◆ CharLanguage()

void RtfAttributeOutput::CharLanguage ( const SvxLanguageItem rLanguage)
overrideprotectedvirtual

◆ CharLanguageCJK()

void RtfAttributeOutput::CharLanguageCJK ( const SvxLanguageItem rLanguageItem)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_LANGUAGE.

Implements AttributeOutputBase.

Definition at line 2830 of file rtfattributeoutput.cxx.

References CharLanguage().

◆ CharLanguageCTL()

void RtfAttributeOutput::CharLanguageCTL ( const SvxLanguageItem rLanguageItem)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_LANGUAGE.

Implements AttributeOutputBase.

Definition at line 2861 of file rtfattributeoutput.cxx.

References CharLanguage().

◆ CharPosture()

void RtfAttributeOutput::CharPosture ( const SvxPostureItem rPosture)
overrideprotectedvirtual

Sfx item RES_CHRATR_POSTURE.

Implements AttributeOutputBase.

Definition at line 2700 of file rtfattributeoutput.cxx.

References SvxPostureItem::GetPosture(), ITALIC_NONE, m_aStyles, and OOO_STRING_SVTOOLS_RTF_I.

◆ CharPostureCJK()

void RtfAttributeOutput::CharPostureCJK ( const SvxPostureItem rPosture)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_POSTURE.

Implements AttributeOutputBase.

Definition at line 2835 of file rtfattributeoutput.cxx.

References SvxPostureItem::GetPosture(), ITALIC_NONE, m_aStylesAssocDbch, and OOO_STRING_SVTOOLS_RTF_I.

◆ CharPostureCTL()

void RtfAttributeOutput::CharPostureCTL ( const SvxPostureItem rPosture)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_POSTURE.

Implements AttributeOutputBase.

Definition at line 2866 of file rtfattributeoutput.cxx.

References SvxPostureItem::GetPosture(), ITALIC_NONE, m_aStylesAssocRtlch, and OOO_STRING_SVTOOLS_RTF_AI.

◆ CharRelief()

void RtfAttributeOutput::CharRelief ( const SvxCharReliefItem rRelief)
overrideprotectedvirtual

Sfx item RES_CHRATR_RELIEF.

Implements AttributeOutputBase.

Definition at line 2935 of file rtfattributeoutput.cxx.

References m_aStyles, OOO_STRING_SVTOOLS_RTF_EMBO, and OOO_STRING_SVTOOLS_RTF_IMPR.

◆ CharRotate()

void RtfAttributeOutput::CharRotate ( const SvxCharRotateItem rRotate)
overrideprotectedvirtual

Sfx item RES_CHRATR_ROTATE.

Implements AttributeOutputBase.

Definition at line 2884 of file rtfattributeoutput.cxx.

References SvxCharRotateItem::IsFitToLine(), m_aStyles, and OOO_STRING_SVTOOLS_RTF_HORZVERT.

◆ CharScaleWidth()

void RtfAttributeOutput::CharScaleWidth ( const SvxCharScaleWidthItem rScaleWidth)
overrideprotectedvirtual

Sfx item RES_CHRATR_SCALEW.

Implements AttributeOutputBase.

Definition at line 2929 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_CHARSCALEX.

◆ CharShadow()

void RtfAttributeOutput::CharShadow ( const SvxShadowedItem rShadow)
overrideprotectedvirtual

Sfx item RES_CHRATR_SHADOWED.

Implements AttributeOutputBase.

Definition at line 2707 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_SHAD.

◆ CharTwoLines()

void RtfAttributeOutput::CharTwoLines ( const SvxTwoLinesItem rTwoLines)
overrideprotectedvirtual

◆ CharUnderline()

void RtfAttributeOutput::CharUnderline ( const SvxUnderlineItem rUnderline)
overrideprotectedvirtual

◆ CharWeight()

void RtfAttributeOutput::CharWeight ( const SvxWeightItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_WEIGHT.

Implements AttributeOutputBase.

Definition at line 2790 of file rtfattributeoutput.cxx.

References SvxWeightItem::GetWeight(), m_aStyles, OOO_STRING_SVTOOLS_RTF_B, and WEIGHT_BOLD.

◆ CharWeightCJK()

void RtfAttributeOutput::CharWeightCJK ( const SvxWeightItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_CJK_WEIGHT.

Implements AttributeOutputBase.

Definition at line 2842 of file rtfattributeoutput.cxx.

References SvxWeightItem::GetWeight(), m_aStylesAssocDbch, OOO_STRING_SVTOOLS_RTF_AB, and WEIGHT_BOLD.

◆ CharWeightCTL()

void RtfAttributeOutput::CharWeightCTL ( const SvxWeightItem rWeight)
overrideprotectedvirtual

Sfx item RES_CHRATR_CTL_WEIGHT.

Implements AttributeOutputBase.

Definition at line 2873 of file rtfattributeoutput.cxx.

References SvxWeightItem::GetWeight(), m_aStylesAssocRtlch, OOO_STRING_SVTOOLS_RTF_AB, and WEIGHT_BOLD.

◆ DefaultStyle()

void RtfAttributeOutput::DefaultStyle ( )
overridevirtual

Write default style.

Implements AttributeOutputBase.

Definition at line 1270 of file rtfattributeoutput.cxx.

◆ DropdownField()

bool RtfAttributeOutput::DropdownField ( const SwField pField)
overrideprotectedvirtual

Implements AttributeOutputBase.

Definition at line 4035 of file rtfattributeoutput.cxx.

◆ EmptyParagraph()

void RtfAttributeOutput::EmptyParagraph ( )
overridevirtual

◆ EndAbstractNumbering()

void RtfAttributeOutput::EndAbstractNumbering ( )
overridevirtual

◆ EndFont()

void RtfAttributeOutput::EndFont ( ) const

◆ EndParagraph()

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

◆ EndParagraphProperties()

void RtfAttributeOutput::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 389 of file rtfattributeoutput.cxx.

References aProperties, m_aStyles, m_rExport, RtfExport::Strm(), and SvStream::WriteOString().

◆ EndRuby()

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

Output ruby end.

Implements AttributeOutputBase.

Definition at line 544 of file rtfattributeoutput.cxx.

◆ EndRun()

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

◆ EndRunProperties()

void RtfAttributeOutput::EndRunProperties ( const SwRedlineData pRedlineData)
overridevirtual

Called after we end outputting the attributes.

Implements AttributeOutputBase.

Definition at line 438 of file rtfattributeoutput.cxx.

References RtfStringBuffer::append(), aProperties, m_aRun, and MoveCharacterProperties().

Referenced by TextFootnote_Impl().

◆ EndSection()

void RtfAttributeOutput::EndSection ( )
overridevirtual

End of the section properties.

Implements AttributeOutputBase.

Definition at line 1367 of file rtfattributeoutput.cxx.

◆ EndStyle()

void RtfAttributeOutput::EndStyle ( )
overridevirtual

◆ EndStyleProperties()

void RtfAttributeOutput::EndStyleProperties ( bool  bParProp)
overridevirtual

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

Implements AttributeOutputBase.

Definition at line 1318 of file rtfattributeoutput.cxx.

◆ EndStyles()

void RtfAttributeOutput::EndStyles ( sal_uInt16  nNumberOfStyles)
overridevirtual

End of the styles table.

Implements AttributeOutputBase.

Definition at line 1262 of file rtfattributeoutput.cxx.

References m_aStylesheet, m_rExport, RtfExport::Strm(), SvStream::WriteChar(), and SvStream::WriteOString().

◆ EndTable()

void RtfAttributeOutput::EndTable ( )
private

Definition at line 1209 of file rtfattributeoutput.cxx.

References m_bTableCellOpen, m_nTableDepth, and m_pTableWrt.

Referenced by FinishTableRowCell().

◆ EndTableCell()

void RtfAttributeOutput::EndTableCell ( )
private

◆ EndTableRow()

void RtfAttributeOutput::EndTableRow ( )
private

◆ EndURL()

bool RtfAttributeOutput::EndURL ( bool  isAtEndOfParagraph)
overridevirtual

Output URL end.

Implements AttributeOutputBase.

Definition at line 576 of file rtfattributeoutput.cxx.

References RtfStringBuffer::append(), m_aRun, m_aRunText, and m_aURLs.

◆ FieldVanish()

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

Implements AttributeOutputBase.

Definition at line 609 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ FinishTableRowCell()

void RtfAttributeOutput::FinishTableRowCell ( const ww8::WW8TableNodeInfoInner::Pointer_t pInner)
private

End cell, row, and even the entire table if necessary.

Definition at line 1225 of file rtfattributeoutput.cxx.

References EndTable(), EndTableCell(), EndTableRow(), SwTable::GetTabLines(), and SwTableLines::size().

Referenced by EndParagraph(), and TableNodeInfoInner().

◆ FlyFrameGraphic()

void RtfAttributeOutput::FlyFrameGraphic ( const SwFlyFrameFormat pFlyFrameFormat,
const SwGrfNode pGrfNode 
)
private

Output graphic fly frames.

Definition at line 4357 of file rtfattributeoutput.cxx.

References sw::util::CorrectWordWrapPolygonForExport(), tools::PolyPolygon::Count(), ERRCODE_NONE, ESCHER_ShpInst_PictureFrame, GraphicConverter::Export(), ExportPICT(), SfxItemSet::Get(), SwContentNode::GetAttr(), RtfExport::GetCurrentEncoding(), SvMemoryStream::GetData(), GfxLink::GetData(), GfxLink::GetDataSize(), ww8::Frame::GetFrameFormat(), SwFormat::GetFrameSize(), Graphic::GetGfxLink(), SwGrfNode::GetGrf(), SvxSizeItem::GetHeight(), sw::util::GetNoTextNodeFromSwFrameFormat(), SwFlyFrameFormat::GetObjDescription(), SwFlyFrameFormat::GetObjTitle(), SwFormat::GetOpaque(), Graphic::GetPrefSize(), SwContentNode::GetpSwAttrSet(), tools::Polygon::GetSize(), Graphic::GetSizePixel(), SwFormat::GetSurround(), SwGrfNode::GetTwipSize(), GfxLink::GetType(), Graphic::GetType(), SvxSizeItem::GetWidth(), i, SwFormatSurround::IsContour(), GfxLink::IsEMF(), Graphic::IsGfxLink(), ww8::Frame::IsInline(), MSWordExportBase::m_aFrames, MSWordExportBase::m_bOutFlyFrameAttrs, m_pFlyFrameSize, MSWordExportBase::m_pParentFrame, m_rExport, OOO_STRING_SVTOOLS_RTF_EMFBLIP, OOO_STRING_SVTOOLS_RTF_IGNORE, OOO_STRING_SVTOOLS_RTF_JPEGBLIP, OOO_STRING_SVTOOLS_RTF_NONSHPPICT, OOO_STRING_SVTOOLS_RTF_PNGBLIP, OOO_STRING_SVTOOLS_RTF_SHP, OOO_STRING_SVTOOLS_RTF_SHPINST, OOO_STRING_SVTOOLS_RTF_SHPPICT, OOO_STRING_SVTOOLS_RTF_SN, OOO_STRING_SVTOOLS_RTF_SP, OOO_STRING_SVTOOLS_RTF_SV, OOO_STRING_SVTOOLS_RTF_WMETAFILE, MSWordExportBase::OutputFormat(), msfilter::rtfutil::OutString(), RES_GRFATR_CROPGRF(), RES_GRFATR_ROTATION(), RTF_MULTIPLIER, SAL_NEWLINE_STRING, SAL_WARN, SvStream::Seek(), Size::setHeight(), RtfExport::SetRTFFlySyntax(), Size::setWidth(), RtfExport::Strm(), SvMemoryStream::TellEnd(), SvStream::WriteChar(), and SvStream::WriteOString().

Referenced by RtfStringBufferValue::makeStringAndClear().

◆ FlyFrameOLE()

void RtfAttributeOutput::FlyFrameOLE ( const SwFlyFrameFormat pFlyFrameFormat,
SwOLENode rOLENode,
const Size rSize 
)
private

Definition at line 4348 of file rtfattributeoutput.cxx.

References FlyFrameOLEMath(), and FlyFrameOLEReplacement().

Referenced by OutputFlyFrame_Impl().

◆ FlyFrameOLEMath()

bool RtfAttributeOutput::FlyFrameOLEMath ( const SwFlyFrameFormat pFlyFrameFormat,
SwOLENode rOLENode,
const Size rSize 
)
private

◆ FlyFrameOLEReplacement()

void RtfAttributeOutput::FlyFrameOLEReplacement ( const SwFlyFrameFormat pFlyFrameFormat,
SwOLENode rOLENode,
const Size rSize 
)
private

◆ FontAlternateName()

void RtfAttributeOutput::FontAlternateName ( std::u16string_view  rName) const

◆ FontCharset()

void RtfAttributeOutput::FontCharset ( sal_uInt8  nCharSet) const

◆ FontFamilyType()

void RtfAttributeOutput::FontFamilyType ( FontFamily  eFamily,
const wwFont rFont 
) const

◆ FontPitchType()

void RtfAttributeOutput::FontPitchType ( FontPitch  ePitch) const

◆ FormatAnchor()

void RtfAttributeOutput::FormatAnchor ( const SwFormatAnchor rAnchor)
overrideprotectedvirtual

◆ FormatBackground()

void RtfAttributeOutput::FormatBackground ( const SvxBrushItem rBrush)
overrideprotectedvirtual

◆ FormatBox()

void RtfAttributeOutput::FormatBox ( const SvxBoxItem rBox)
overrideprotectedvirtual

◆ FormatColumns_Impl()

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

◆ FormatDrop()

void RtfAttributeOutput::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 640 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ FormatFillGradient()

void RtfAttributeOutput::FormatFillGradient ( const XFillGradientItem rFillGradient)
overrideprotectedvirtual

◆ FormatFillStyle()

void RtfAttributeOutput::FormatFillStyle ( const XFillStyleItem rFillStyle)
overrideprotectedvirtual

Sfx item RES_FILL_STYLE.

Implements AttributeOutputBase.

Definition at line 3695 of file rtfattributeoutput.cxx.

References m_oFillStyle.

◆ FormatFirstLineIndent()

void RtfAttributeOutput::FormatFirstLineIndent ( const SvxFirstLineIndentItem rFirstLine)
overrideprotectedvirtual

Sfx item RES_MARGIN_FIRSTLINE.

Implements AttributeOutputBase.

Definition at line 3316 of file rtfattributeoutput.cxx.

References SvxFirstLineIndentItem::GetTextFirstLineOffset(), m_aStyles, and OOO_STRING_SVTOOLS_RTF_FI.

Referenced by ParaNumRule_Impl().

◆ FormatFrameDirection()

void RtfAttributeOutput::FormatFrameDirection ( const SvxFrameDirectionItem rDirection)
overrideprotectedvirtual

◆ FormatFrameSize()

void RtfAttributeOutput::FormatFrameSize ( const SwFormatFrameSize rSize)
overrideprotectedvirtual

◆ FormatHorizOrientation()

void RtfAttributeOutput::FormatHorizOrientation ( const SwFormatHoriOrient rFlyHori)
overrideprotectedvirtual

◆ FormatKeep()

void RtfAttributeOutput::FormatKeep ( const SvxFormatKeepItem rItem)
overrideprotectedvirtual

Sfx item RES_KEEP.

Implements AttributeOutputBase.

Definition at line 3882 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_KEEPN.

◆ FormatLineNumbering()

void RtfAttributeOutput::FormatLineNumbering ( const SwFormatLineNumber rNumbering)
overrideprotectedvirtual

Sfx item RES_LINENUMBER.

Implements AttributeOutputBase.

Definition at line 3893 of file rtfattributeoutput.cxx.

References SwFormatLineNumber::IsCount(), m_aStyles, and OOO_STRING_SVTOOLS_RTF_NOLINE.

◆ FormatLRSpace()

void RtfAttributeOutput::FormatLRSpace ( const SvxLRSpaceItem rLRSpace)
overrideprotectedvirtual

◆ FormatPaperBin()

void RtfAttributeOutput::FormatPaperBin ( const SvxPaperBinItem rItem)
overrideprotectedvirtual

Sfx item RES_PAPER_BIN.

Implements AttributeOutputBase.

Definition at line 3311 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ FormatRightMargin()

void RtfAttributeOutput::FormatRightMargin ( const SvxRightMarginItem rRightMargin)
overrideprotectedvirtual

Sfx item RES_MARGIN_RIGHT.

Implements AttributeOutputBase.

Definition at line 3330 of file rtfattributeoutput.cxx.

References SvxRightMarginItem::GetRight(), m_aStyles, OOO_STRING_SVTOOLS_RTF_RI, and OOO_STRING_SVTOOLS_RTF_RIN.

◆ FormatSurround()

void RtfAttributeOutput::FormatSurround ( const SwFormatSurround rSurround)
overrideprotectedvirtual

◆ FormatTextGrid()

void RtfAttributeOutput::FormatTextGrid ( const SwTextGridItem rItem)
overrideprotectedvirtual

Sfx item RES_TEXTGRID.

Implements AttributeOutputBase.

Definition at line 3888 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ FormatTextLeftMargin()

void RtfAttributeOutput::FormatTextLeftMargin ( const SvxTextLeftMarginItem rTextLeftMargin)
overrideprotectedvirtual

Sfx item RES_MARGIN_TEXTLEFT.

Implements AttributeOutputBase.

Definition at line 3322 of file rtfattributeoutput.cxx.

References SvxTextLeftMarginItem::GetTextLeft(), m_aStyles, OOO_STRING_SVTOOLS_RTF_LI, and OOO_STRING_SVTOOLS_RTF_LIN.

Referenced by ParaNumRule_Impl().

◆ FormatULSpace()

void RtfAttributeOutput::FormatULSpace ( const SvxULSpaceItem rULSpace)
overrideprotectedvirtual

◆ FormatVertOrientation()

void RtfAttributeOutput::FormatVertOrientation ( const SwFormatVertOrient rFlyVert)
overrideprotectedvirtual

◆ GetExport()

MSWordExportBase & RtfAttributeOutput::GetExport ( )
overridevirtual

Return the right export class.

Implements AttributeOutputBase.

Definition at line 4085 of file rtfattributeoutput.cxx.

References m_rExport.

Referenced by FormatBox(), FormatFrameDirection(), OutputFlyFrame_Impl(), and StartRuby().

◆ GetPrevPageDesc()

const SwPageDesc * RtfAttributeOutput::GetPrevPageDesc ( ) const
inline

Definition at line 691 of file rtfattributeoutput.hxx.

References m_pPrevPageDesc.

◆ GetTabStop()

OStringBuffer & RtfAttributeOutput::GetTabStop ( )
inline

Definition at line 689 of file rtfattributeoutput.hxx.

References m_aTabStop.

◆ HiddenField()

void RtfAttributeOutput::HiddenField ( const SwField rField)
overrideprotectedvirtual

Implements AttributeOutputBase.

Definition at line 3986 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ InitTableHelper()

void RtfAttributeOutput::InitTableHelper ( const ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner)
private

◆ MoveCharacterProperties()

OString RtfAttributeOutput::MoveCharacterProperties ( bool  aAutoWriteRtlLtr = false)

◆ NumberingDefinition()

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

◆ NumberingLevel()

void RtfAttributeOutput::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

All the numbering level information.

Implements AttributeOutputBase.

Definition at line 1612 of file rtfattributeoutput.cxx.

References aProperties, SfxItemSet::Get(), RtfExport::GetDefaultEncoding(), MSWordExportBase::GetGrfIndex(), wwFontHelper::GetId(), SvxLanguageItem::GetLanguage(), i, LANGUAGE_CHINESE_SIMPLIFIED, LO_STRING_SVTOOLS_RTF_LEVELPICTURE, MSWordExportBase::m_aFontHelper, MSWordExportBase::m_bExportModeRTF, m_rExport, MoveCharacterProperties(), nIndex, OOO_STRING_SVTOOLS_RTF_F, OOO_STRING_SVTOOLS_RTF_FI, OOO_STRING_SVTOOLS_RTF_IGNORE, OOO_STRING_SVTOOLS_RTF_LEVELFOLLOW, OOO_STRING_SVTOOLS_RTF_LEVELJC, OOO_STRING_SVTOOLS_RTF_LEVELNFC, OOO_STRING_SVTOOLS_RTF_LEVELNUMBERS, OOO_STRING_SVTOOLS_RTF_LEVELSTARTAT, OOO_STRING_SVTOOLS_RTF_LEVELTEXT, OOO_STRING_SVTOOLS_RTF_LI, OOO_STRING_SVTOOLS_RTF_LISTLEVEL, OOO_STRING_SVTOOLS_RTF_SOUTLVL, msfilter::rtfutil::OutHex(), MSWordExportBase::OutputItemSet(), msfilter::rtfutil::OutString(), RES_CHRATR_CJK_LANGUAGE(), SAL_NEWLINE_STRING, RtfExport::Strm(), SVX_NUM_AIU_FULLWIDTH_JA, SVX_NUM_AIU_HALFWIDTH_JA, SVX_NUM_ARABIC_ZERO, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_CIRCLE_NUMBER, SVX_NUM_DI_ZI_ZH, SVX_NUM_FULL_WIDTH_ARABIC, SVX_NUM_IROHA_FULLWIDTH_JA, SVX_NUM_IROHA_HALFWIDTH_JA, SVX_NUM_NUMBER_LOWER_ZH, SVX_NUM_NUMBER_NONE, SVX_NUM_NUMBER_TRADITIONAL_JA, SVX_NUM_NUMBER_UPPER_ZH, SVX_NUM_NUMBER_UPPER_ZH_TW, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, SVX_NUM_TIAN_GAN_ZH, SvStream::WriteChar(), SvStream::WriteNumberAsString(), and SvStream::WriteOString().

◆ OutlineNumbering()

void RtfAttributeOutput::OutlineNumbering ( sal_uInt8  nLvl)
overridevirtual

◆ OutputFlyFrame_Impl()

void RtfAttributeOutput::OutputFlyFrame_Impl ( const ww8::Frame rFrame,
const Point rNdTopLeft 
)
overrideprotectedvirtual

Output frames - the implementation.

Implements AttributeOutputBase.

Definition at line 2144 of file rtfattributeoutput.cxx.

References aBuf, RtfSdrExport::AddSdrObject(), RtfStringBuffer::append(), aStr, ww8::Frame::eDrawing, ww::eFORMCHECKBOX, ww8::Frame::eFormControl, ww::eFORMDROPDOWN, ww::eFORMTEXT, ww8::Frame::eGraphic, SwNode::EndOfSectionIndex(), ww8::Frame::eOle, ESCHER_ShpInst_TextBox, ww8::Frame::eTextBox, FieldString(), SwFrameFormat::FindRealSdrObject(), FlyFrameOLE(), ww8::Frame::GetContent(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), RtfExport::GetCurrentEncoding(), GetExport(), SwFormat::GetFlySplit(), ww8::Frame::GetFrameFormat(), SwNode::GetGrfNode(), SwNodeIndex::GetIndex(), ww8::Frame::GetLayoutSize(), SwNodeIndex::GetNode(), SwNode::GetOLENode(), ww8::Frame::GetSize(), SfxBoolItem::GetValue(), ww8::Frame::GetWriterType(), i, ww8::Frame::IsInline(), RtfSdrExport::isTextBox(), m_aFlyProperties, m_aRun, m_aRunText, m_aStyles, MSWordExportBase::m_bOutFlyFrameAttrs, m_pFlyFrameSize, MSWordExportBase::m_pParentFrame, m_rExport, RtfStringBuffer::makeStringAndClear(), OOO_STRING_SVTOOLS_RTF_DATAFIELD, OOO_STRING_SVTOOLS_RTF_FFDEFRES, OOO_STRING_SVTOOLS_RTF_FFHASLISTBOX, OOO_STRING_SVTOOLS_RTF_FFHELPTEXT, OOO_STRING_SVTOOLS_RTF_FFHPS, OOO_STRING_SVTOOLS_RTF_FFL, OOO_STRING_SVTOOLS_RTF_FFNAME, OOO_STRING_SVTOOLS_RTF_FFOWNHELP, OOO_STRING_SVTOOLS_RTF_FFOWNSTAT, OOO_STRING_SVTOOLS_RTF_FFRES, OOO_STRING_SVTOOLS_RTF_FFSTATTEXT, OOO_STRING_SVTOOLS_RTF_FFTYPE, OOO_STRING_SVTOOLS_RTF_FIELD, OOO_STRING_SVTOOLS_RTF_FLDINST, OOO_STRING_SVTOOLS_RTF_FLDRSLT, OOO_STRING_SVTOOLS_RTF_FORMFIELD, OOO_STRING_SVTOOLS_RTF_IGNORE, OOO_STRING_SVTOOLS_RTF_SHP, OOO_STRING_SVTOOLS_RTF_SHPINST, OOO_STRING_SVTOOLS_RTF_SHPZ, OOO_STRING_SVTOOLS_RTF_SN, OOO_STRING_SVTOOLS_RTF_SP, OOO_STRING_SVTOOLS_RTF_SV, OUStringToOString(), msfilter::rtfutil::OutHex(), MSWordExportBase::OutputFormat(), pObject, MSWordExportBase::RestoreData(), SAL_INFO, SAL_NEWLINE_STRING, MSWordExportBase::SaveData(), RtfExport::SdrExporter(), RtfExport::SetRTFFlySyntax(), sName, RtfExport::Strm(), SvStream::WriteChar(), SvStream::WriteNumberAsString(), SvStream::WriteOString(), MSWordExportBase::WriteText(), and writeTextFrame().

◆ PageBreakBefore()

void RtfAttributeOutput::PageBreakBefore ( bool  bBreak)
overridevirtual

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

Implements AttributeOutputBase.

Definition at line 1331 of file rtfattributeoutput.cxx.

References m_rExport, OOO_STRING_SVTOOLS_RTF_PAGEBB, RtfExport::Strm(), and SvStream::WriteOString().

◆ ParaAdjust()

void RtfAttributeOutput::ParaAdjust ( const SvxAdjustItem rAdjust)
overrideprotectedvirtual

◆ ParaForbiddenRules()

void RtfAttributeOutput::ParaForbiddenRules ( const SfxBoolItem rItem)
overrideprotectedvirtual

Sfx item RES_PARATR_FORBIDDEN_RULES.

Implements AttributeOutputBase.

Definition at line 3260 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ ParaGrabBag()

void RtfAttributeOutput::ParaGrabBag ( const SfxGrabBagItem rItem)
overrideprotectedvirtual

◆ ParagraphStyle()

void RtfAttributeOutput::ParagraphStyle ( sal_uInt16  nStyle)
overridevirtual

◆ ParaHangingPunctuation()

void RtfAttributeOutput::ParaHangingPunctuation ( const SfxBoolItem rItem)
overrideprotectedvirtual

Sfx item RES_PARATR_HANGINGPUNCTUATION.

Implements AttributeOutputBase.

Definition at line 3255 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ ParaHyphenZone()

void RtfAttributeOutput::ParaHyphenZone ( const SvxHyphenZoneItem rHyphenZone)
overrideprotectedvirtual

Sfx item RES_PARATR_HYPHENZONE.

Implements AttributeOutputBase.

Definition at line 3162 of file rtfattributeoutput.cxx.

References SvxHyphenZoneItem::IsHyphen(), m_aStyles, and OOO_STRING_SVTOOLS_RTF_HYPHPAR.

◆ ParaLineSpacing_Impl()

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

Sfx item RES_PARATR_LINESPACING.

Implements AttributeOutputBase.

Definition at line 3054 of file rtfattributeoutput.cxx.

References m_aStyles, OOO_STRING_SVTOOLS_RTF_SL, and OOO_STRING_SVTOOLS_RTF_SLMULT.

◆ ParaNumRule_Impl()

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

◆ ParaOutlineLevel()

void RtfAttributeOutput::ParaOutlineLevel ( const SfxUInt16Item rItem)
overrideprotectedvirtual

Sfx item RES_PARATR_OUTLINELEVEL.

Implements AttributeOutputBase.

Definition at line 3963 of file rtfattributeoutput.cxx.

◆ ParaScriptSpace()

void RtfAttributeOutput::ParaScriptSpace ( const SfxBoolItem rScriptSpace)
overrideprotectedvirtual

Sfx item RES_PARATR_SCRIPTSPACE.

Implements AttributeOutputBase.

Definition at line 3247 of file rtfattributeoutput.cxx.

References SfxBoolItem::GetValue(), m_aStyles, and OOO_STRING_SVTOOLS_RTF_ASPALPHA.

◆ ParaSnapToGrid()

void RtfAttributeOutput::ParaSnapToGrid ( const SvxParaGridItem rItem)
overrideprotectedvirtual

Sfx item RES_PARATR_SNAPTOGRID.

Implements AttributeOutputBase.

Definition at line 3290 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ ParaSplit()

void RtfAttributeOutput::ParaSplit ( const SvxFormatSplitItem rSplit)
overrideprotectedvirtual

Sfx item RES_PARATR_SPLIT.

Implements AttributeOutputBase.

Definition at line 3087 of file rtfattributeoutput.cxx.

References m_aStyles, and OOO_STRING_SVTOOLS_RTF_KEEP.

◆ ParaTabStop()

void RtfAttributeOutput::ParaTabStop ( const SvxTabStopItem rTabStop)
overrideprotectedvirtual

◆ ParaVerticalAlign()

void RtfAttributeOutput::ParaVerticalAlign ( const SvxParaVertAlignItem rAlign)
overrideprotectedvirtual

◆ ParaWidows()

void RtfAttributeOutput::ParaWidows ( const SvxWidowsItem rWidows)
overrideprotectedvirtual

Sfx item RES_PARATR_WIDOWS.

Implements AttributeOutputBase.

Definition at line 3093 of file rtfattributeoutput.cxx.

References m_aStyles, OOO_STRING_SVTOOLS_RTF_NOWIDCTLPAR, and OOO_STRING_SVTOOLS_RTF_WIDCTLPAR.

◆ PlaceholderField()

bool RtfAttributeOutput::PlaceholderField ( const SwField pField)
overrideprotectedvirtual

◆ PostitField()

void RtfAttributeOutput::PostitField ( const SwField pField)
overrideprotectedvirtual

◆ RawText()

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

Output text (without markup).

Implements AttributeOutputBase.

Definition at line 521 of file rtfattributeoutput.cxx.

References RtfStringBuffer::append(), m_aRunText, and msfilter::rtfutil::OutString().

Referenced by RunText().

◆ Redline()

void RtfAttributeOutput::Redline ( const SwRedlineData pRedline)
overridevirtual

◆ RefField()

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

Implements AttributeOutputBase.

Definition at line 3981 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ RTLAndCJKState()

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

Export the state of RTL/CJK.

Implements AttributeOutputBase.

Definition at line 211 of file rtfattributeoutput.cxx.

References m_bControlLtrRtl, m_bIsRTL, and m_nScript.

◆ RunText() [1/2]

OStringBuffer & RtfAttributeOutput::RunText ( )

Definition at line 519 of file rtfattributeoutput.cxx.

References RtfStringBuffer::getLastBuffer(), and m_aRunText.

Referenced by PlaceholderField(), and TextLineBreak().

◆ RunText() [2/2]

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

◆ SectFootnoteEndnotePr()

void RtfAttributeOutput::SectFootnoteEndnotePr ( )
overridevirtual

for footnote/endnote section properties

Reimplemented from AttributeOutputBase.

Definition at line 1514 of file rtfattributeoutput.cxx.

References SwDoc::GetEndNoteInfo(), SwDoc::GetFootnoteInfo(), MSWordExportBase::m_rDoc, m_rExport, and WriteFootnoteEndnotePr().

◆ SectionBiDi()

void RtfAttributeOutput::SectionBiDi ( bool  bBiDi)
overridevirtual

Columns populated from right/numbers on the right side?

Implements AttributeOutputBase.

Definition at line 1437 of file rtfattributeoutput.cxx.

References m_rExport, OOO_STRING_SVTOOLS_RTF_LTRSECT, OOO_STRING_SVTOOLS_RTF_RTLSECT, RtfExport::Strm(), and SvStream::WriteOString().

◆ SectionBreak()

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

◆ SectionBreaks()

void RtfAttributeOutput::SectionBreaks ( const SwNode rNode)
overridevirtual

◆ SectionFormProtection()

void RtfAttributeOutput::SectionFormProtection ( bool  bProtected)
overridevirtual

Protection of forms.

Implements AttributeOutputBase.

Definition at line 1375 of file rtfattributeoutput.cxx.

References m_aSectionBreaks, and OOO_STRING_SVTOOLS_RTF_SECTUNLOCKED.

◆ SectionLineNumbering()

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

◆ SectionPageBorders()

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

◆ SectionPageNumbering()

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

◆ SectionRtlGutter()

void RtfAttributeOutput::SectionRtlGutter ( const SfxBoolItem rRtlGutter)
overrideprotectedvirtual

◆ SectionTitlePage()

void RtfAttributeOutput::SectionTitlePage ( )
overridevirtual

Has different headers/footers for the title page.

Implements AttributeOutputBase.

Definition at line 1398 of file rtfattributeoutput.cxx.

◆ SectionType()

void RtfAttributeOutput::SectionType ( sal_uInt8  nBreakCode)
overridevirtual

◆ SetField()

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

Implements AttributeOutputBase.

Definition at line 3991 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ StartAbstractNumbering()

void RtfAttributeOutput::StartAbstractNumbering ( sal_uInt16  nId)
overridevirtual

◆ StartFont()

void RtfAttributeOutput::StartFont ( std::u16string_view  rFamilyName) const

◆ StartParagraph()

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

◆ StartParagraphProperties()

void RtfAttributeOutput::StartParagraphProperties ( )
overridevirtual

◆ StartRuby()

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

◆ StartRun()

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

◆ StartRunProperties()

void RtfAttributeOutput::StartRunProperties ( )
overridevirtual

Called before we start outputting the attributes.

Implements AttributeOutputBase.

Definition at line 433 of file rtfattributeoutput.cxx.

References m_aStyles.

◆ StartSection()

void RtfAttributeOutput::StartSection ( )
overridevirtual

◆ StartStyle()

void RtfAttributeOutput::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 RtfAttributeOutput::StartStyleProperties ( bool  bParProp,
sal_uInt16  nStyle 
)
overridevirtual

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

Implements AttributeOutputBase.

Definition at line 1313 of file rtfattributeoutput.cxx.

◆ StartStyles()

void RtfAttributeOutput::StartStyles ( )
overridevirtual

◆ StartTable()

void RtfAttributeOutput::StartTable ( )
private

Definition at line 1112 of file rtfattributeoutput.cxx.

References m_pTableWrt.

Referenced by StartParagraph().

◆ StartTableCell()

void RtfAttributeOutput::StartTableCell ( )
private

Definition at line 1141 of file rtfattributeoutput.cxx.

References m_bTableCellOpen.

Referenced by StartParagraph().

◆ StartTableRow()

void RtfAttributeOutput::StartTableRow ( const ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner)
private

◆ StartURL()

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

◆ TableBackgrounds()

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

◆ TableBidi()

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

◆ TableCanSplit()

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

◆ TableCellProperties()

void RtfAttributeOutput::TableCellProperties ( const ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner)
private

Definition at line 1143 of file rtfattributeoutput.cxx.

References TableBackgrounds(), TableDefaultBorders(), and TableVerticalCell().

Referenced by TableDefinition().

◆ TableCellRedline()

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

Implements AttributeOutputBase.

Definition at line 938 of file rtfattributeoutput.cxx.

◆ TableDefaultBorders()

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

◆ TableDefinition()

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

◆ TableHeight()

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

◆ TableInfoCell()

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

◆ TableInfoRow()

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

Implements AttributeOutputBase.

Definition at line 673 of file rtfattributeoutput.cxx.

◆ TableNodeInfoInner()

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

Implements AttributeOutputBase.

Definition at line 1039 of file rtfattributeoutput.cxx.

References FinishTableRowCell().

◆ TableOrientation()

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

◆ TablePositioning()

void RtfAttributeOutput::TablePositioning ( SwFrameFormat pFlyFormat)

◆ TableRowEnd()

void RtfAttributeOutput::TableRowEnd ( sal_uInt32  nDepth)
overridevirtual

Implements AttributeOutputBase.

Definition at line 1082 of file rtfattributeoutput.cxx.

◆ TableRowRedline()

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

Implements AttributeOutputBase.

Definition at line 933 of file rtfattributeoutput.cxx.

◆ TableSpacing()

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

Implements AttributeOutputBase.

Definition at line 1076 of file rtfattributeoutput.cxx.

References SAL_INFO.

◆ TableVerticalCell()

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

◆ TextCharFormat()

void RtfAttributeOutput::TextCharFormat ( const SwFormatCharFormat rCharFormat)
overrideprotectedvirtual

◆ TextFootnote_Impl()

void RtfAttributeOutput::TextFootnote_Impl ( const SwFormatFootnote rFootnote)
overrideprotectedvirtual

◆ TextINetFormat()

void RtfAttributeOutput::TextINetFormat ( const SwFormatINetFormat rURL)
overrideprotectedvirtual

◆ TextLineBreak()

void RtfAttributeOutput::TextLineBreak ( const SwFormatLineBreak )
overrideprotectedvirtual

RES_TXTATR_LINEBREAK, i.e. clearing breaks.

Implements AttributeOutputBase.

Definition at line 4618 of file rtfattributeoutput.cxx.

References SfxEnumItem< typename EnumT >::GetEnumValue(), LO_STRING_SVTOOLS_RTF_LBR, m_aStyles, and RunText().

◆ WriteAnnotationMarks_Impl()

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

◆ WriteBookmarkInActParagraph()

void RtfAttributeOutput::WriteBookmarkInActParagraph ( const OUString &  rName,
sal_Int32  nFirstRunPos,
sal_Int32  nLastRunPos 
)
inlineoverridevirtual

Insert a bookmark inside the currently processed paragraph.

Implements AttributeOutputBase.

Definition at line 236 of file rtfattributeoutput.hxx.

◆ WriteBookmarks_Impl()

void RtfAttributeOutput::WriteBookmarks_Impl ( std::vector< OUString > &  rStarts,
std::vector< OUString > &  rEnds 
)

◆ WriteExpand()

void RtfAttributeOutput::WriteExpand ( const SwField pField)
overrideprotectedvirtual

◆ WriteField_Impl()

void RtfAttributeOutput::WriteField_Impl ( const SwField pField,
ww::eField  eType,
std::u16string_view  rFieldCmd,
FieldFlags  nMode 
)

◆ WriteFootnoteEndnotePr()

void RtfAttributeOutput::WriteFootnoteEndnotePr ( bool  bFootnote,
const SwEndNoteInfo rInfo 
)

◆ WriteHeaderFooter_Impl()

void RtfAttributeOutput::WriteHeaderFooter_Impl ( const SwFrameFormat rFormat,
bool  bHeader,
const char *  pStr,
bool  bTitlepg 
)

◆ WriteTextFootnoteNumStr()

void RtfAttributeOutput::WriteTextFootnoteNumStr ( const SwFormatFootnote rFootnote)
private

◆ writeTextFrame()

void RtfAttributeOutput::writeTextFrame ( const ww8::Frame rFrame,
bool  bTextBox = false 
)

Friends And Related Function Documentation

◆ RtfStringBufferValue

friend class RtfStringBufferValue
friend

Definition at line 44 of file rtfattributeoutput.hxx.

◆ SaveRunState

friend class SaveRunState
friend

Definition at line 45 of file rtfattributeoutput.hxx.

Member Data Documentation

◆ m_aAfterRuns

OStringBuffer RtfAttributeOutput::m_aAfterRuns
private

Definition at line 533 of file rtfattributeoutput.hxx.

Referenced by EndParagraph(), EndTableCell(), EndTableRow(), and StartTableRow().

◆ m_aCells

std::map<sal_uInt32, sal_uInt32> RtfAttributeOutput::m_aCells
private

Number of cells from the table definition, by depth.

Definition at line 622 of file rtfattributeoutput.hxx.

Referenced by EndTableCell(), and TableDefinition().

◆ m_aFlyProperties

std::vector<std::pair<OString, OString> > RtfAttributeOutput::m_aFlyProperties
private

◆ m_aPageMargins

editeng::WordPageMargins RtfAttributeOutput::m_aPageMargins
private

Definition at line 655 of file rtfattributeoutput.hxx.

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

◆ m_aPostitFields

std::map<sal_uInt16, const SwPostItField*> RtfAttributeOutput::m_aPostitFields
private

Maps ID's to postit fields, used in atrfstart/end and atnref.

Definition at line 634 of file rtfattributeoutput.hxx.

Referenced by PostitField(), and WriteAnnotationMarks_Impl().

◆ m_aRowDefs

OStringBuffer RtfAttributeOutput::m_aRowDefs
private

◆ m_aRun

RtfStringBuffer RtfAttributeOutput::m_aRun
private

◆ m_aRunText

RtfStringBuffer RtfAttributeOutput::m_aRunText
private

◆ m_aSectionBreaks

OStringBuffer RtfAttributeOutput::m_aSectionBreaks
private

◆ m_aSectionHeaders

OStringBuffer RtfAttributeOutput::m_aSectionHeaders
private

◆ m_aStyles

OStringBuffer RtfAttributeOutput::m_aStyles
private

◆ m_aStylesAssocDbch

OStringBuffer RtfAttributeOutput::m_aStylesAssocDbch
private

◆ m_aStylesAssocHich

OStringBuffer RtfAttributeOutput::m_aStylesAssocHich
private

Definition at line 546 of file rtfattributeoutput.hxx.

Referenced by CharFont(), and MoveCharacterProperties().

◆ m_aStylesAssocLtrch

OStringBuffer RtfAttributeOutput::m_aStylesAssocLtrch
private

Definition at line 549 of file rtfattributeoutput.hxx.

Referenced by CharLanguage(), and MoveCharacterProperties().

◆ m_aStylesAssocRtlch

OStringBuffer RtfAttributeOutput::m_aStylesAssocRtlch
private

◆ m_aStylesheet

OStringBuffer RtfAttributeOutput::m_aStylesheet
private

Definition at line 538 of file rtfattributeoutput.hxx.

Referenced by EndStyle(), EndStyles(), StartStyle(), and StartStyles().

◆ m_aTables

std::vector<OString> RtfAttributeOutput::m_aTables
private

Definition at line 612 of file rtfattributeoutput.hxx.

Referenced by EndTableRow(), and StartTableRow().

◆ m_aTabStop

OStringBuffer RtfAttributeOutput::m_aTabStop
private

Definition at line 483 of file rtfattributeoutput.hxx.

Referenced by GetTabStop(), and ParaTabStop().

◆ m_aURLs

std::stack<OUString> RtfAttributeOutput::m_aURLs
private

If we're in the process of exporting a hyperlink, then its URL.

Definition at line 644 of file rtfattributeoutput.hxx.

Referenced by EndURL(), and StartURL().

◆ m_bBufferSectionBreaks

bool RtfAttributeOutput::m_bBufferSectionBreaks
private

◆ m_bBufferSectionHeaders

bool RtfAttributeOutput::m_bBufferSectionHeaders
private

◆ m_bControlLtrRtl

bool RtfAttributeOutput::m_bControlLtrRtl
private

Definition at line 553 of file rtfattributeoutput.hxx.

Referenced by MoveCharacterProperties(), and RTLAndCJKState().

◆ m_bInRuby

bool RtfAttributeOutput::m_bInRuby
private

Definition at line 631 of file rtfattributeoutput.hxx.

Referenced by EndRun(), and StartRuby().

◆ m_bInRun

bool RtfAttributeOutput::m_bInRun
private

◆ m_bIsBeforeFirstParagraph

bool RtfAttributeOutput::m_bIsBeforeFirstParagraph
private

Definition at line 624 of file rtfattributeoutput.hxx.

Referenced by StartParagraph(), and StartSection().

◆ m_bIsRTL

bool RtfAttributeOutput::m_bIsRTL
private

Definition at line 551 of file rtfattributeoutput.hxx.

Referenced by MoveCharacterProperties(), and RTLAndCJKState().

◆ m_bLastTable

bool RtfAttributeOutput::m_bLastTable
private

Definition at line 607 of file rtfattributeoutput.hxx.

Referenced by StartParagraph(), and StartTableRow().

◆ m_bParaAfterAutoSpacing

bool RtfAttributeOutput::m_bParaAfterAutoSpacing
private

If original file had \saauto.

Definition at line 651 of file rtfattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_bParaBeforeAutoSpacing

bool RtfAttributeOutput::m_bParaBeforeAutoSpacing
private

If original file had \sbauto.

Definition at line 647 of file rtfattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_bSingleEmptyRun

bool RtfAttributeOutput::m_bSingleEmptyRun
private

If we're in a paragraph that has a single empty run only.

Definition at line 627 of file rtfattributeoutput.hxx.

Referenced by EndRun(), StartRun(), TextFootnote_Impl(), writeTextFrame(), and SaveRunState::~SaveRunState().

◆ m_bTableAfterCell

bool RtfAttributeOutput::m_bTableAfterCell
private

Definition at line 578 of file rtfattributeoutput.hxx.

Referenced by EndParagraph(), and EndTableCell().

◆ m_bTableCellOpen

bool RtfAttributeOutput::m_bTableCellOpen
private

Definition at line 568 of file rtfattributeoutput.hxx.

Referenced by EndTable(), EndTableCell(), StartParagraph(), and StartTableCell().

◆ m_bTableRowEnded

bool RtfAttributeOutput::m_bTableRowEnded
private

If we ended a table row without starting a new one.

Definition at line 619 of file rtfattributeoutput.hxx.

Referenced by EndTableRow(), StartParagraph(), and StartTableRow().

◆ m_bWroteCellInfo

bool RtfAttributeOutput::m_bWroteCellInfo
private

Definition at line 616 of file rtfattributeoutput.hxx.

Referenced by EndTableCell(), and TableInfoCell().

◆ m_nColBreakNeeded

bool RtfAttributeOutput::m_nColBreakNeeded
private

Definition at line 588 of file rtfattributeoutput.hxx.

Referenced by EndParagraph(), and SectionBreak().

◆ m_nCurrentAnnotationMarkId

sal_Int32 RtfAttributeOutput::m_nCurrentAnnotationMarkId
private

Definition at line 556 of file rtfattributeoutput.hxx.

Referenced by PostitField(), and WriteAnnotationMarks_Impl().

◆ m_nListId

sal_uInt16 RtfAttributeOutput::m_nListId
private

Definition at line 523 of file rtfattributeoutput.hxx.

Referenced by EndAbstractNumbering(), and StartAbstractNumbering().

◆ m_nNextAnnotationMarkId

sal_Int32 RtfAttributeOutput::m_nNextAnnotationMarkId
private

Definition at line 555 of file rtfattributeoutput.hxx.

Referenced by WriteAnnotationMarks_Impl().

◆ m_nParaAfterSpacing

sal_Int32 RtfAttributeOutput::m_nParaAfterSpacing
private

If m_bParaBeforeAutoSpacing is set, value of.

See also
.

Definition at line 653 of file rtfattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_nParaBeforeSpacing

sal_Int32 RtfAttributeOutput::m_nParaBeforeSpacing
private

If m_bParaBeforeAutoSpacing is set, value of \sb.

Definition at line 649 of file rtfattributeoutput.hxx.

Referenced by FormatULSpace(), and ParaGrabBag().

◆ m_nScript

sal_uInt16 RtfAttributeOutput::m_nScript
private

Definition at line 552 of file rtfattributeoutput.hxx.

Referenced by MoveCharacterProperties(), and RTLAndCJKState().

◆ m_nStyleId

sal_uInt16 RtfAttributeOutput::m_nStyleId
private

Definition at line 519 of file rtfattributeoutput.hxx.

Referenced by EndStyle(), and StartStyle().

◆ m_nTableDepth

sal_uInt32 RtfAttributeOutput::m_nTableDepth
private

◆ m_oFillStyle

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

Definition at line 641 of file rtfattributeoutput.hxx.

Referenced by FormatFillGradient(), and FormatFillStyle().

◆ m_pFlyFrameSize

const Size* RtfAttributeOutput::m_pFlyFrameSize
private

When exporting fly frames, this holds the real size of the frame.

Definition at line 637 of file rtfattributeoutput.hxx.

Referenced by FlyFrameGraphic(), FormatHorizOrientation(), FormatVertOrientation(), and OutputFlyFrame_Impl().

◆ m_pPrevPageDesc

const SwPageDesc* RtfAttributeOutput::m_pPrevPageDesc
private

Access to the page style of the previous paragraph.

Definition at line 486 of file rtfattributeoutput.hxx.

Referenced by GetPrevPageDesc(), and SectionBreaks().

◆ m_pTableWrt

std::unique_ptr<SwWriteTable> RtfAttributeOutput::m_pTableWrt
private

◆ m_rExport

RtfExport& RtfAttributeOutput::m_rExport
private

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

Definition at line 481 of file rtfattributeoutput.hxx.

Referenced by BulletDefinition(), CharBackground(), CharBorder(), CharColor(), CharEscapement(), CharFont(), CharFontCJK(), CharFontCTL(), CharUnderline(), EmptyParagraph(), EndAbstractNumbering(), EndFont(), EndParagraph(), EndParagraphProperties(), EndStyle(), EndStyles(), FlyFrameGraphic(), FlyFrameOLEMath(), FlyFrameOLEReplacement(), FontAlternateName(), FontCharset(), FontFamilyType(), FontPitchType(), FormatAnchor(), FormatBackground(), FormatBox(), FormatColumns_Impl(), FormatFrameDirection(), FormatFrameSize(), FormatHorizOrientation(), FormatLRSpace(), FormatSurround(), FormatULSpace(), FormatVertOrientation(), GetExport(), RtfStringBufferValue::makeStringAndClear(), NumberingDefinition(), NumberingLevel(), OutputFlyFrame_Impl(), PageBreakBefore(), ParagraphStyle(), ParaNumRule_Impl(), ParaTabStop(), PostitField(), Redline(), RunText(), SaveRunState::SaveRunState(), SectFootnoteEndnotePr(), SectionBiDi(), SectionBreak(), SectionBreaks(), SectionLineNumbering(), SectionPageBorders(), SectionRtlGutter(), SectionType(), StartAbstractNumbering(), StartFont(), StartParagraph(), StartParagraphProperties(), StartRuby(), StartSection(), StartStyles(), StartTableRow(), StartURL(), TableBackgrounds(), TableBidi(), TableDefaultBorders(), TableVerticalCell(), TextCharFormat(), TextFootnote_Impl(), TextINetFormat(), WriteBookmarks_Impl(), WriteExpand(), WriteField_Impl(), WriteFootnoteEndnotePr(), WriteHeaderFooter_Impl(), WriteTextFootnoteNumStr(), writeTextFrame(), and SaveRunState::~SaveRunState().

◆ m_rOpenedAnnotationMarksIds

std::map<OString, sal_Int32> RtfAttributeOutput::m_rOpenedAnnotationMarksIds
private

Maps annotation mark names to ID's.

Definition at line 558 of file rtfattributeoutput.hxx.

Referenced by PostitField(), and WriteAnnotationMarks_Impl().

◆ m_rStyleName

OUString RtfAttributeOutput::m_rStyleName
private

Definition at line 518 of file rtfattributeoutput.hxx.

Referenced by EndStyle(), and StartStyle().


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