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 ) 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 virtual void TableDefaultBorders( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
106 virtual void TableBackgrounds( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
107 virtual void TableRowRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
108 virtual void TableCellRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
109 virtual void TableHeight( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
110 virtual void TableCanSplit( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
111 virtual void TableBidi( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
112 virtual void TableVerticalCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
113 virtual void TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner ) override;
114 virtual void TableOrientation( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
115 virtual void TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
116 virtual void TableRowEnd( sal_uInt32 nDepth ) override;
117
119 virtual void StartStyles() override;
120
122 virtual void EndStyles( sal_uInt16 nNumberOfStyles ) override;
123
125 virtual void DefaultStyle() override;
126
128 virtual void StartStyle( const OUString& rName, StyleType eType,
129 sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwIdi, sal_uInt16 nId,
130 bool bAutoUpdate ) override;
131
133 virtual void EndStyle() override;
134
136 virtual void StartStyleProperties( bool bParProp, sal_uInt16 nStyle ) override;
137
139 virtual void EndStyleProperties( bool bParProp ) override;
140
142 virtual void OutlineNumbering(sal_uInt8 nLvl) override;
143
146 virtual void PageBreakBefore( bool bBreak ) override;
147
150 virtual void SectionBreak( sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo* pSectionInfo = nullptr, bool bExtraPageBreak = false ) override;
151
152 // preserve DOC page vertical alignment
153 virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust ) override;
154
156 virtual void StartSection() override;
157
158 // footnote / endnote section properties
159 virtual void SectFootnoteEndnotePr() override;
160
164 virtual void EndSection() override {}
165
167 virtual void SectionFormProtection( bool bProtected ) override;
168
170 virtual void SectionLineNumbering( sal_uLong nRestartNo, const SwLineNumberInfo& rLnNumInfo ) override;
171
173 virtual void SectionTitlePage() override;
174
176 virtual void SectionPageBorders( const SwFrameFormat* pFormat, const SwFrameFormat* pFirstPageFormat ) override;
177
179 virtual void SectionBiDi( bool bBiDi ) override;
180
183 virtual void SectionPageNumbering( sal_uInt16 nNumType, const ::std::optional<sal_uInt16>& oPageRestartNumber ) override;
184
186 virtual void SectionType( sal_uInt8 nBreakCode ) override;
187
189 virtual void NumberingDefinition( sal_uInt16 nId, const SwNumRule &rRule ) override;
190
192 virtual void NumberingLevel( sal_uInt8 nLevel,
193 sal_uInt16 nStart,
194 sal_uInt16 nNumberingType,
195 SvxAdjust eAdjust,
196 const sal_uInt8 *pNumLvlPos,
197 sal_uInt8 nFollow,
198 const wwFont *pFont,
199 const SfxItemSet *pOutSet,
200 sal_Int16 nIndentAt,
201 sal_Int16 nFirstLineIndex,
202 sal_Int16 nListTabPos,
203 const OUString &rNumberingString,
204 const SvxBrushItem* pBrush) override; //For i120928,transfer graphic of bullet
205
206protected:
208 void OutputFlyFrame_Impl( const ww8::Frame& rFormat, const Point& rNdTopLeft ) override;
209
211 virtual void CharCaseMap( const SvxCaseMapItem& ) override;
212
214 virtual void CharColor( const SvxColorItem& ) override;
215
217 virtual void CharContour( const SvxContourItem& ) override;
218
220 virtual void CharCrossedOut( const SvxCrossedOutItem& rHt ) override;
221
223 virtual void CharEscapement( const SvxEscapementItem& ) override;
224
226 virtual void CharFont( const SvxFontItem& ) override;
227
229 virtual void CharFontSize( const SvxFontHeightItem& ) override;
230
232 virtual void CharKerning( const SvxKerningItem& ) override;
233
235 virtual void CharLanguage( const SvxLanguageItem& ) override;
236
238 virtual void CharPosture( const SvxPostureItem& ) override;
239
241 virtual void CharShadow( const SvxShadowedItem& ) override;
242
244 virtual void CharUnderline( const SvxUnderlineItem& ) override;
245
247 virtual void CharWeight( const SvxWeightItem& ) override;
248
250 virtual void CharAutoKern( const SvxAutoKernItem& ) override;
251
253 virtual void CharAnimatedText( const SvxBlinkItem& ) override;
254
256 virtual void CharBackground( const SvxBrushItem& ) override;
257
259 virtual void CharFontCJK( const SvxFontItem& ) override;
260
262 virtual void CharFontSizeCJK( const SvxFontHeightItem& rHt ) override { CharFontSize( rHt ); }
263
265 virtual void CharLanguageCJK( const SvxLanguageItem& rHt ) override { CharLanguage( rHt ); }
266
268 virtual void CharPostureCJK( const SvxPostureItem& rHt ) override { CharPosture( rHt ); }
269
271 virtual void CharWeightCJK( const SvxWeightItem& rHt ) override { CharWeight( rHt ); }
272
274 virtual void CharFontCTL( const SvxFontItem& ) override;
275
277 virtual void CharFontSizeCTL( const SvxFontHeightItem& rHt ) override { CharFontSize( rHt ); }
278
280 virtual void CharLanguageCTL( const SvxLanguageItem& rHt ) override { CharLanguage( rHt ); }
281
283 virtual void CharPostureCTL( const SvxPostureItem& ) override;
284
286 virtual void CharWeightCTL( const SvxWeightItem& ) override;
287
289 virtual void CharBidiRTL( const SfxPoolItem& rHt ) override;
290
292 virtual void CharIdctHint( const SfxPoolItem& rHt ) override;
293
295 virtual void CharRotate( const SvxCharRotateItem& ) override;
296
298 virtual void CharEmphasisMark( const SvxEmphasisMarkItem& rHt ) override;
299
301 virtual void CharTwoLines( const SvxTwoLinesItem& ) override;
302
304 virtual void CharScaleWidth( const SvxCharScaleWidthItem& ) override;
305
307 virtual void CharRelief( const SvxCharReliefItem& ) override;
308
310 virtual void CharHidden( const SvxCharHiddenItem& ) override;
311
313 virtual void CharBorder( const ::editeng::SvxBorderLine* pAllBorder, const sal_uInt16 nDist, const bool bShadow ) override;
314
316 virtual void CharHighlight( const SvxBrushItem& ) override;
317
319 virtual void TextINetFormat( const SwFormatINetFormat& ) override;
320
322 virtual void TextCharFormat( const SwFormatCharFormat& ) override;
323
325 virtual void TextFootnote_Impl( const SwFormatFootnote& ) override;
326
328 virtual void ParaLineSpacing_Impl( short nSpace, short nMulti ) override;
329
331 virtual void ParaAdjust( const SvxAdjustItem& rHt ) override;
332
334 virtual void ParaSplit( const SvxFormatSplitItem& ) override;
335
337 virtual void ParaWidows( const SvxWidowsItem& rHt ) override;
338
340 virtual void ParaTabStop( const SvxTabStopItem& rHt ) override;
341
343 virtual void ParaHyphenZone( const SvxHyphenZoneItem& ) override;
344
346 virtual void ParaNumRule_Impl( const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId ) override;
347
349 virtual void ParaScriptSpace( const SfxBoolItem& ) override;
350
352 virtual void ParaHangingPunctuation( const SfxBoolItem& ) override;
353
355 virtual void ParaForbiddenRules( const SfxBoolItem& ) override;
356
358 virtual void ParaVerticalAlign( const SvxParaVertAlignItem& ) override;
359
361 virtual void ParaSnapToGrid( const SvxParaGridItem& ) override;
362
364 virtual void FormatFrameSize( const SwFormatFrameSize& ) override;
365
367 virtual void FormatPaperBin( const SvxPaperBinItem& ) override;
368
370 virtual void FormatLRSpace( const SvxLRSpaceItem& ) override;
371
373 virtual void FormatULSpace( const SvxULSpaceItem& rHt ) override;
374
376 virtual void FormatSurround( const SwFormatSurround& ) override;
377
379 virtual void FormatVertOrientation( const SwFormatVertOrient& ) override;
380
382 virtual void FormatHorizOrientation( const SwFormatHoriOrient& ) override;
383
385 virtual void FormatAnchor( const SwFormatAnchor& ) override;
386
388 virtual void FormatBackground( const SvxBrushItem& ) override;
389
391 virtual void FormatFillStyle( const XFillStyleItem& ) override;
392
394 virtual void FormatFillGradient( const XFillGradientItem& ) override;
395
397 virtual void FormatBox( const SvxBoxItem& ) override;
398
400 virtual void FormatColumns_Impl( sal_uInt16 nCols, const SwFormatCol & rCol, bool bEven, SwTwips nPageSize ) override;
401
403 virtual void FormatKeep( const SvxFormatKeepItem& ) override;
404
406 virtual void FormatTextGrid( const SwTextGridItem& ) override;
407
409 virtual void FormatLineNumbering( const SwFormatLineNumber& ) override;
410
412 virtual void FormatFrameDirection( const SvxFrameDirectionItem& ) override;
413
415 virtual void ParaGrabBag( const SfxGrabBagItem& ) override;
416
418 virtual void CharGrabBag( const SfxGrabBagItem& ) override;
419
420 // Sfx item RES_PARATR_OUTLINELEVEL
421 virtual void ParaOutlineLevel( const SfxUInt16Item& ) override;
422
424 virtual void WriteExpand( const SwField* pField ) override;
425
426 virtual void RefField ( const SwField& rField, const OUString& rRef ) override;
427 virtual void HiddenField( const SwField& rField ) override;
428 virtual void SetField( const SwField& rField, ww::eField eType, const OUString& rCmd ) override;
429 virtual void PostitField( const SwField* pField ) override;
430 virtual bool DropdownField( const SwField* pField ) override;
431 virtual bool PlaceholderField( const SwField* pField ) override;
432
433 virtual bool AnalyzeURL( const OUString& rURL, const OUString& rTarget, OUString* pLinkURL, OUString* pMark ) override;
434
435 virtual void WriteBookmarkInActParagraph( const OUString& rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos ) override;
436
437 void SectionRtlGutter( const SfxBoolItem& rRtlGutter) override;
438
439 void TextLineBreak(const SwFormatLineBreak& rLineBreak) override;
440
443
449
455
460
465 sal_uInt16 m_nFieldResults;
466
468
470 std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphStart;
471 std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphEnd;
472
473public:
474 explicit WW8AttributeOutput( WW8Export &rWW8Export )
475 : AttributeOutputBase(rWW8Export.GetWriter().GetMedia()->GetURLObject().GetMainURL(
476 INetURLObject::DecodeMechanism::NONE))
477 , m_rWW8Export(rWW8Export)
478 , m_nPOPosStdLen1(0)
479 , m_nPOPosStdLen2(0)
481 , m_nStyleLenPos(0)
483 , m_nFieldResults(0)
484 , mbOnTOXEnding(false)
485 {
486 }
487
489 virtual WW8Export& GetExport() override { return m_rWW8Export; }
490
491protected:
493 void OutputWW8Attribute( sal_uInt8 nId, bool bVal );
494
496 void OutputWW8AttributeCTL( sal_uInt8 nId, bool bVal );
497
498 void TableCellBorders(
499 ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
500
501private:
502
504 bool m_bFromEdge = false;
505
506};
507
508#endif // INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
509
510/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Base class of all fields.
Definition: fldbas.hxx:292
FlyAnchors.
Definition: fmtanchr.hxx:37
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps.
Definition: paratr.hxx:63
SfxPoolItem subclass that wraps an SwLineBreakClear.
Style of a layout element.
Definition: frmfmt.hxx:62
< 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:84
SwTextNode is a paragraph in the document model.
Definition: ndtxt.hxx:89
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphEnd
virtual void FormatLRSpace(const SvxLRSpaceItem &) override
Sfx item RES_LR_SPACE.
Definition: ww8atr.cxx:4136
virtual void ParaSplit(const SvxFormatSplitItem &) override
Sfx item RES_PARATR_SPLIT.
Definition: ww8atr.cxx:5058
virtual void FormatBackground(const SvxBrushItem &) override
Sfx item RES_BACKGROUND.
Definition: ww8atr.cxx:4400
virtual void StartRun(const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
Start of the text run.
Definition: ww8atr.cxx:1073
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:3392
virtual void CharRotate(const SvxCharRotateItem &) override
Sfx item RES_CHRATR_ROTATE.
Definition: ww8atr.cxx:1569
virtual void FormatLineNumbering(const SwFormatLineNumber &) override
Sfx item RES_LINENUMBER.
Definition: ww8atr.cxx:4862
virtual void TableBidi(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2155
virtual void SectionLineNumbering(sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
Numbering of the lines in the document.
Definition: wrtw8sty.cxx:1364
virtual bool AnalyzeURL(const OUString &rURL, const OUString &rTarget, OUString *pLinkURL, OUString *pMark) override
Definition: wrtw8nds.cxx:1013
virtual void CharBidiRTL(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_BidiRTL.
Definition: ww8atr.cxx:1552
virtual void EndRunProperties(const SwRedlineData *pRedlineData) override
After we end outputting the attributes.
Definition: ww8atr.cxx:1115
virtual void ParaNumRule_Impl(const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId) override
Sfx item RES_PARATR_NUMRULE.
Definition: ww8atr.cxx:3780
virtual void SectionPageNumbering(sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber) override
The style of the page numbers.
Definition: wrtw8sty.cxx:1434
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:4043
virtual void ParagraphStyle(sal_uInt16 nStyle) override
Output style.
Definition: ww8atr.cxx:1156
virtual void FormatBox(const SvxBoxItem &) override
Sfx item RES_BOX.
Definition: ww8atr.cxx:4694
virtual void FormatAnchor(const SwFormatAnchor &) override
Sfx item RES_ANCHOR.
Definition: ww8atr.cxx:4369
virtual void FormatULSpace(const SvxULSpaceItem &rHt) override
Sfx item RES_UL_SPACE.
Definition: ww8atr.cxx:4215
virtual void CharWeightCTL(const SvxWeightItem &) override
Sfx item RES_CHRATR_CTL_WEIGHT.
Definition: ww8atr.cxx:1207
virtual void OnTOXEnding() override
Definition: ww8atr.cxx:1097
void OutputWW8AttributeCTL(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes, the Complex Text Layout version.
Definition: ww8atr.cxx:1172
virtual void ParaForbiddenRules(const SfxBoolItem &) override
Sfx item RES_PARATR_FORBIDDEN_RULES.
Definition: ww8atr.cxx:3400
virtual void SectionPageBorders(const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
Description of the page borders.
Definition: wrtw8sty.cxx:1396
virtual void ParaSnapToGrid(const SvxParaGridItem &) override
Sfx item RES_PARATR_SNAPTOGRID.
Definition: ww8atr.cxx:3406
virtual void CharKerning(const SvxKerningItem &) override
Sfx item RES_CHRATR_KERNING.
Definition: ww8atr.cxx:1238
virtual void FormatPaperBin(const SvxPaperBinItem &) override
Sfx item RES_PAPER_BIN.
Definition: ww8atr.cxx:4113
sal_uInt16 m_nStyleStartSize
For output of styles.
virtual void TextINetFormat(const SwFormatINetFormat &) override
Sfx item RES_TXTATR_INETFMT.
Definition: ww8atr.cxx:1692
void OutputWW8Attribute(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes.
Definition: ww8atr.cxx:1165
virtual void StartStyles() override
Start of the styles table.
Definition: wrtw8sty.cxx:663
virtual void FormatFillGradient(const XFillGradientItem &) override
Sfx item RES_FILL_GRADIENT.
Definition: ww8atr.cxx:4441
virtual void EndParagraph(ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
End of the paragraph.
Definition: ww8atr.cxx:1039
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:2200
virtual void TableHeight(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2175
virtual void CharScaleWidth(const SvxCharScaleWidthItem &) override
Sfx item RES_CHRATR_SCALEW.
Definition: ww8atr.cxx:1521
virtual void CharRelief(const SvxCharReliefItem &) override
Sfx item RES_CHRATR_RELIEF.
Definition: ww8atr.cxx:1527
virtual void RawText(const OUString &rText, rtl_TextEncoding eCharSet) override
Output text (without markup).
Definition: ww8atr.cxx:1141
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:1848
virtual void TableCanSplit(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2135
virtual void CharPostureCTL(const SvxPostureItem &) override
Sfx item RES_CHRATR_CTL_POSTURE.
Definition: ww8atr.cxx:1212
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:4205
virtual void RunText(const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8) override
Output text.
Definition: ww8atr.cxx:1136
virtual void FormatFillStyle(const XFillStyleItem &) override
Sfx item RES_FILL_STYLE.
Definition: ww8atr.cxx:4419
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) override
All the numbering level information.
Definition: wrtw8num.cxx:269
virtual void CharCaseMap(const SvxCaseMapItem &) override
Sfx item Sfx item RES_CHRATR_CASEMAP.
Definition: ww8atr.cxx:1278
virtual void EmptyParagraph() override
Empty paragraph.
Definition: wrtw8nds.cxx:3207
virtual void EndRun(const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false) override
End of the text run.
Definition: ww8atr.cxx:1102
virtual void EndSection() override
End of the section properties.
virtual void CharAnimatedText(const SvxBlinkItem &) override
Sfx item RES_CHRATR_BLINK.
Definition: ww8atr.cxx:1252
virtual void FormatVertOrientation(const SwFormatVertOrient &) override
Sfx item RES_VERT_ORIENT.
Definition: ww8atr.cxx:4298
virtual void ParaWidows(const SvxWidowsItem &rHt) override
Sfx item RES_PARATR_WIDOWS.
Definition: ww8atr.cxx:5070
virtual void ParaHangingPunctuation(const SfxBoolItem &) override
Sfx item RES_PARATR_HANGINGPUNCTUATION.
Definition: ww8atr.cxx:3394
virtual void FormatFrameDirection(const SvxFrameDirectionItem &) override
Sfx item RES_FRAMEDIR.
Definition: ww8atr.cxx:4997
virtual void CharPosture(const SvxPostureItem &) override
Sfx item RES_CHRATR_POSTURE.
Definition: ww8atr.cxx:1217
virtual void CharColor(const SvxColorItem &) override
Sfx item Sfx item RES_CHRATR_COLOR.
Definition: ww8atr.cxx:1639
virtual void SectionBiDi(bool bBiDi) override
Columns populated from right/numbers on the right side?
Definition: wrtw8sty.cxx:1428
virtual void CharFont(const SvxFontItem &) override
Sfx item RES_CHRATR_FONT.
Definition: ww8atr.cxx:1182
virtual void CharFontCTL(const SvxFontItem &) override
Sfx item RES_CHRATR_CTL_FONT.
Definition: ww8atr.cxx:1193
virtual void RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript) override
Export the state of RTL/CJK.
Definition: ww8atr.cxx:1019
virtual void StartStyleProperties(bool bParProp, sal_uInt16 nStyle) override
Start of (paragraph or run) properties of a style.
Definition: wrtw8sty.cxx:508
virtual void FormatKeep(const SvxFormatKeepItem &) override
Sfx item RES_KEEP.
Definition: ww8atr.cxx:4853
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:5040
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:4331
virtual void TextVerticalAdjustment(const css::drawing::TextVerticalAdjust) override
Definition: wrtw8sty.cxx:1482
virtual void OutputFKP(bool bForce) override
Output FKP (Formatted disK Page) - necessary for binary formats only.
Definition: ww8atr.cxx:1146
sal_uInt16 m_nPOPosStdLen1
For output of styles.
virtual void CharHighlight(const SvxBrushItem &) override
Sfx item RES_CHRATR_HIGHLIGHT.
Definition: ww8atr.cxx:1310
virtual void TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2519
virtual void SetField(const SwField &rField, ww::eField eType, const OUString &rCmd) override
Definition: ww8atr.cxx:2722
virtual void RefField(const SwField &rField, const OUString &rRef) override
Definition: ww8atr.cxx:2773
virtual void TableRowEnd(sal_uInt32 nDepth) override
Definition: ww8atr.cxx:3916
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:1328
virtual void TableBackgrounds(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2633
virtual bool PlaceholderField(const SwField *pField) override
Definition: ww8atr.cxx:2768
virtual void EndStyle() override
End of a style in the styles table.
Definition: wrtw8sty.cxx:391
virtual void ParaAdjust(const SvxAdjustItem &rHt) override
Sfx item RES_PARATR_ADJUST.
Definition: ww8atr.cxx:4935
virtual void TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2300
virtual bool StartURL(const OUString &rUrl, const OUString &rTarget) override
Output URL start.
Definition: wrtw8nds.cxx:1047
virtual void FieldVanish(const OUString &rText, ww::eField eType, OUString const *pBookmarkName) override
Definition: wrtw8nds.cxx:1263
sal_uInt16 m_nFieldResults
For output of run properties.
virtual void EndStyles(sal_uInt16 nNumberOfStyles) override
End of the styles table.
Definition: wrtw8sty.cxx:685
virtual void FormatTextGrid(const SwTextGridItem &) override
Sfx item RES_TEXTGRID.
Definition: ww8atr.cxx:4078
virtual void SectionTitlePage() override
Has different headers/footers for the title page.
Definition: wrtw8sty.cxx:1389
virtual void PageBreakBefore(bool bBreak) override
Page break As a paragraph property - the paragraph should be on the next page.
Definition: ww8atr.cxx:3939
void SectionRtlGutter(const SfxBoolItem &rRtlGutter) override
RES_RTL_GUTTER.
Definition: ww8atr.cxx:4193
virtual void StartParagraphProperties() override
Called before we start outputting the attributes.
virtual void Redline(const SwRedlineData *pRedline) override
Output redlining.
Definition: wrtw8nds.cxx:3501
virtual void DefaultStyle() override
Write default style.
Definition: wrtw8sty.cxx:586
virtual void CharWeight(const SvxWeightItem &) override
Sfx item RES_CHRATR_WEIGHT.
Definition: ww8atr.cxx:1222
virtual void CharFontCJK(const SvxFontItem &) override
Sfx item RES_CHRATR_CJK_FONT.
Definition: ww8atr.cxx:1200
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:2167
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:545
virtual void ParaVerticalAlign(const SvxParaVertAlignItem &) override
Sfx item RES_PARATR_VERTALIGN.
Definition: ww8atr.cxx:3414
virtual void FormatSurround(const SwFormatSurround &) override
Sfx item RES_SURROUND.
Definition: ww8atr.cxx:4287
virtual void StartRuby(const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
Output ruby start.
Definition: wrtw8nds.cxx:892
virtual void ParaHyphenZone(const SvxHyphenZoneItem &) override
Sfx item RES_PARATR_HYPHENZONE.
Definition: ww8atr.cxx:3380
virtual void CharUnderline(const SvxUnderlineItem &) override
Sfx item RES_CHRATR_UNDERLINE.
Definition: ww8atr.cxx:1317
virtual void TableNodeInfoInner(ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
Definition: wrtww8.cxx:4332
virtual void SectionType(sal_uInt8 nBreakCode) override
The type of breaking.
Definition: wrtw8sty.cxx:1453
virtual void WriteBookmarkInActParagraph(const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos) override
Insert a bookmark inside the currently processed paragraph.
Definition: wrtw8nds.cxx:1041
virtual void CharBorder(const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow) override
Sfx item RES_CHRATR_BOX.
Definition: ww8atr.cxx:1305
virtual void CharHidden(const SvxCharHiddenItem &) override
Sfx item RES_CHRATR_HIDDEN.
Definition: ww8atr.cxx:1300
virtual void ParaOutlineLevel(const SfxUInt16Item &) override
Definition: ww8atr.cxx:5048
virtual void HiddenField(const SwField &rField) override
Definition: ww8atr.cxx:2708
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:3607
virtual void ParaLineSpacing_Impl(short nSpace, short nMulti) override
Sfx item RES_PARATR_LINESPACING.
Definition: ww8atr.cxx:4872
virtual void StartRunProperties() override
Before we start outputting the attributes.
Definition: ww8atr.cxx:1067
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:1591
virtual void CharLanguage(const SvxLanguageItem &) override
Sfx item RES_CHRATR_LANGUAGE.
Definition: ww8atr.cxx:1408
virtual bool DropdownField(const SwField *pField) override
Definition: ww8atr.cxx:2756
virtual void CharEscapement(const SvxEscapementItem &) override
Sfx item RES_CHRATR_ESCAPEMENT.
Definition: ww8atr.cxx:1445
virtual void CharBackground(const SvxBrushItem &) override
Sfx item RES_CHRATR_BACKGROUND.
Definition: ww8atr.cxx:1653
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:1233
virtual void FormatFrameSize(const SwFormatFrameSize &) override
Sfx item RES_FRM_SIZE.
Definition: ww8atr.cxx:3795
virtual void FormatColumns_Impl(sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
Sfx item RES_COL.
Definition: ww8atr.cxx:4738
virtual void CharAutoKern(const SvxAutoKernItem &) override
Sfx item RES_CHRATR_AUTOKERN.
Definition: ww8atr.cxx:1245
virtual void CharGrabBag(const SfxGrabBagItem &) override
Sfx item RES_TXTATR_GRABBAG.
Definition: ww8atr.cxx:5044
virtual void TableSpacing(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
Definition: wrtww8.cxx:2262
virtual void CharFontSize(const SvxFontHeightItem &) override
Sfx item RES_CHRATR_FONTSIZE.
Definition: ww8atr.cxx:1499
virtual void EndRuby(const SwTextNode &rNode, sal_Int32 nPos) override
Output ruby end.
Definition: wrtw8nds.cxx:916
virtual void CharContour(const SvxContourItem &) override
Sfx item Sfx item RES_CHRATR_CONTOUR.
Definition: ww8atr.cxx:1228
virtual void TextFootnote_Impl(const SwFormatFootnote &) override
Sfx item RES_TXTATR_FTN.
Definition: ww8atr.cxx:3582
sal_uLong m_nStyleCountPos
For output of styles.
virtual bool EndURL(bool) override
Output URL end.
Definition: wrtw8nds.cxx:1199
virtual void PostitField(const SwField *pField) override
Definition: ww8atr.cxx:2749
virtual void StartStyle(const OUString &rName, StyleType eType, sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwIdi, sal_uInt16 nId, bool bAutoUpdate) override
Start of a style in the styles table.
Definition: wrtw8sty.cxx:405
virtual void SectionBreaks(const SwNode &) override
Called in order to output section breaks.
void TableCellBorders(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
Definition: wrtww8.cxx:2548
virtual void TableInfoCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:1981
virtual void TableCellRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2171
virtual void TableInfoRow(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2001
virtual void ParaTabStop(const SvxTabStopItem &rHt) override
Sfx item RES_PARATR_TABSTOP.
Definition: ww8atr.cxx:5309
virtual void CharCrossedOut(const SvxCrossedOutItem &rHt) override
Sfx item RES_CHRATR_CROSSEDOUT.
Definition: ww8atr.cxx:1259
virtual void SectionFormProtection(bool bProtected) override
Protection of forms.
Definition: wrtw8sty.cxx:1353
virtual void WriteExpand(const SwField *pField) override
Write the expanded field.
Definition: ww8atr.cxx:2786
virtual void TextCharFormat(const SwFormatCharFormat &) override
Sfx item RES_TXTATR_CHARFMT.
Definition: ww8atr.cxx:3594
virtual void CharIdctHint(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_IdctHint.
Definition: ww8atr.cxx:1562
virtual void OutlineNumbering(sal_uInt8 nLvl) override
Numbering rule and Id.
Definition: ww8atr.cxx:802
virtual void SectFootnoteEndnotePr() override
for footnote/endnote section properties
Definition: wrtw8sty.cxx:1333
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:3388
virtual void TableVerticalCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2099
Exporter of the binary Word file formats.
Definition: wrtww8.hxx:995
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