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 
23 #include "attributeoutputbase.hxx"
24 #include "wrtww8.hxx"
25 #include <editeng/boxitem.hxx>
26 
28 {
29 public:
31  virtual void RTLAndCJKState( bool bIsRTL, sal_uInt16 nScript ) override;
32 
34  virtual void StartParagraph( ww8::WW8TableNodeInfo::Pointer_t /*pTextNodeInfo*/ ) override {}
35 
37  virtual void EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner ) override;
38 
40  virtual void SectionBreaks(const SwNode& /*rNode*/) override {}
41 
43  virtual void StartParagraphProperties() override {}
44 
46  virtual void EndParagraphProperties(const SfxItemSet& /*rParagraphMarkerProperties*/, const SwRedlineData* /*pRedlineData*/, const SwRedlineData* /*pRedlineParagraphMarkerDeleted*/, const SwRedlineData* /*pRedlineParagraphMarkerInserted*/) override {}
47 
49  virtual void EmptyParagraph() override;
50 
53  virtual void StartRun( const SwRedlineData* pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun = false ) override;
54 
55  virtual void OnTOXEnding() override;
56 
60  virtual void EndRun(const SwTextNode* pNode, sal_Int32 nPos, bool bLastRun = false) override;
61 
63  virtual void StartRunProperties() override;
64 
66  virtual void EndRunProperties( const SwRedlineData* pRedlineData ) override;
67 
69  virtual void RunText( const OUString& rText, rtl_TextEncoding eCharSet = RTL_TEXTENCODING_UTF8 ) override;
70 
72  virtual void RawText(const OUString& rText, rtl_TextEncoding eCharSet) override;
73 
75  virtual void StartRuby( const SwTextNode& rNode, sal_Int32 nPos, const SwFormatRuby& rRuby ) override;
76 
78  virtual void EndRuby(const SwTextNode& rNode, sal_Int32 nPos) override;
79 
81  virtual bool StartURL( const OUString &rUrl, const OUString &rTarget ) override;
82 
84  virtual bool EndURL(bool) override;
85 
86  virtual void FieldVanish( const OUString& rText, ww::eField eType ) override;
87 
89  virtual void Redline( const SwRedlineData* pRedline ) override;
90 
91  virtual void FormatDrop( const SwTextNode& rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner ) override;
92 
96  virtual void OutputFKP(bool bForce) override;
97 
99  virtual void ParagraphStyle( sal_uInt16 nStyle ) override;
100 
101  virtual void TableInfoCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
102  virtual void TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
103  virtual void TableDefinition( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
104  virtual void TableDefaultBorders( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
105  virtual void TableBackgrounds( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
106  virtual void TableRowRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
107  virtual void TableCellRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
108  virtual void TableHeight( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
109  virtual void TableCanSplit( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
110  virtual void TableBidi( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
111  virtual void TableVerticalCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo ) override;
112  virtual void TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner ) override;
113  virtual void TableOrientation( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
114  virtual void TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
115  virtual void TableRowEnd( sal_uInt32 nDepth ) override;
116 
118  virtual void StartStyles() override;
119 
121  virtual void EndStyles( sal_uInt16 nNumberOfStyles ) override;
122 
124  virtual void DefaultStyle() override;
125 
127  virtual void StartStyle( const OUString& rName, StyleType eType,
128  sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nWwIdi, sal_uInt16 nId,
129  bool bAutoUpdate ) override;
130 
132  virtual void EndStyle() override;
133 
135  virtual void StartStyleProperties( bool bParProp, sal_uInt16 nStyle ) override;
136 
138  virtual void EndStyleProperties( bool bParProp ) override;
139 
141  virtual void OutlineNumbering(sal_uInt8 nLvl) override;
142 
145  virtual void PageBreakBefore( bool bBreak ) override;
146 
149  virtual void SectionBreak( sal_uInt8 nC, const WW8_SepInfo* pSectionInfo = nullptr ) override;
150 
151  // preserve DOC page vertical alignment
152  virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust ) override;
153 
155  virtual void StartSection() override;
156 
157  // footnote / endnote section properties
158  virtual void SectFootnoteEndnotePr() override;
159 
163  virtual void EndSection() override {}
164 
166  virtual void SectionFormProtection( bool bProtected ) override;
167 
169  virtual void SectionLineNumbering( sal_uLong nRestartNo, const SwLineNumberInfo& rLnNumInfo ) override;
170 
172  virtual void SectionTitlePage() override;
173 
175  virtual void SectionPageBorders( const SwFrameFormat* pFormat, const SwFrameFormat* pFirstPageFormat ) override;
176 
178  virtual void SectionBiDi( bool bBiDi ) override;
179 
182  virtual void SectionPageNumbering( sal_uInt16 nNumType, const ::boost::optional<sal_uInt16>& oPageRestartNumber ) override;
183 
185  virtual void SectionType( sal_uInt8 nBreakCode ) override;
186 
188  virtual void NumberingDefinition( sal_uInt16 nId, const SwNumRule &rRule ) override;
189 
191  virtual void NumberingLevel( sal_uInt8 nLevel,
192  sal_uInt16 nStart,
193  sal_uInt16 nNumberingType,
194  SvxAdjust eAdjust,
195  const sal_uInt8 *pNumLvlPos,
196  sal_uInt8 nFollow,
197  const wwFont *pFont,
198  const SfxItemSet *pOutSet,
199  sal_Int16 nIndentAt,
200  sal_Int16 nFirstLineIndex,
201  sal_Int16 nListTabPos,
202  const OUString &rNumberingString,
203  const SvxBrushItem* pBrush) override; //For i120928,transfer graphic of bullet
204 
205 protected:
207  void OutputFlyFrame_Impl( const ww8::Frame& rFormat, const Point& rNdTopLeft ) override;
208 
210  virtual void CharCaseMap( const SvxCaseMapItem& ) override;
211 
213  virtual void CharColor( const SvxColorItem& ) override;
214 
216  virtual void CharContour( const SvxContourItem& ) override;
217 
219  virtual void CharCrossedOut( const SvxCrossedOutItem& rHt ) override;
220 
222  virtual void CharEscapement( const SvxEscapementItem& ) override;
223 
225  virtual void CharFont( const SvxFontItem& ) override;
226 
228  virtual void CharFontSize( const SvxFontHeightItem& ) override;
229 
231  virtual void CharKerning( const SvxKerningItem& ) override;
232 
234  virtual void CharLanguage( const SvxLanguageItem& ) override;
235 
237  virtual void CharPosture( const SvxPostureItem& ) override;
238 
240  virtual void CharShadow( const SvxShadowedItem& ) override;
241 
243  virtual void CharUnderline( const SvxUnderlineItem& ) override;
244 
246  virtual void CharWeight( const SvxWeightItem& ) override;
247 
249  virtual void CharAutoKern( const SvxAutoKernItem& ) override;
250 
252  virtual void CharAnimatedText( const SvxBlinkItem& ) override;
253 
255  virtual void CharBackground( const SvxBrushItem& ) override;
256 
258  virtual void CharFontCJK( const SvxFontItem& ) override;
259 
261  virtual void CharFontSizeCJK( const SvxFontHeightItem& rHt ) override { CharFontSize( rHt ); }
262 
264  virtual void CharLanguageCJK( const SvxLanguageItem& rHt ) override { CharLanguage( rHt ); }
265 
267  virtual void CharPostureCJK( const SvxPostureItem& rHt ) override { CharPosture( rHt ); }
268 
270  virtual void CharWeightCJK( const SvxWeightItem& rHt ) override { CharWeight( rHt ); }
271 
273  virtual void CharFontCTL( const SvxFontItem& ) override;
274 
276  virtual void CharFontSizeCTL( const SvxFontHeightItem& rHt ) override { CharFontSize( rHt ); }
277 
279  virtual void CharLanguageCTL( const SvxLanguageItem& rHt ) override { CharLanguage( rHt ); }
280 
282  virtual void CharPostureCTL( const SvxPostureItem& ) override;
283 
285  virtual void CharWeightCTL( const SvxWeightItem& ) override;
286 
288  virtual void CharBidiRTL( const SfxPoolItem& rHt ) override;
289 
291  virtual void CharIdctHint( const SfxPoolItem& rHt ) override;
292 
294  virtual void CharRotate( const SvxCharRotateItem& ) override;
295 
297  virtual void CharEmphasisMark( const SvxEmphasisMarkItem& rHt ) override;
298 
300  virtual void CharTwoLines( const SvxTwoLinesItem& ) override;
301 
303  virtual void CharScaleWidth( const SvxCharScaleWidthItem& ) override;
304 
306  virtual void CharRelief( const SvxCharReliefItem& ) override;
307 
309  virtual void CharHidden( const SvxCharHiddenItem& ) override;
310 
312  virtual void CharBorder( const ::editeng::SvxBorderLine* pAllBorder, const sal_uInt16 nDist, const bool bShadow ) override;
313 
315  virtual void CharHighlight( const SvxBrushItem& ) override;
316 
318  virtual void TextINetFormat( const SwFormatINetFormat& ) override;
319 
321  virtual void TextCharFormat( const SwFormatCharFormat& ) override;
322 
324  virtual void TextFootnote_Impl( const SwFormatFootnote& ) override;
325 
327  virtual void ParaLineSpacing_Impl( short nSpace, short nMulti ) override;
328 
330  virtual void ParaAdjust( const SvxAdjustItem& rHt ) override;
331 
333  virtual void ParaSplit( const SvxFormatSplitItem& ) override;
334 
336  virtual void ParaWidows( const SvxWidowsItem& rHt ) override;
337 
339  virtual void ParaTabStop( const SvxTabStopItem& rHt ) override;
340 
342  virtual void ParaHyphenZone( const SvxHyphenZoneItem& ) override;
343 
345  virtual void ParaNumRule_Impl( const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId ) override;
346 
348  virtual void ParaScriptSpace( const SfxBoolItem& ) override;
349 
351  virtual void ParaHangingPunctuation( const SfxBoolItem& ) override;
352 
354  virtual void ParaForbiddenRules( const SfxBoolItem& ) override;
355 
357  virtual void ParaVerticalAlign( const SvxParaVertAlignItem& ) override;
358 
360  virtual void ParaSnapToGrid( const SvxParaGridItem& ) override;
361 
363  virtual void FormatFrameSize( const SwFormatFrameSize& ) override;
364 
366  virtual void FormatPaperBin( const SvxPaperBinItem& ) override;
367 
369  virtual void FormatLRSpace( const SvxLRSpaceItem& ) override;
370 
372  virtual void FormatULSpace( const SvxULSpaceItem& rHt ) override;
373 
375  virtual void FormatSurround( const SwFormatSurround& ) override;
376 
378  virtual void FormatVertOrientation( const SwFormatVertOrient& ) override;
379 
381  virtual void FormatHorizOrientation( const SwFormatHoriOrient& ) override;
382 
384  virtual void FormatAnchor( const SwFormatAnchor& ) override;
385 
387  virtual void FormatBackground( const SvxBrushItem& ) override;
388 
390  virtual void FormatFillStyle( const XFillStyleItem& ) override;
391 
393  virtual void FormatFillGradient( const XFillGradientItem& ) override;
394 
396  virtual void FormatBox( const SvxBoxItem& ) override;
397 
399  virtual void FormatColumns_Impl( sal_uInt16 nCols, const SwFormatCol & rCol, bool bEven, SwTwips nPageSize ) override;
400 
402  virtual void FormatKeep( const SvxFormatKeepItem& ) override;
403 
405  virtual void FormatTextGrid( const SwTextGridItem& ) override;
406 
408  virtual void FormatLineNumbering( const SwFormatLineNumber& ) override;
409 
411  virtual void FormatFrameDirection( const SvxFrameDirectionItem& ) override;
412 
414  virtual void ParaGrabBag( const SfxGrabBagItem& ) override;
415 
417  virtual void CharGrabBag( const SfxGrabBagItem& ) override;
418 
419  // Sfx item RES_PARATR_OUTLINELEVEL
420  virtual void ParaOutlineLevel( const SfxUInt16Item& ) override;
421 
423  virtual void WriteExpand( const SwField* pField ) override;
424 
425  virtual void RefField ( const SwField& rField, const OUString& rRef ) override;
426  virtual void HiddenField( const SwField& rField ) override;
427  virtual void SetField( const SwField& rField, ww::eField eType, const OUString& rCmd ) override;
428  virtual void PostitField( const SwField* pField ) override;
429  virtual bool DropdownField( const SwField* pField ) override;
430  virtual bool PlaceholderField( const SwField* pField ) override;
431 
432  virtual bool AnalyzeURL( const OUString& rURL, const OUString& rTarget, OUString* pLinkURL, OUString* pMark ) override;
433 
434  virtual void WriteBookmarkInActParagraph( const OUString& rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos ) override;
435 
438 
444 
450 
455 
460  sal_uInt16 m_nFieldResults;
461 
463 
465  std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphStart;
466  std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphEnd;
467 
468 public:
469  explicit WW8AttributeOutput( WW8Export &rWW8Export )
471  , m_rWW8Export(rWW8Export)
472  , nPOPosStdLen1(0)
473  , nPOPosStdLen2(0)
474  , m_nStyleStartSize(0)
475  , m_nStyleLenPos(0)
476  , m_nStyleCountPos(0)
477  , m_nFieldResults(0)
478  , mbOnTOXEnding(false)
479  {
480  }
481 
483  virtual WW8Export& GetExport() override { return m_rWW8Export; }
484 
485 protected:
487  void OutputWW8Attribute( sal_uInt8 nId, bool bVal );
488 
490  void OutputWW8AttributeCTL( sal_uInt8 nId, bool bVal );
491 
492  void TableCellBorders(
493  ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
494 
495 private:
496 
498  bool m_bFromEdge = false;
499 
500 };
501 
502 #endif // INCLUDED_SW_SOURCE_FILTER_WW8_WW8ATTRIBUTEOUTPUT_HXX
503 
504 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void FormatFrameSize(const SwFormatFrameSize &) override
Sfx item RES_FRM_SIZE.
Definition: ww8atr.cxx:3602
virtual void EndStyleProperties(bool bParProp) override
End of (paragraph or run) properties of a style.
Definition: wrtw8sty.cxx:545
virtual void OutputFKP(bool bForce) override
Output FKP (Formatted disK Page) - necessary for binary formats only.
Definition: ww8atr.cxx:1085
virtual void CharScaleWidth(const SvxCharScaleWidthItem &) override
Sfx item RES_CHRATR_SCALEW.
Definition: ww8atr.cxx:1445
virtual void ParagraphStyle(sal_uInt16 nStyle) override
Output style.
Definition: ww8atr.cxx:1095
virtual void CharShadow(const SvxShadowedItem &) override
Sfx item RES_CHRATR_SHADOWED.
Definition: ww8atr.cxx:1172
virtual void FormatColumns_Impl(sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
Sfx item RES_COL.
Definition: ww8atr.cxx:4506
editeng::WordPageMargins m_pageMargins
virtual void ParaOutlineLevel(const SfxUInt16Item &) override
Sfx item RES_PARATR_OUTLINELEVEL.
Definition: ww8atr.cxx:4815
Exporter of the binary Word file formats.
Definition: wrtww8.hxx:965
virtual void FormatHorizOrientation(const SwFormatHoriOrient &) override
Sfx item RES_HORI_ORIENT.
Definition: ww8atr.cxx:4098
virtual void ParaHyphenZone(const SvxHyphenZoneItem &) override
Sfx item RES_PARATR_HYPHENZONE.
Definition: ww8atr.cxx:3249
virtual void TableInfoRow(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2027
virtual void CharHighlight(const SvxBrushItem &) override
Sfx item RES_CHRATR_HIGHLIGHT.
Definition: ww8atr.cxx:1249
virtual void FormatBackground(const SvxBrushItem &) override
Sfx item RES_BACKGROUND.
Definition: ww8atr.cxx:4167
sal_uInt16 m_nFieldResults
For output of run properties.
virtual void TableBackgrounds(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2593
virtual void ParaVerticalAlign(const SvxParaVertAlignItem &) override
Sfx item RES_PARATR_VERTALIGN.
Definition: ww8atr.cxx:3283
virtual void EndRun(const SwTextNode *pNode, sal_Int32 nPos, bool bLastRun=false) override
End of the text run.
Definition: ww8atr.cxx:1041
virtual void CharWeightCTL(const SvxWeightItem &) override
Sfx item RES_CHRATR_CTL_WEIGHT.
Definition: ww8atr.cxx:1146
virtual void CharBidiRTL(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_BidiRTL.
Definition: ww8atr.cxx:1476
virtual void CharRelief(const SvxCharReliefItem &) override
Sfx item RES_CHRATR_RELIEF.
Definition: ww8atr.cxx:1451
virtual void StartStyleProperties(bool bParProp, sal_uInt16 nStyle) override
Start of (paragraph or run) properties of a style.
Definition: wrtw8sty.cxx:508
virtual void RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript) override
Export the state of RTL/CJK.
Definition: ww8atr.cxx:960
virtual void RawText(const OUString &rText, rtl_TextEncoding eCharSet) override
Output text (without markup).
Definition: ww8atr.cxx:1080
virtual void FormatPaperBin(const SvxPaperBinItem &) override
Sfx item RES_PAPER_BIN.
Definition: ww8atr.cxx:3920
sal_uInt16 m_nStyleStartSize
For output of styles.
virtual void PageBreakBefore(bool bBreak) override
Page break As a paragraph property - the paragraph should be on the next page.
Definition: ww8atr.cxx:3746
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphEnd
virtual void EndStyles(sal_uInt16 nNumberOfStyles) override
End of the styles table.
Definition: wrtw8sty.cxx:669
virtual void TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2324
virtual bool AnalyzeURL(const OUString &rURL, const OUString &rTarget, OUString *pLinkURL, OUString *pMark) override
Definition: wrtw8nds.cxx:983
virtual void SectFootnoteEndnotePr() override
for footnote/endnote section properties
Definition: wrtw8sty.cxx:1322
virtual void CharFontSize(const SvxFontHeightItem &) override
Sfx item RES_CHRATR_FONTSIZE.
Definition: ww8atr.cxx:1423
virtual void Redline(const SwRedlineData *pRedline) override
Output redlining.
Definition: wrtw8nds.cxx:3331
sal_uIntPtr sal_uLong
virtual void CharPostureCJK(const SvxPostureItem &rHt) override
Sfx item RES_CHRATR_CJK_POSTURE.
Base class of all fields.
Definition: fldbas.hxx:279
virtual void OutlineNumbering(sal_uInt8 nLvl) override
Numbering rule and Id.
Definition: ww8atr.cxx:711
virtual void ParaHangingPunctuation(const SfxBoolItem &) override
Sfx item RES_PARATR_HANGINGPUNCTUATION.
Definition: ww8atr.cxx:3263
virtual void RunText(const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8) override
Output text.
Definition: ww8atr.cxx:1075
virtual void TableBidi(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2179
virtual void TextFootnote_Impl(const SwFormatFootnote &) override
Sfx item RES_TXTATR_FTN.
Definition: ww8atr.cxx:3452
virtual void TableCellRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2195
virtual void CharEmphasisMark(const SvxEmphasisMarkItem &rHt) override
Sfx item RES_CHRATR_EMPHASIS_MARK.
Definition: ww8atr.cxx:1515
long SwTwips
Definition: swtypes.hxx:49
virtual void StartStyles() override
Start of the styles table.
Definition: wrtw8sty.cxx:647
virtual void FormatBox(const SvxBoxItem &) override
Sfx item RES_BOX.
Definition: ww8atr.cxx:4461
virtual void SectionBreak(sal_uInt8 nC, const WW8_SepInfo *pSectionInfo=nullptr) override
Write a section break msword::ColumnBreak or msword::PageBreak.
Definition: ww8atr.cxx:3849
virtual void SectionFormProtection(bool bProtected) override
Protection of forms.
Definition: wrtw8sty.cxx:1334
virtual void EndRunProperties(const SwRedlineData *pRedlineData) override
After we end outputting the attributes.
Definition: ww8atr.cxx:1054
sal_uInt16 nPOPosStdLen1
For output of styles.
virtual void CharWeightCJK(const SvxWeightItem &rHt) override
Sfx item RES_CHRATR_CJK_WEIGHT.
virtual void CharFontCTL(const SvxFontItem &) override
Sfx item RES_CHRATR_CTL_FONT.
Definition: ww8atr.cxx:1132
virtual void NumberingDefinition(sal_uInt16 nId, const SwNumRule &rRule) override
Definition of a numbering instance.
Definition: wrtw8num.cxx:156
virtual void SectionPageNumbering(sal_uInt16 nNumType, const ::boost::optional< sal_uInt16 > &oPageRestartNumber) override
The style of the page numbers.
Definition: wrtw8sty.cxx:1415
sal_uLong m_nStyleCountPos
For output of styles.
virtual void TableCanSplit(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2159
virtual void CharEscapement(const SvxEscapementItem &) override
Sfx item RES_CHRATR_ESCAPEMENT.
Definition: ww8atr.cxx:1381
virtual void TableVerticalCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2123
virtual void CharContour(const SvxContourItem &) override
Sfx item Sfx item RES_CHRATR_CONTOUR.
Definition: ww8atr.cxx:1167
virtual void SectionBreaks(const SwNode &) override
Called in order to output section breaks.
virtual void CharBackground(const SvxBrushItem &) override
Sfx item RES_CHRATR_BACKGROUND.
Definition: ww8atr.cxx:1577
virtual bool StartURL(const OUString &rUrl, const OUString &rTarget) override
Output URL start.
Definition: wrtw8nds.cxx:1014
virtual void SectionLineNumbering(sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
Numbering of the lines in the document.
Definition: wrtw8sty.cxx:1345
StyleType
eField
Definition: fields.hxx:26
virtual void FormatFillGradient(const XFillGradientItem &) override
Sfx item RES_FILL_GRADIENT.
Definition: ww8atr.cxx:4208
virtual void FormatVertOrientation(const SwFormatVertOrient &) override
Sfx item RES_VERT_ORIENT.
Definition: ww8atr.cxx:4065
virtual void TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2537
virtual void ParaSplit(const SvxFormatSplitItem &) override
Sfx item RES_PARATR_SPLIT.
Definition: ww8atr.cxx:4820
virtual void CharTwoLines(const SvxTwoLinesItem &) override
Sfx item RES_CHRATR_TWO_LINES.
Definition: ww8atr.cxx:3477
virtual void FormatAnchor(const SwFormatAnchor &) override
Sfx item RES_ANCHOR.
Definition: ww8atr.cxx:4136
virtual void ParaGrabBag(const SfxGrabBagItem &) override
Sfx item RES_PARATR_GRABBAG.
Definition: ww8atr.cxx:4807
virtual void TableRowRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2191
virtual void EndStyle() override
End of a style in the styles table.
Definition: wrtw8sty.cxx:390
virtual void SectionBiDi(bool bBiDi) override
Columns populated from right/numbers on the right side?
Definition: wrtw8sty.cxx:1409
virtual void DefaultStyle() override
Write default style.
Definition: wrtw8sty.cxx:572
Collects and outputs fonts.
Definition: wrtww8.hxx:299
virtual void TextVerticalAdjustment(const css::drawing::TextVerticalAdjust) override
Definition: wrtw8sty.cxx:1463
virtual void SetField(const SwField &rField, ww::eField eType, const OUString &rCmd) override
Definition: ww8atr.cxx:2601
WW8Export & m_rWW8Export
Reference to the export, where to get the data from.
Style of a layout element.
Definition: frmfmt.hxx:57
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:1782
virtual void FormatKeep(const SvxFormatKeepItem &) override
Sfx item RES_KEEP.
Definition: ww8atr.cxx:4617
SvxAdjust
virtual void StartRunProperties() override
Before we start outputting the attributes.
Definition: ww8atr.cxx:1006
virtual void EndParagraph(ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
End of the paragraph.
Definition: ww8atr.cxx:980
virtual void TableOrientation(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
Definition: wrtww8.cxx:2224
virtual void CharRotate(const SvxCharRotateItem &) override
Sfx item RES_CHRATR_ROTATE.
Definition: ww8atr.cxx:1493
FlyAnchors.
Definition: fmtanchr.hxx:34
virtual bool DropdownField(const SwField *pField) override
Definition: ww8atr.cxx:2635
virtual WW8Export & GetExport() override
Return the right export class.
virtual void CharLanguage(const SvxLanguageItem &) override
Sfx item RES_CHRATR_LANGUAGE.
Definition: ww8atr.cxx:1344
virtual void EndParagraphProperties(const SfxItemSet &, const SwRedlineData *, const SwRedlineData *, const SwRedlineData *) override
Called 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.
Definition: ww8atr.cxx:3590
virtual void RefField(const SwField &rField, const OUString &rRef) override
Definition: ww8atr.cxx:2652
virtual void CharWeight(const SvxWeightItem &) override
Sfx item RES_CHRATR_WEIGHT.
Definition: ww8atr.cxx:1161
virtual void EndRuby(const SwTextNode &rNode, sal_Int32 nPos) override
Output ruby end.
Definition: wrtw8nds.cxx:859
virtual void CharHidden(const SvxCharHiddenItem &) override
Sfx item RES_CHRATR_HIDDEN.
Definition: ww8atr.cxx:1239
virtual void SectionTitlePage() override
Has different headers/footers for the title page.
Definition: wrtw8sty.cxx:1370
virtual void TableSpacing(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
Definition: wrtww8.cxx:2286
virtual void WriteExpand(const SwField *pField) override
Write the expanded field.
Definition: ww8atr.cxx:2665
virtual void FormatTextGrid(const SwTextGridItem &) override
Sfx item RES_TEXTGRID.
Definition: ww8atr.cxx:3885
virtual void ParaForbiddenRules(const SfxBoolItem &) override
Sfx item RES_PARATR_FORBIDDEN_RULES.
Definition: ww8atr.cxx:3269
virtual void ParaTabStop(const SvxTabStopItem &rHt) override
Sfx item RES_PARATR_TABSTOP.
Definition: ww8atr.cxx:5067
virtual void CharBorder(const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow) override
Sfx item RES_CHRATR_BOX.
Definition: ww8atr.cxx:1244
void OutputWW8AttributeCTL(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes, the Complex Text Layout version.
Definition: ww8atr.cxx:1111
virtual void TextCharFormat(const SwFormatCharFormat &) override
Sfx item RES_TXTATR_CHARFMT.
Definition: ww8atr.cxx:3464
virtual void CharGrabBag(const SfxGrabBagItem &) override
Sfx item RES_TXTATR_GRABBAG.
Definition: ww8atr.cxx:4811
void OutputWW8Attribute(sal_uInt8 nId, bool bVal)
Output the bold etc. attributes.
Definition: ww8atr.cxx:1104
virtual void FormatLineNumbering(const SwFormatLineNumber &) override
Sfx item RES_LINENUMBER.
Definition: ww8atr.cxx:4626
< purpose of derivation from SwClient: character style for displaying the numbers.
Definition: lineinfo.hxx:37
virtual void StartStyle(const OUString &rName, StyleType eType, sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nWwIdi, sal_uInt16 nId, bool bAutoUpdate) override
Start of a style in the styles table.
Definition: wrtw8sty.cxx:404
virtual void TextINetFormat(const SwFormatINetFormat &) override
Sfx item RES_TXTATR_INETFMT.
Definition: ww8atr.cxx:1595
virtual void CharColor(const SvxColorItem &) override
Sfx item Sfx item RES_CHRATR_COLOR.
Definition: ww8atr.cxx:1563
virtual void FormatLRSpace(const SvxLRSpaceItem &) override
Sfx item RES_LR_SPACE.
Definition: ww8atr.cxx:3943
virtual void CharFontSizeCJK(const SvxFontHeightItem &rHt) override
Sfx item RES_CHRATR_CJK_FONTSIZE.
SwTextNode is a paragraph in the document model.
Definition: ndtxt.hxx:79
virtual void WriteBookmarkInActParagraph(const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos) override
Insert a bookmark inside the currently processed paragraph.
Definition: wrtw8nds.cxx:1008
void TableCellBorders(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
Definition: wrtww8.cxx:2564
virtual void CharCrossedOut(const SvxCrossedOutItem &rHt) override
Sfx item RES_CHRATR_CROSSEDOUT.
Definition: ww8atr.cxx:1198
virtual void CharKerning(const SvxKerningItem &) override
Sfx item RES_CHRATR_KERNING.
Definition: ww8atr.cxx:1177
virtual void HiddenField(const SwField &rField) override
Definition: ww8atr.cxx:2587
virtual void OnTOXEnding() override
Definition: ww8atr.cxx:1036
virtual void StartRuby(const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
Output ruby start.
Definition: wrtw8nds.cxx:825
virtual void EndSection() override
End of the section properties.
unsigned char sal_uInt8
Make exporting a Writer Frame easy.
virtual void CharAnimatedText(const SvxBlinkItem &) override
Sfx item RES_CHRATR_BLINK.
Definition: ww8atr.cxx:1191
virtual void CharFont(const SvxFontItem &) override
Sfx item RES_CHRATR_FONT.
Definition: ww8atr.cxx:1121
virtual void CharLanguageCJK(const SvxLanguageItem &rHt) override
Sfx item RES_CHRATR_CJK_LANGUAGE.
virtual void StartParagraphProperties() override
Called before we start outputting the attributes.
virtual void FormatFrameDirection(const SvxFrameDirectionItem &) override
Sfx item RES_FRAMEDIR.
Definition: ww8atr.cxx:4764
virtual void TableNodeInfoInner(ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
Definition: wrtww8.cxx:4079
virtual void ParaAdjust(const SvxAdjustItem &rHt) override
Sfx item RES_PARATR_ADJUST.
Definition: ww8atr.cxx:4699
WW8AttributeOutput(WW8Export &rWW8Export)
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphStart
Bookmarks of the current paragraph.
virtual void StartParagraph(ww8::WW8TableNodeInfo::Pointer_t) override
Start of the paragraph.
std::shared_ptr< WW8TableNodeInfoInner > Pointer_t
virtual void StartSection() override
Start of the section properties.
Definition: wrtw8sty.cxx:1317
virtual void FormatFillStyle(const XFillStyleItem &) override
Sfx item RES_FILL_STYLE.
Definition: ww8atr.cxx:4186
virtual void ParaLineSpacing_Impl(short nSpace, short nMulti) override
Sfx item RES_PARATR_LINESPACING.
Definition: ww8atr.cxx:4636
virtual void ParaScriptSpace(const SfxBoolItem &) override
Sfx item RES_PARATR_SCRIPTSPACE.
Definition: ww8atr.cxx:3257
virtual void TableInfoCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2007
virtual void ParaSnapToGrid(const SvxParaGridItem &) override
Sfx item RES_PARATR_SNAPTOGRID.
Definition: ww8atr.cxx:3275
virtual void CharUnderline(const SvxUnderlineItem &) override
Sfx item RES_CHRATR_UNDERLINE.
Definition: ww8atr.cxx:1260
virtual void CharIdctHint(const SfxPoolItem &rHt) override
Sfx item RES_CHRATR_IdctHint.
Definition: ww8atr.cxx:1486
virtual void CharPostureCTL(const SvxPostureItem &) override
Sfx item RES_CHRATR_CTL_POSTURE.
Definition: ww8atr.cxx:1151
virtual void ParaWidows(const SvxWidowsItem &rHt) override
Sfx item RES_PARATR_WIDOWS.
Definition: ww8atr.cxx:4832
virtual void PostitField(const SwField *pField) override
Definition: ww8atr.cxx:2628
virtual void CharCaseMap(const SvxCaseMapItem &) override
Sfx item Sfx item RES_CHRATR_CASEMAP.
Definition: ww8atr.cxx:1217
virtual void SectionPageBorders(const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
Description of the page borders.
Definition: wrtw8sty.cxx:1377
virtual void CharPosture(const SvxPostureItem &) override
Sfx item RES_CHRATR_POSTURE.
Definition: ww8atr.cxx:1156
virtual void TableHeight(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfo) override
Definition: wrtww8.cxx:2199
virtual void CharFontSizeCTL(const SvxFontHeightItem &rHt) override
Sfx item RES_CHRATR_CTL_FONTSIZE.
If SwFormatDrop is a Client, it is the CharFormat that describes the font for the DropCaps...
Definition: paratr.hxx:50
virtual void FormatSurround(const SwFormatSurround &) override
Sfx item RES_SURROUND.
Definition: ww8atr.cxx:4054
virtual void CharAutoKern(const SvxAutoKernItem &) override
Sfx item RES_CHRATR_AUTOKERN.
Definition: ww8atr.cxx:1184
virtual void CharFontCJK(const SvxFontItem &) override
Sfx item RES_CHRATR_CJK_FONT.
Definition: ww8atr.cxx:1139
void OutputFlyFrame_Impl(const ww8::Frame &rFormat, const Point &rNdTopLeft) override
Output frames - the implementation.
Definition: wrtw8nds.cxx:3222
virtual bool EndURL(bool) override
Output URL end.
Definition: wrtw8nds.cxx:1166
std::shared_ptr< WW8TableNodeInfo > Pointer_t
virtual void StartRun(const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
Start of the text run.
Definition: ww8atr.cxx:1012
virtual void EmptyParagraph() override
Empty paragraph.
Definition: wrtw8nds.cxx:3036
virtual void SectionType(sal_uInt8 nBreakCode) override
The type of breaking.
Definition: wrtw8sty.cxx:1434
virtual void CharLanguageCTL(const SvxLanguageItem &rHt) override
Sfx item RES_CHRATR_CTL_LANGUAGE.
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:235
virtual void TableRowEnd(sal_uInt32 nDepth) override
Definition: ww8atr.cxx:3723
virtual void FormatULSpace(const SvxULSpaceItem &rHt) override
Sfx item RES_UL_SPACE.
Definition: ww8atr.cxx:3992
virtual void FieldVanish(const OUString &rText, ww::eField eType) override
Definition: wrtw8nds.cxx:1212
virtual bool PlaceholderField(const SwField *pField) override
Definition: ww8atr.cxx:2647
Base class of the Writer document model elements.
Definition: node.hxx:79