20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
32 virtual void RTLAndCJKState(
bool bIsRTL, sal_uInt16 nScript )
override;
54 virtual void StartRun(
const SwRedlineData* pRedlineData, sal_Int32 nPos,
bool bSingleEmptyRun =
false )
override;
61 virtual void EndRun(
const SwTextNode* pNode, sal_Int32 nPos, sal_Int32 nLen,
bool bLastRun =
false)
override;
70 virtual void RunText(
const OUString& rText, rtl_TextEncoding eCharSet = RTL_TEXTENCODING_UTF8,
const OUString& rSymbolFont = OUString() )
override;
73 virtual void RawText(
const OUString& rText, rtl_TextEncoding eCharSet)
override;
82 virtual bool StartURL(
const OUString &rUrl,
const OUString &rTarget )
override;
85 virtual bool EndURL(
bool)
override;
87 virtual void FieldVanish(
const OUString& rText,
ww::eField eType, OUString
const* pBookmarkName)
override;
97 virtual void OutputFKP(
bool bForce)
override;
117 virtual void TableRowEnd( sal_uInt32 nDepth )
override;
123 virtual void EndStyles( sal_uInt16 nNumberOfStyles )
override;
130 sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwIdi, sal_uInt16 nSlot,
131 bool bAutoUpdate )
override;
184 virtual void SectionPageNumbering( sal_uInt16 nNumType, const ::std::optional<sal_uInt16>& oPageRestartNumber )
override;
195 sal_uInt16 nNumberingType,
202 sal_Int16 nFirstLineIndex,
203 sal_Int16 nListTabPos,
204 const OUString &rNumberingString,
206 bool isLegal)
override;
315 virtual void CharBorder( const ::editeng::SvxBorderLine* pAllBorder,
const sal_uInt16 nDist,
const bool bShadow )
override;
435 virtual void RefField (
const SwField& rField,
const OUString& rRef )
override;
442 virtual bool AnalyzeURL(
const OUString& rURL,
const OUString& rTarget, OUString* pLinkURL, OUString* pMark )
override;
Base class of all fields.
< purpose of derivation from SwClient: character style for displaying the numbers.
Base class of the Writer document model elements.
SwTextNode is a paragraph in the document model.
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphEnd
virtual void FormatLRSpace(const SvxLRSpaceItem &) override
Sfx item RES_LR_SPACE.
virtual void ParaSplit(const SvxFormatSplitItem &) override
Sfx item RES_PARATR_SPLIT.
virtual void FormatBackground(const SvxBrushItem &) override
Sfx item RES_BACKGROUND.
virtual void StartRun(const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
Start of the text run.
virtual void CharFontSizeCTL(const SvxFontHeightItem &rHt) override
Sfx item RES_CHRATR_CTL_FONTSIZE.
void OutputFlyFrame_Impl(const ww8::Frame &rFormat, const Point &rNdTopLeft) override
Output frames - the implementation.
virtual void CharRotate(const SvxCharRotateItem &) override
Sfx item RES_CHRATR_ROTATE.
virtual void FormatLineNumbering(const SwFormatLineNumber &) override
Sfx item RES_LINENUMBER.
virtual void TableBidi(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void SectionLineNumbering(sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
Numbering of the lines in the document.
virtual bool AnalyzeURL(const OUString &rURL, const OUString &rTarget, OUString *pLinkURL, OUString *pMark) override
virtual void StartStyle(const OUString &rName, StyleType eType, sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwIdi, sal_uInt16 nSlot, bool bAutoUpdate) override
Start of a style in the styles table.
virtual void CharBidiRTL(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_BidiRTL.
virtual void EndRunProperties(const SwRedlineData *pRedlineData) override
After we end outputting the attributes.
virtual void ParaNumRule_Impl(const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId) override
Sfx item RES_PARATR_NUMRULE.
sal_uInt16 m_nStyleLenPos
virtual void SectionPageNumbering(sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber) override
The style of the page numbers.
virtual void SectionBreak(sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo *pSectionInfo=nullptr, bool bExtraPageBreak=false) override
Write a section break msword::ColumnBreak or msword::PageBreak.
virtual void ParagraphStyle(sal_uInt16 nStyle) override
Output style.
virtual void FormatBox(const SvxBoxItem &) override
Sfx item RES_BOX.
virtual void FormatAnchor(const SwFormatAnchor &) override
Sfx item RES_ANCHOR.
virtual void FormatULSpace(const SvxULSpaceItem &rHt) override
Sfx item RES_UL_SPACE.
virtual void CharWeightCTL(const SvxWeightItem &) override
Sfx item RES_CHRATR_CTL_WEIGHT.
virtual void OnTOXEnding() override
void OutputWW8AttributeCTL(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes, the Complex Text Layout version.
virtual void ParaForbiddenRules(const SfxBoolItem &) override
Sfx item RES_PARATR_FORBIDDEN_RULES.
virtual void SectionPageBorders(const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
Description of the page borders.
virtual void ParaSnapToGrid(const SvxParaGridItem &) override
Sfx item RES_PARATR_SNAPTOGRID.
virtual void CharKerning(const SvxKerningItem &) override
Sfx item RES_CHRATR_KERNING.
virtual void FormatPaperBin(const SvxPaperBinItem &) override
Sfx item RES_PAPER_BIN.
sal_uInt16 m_nStyleStartSize
For output of styles.
virtual void TextINetFormat(const SwFormatINetFormat &) override
Sfx item RES_TXTATR_INETFMT.
void OutputWW8Attribute(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes.
virtual void StartStyles() override
Start of the styles table.
virtual void FormatFillGradient(const XFillGradientItem &) override
Sfx item RES_FILL_GRADIENT.
virtual void EndParagraph(ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
End of the paragraph.
WW8AttributeOutput(WW8Export &rWW8Export)
virtual void NumberingDefinition(sal_uInt16 nId, const SwNumRule &rRule) override
Definition of a numbering instance.
virtual void TableOrientation(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual void TableHeight(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void CharScaleWidth(const SvxCharScaleWidthItem &) override
Sfx item RES_CHRATR_SCALEW.
virtual void CharRelief(const SvxCharReliefItem &) override
Sfx item RES_CHRATR_RELIEF.
virtual void RawText(const OUString &rText, rtl_TextEncoding eCharSet) override
Output text (without markup).
virtual void FormatDrop(const SwTextNode &rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
virtual void TableCanSplit(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void CharPostureCTL(const SvxPostureItem &) override
Sfx item RES_CHRATR_CTL_POSTURE.
virtual WW8Export & GetExport() override
Return the right export class.
editeng::WordPageMargins m_pageMargins
void TextLineBreak(const SwFormatLineBreak &rLineBreak) override
RES_TXTATR_LINEBREAK, i.e. clearing breaks.
virtual void FormatFillStyle(const XFillStyleItem &) override
Sfx item RES_FILL_STYLE.
virtual void CharCaseMap(const SvxCaseMapItem &) override
Sfx item Sfx item RES_CHRATR_CASEMAP.
virtual void EmptyParagraph() override
Empty paragraph.
virtual void EndRun(const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false) override
End of the text run.
virtual void EndSection() override
End of the section properties.
virtual void CharAnimatedText(const SvxBlinkItem &) override
Sfx item RES_CHRATR_BLINK.
virtual void FormatVertOrientation(const SwFormatVertOrient &) override
Sfx item RES_VERT_ORIENT.
virtual void ParaWidows(const SvxWidowsItem &rHt) override
Sfx item RES_PARATR_WIDOWS.
virtual void ParaHangingPunctuation(const SfxBoolItem &) override
Sfx item RES_PARATR_HANGINGPUNCTUATION.
virtual void FormatFrameDirection(const SvxFrameDirectionItem &) override
Sfx item RES_FRAMEDIR.
virtual void FormatRightMargin(const SvxRightMarginItem &rRightMargin) override
Sfx item RES_MARGIN_RIGHT.
virtual void CharPosture(const SvxPostureItem &) override
Sfx item RES_CHRATR_POSTURE.
virtual void CharColor(const SvxColorItem &) override
Sfx item Sfx item RES_CHRATR_COLOR.
virtual void SectionBiDi(bool bBiDi) override
Columns populated from right/numbers on the right side?
virtual void CharFont(const SvxFontItem &) override
Sfx item RES_CHRATR_FONT.
virtual void CharFontCTL(const SvxFontItem &) override
Sfx item RES_CHRATR_CTL_FONT.
virtual void RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript) override
Export the state of RTL/CJK.
virtual void StartStyleProperties(bool bParProp, sal_uInt16 nStyle) override
Start of (paragraph or run) properties of a style.
virtual void FormatKeep(const SvxFormatKeepItem &) override
Sfx item RES_KEEP.
virtual void CharWeightCJK(const SvxWeightItem &rHt) override
Sfx item RES_CHRATR_CJK_WEIGHT.
virtual void ParaGrabBag(const SfxGrabBagItem &) override
Sfx item RES_PARATR_GRABBAG.
virtual sal_Int32 StartParagraph(ww8::WW8TableNodeInfo::Pointer_t, bool) override
Start of the paragraph.
virtual void FormatHorizOrientation(const SwFormatHoriOrient &) override
Sfx item RES_HORI_ORIENT.
virtual void TextVerticalAdjustment(const css::drawing::TextVerticalAdjust) override
virtual void OutputFKP(bool bForce) override
Output FKP (Formatted disK Page) - necessary for binary formats only.
sal_uInt16 m_nPOPosStdLen1
For output of styles.
virtual void CharHighlight(const SvxBrushItem &) override
Sfx item RES_CHRATR_HIGHLIGHT.
virtual void TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void SetField(const SwField &rField, ww::eField eType, const OUString &rCmd) override
virtual void RefField(const SwField &rField, const OUString &rRef) override
virtual void TableRowEnd(sal_uInt32 nDepth) override
virtual void CharLanguageCTL(const SvxLanguageItem &rHt) override
Sfx item RES_CHRATR_CTL_LANGUAGE.
virtual void StartSection() override
Start of the section properties.
virtual void TableBackgrounds(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual bool PlaceholderField(const SwField *pField) override
virtual void EndStyle() override
End of a style in the styles table.
virtual void ParaAdjust(const SvxAdjustItem &rHt) override
Sfx item RES_PARATR_ADJUST.
virtual void TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual bool StartURL(const OUString &rUrl, const OUString &rTarget) override
Output URL start.
virtual void FieldVanish(const OUString &rText, ww::eField eType, OUString const *pBookmarkName) override
sal_uInt16 m_nFieldResults
For output of run properties.
void TablePositioning(SwFrameFormat *pFlyFormat)
sal_uInt16 m_nPOPosStdLen2
virtual void EndStyles(sal_uInt16 nNumberOfStyles) override
End of the styles table.
virtual void FormatTextGrid(const SwTextGridItem &) override
Sfx item RES_TEXTGRID.
virtual void NumberingLevel(sal_uInt8 nLevel, sal_uInt16 nStart, sal_uInt16 nNumberingType, SvxAdjust eAdjust, const sal_uInt8 *pNumLvlPos, sal_uInt8 nFollow, const wwFont *pFont, const SfxItemSet *pOutSet, sal_Int16 nIndentAt, sal_Int16 nFirstLineIndex, sal_Int16 nListTabPos, const OUString &rNumberingString, const SvxBrushItem *pBrush, bool isLegal) override
All the numbering level information.
virtual void SectionTitlePage() override
Has different headers/footers for the title page.
virtual void PageBreakBefore(bool bBreak) override
Page break As a paragraph property - the paragraph should be on the next page.
void SectionRtlGutter(const SfxBoolItem &rRtlGutter) override
RES_RTL_GUTTER.
virtual void StartParagraphProperties() override
Called before we start outputting the attributes.
virtual void Redline(const SwRedlineData *pRedline) override
Output redlining.
virtual void DefaultStyle() override
Write default style.
virtual void CharWeight(const SvxWeightItem &) override
Sfx item RES_CHRATR_WEIGHT.
virtual void CharFontCJK(const SvxFontItem &) override
Sfx item RES_CHRATR_CJK_FONT.
virtual void EndParagraphProperties(const SfxItemSet &, const SwRedlineData *, const SwRedlineData *, const SwRedlineData *) override
Called after we end outputting the attributes.
virtual void TableRowRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void CharLanguageCJK(const SvxLanguageItem &rHt) override
Sfx item RES_CHRATR_CJK_LANGUAGE.
virtual void EndStyleProperties(bool bParProp) override
End of (paragraph or run) properties of a style.
virtual void ParaVerticalAlign(const SvxParaVertAlignItem &) override
Sfx item RES_PARATR_VERTALIGN.
virtual void FormatSurround(const SwFormatSurround &) override
Sfx item RES_SURROUND.
virtual void StartRuby(const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
Output ruby start.
virtual void ParaHyphenZone(const SvxHyphenZoneItem &) override
Sfx item RES_PARATR_HYPHENZONE.
virtual void CharUnderline(const SvxUnderlineItem &) override
Sfx item RES_CHRATR_UNDERLINE.
virtual void TableNodeInfoInner(ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
virtual void SectionType(sal_uInt8 nBreakCode) override
The type of breaking.
virtual void WriteBookmarkInActParagraph(const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos) override
Insert a bookmark inside the currently processed paragraph.
virtual void FormatTextLeftMargin(const SvxTextLeftMarginItem &rTextLeftMargin) override
Sfx item RES_MARGIN_TEXTLEFT.
virtual void CharBorder(const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow) override
Sfx item RES_CHRATR_BOX.
virtual void CharHidden(const SvxCharHiddenItem &) override
Sfx item RES_CHRATR_HIDDEN.
virtual void ParaOutlineLevel(const SfxUInt16Item &) override
virtual void HiddenField(const SwField &rField) override
virtual void CharPostureCJK(const SvxPostureItem &rHt) override
Sfx item RES_CHRATR_CJK_POSTURE.
virtual void CharTwoLines(const SvxTwoLinesItem &) override
Sfx item RES_CHRATR_TWO_LINES.
virtual void ParaLineSpacing_Impl(short nSpace, short nMulti) override
Sfx item RES_PARATR_LINESPACING.
virtual void StartRunProperties() override
Before we start outputting the attributes.
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphStart
Bookmarks of the current paragraph.
virtual void CharEmphasisMark(const SvxEmphasisMarkItem &rHt) override
Sfx item RES_CHRATR_EMPHASIS_MARK.
virtual void CharLanguage(const SvxLanguageItem &) override
Sfx item RES_CHRATR_LANGUAGE.
virtual bool DropdownField(const SwField *pField) override
virtual void CharEscapement(const SvxEscapementItem &) override
Sfx item RES_CHRATR_ESCAPEMENT.
virtual void CharBackground(const SvxBrushItem &) override
Sfx item RES_CHRATR_BACKGROUND.
WW8Export & m_rWW8Export
Reference to the export, where to get the data from.
virtual void CharShadow(const SvxShadowedItem &) override
Sfx item RES_CHRATR_SHADOWED.
virtual void FormatFrameSize(const SwFormatFrameSize &) override
Sfx item RES_FRM_SIZE.
virtual void FormatColumns_Impl(sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
Sfx item RES_COL.
virtual void CharAutoKern(const SvxAutoKernItem &) override
Sfx item RES_CHRATR_AUTOKERN.
virtual void CharGrabBag(const SfxGrabBagItem &) override
Sfx item RES_TXTATR_GRABBAG.
virtual void TableSpacing(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual void CharFontSize(const SvxFontHeightItem &) override
Sfx item RES_CHRATR_FONTSIZE.
virtual void EndRuby(const SwTextNode &rNode, sal_Int32 nPos) override
Output ruby end.
virtual void RunText(const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8, const OUString &rSymbolFont=OUString()) override
Output text.
virtual void CharContour(const SvxContourItem &) override
Sfx item Sfx item RES_CHRATR_CONTOUR.
virtual void TextFootnote_Impl(const SwFormatFootnote &) override
Sfx item RES_TXTATR_FTN.
sal_uLong m_nStyleCountPos
For output of styles.
virtual bool EndURL(bool) override
Output URL end.
virtual void PostitField(const SwField *pField) override
virtual void SectionBreaks(const SwNode &) override
Called in order to output section breaks.
void TableCellBorders(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
virtual void FormatFirstLineIndent(const SvxFirstLineIndentItem &rFirstLine) override
Sfx item RES_MARGIN_FIRSTLINE.
virtual void TableInfoCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void TableCellRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void TableInfoRow(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
virtual void ParaTabStop(const SvxTabStopItem &rHt) override
Sfx item RES_PARATR_TABSTOP.
virtual void CharCrossedOut(const SvxCrossedOutItem &rHt) override
Sfx item RES_CHRATR_CROSSEDOUT.
virtual void SectionFormProtection(bool bProtected) override
Protection of forms.
virtual void WriteExpand(const SwField *pField) override
Write the expanded field.
virtual void TextCharFormat(const SwFormatCharFormat &) override
Sfx item RES_TXTATR_CHARFMT.
virtual void CharIdctHint(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_IdctHint.
virtual void OutlineNumbering(sal_uInt8 nLvl) override
Numbering rule and Id.
virtual void SectFootnoteEndnotePr() override
for footnote/endnote section properties
virtual void CharFontSizeCJK(const SvxFontHeightItem &rHt) override
Sfx item RES_CHRATR_CJK_FONTSIZE.
virtual void ParaScriptSpace(const SfxBoolItem &) override
Sfx item RES_PARATR_SCRIPTSPACE.
virtual void TableVerticalCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Exporter of the binary Word file formats.
Make exporting a Writer Frame easy.
std::shared_ptr< WW8TableNodeInfoInner > Pointer_t
std::shared_ptr< WW8TableNodeInfo > Pointer_t
Collects and outputs fonts.
void GetWriter(std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet)
Return writer based on the name.