LibreOffice Module sw (master) 1
ww8attributeoutput.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
22
24#include "wrtww8.hxx"
25#include <editeng/boxitem.hxx>
26#include <sfx2/docfile.hxx>
27
29{
30public:
32 virtual void RTLAndCJKState( bool bIsRTL, sal_uInt16 nScript ) override;
33
35 virtual sal_Int32 StartParagraph( ww8::WW8TableNodeInfo::Pointer_t /*pTextNodeInfo*/, bool /*bGenerateParaId*/ ) override { return 0; }
36
38 virtual void EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner ) override;
39
41 virtual void SectionBreaks(const SwNode& /*rNode*/) override {}
42
44 virtual void StartParagraphProperties() override {}
45
47 virtual void EndParagraphProperties(const SfxItemSet& /*rParagraphMarkerProperties*/, const SwRedlineData* /*pRedlineData*/, const SwRedlineData* /*pRedlineParagraphMarkerDeleted*/, const SwRedlineData* /*pRedlineParagraphMarkerInserted*/) override {}
48
50 virtual void EmptyParagraph() override;
51
54 virtual void StartRun( const SwRedlineData* pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun = false ) override;
55
56 virtual void OnTOXEnding() override;
57
61 virtual void EndRun(const SwTextNode* pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun = false) override;
62
64 virtual void StartRunProperties() override;
65
67 virtual void EndRunProperties( const SwRedlineData* pRedlineData ) override;
68
70 virtual void RunText( const OUString& rText, rtl_TextEncoding eCharSet = RTL_TEXTENCODING_UTF8, const OUString& rSymbolFont = OUString() ) override;
71
73 virtual void RawText(const OUString& rText, rtl_TextEncoding eCharSet) override;
74
76 virtual void StartRuby( const SwTextNode& rNode, sal_Int32 nPos, const SwFormatRuby& rRuby ) override;
77
79 virtual void EndRuby(const SwTextNode& rNode, sal_Int32 nPos) override;
80
82 virtual bool StartURL( const OUString &rUrl, const OUString &rTarget ) override;
83
85 virtual bool EndURL(bool) override;
86
87 virtual void FieldVanish(const OUString& rText, ww::eField eType, OUString const* pBookmarkName) override;
88
90 virtual void Redline( const SwRedlineData* pRedline ) override;
91
92 virtual void FormatDrop( const SwTextNode& rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner ) override;
93
97 virtual void OutputFKP(bool bForce) override;
98
100 virtual void ParagraphStyle( sal_uInt16 nStyle ) override;
101
102 virtual void TableInfoCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
103 virtual void TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
104 virtual void TableDefinition( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
105 void TablePositioning(SwFrameFormat* pFlyFormat);
106 virtual void TableDefaultBorders( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
107 virtual void TableBackgrounds( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
108 virtual void TableRowRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
109 virtual void TableCellRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
110 virtual void TableHeight( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
111 virtual void TableCanSplit( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
112 virtual void TableBidi( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
113 virtual void TableVerticalCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
114 virtual void TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner ) override;
115 virtual void TableOrientation( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
116 virtual void TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
117 virtual void TableRowEnd( sal_uInt32 nDepth ) override;
118
120 virtual void StartStyles() override;
121
123 virtual void EndStyles( sal_uInt16 nNumberOfStyles ) override;
124
126 virtual void DefaultStyle() override;
127
129 virtual void StartStyle( const OUString& rName, StyleType eType,
130 sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwIdi, sal_uInt16 nSlot,
131 bool bAutoUpdate ) override;
132
134 virtual void EndStyle() override;
135
137 virtual void StartStyleProperties( bool bParProp, sal_uInt16 nStyle ) override;
138
140 virtual void EndStyleProperties( bool bParProp ) override;
141
143 virtual void OutlineNumbering(sal_uInt8 nLvl) override;
144
147 virtual void PageBreakBefore( bool bBreak ) override;
148
151 virtual void SectionBreak( sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo* pSectionInfo = nullptr, bool bExtraPageBreak = false ) override;
152
153 // preserve DOC page vertical alignment
154 virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust ) override;
155
157 virtual void StartSection() override;
158
159 // footnote / endnote section properties
160 virtual void SectFootnoteEndnotePr() override;
161
165 virtual void EndSection() override {}
166
168 virtual void SectionFormProtection( bool bProtected ) override;
169
171 virtual void SectionLineNumbering( sal_uLong nRestartNo, const SwLineNumberInfo& rLnNumInfo ) override;
172
174 virtual void SectionTitlePage() override;
175
177 virtual void SectionPageBorders( const SwFrameFormat* pFormat, const SwFrameFormat* pFirstPageFormat ) override;
178
180 virtual void SectionBiDi( bool bBiDi ) override;
181
184 virtual void SectionPageNumbering( sal_uInt16 nNumType, const ::std::optional<sal_uInt16>& oPageRestartNumber ) override;
185
187 virtual void SectionType( sal_uInt8 nBreakCode ) override;
188
190 virtual void NumberingDefinition( sal_uInt16 nId, const SwNumRule &rRule ) override;
191
193 virtual void NumberingLevel( sal_uInt8 nLevel,
194 sal_uInt16 nStart,
195 sal_uInt16 nNumberingType,
196 SvxAdjust eAdjust,
197 const sal_uInt8 *pNumLvlPos,
198 sal_uInt8 nFollow,
199 const wwFont *pFont,
200 const SfxItemSet *pOutSet,
201 sal_Int16 nIndentAt,
202 sal_Int16 nFirstLineIndex,
203 sal_Int16 nListTabPos,
204 const OUString &rNumberingString,
205 const SvxBrushItem* pBrush, //For i120928,transfer graphic of bullet
206 bool isLegal) override;
207
208protected:
210 void OutputFlyFrame_Impl( const ww8::Frame& rFormat, const Point& rNdTopLeft ) override;
211
213 virtual void CharCaseMap( const SvxCaseMapItem& ) override;
214
216 virtual void CharColor( const SvxColorItem& ) override;
217
219 virtual void CharContour( const SvxContourItem& ) override;
220
222 virtual void CharCrossedOut( const SvxCrossedOutItem& rHt ) override;
223
225 virtual void CharEscapement( const SvxEscapementItem& ) override;
226
228 virtual void CharFont( const SvxFontItem& ) override;
229
231 virtual void CharFontSize( const SvxFontHeightItem& ) override;
232
234 virtual void CharKerning( const SvxKerningItem& ) override;
235
237 virtual void CharLanguage( const SvxLanguageItem& ) override;
238
240 virtual void CharPosture( const SvxPostureItem& ) override;
241
243 virtual void CharShadow( const SvxShadowedItem& ) override;
244
246 virtual void CharUnderline( const SvxUnderlineItem& ) override;
247
249 virtual void CharWeight( const SvxWeightItem& ) override;
250
252 virtual void CharAutoKern( const SvxAutoKernItem& ) override;
253
255 virtual void CharAnimatedText( const SvxBlinkItem& ) override;
256
258 virtual void CharBackground( const SvxBrushItem& ) override;
259
261 virtual void CharFontCJK( const SvxFontItem& ) override;
262
264 virtual void CharFontSizeCJK( const SvxFontHeightItem& rHt ) override { CharFontSize( rHt ); }
265
267 virtual void CharLanguageCJK( const SvxLanguageItem& rHt ) override { CharLanguage( rHt ); }
268
270 virtual void CharPostureCJK( const SvxPostureItem& rHt ) override { CharPosture( rHt ); }
271
273 virtual void CharWeightCJK( const SvxWeightItem& rHt ) override { CharWeight( rHt ); }
274
276 virtual void CharFontCTL( const SvxFontItem& ) override;
277
279 virtual void CharFontSizeCTL( const SvxFontHeightItem& rHt ) override { CharFontSize( rHt ); }
280
282 virtual void CharLanguageCTL( const SvxLanguageItem& rHt ) override { CharLanguage( rHt ); }
283
285 virtual void CharPostureCTL( const SvxPostureItem& ) override;
286
288 virtual void CharWeightCTL( const SvxWeightItem& ) override;
289
291 virtual void CharBidiRTL( const SfxPoolItem& rHt ) override;
292
294 virtual void CharIdctHint( const SfxPoolItem& rHt ) override;
295
297 virtual void CharRotate( const SvxCharRotateItem& ) override;
298
300 virtual void CharEmphasisMark( const SvxEmphasisMarkItem& rHt ) override;
301
303 virtual void CharTwoLines( const SvxTwoLinesItem& ) override;
304
306 virtual void CharScaleWidth( const SvxCharScaleWidthItem& ) override;
307
309 virtual void CharRelief( const SvxCharReliefItem& ) override;
310
312 virtual void CharHidden( const SvxCharHiddenItem& ) override;
313
315 virtual void CharBorder( const ::editeng::SvxBorderLine* pAllBorder, const sal_uInt16 nDist, const bool bShadow ) override;
316
318 virtual void CharHighlight( const SvxBrushItem& ) override;
319
321 virtual void TextINetFormat( const SwFormatINetFormat& ) override;
322
324 virtual void TextCharFormat( const SwFormatCharFormat& ) override;
325
327 virtual void TextFootnote_Impl( const SwFormatFootnote& ) override;
328
330 virtual void ParaLineSpacing_Impl( short nSpace, short nMulti ) override;
331
333 virtual void ParaAdjust( const SvxAdjustItem& rHt ) override;
334
336 virtual void ParaSplit( const SvxFormatSplitItem& ) override;
337
339 virtual void ParaWidows( const SvxWidowsItem& rHt ) override;
340
342 virtual void ParaTabStop( const SvxTabStopItem& rHt ) override;
343
345 virtual void ParaHyphenZone( const SvxHyphenZoneItem& ) override;
346
348 virtual void ParaNumRule_Impl( const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId ) override;
349
351 virtual void ParaScriptSpace( const SfxBoolItem& ) override;
352
354 virtual void ParaHangingPunctuation( const SfxBoolItem& ) override;
355
357 virtual void ParaForbiddenRules( const SfxBoolItem& ) override;
358
360 virtual void ParaVerticalAlign( const SvxParaVertAlignItem& ) override;
361
363 virtual void ParaSnapToGrid( const SvxParaGridItem& ) override;
364
366 virtual void FormatFrameSize( const SwFormatFrameSize& ) override;
367
369 virtual void FormatPaperBin( const SvxPaperBinItem& ) override;
370
372 virtual void FormatFirstLineIndent(const SvxFirstLineIndentItem & rFirstLine) override;
374 virtual void FormatTextLeftMargin(const SvxTextLeftMarginItem & rTextLeftMargin) override;
376 virtual void FormatRightMargin(const SvxRightMarginItem & rRightMargin) override;
377
379 virtual void FormatLRSpace( const SvxLRSpaceItem& ) override;
380
382 virtual void FormatULSpace( const SvxULSpaceItem& rHt ) override;
383
385 virtual void FormatSurround( const SwFormatSurround& ) override;
386
388 virtual void FormatVertOrientation( const SwFormatVertOrient& ) override;
389
391 virtual void FormatHorizOrientation( const SwFormatHoriOrient& ) override;
392
394 virtual void FormatAnchor( const SwFormatAnchor& ) override;
395
397 virtual void FormatBackground( const SvxBrushItem& ) override;
398
400 virtual void FormatFillStyle( const XFillStyleItem& ) override;
401
403 virtual void FormatFillGradient( const XFillGradientItem& ) override;
404
406 virtual void FormatBox( const SvxBoxItem& ) override;
407
409 virtual void FormatColumns_Impl( sal_uInt16 nCols, const SwFormatCol & rCol, bool bEven, SwTwips nPageSize ) override;
410
412 virtual void FormatKeep( const SvxFormatKeepItem& ) override;
413
415 virtual void FormatTextGrid( const SwTextGridItem& ) override;
416
418 virtual void FormatLineNumbering( const SwFormatLineNumber& ) override;
419
421 virtual void FormatFrameDirection( const SvxFrameDirectionItem& ) override;
422
424 virtual void ParaGrabBag( const SfxGrabBagItem& ) override;
425
427 virtual void CharGrabBag( const SfxGrabBagItem& ) override;
428
429 // Sfx item RES_PARATR_OUTLINELEVEL
430 virtual void ParaOutlineLevel( const SfxUInt16Item& ) override;
431
433 virtual void WriteExpand( const SwField* pField ) override;
434
435 virtual void RefField ( const SwField& rField, const OUString& rRef ) override;
436 virtual void HiddenField( const SwField& rField ) override;
437 virtual void SetField( const SwField& rField, ww::eField eType, const OUString& rCmd ) override;
438 virtual void PostitField( const SwField* pField ) override;
439 virtual bool DropdownField( const SwField* pField ) override;
440 virtual bool PlaceholderField( const SwField* pField ) override;
441
442 virtual bool AnalyzeURL( const OUString& rURL, const OUString& rTarget, OUString* pLinkURL, OUString* pMark ) override;
443
444 virtual void WriteBookmarkInActParagraph( const OUString& rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos ) override;
445
446 void SectionRtlGutter( const SfxBoolItem& rRtlGutter) override;
447
448 void TextLineBreak(const SwFormatLineBreak& rLineBreak) override;
449
450public:
451 explicit WW8AttributeOutput( WW8Export &rWW8Export )
452 : AttributeOutputBase(rWW8Export.GetWriter().GetMedia()->GetURLObject().GetMainURL(
453 INetURLObject::DecodeMechanism::NONE))
454 , m_rWW8Export(rWW8Export)
455 , m_nPOPosStdLen1(0)
456 , m_nPOPosStdLen2(0)
458 , m_nStyleLenPos(0)
460 , m_nFieldResults(0)
461 , mbOnTOXEnding(false)
462 {
463 }
464
466 virtual WW8Export& GetExport() override { return m_rWW8Export; }
467
468protected:
470 void OutputWW8Attribute( sal_uInt8 nId, bool bVal );
471
473 void OutputWW8AttributeCTL( sal_uInt8 nId, bool bVal );
474
475 void TableCellBorders(
476 ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
477
478private:
479
482
488
494
499
504 sal_uInt16 m_nFieldResults;
505
507
509 std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphStart;
510 std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphEnd;
511
513 bool m_bFromEdge = false;
514};
515
516#endif // INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
517
518/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Base class of all fields.
Definition: fldbas.hxx:296
FlyAnchors.
Definition: fmtanchr.hxx:37
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps.
Definition: paratr.hxx:72
SfxPoolItem subclass for footnotes and endnotes, stored in the anchor text node.
Definition: fmtftn.hxx:47
Defines the horizontal position of a fly frame.
Definition: fmtornt.hxx:73
SfxPoolItem subclass that wraps an SwLineBreakClear.
Contains the line numbering properties of this paragraph.
Definition: fmtline.hxx:33
Defines the vertical position of a fly frame.
Definition: fmtornt.hxx:37
Style of a layout element.
Definition: frmfmt.hxx:72
< purpose of derivation from SwClient: character style for displaying the numbers.
Definition: lineinfo.hxx:39
Base class of the Writer document model elements.
Definition: node.hxx:98
SwTextNode is a paragraph in the document model.
Definition: ndtxt.hxx:112
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphEnd
virtual void FormatLRSpace(const SvxLRSpaceItem &) override
Sfx item RES_LR_SPACE.
Definition: ww8atr.cxx:4275
virtual void ParaSplit(const SvxFormatSplitItem &) override
Sfx item RES_PARATR_SPLIT.
Definition: ww8atr.cxx:5197
virtual void FormatBackground(const SvxBrushItem &) override
Sfx item RES_BACKGROUND.
Definition: ww8atr.cxx:4539
virtual void StartRun(const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
Start of the text run.
Definition: ww8atr.cxx:1129
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.
Definition: wrtw8nds.cxx:3447
virtual void CharRotate(const SvxCharRotateItem &) override
Sfx item RES_CHRATR_ROTATE.
Definition: ww8atr.cxx:1628
virtual void FormatLineNumbering(const SwFormatLineNumber &) override
Sfx item RES_LINENUMBER.
Definition: ww8atr.cxx:5001
virtual void TableBidi(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2159
virtual void SectionLineNumbering(sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
Numbering of the lines in the document.
Definition: wrtw8sty.cxx:1406
virtual bool AnalyzeURL(const OUString &rURL, const OUString &rTarget, OUString *pLinkURL, OUString *pMark) override
Definition: wrtw8nds.cxx:1020
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.
Definition: wrtw8sty.cxx:492
virtual void CharBidiRTL(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_BidiRTL.
Definition: ww8atr.cxx:1611
virtual void EndRunProperties(const SwRedlineData *pRedlineData) override
After we end outputting the attributes.
Definition: ww8atr.cxx:1174
virtual void ParaNumRule_Impl(const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId) override
Sfx item RES_PARATR_NUMRULE.
Definition: ww8atr.cxx:3892
virtual void SectionPageNumbering(sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber) override
The style of the page numbers.
Definition: wrtw8sty.cxx:1476
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.
Definition: ww8atr.cxx:4155
virtual void ParagraphStyle(sal_uInt16 nStyle) override
Output style.
Definition: ww8atr.cxx:1215
virtual void FormatBox(const SvxBoxItem &) override
Sfx item RES_BOX.
Definition: ww8atr.cxx:4833
virtual void FormatAnchor(const SwFormatAnchor &) override
Sfx item RES_ANCHOR.
Definition: ww8atr.cxx:4508
virtual void FormatULSpace(const SvxULSpaceItem &rHt) override
Sfx item RES_UL_SPACE.
Definition: ww8atr.cxx:4354
virtual void CharWeightCTL(const SvxWeightItem &) override
Sfx item RES_CHRATR_CTL_WEIGHT.
Definition: ww8atr.cxx:1266
virtual void OnTOXEnding() override
Definition: ww8atr.cxx:1156
void OutputWW8AttributeCTL(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes, the Complex Text Layout version.
Definition: ww8atr.cxx:1231
virtual void ParaForbiddenRules(const SfxBoolItem &) override
Sfx item RES_PARATR_FORBIDDEN_RULES.
Definition: ww8atr.cxx:3527
virtual void SectionPageBorders(const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
Description of the page borders.
Definition: wrtw8sty.cxx:1438
virtual void ParaSnapToGrid(const SvxParaGridItem &) override
Sfx item RES_PARATR_SNAPTOGRID.
Definition: ww8atr.cxx:3533
virtual void CharKerning(const SvxKerningItem &) override
Sfx item RES_CHRATR_KERNING.
Definition: ww8atr.cxx:1297
virtual void FormatPaperBin(const SvxPaperBinItem &) override
Sfx item RES_PAPER_BIN.
Definition: ww8atr.cxx:4225
sal_uInt16 m_nStyleStartSize
For output of styles.
virtual void TextINetFormat(const SwFormatINetFormat &) override
Sfx item RES_TXTATR_INETFMT.
Definition: ww8atr.cxx:1751
void OutputWW8Attribute(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes.
Definition: ww8atr.cxx:1224
virtual void StartStyles() override
Start of the styles table.
Definition: wrtw8sty.cxx:722
virtual void FormatFillGradient(const XFillGradientItem &) override
Sfx item RES_FILL_GRADIENT.
Definition: ww8atr.cxx:4580
virtual void EndParagraph(ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
End of the paragraph.
Definition: ww8atr.cxx:1095
WW8AttributeOutput(WW8Export &rWW8Export)
virtual void NumberingDefinition(sal_uInt16 nId, const SwNumRule &rRule) override
Definition of a numbering instance.
Definition: wrtw8num.cxx:194
virtual void TableOrientation(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
Definition: wrtww8.cxx:2204
virtual void TableHeight(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2179
virtual void CharScaleWidth(const SvxCharScaleWidthItem &) override
Sfx item RES_CHRATR_SCALEW.
Definition: ww8atr.cxx:1580
virtual void CharRelief(const SvxCharReliefItem &) override
Sfx item RES_CHRATR_RELIEF.
Definition: ww8atr.cxx:1586
virtual void RawText(const OUString &rText, rtl_TextEncoding eCharSet) override
Output text (without markup).
Definition: ww8atr.cxx:1200
virtual void FormatDrop(const SwTextNode &rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
Definition: wrtw8nds.cxx:1855
virtual void TableCanSplit(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2139
virtual void CharPostureCTL(const SvxPostureItem &) override
Sfx item RES_CHRATR_CTL_POSTURE.
Definition: ww8atr.cxx:1271
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.
Definition: ww8atr.cxx:4344
virtual void FormatFillStyle(const XFillStyleItem &) override
Sfx item RES_FILL_STYLE.
Definition: ww8atr.cxx:4558
virtual void CharCaseMap(const SvxCaseMapItem &) override
Sfx item Sfx item RES_CHRATR_CASEMAP.
Definition: ww8atr.cxx:1337
virtual void EmptyParagraph() override
Empty paragraph.
Definition: wrtw8nds.cxx:3262
virtual void EndRun(const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false) override
End of the text run.
Definition: ww8atr.cxx:1161
virtual void EndSection() override
End of the section properties.
virtual void CharAnimatedText(const SvxBlinkItem &) override
Sfx item RES_CHRATR_BLINK.
Definition: ww8atr.cxx:1311
virtual void FormatVertOrientation(const SwFormatVertOrient &) override
Sfx item RES_VERT_ORIENT.
Definition: ww8atr.cxx:4437
virtual void ParaWidows(const SvxWidowsItem &rHt) override
Sfx item RES_PARATR_WIDOWS.
Definition: ww8atr.cxx:5209
virtual void ParaHangingPunctuation(const SfxBoolItem &) override
Sfx item RES_PARATR_HANGINGPUNCTUATION.
Definition: ww8atr.cxx:3521
virtual void FormatFrameDirection(const SvxFrameDirectionItem &) override
Sfx item RES_FRAMEDIR.
Definition: ww8atr.cxx:5136
virtual void FormatRightMargin(const SvxRightMarginItem &rRightMargin) override
Sfx item RES_MARGIN_RIGHT.
Definition: ww8atr.cxx:4262
virtual void CharPosture(const SvxPostureItem &) override
Sfx item RES_CHRATR_POSTURE.
Definition: ww8atr.cxx:1276
virtual void CharColor(const SvxColorItem &) override
Sfx item Sfx item RES_CHRATR_COLOR.
Definition: ww8atr.cxx:1698
virtual void SectionBiDi(bool bBiDi) override
Columns populated from right/numbers on the right side?
Definition: wrtw8sty.cxx:1470
virtual void CharFont(const SvxFontItem &) override
Sfx item RES_CHRATR_FONT.
Definition: ww8atr.cxx:1241
virtual void CharFontCTL(const SvxFontItem &) override
Sfx item RES_CHRATR_CTL_FONT.
Definition: ww8atr.cxx:1252
virtual void RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript) override
Export the state of RTL/CJK.
Definition: ww8atr.cxx:1075
virtual void StartStyleProperties(bool bParProp, sal_uInt16 nStyle) override
Start of (paragraph or run) properties of a style.
Definition: wrtw8sty.cxx:595
virtual void FormatKeep(const SvxFormatKeepItem &) override
Sfx item RES_KEEP.
Definition: ww8atr.cxx:4992
virtual void CharWeightCJK(const SvxWeightItem &rHt) override
Sfx item RES_CHRATR_CJK_WEIGHT.
virtual void ParaGrabBag(const SfxGrabBagItem &) override
Sfx item RES_PARATR_GRABBAG.
Definition: ww8atr.cxx:5179
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.
Definition: ww8atr.cxx:4470
virtual void TextVerticalAdjustment(const css::drawing::TextVerticalAdjust) override
Definition: wrtw8sty.cxx:1524
virtual void OutputFKP(bool bForce) override
Output FKP (Formatted disK Page) - necessary for binary formats only.
Definition: ww8atr.cxx:1205
sal_uInt16 m_nPOPosStdLen1
For output of styles.
virtual void CharHighlight(const SvxBrushItem &) override
Sfx item RES_CHRATR_HIGHLIGHT.
Definition: ww8atr.cxx:1369
virtual void TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2634
virtual void SetField(const SwField &rField, ww::eField eType, const OUString &rCmd) override
Definition: ww8atr.cxx:2820
virtual void RefField(const SwField &rField, const OUString &rRef) override
Definition: ww8atr.cxx:2871
virtual void TableRowEnd(sal_uInt32 nDepth) override
Definition: ww8atr.cxx:4028
virtual void CharLanguageCTL(const SvxLanguageItem &rHt) override
Sfx item RES_CHRATR_CTL_LANGUAGE.
virtual void StartSection() override
Start of the section properties.
Definition: wrtw8sty.cxx:1370
virtual void TableBackgrounds(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2748
virtual bool PlaceholderField(const SwField *pField) override
Definition: ww8atr.cxx:2866
virtual void EndStyle() override
End of a style in the styles table.
Definition: wrtw8sty.cxx:478
virtual void ParaAdjust(const SvxAdjustItem &rHt) override
Sfx item RES_PARATR_ADJUST.
Definition: ww8atr.cxx:5074
virtual void TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2412
virtual bool StartURL(const OUString &rUrl, const OUString &rTarget) override
Output URL start.
Definition: wrtw8nds.cxx:1054
virtual void FieldVanish(const OUString &rText, ww::eField eType, OUString const *pBookmarkName) override
Definition: wrtw8nds.cxx:1270
sal_uInt16 m_nFieldResults
For output of run properties.
void TablePositioning(SwFrameFormat *pFlyFormat)
Definition: wrtww8.cxx:2304
virtual void EndStyles(sal_uInt16 nNumberOfStyles) override
End of the styles table.
Definition: wrtw8sty.cxx:744
virtual void FormatTextGrid(const SwTextGridItem &) override
Sfx item RES_TEXTGRID.
Definition: ww8atr.cxx:4190
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.
Definition: wrtw8num.cxx:269
virtual void SectionTitlePage() override
Has different headers/footers for the title page.
Definition: wrtw8sty.cxx:1431
virtual void PageBreakBefore(bool bBreak) override
Page break As a paragraph property - the paragraph should be on the next page.
Definition: ww8atr.cxx:4051
void SectionRtlGutter(const SfxBoolItem &rRtlGutter) override
RES_RTL_GUTTER.
Definition: ww8atr.cxx:4332
virtual void StartParagraphProperties() override
Called before we start outputting the attributes.
virtual void Redline(const SwRedlineData *pRedline) override
Output redlining.
Definition: wrtw8nds.cxx:3570
virtual void DefaultStyle() override
Write default style.
Definition: wrtw8sty.cxx:673
virtual void CharWeight(const SvxWeightItem &) override
Sfx item RES_CHRATR_WEIGHT.
Definition: ww8atr.cxx:1281
virtual void CharFontCJK(const SvxFontItem &) override
Sfx item RES_CHRATR_CJK_FONT.
Definition: ww8atr.cxx:1259
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
Definition: wrtww8.cxx:2171
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.
Definition: wrtw8sty.cxx:632
virtual void ParaVerticalAlign(const SvxParaVertAlignItem &) override
Sfx item RES_PARATR_VERTALIGN.
Definition: ww8atr.cxx:3541
virtual void FormatSurround(const SwFormatSurround &) override
Sfx item RES_SURROUND.
Definition: ww8atr.cxx:4426
virtual void StartRuby(const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
Output ruby start.
Definition: wrtw8nds.cxx:894
virtual void ParaHyphenZone(const SvxHyphenZoneItem &) override
Sfx item RES_PARATR_HYPHENZONE.
Definition: ww8atr.cxx:3507
virtual void CharUnderline(const SvxUnderlineItem &) override
Sfx item RES_CHRATR_UNDERLINE.
Definition: ww8atr.cxx:1376
virtual void TableNodeInfoInner(ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
Definition: wrtww8.cxx:4406
virtual void SectionType(sal_uInt8 nBreakCode) override
The type of breaking.
Definition: wrtw8sty.cxx:1495
virtual void WriteBookmarkInActParagraph(const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos) override
Insert a bookmark inside the currently processed paragraph.
Definition: wrtw8nds.cxx:1048
virtual void FormatTextLeftMargin(const SvxTextLeftMarginItem &rTextLeftMargin) override
Sfx item RES_MARGIN_TEXTLEFT.
Definition: ww8atr.cxx:4255
virtual void CharBorder(const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow) override
Sfx item RES_CHRATR_BOX.
Definition: ww8atr.cxx:1364
virtual void CharHidden(const SvxCharHiddenItem &) override
Sfx item RES_CHRATR_HIDDEN.
Definition: ww8atr.cxx:1359
virtual void ParaOutlineLevel(const SfxUInt16Item &) override
Definition: ww8atr.cxx:5187
virtual void HiddenField(const SwField &rField) override
Definition: ww8atr.cxx:2806
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.
Definition: ww8atr.cxx:3734
virtual void ParaLineSpacing_Impl(short nSpace, short nMulti) override
Sfx item RES_PARATR_LINESPACING.
Definition: ww8atr.cxx:5011
virtual void StartRunProperties() override
Before we start outputting the attributes.
Definition: ww8atr.cxx:1123
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.
Definition: ww8atr.cxx:1650
virtual void CharLanguage(const SvxLanguageItem &) override
Sfx item RES_CHRATR_LANGUAGE.
Definition: ww8atr.cxx:1467
virtual bool DropdownField(const SwField *pField) override
Definition: ww8atr.cxx:2854
virtual void CharEscapement(const SvxEscapementItem &) override
Sfx item RES_CHRATR_ESCAPEMENT.
Definition: ww8atr.cxx:1504
virtual void CharBackground(const SvxBrushItem &) override
Sfx item RES_CHRATR_BACKGROUND.
Definition: ww8atr.cxx:1712
WW8Export & m_rWW8Export
Reference to the export, where to get the data from.
virtual void CharShadow(const SvxShadowedItem &) override
Sfx item RES_CHRATR_SHADOWED.
Definition: ww8atr.cxx:1292
virtual void FormatFrameSize(const SwFormatFrameSize &) override
Sfx item RES_FRM_SIZE.
Definition: ww8atr.cxx:3907
virtual void FormatColumns_Impl(sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
Sfx item RES_COL.
Definition: ww8atr.cxx:4877
virtual void CharAutoKern(const SvxAutoKernItem &) override
Sfx item RES_CHRATR_AUTOKERN.
Definition: ww8atr.cxx:1304
virtual void CharGrabBag(const SfxGrabBagItem &) override
Sfx item RES_TXTATR_GRABBAG.
Definition: ww8atr.cxx:5183
virtual void TableSpacing(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
Definition: wrtww8.cxx:2266
virtual void CharFontSize(const SvxFontHeightItem &) override
Sfx item RES_CHRATR_FONTSIZE.
Definition: ww8atr.cxx:1558
virtual void EndRuby(const SwTextNode &rNode, sal_Int32 nPos) override
Output ruby end.
Definition: wrtw8nds.cxx:923
virtual void RunText(const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8, const OUString &rSymbolFont=OUString()) override
Output text.
Definition: ww8atr.cxx:1195
virtual void CharContour(const SvxContourItem &) override
Sfx item Sfx item RES_CHRATR_CONTOUR.
Definition: ww8atr.cxx:1287
virtual void TextFootnote_Impl(const SwFormatFootnote &) override
Sfx item RES_TXTATR_FTN.
Definition: ww8atr.cxx:3709
sal_uLong m_nStyleCountPos
For output of styles.
virtual bool EndURL(bool) override
Output URL end.
Definition: wrtw8nds.cxx:1206
virtual void PostitField(const SwField *pField) override
Definition: ww8atr.cxx:2847
virtual void SectionBreaks(const SwNode &) override
Called in order to output section breaks.
void TableCellBorders(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
Definition: wrtww8.cxx:2663
virtual void FormatFirstLineIndent(const SvxFirstLineIndentItem &rFirstLine) override
Sfx item RES_MARGIN_FIRSTLINE.
Definition: ww8atr.cxx:4248
virtual void TableInfoCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:1985
virtual void TableCellRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2175
virtual void TableInfoRow(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2005
virtual void ParaTabStop(const SvxTabStopItem &rHt) override
Sfx item RES_PARATR_TABSTOP.
Definition: ww8atr.cxx:5448
virtual void CharCrossedOut(const SvxCrossedOutItem &rHt) override
Sfx item RES_CHRATR_CROSSEDOUT.
Definition: ww8atr.cxx:1318
virtual void SectionFormProtection(bool bProtected) override
Protection of forms.
Definition: wrtw8sty.cxx:1395
virtual void WriteExpand(const SwField *pField) override
Write the expanded field.
Definition: ww8atr.cxx:2884
virtual void TextCharFormat(const SwFormatCharFormat &) override
Sfx item RES_TXTATR_CHARFMT.
Definition: ww8atr.cxx:3721
virtual void CharIdctHint(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_IdctHint.
Definition: ww8atr.cxx:1621
virtual void OutlineNumbering(sal_uInt8 nLvl) override
Numbering rule and Id.
Definition: ww8atr.cxx:854
virtual void SectFootnoteEndnotePr() override
for footnote/endnote section properties
Definition: wrtw8sty.cxx:1375
virtual void CharFontSizeCJK(const SvxFontHeightItem &rHt) override
Sfx item RES_CHRATR_CJK_FONTSIZE.
virtual void ParaScriptSpace(const SfxBoolItem &) override
Sfx item RES_PARATR_SCRIPTSPACE.
Definition: ww8atr.cxx:3515
virtual void TableVerticalCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2103
Exporter of the binary Word file formats.
Definition: wrtww8.hxx:997
Make exporting a Writer Frame easy.
std::shared_ptr< WW8TableNodeInfoInner > Pointer_t
std::shared_ptr< WW8TableNodeInfo > Pointer_t
Collects and outputs fonts.
Definition: wrtww8.hxx:297
void GetWriter(std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet)
Return writer based on the name.
Definition: fltini.cxx:159
NONE
StyleType
sal_uIntPtr sal_uLong
SvxAdjust
tools::Long SwTwips
Definition: swtypes.hxx:51
unsigned char sal_uInt8