LibreOffice Module sw (master) 1
docxattributeoutput.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_DOCXATTRIBUTEOUTPUT_HXX
21#define INCLUDED_SW_SOURCE_FILTER_WW8_DOCXATTRIBUTEOUTPUT_HXX
22
23#include <memory>
24#include <string_view>
25
27#include "fields.hxx"
28#include <IMark.hxx>
29#include "docxexport.hxx"
30#include <wrtswtbl.hxx>
31#include <redline.hxx>
32
33#include <editeng/boxitem.hxx>
34#include <sax/fshelper.hxx>
35#include <sax/fastattribs.hxx>
36#include <vcl/vclenum.hxx>
37#include <svx/xenum.hxx>
38
39#include <fldbas.hxx>
40
41#include <vector>
42#include <optional>
47
48#include <com/sun/star/table/BorderLine2.hpp>
49#include <com/sun/star/drawing/FillStyle.hpp>
50
51class SwGrfNode;
52class SdrObject;
53enum class SvxBoxItemLine;
54enum class SwLineBreakClear;
56
57namespace docx { class FootnotesList; }
58namespace oox::drawingml { class DrawingML; }
59
61{
62 std::shared_ptr<const SwField> pField;
63 const ::sw::mark::IFieldmark* pFieldmark;
65 bool bOpen;
66 bool bSep;
67 bool bClose;
68 OUString sCmd;
70 : pFieldmark(nullptr), eType(ww::eUNKNOWN)
71 , bOpen(false), bSep(false), bClose(false)
72 {}
73};
74
76{
81};
82
94{
95 sal_Int32 tag = 0;
96 bool bUseStartEnd = false;
97 bool bWriteTag = true;
98 bool bWriteDistance = false;
99 SvxShadowLocation aShadowLocation = SvxShadowLocation::NONE;
100 std::shared_ptr<editeng::WordBorderDistances> pDistances;
101};
102
104
109{
112
115
117 sal_uInt32 m_nTableDepth;
118
120 : m_bTableCellOpen(false),
123 {
124 }
125};
126
128{
129public:
131 : m_nId(0)
132 , m_bStartedSdt(false)
133 , m_bShowingPlaceHolder(false)
134 , m_nTabIndex(0)
135 , m_nSdtPrToken(0)
136 {}
137
138 sal_Int32 m_nId;
144 OUString m_aColor;
148 OUString m_aAlias;
149 OUString m_aTag;
150 sal_Int32 m_nTabIndex;
151 OUString m_aLock;
152 sal_Int32 m_nSdtPrToken;
153
155
156 void WriteSdtBlock(const ::sax_fastparser::FSHelperPtr& pSerializer, bool bRunTextIsOn, bool bParagraphHasDrawing);
157 void WriteExtraParams(const ::sax_fastparser::FSHelperPtr& pSerializer);
158
160 void EndSdtBlock(const ::sax_fastparser::FSHelperPtr& pSerializer);
161
162 void GetSdtParamsFromGrabBag(const uno::Sequence<beans::PropertyValue>& aGrabBagSdt);
163};
164
167{
168public:
170 virtual void RTLAndCJKState( bool bIsRTL, sal_uInt16 nScript ) override;
171
173 virtual sal_Int32 StartParagraph(ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo,
174 bool bGenerateParaId) override;
175
177 virtual void EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner ) override;
178
180 virtual void EmptyParagraph() override;
181
183 virtual void SectionBreaks(const SwNode& rNode) override;
184
186 virtual void StartParagraphProperties() override;
187
189 virtual void EndParagraphProperties(const SfxItemSet& rParagraphMarkerProperties, const SwRedlineData* pRedlineData, const SwRedlineData* pRedlineParagraphMarkerDeleted, const SwRedlineData* pRedlineParagraphMarkerInserted) override;
190
192 virtual void StartRun( const SwRedlineData* pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun = false ) override;
193
195 virtual void EndRun(const SwTextNode* pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun = false) override;
196
198 virtual void StartRunProperties() override;
199
201 virtual void EndRunProperties( const SwRedlineData* pRedlineData ) override;
202
203 virtual bool FootnoteEndnoteRefTag() override;
204
205 virtual void SectFootnoteEndnotePr() override;
206
207 virtual void WritePostitFieldReference() override;
208
210 virtual void RunText( const OUString& rText, rtl_TextEncoding eCharSet = RTL_TEXTENCODING_UTF8, const OUString& rSymbolFont = OUString() ) override;
211
213 virtual void RawText(const OUString& rText, rtl_TextEncoding eCharSet) override;
214
216 virtual void StartRuby( const SwTextNode& rNode, sal_Int32 nPos, const SwFormatRuby& rRuby ) override;
217
219 virtual void EndRuby(const SwTextNode& rNode, sal_Int32 nPos) override;
220
222 virtual bool StartURL( const OUString& rUrl, const OUString& rTarget ) override;
223
225 virtual bool EndURL(bool) override;
226
227 virtual void FieldVanish(const OUString& rText, ww::eField eType, OUString const*) override;
228
232 virtual void Redline( const SwRedlineData* pRedline ) override;
233
238 void StartRedline( const SwRedlineData * pRedlineData );
239
243 void EndRedline( const SwRedlineData * pRedlineData );
244
245 virtual void SetStateOfFlyFrame( FlyProcessingState nStateOfFlyFrame ) override;
246 virtual void SetAnchorIsLinkedToNode( bool bAnchorLinkedToNode ) override;
247 virtual bool IsFlyProcessingPostponed() override;
248 virtual void ResetFlyProcessingFlag() override;
249
250 virtual void FormatDrop( const SwTextNode& rNode, const SwFormatDrop& rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner ) override;
251
253 virtual void ParagraphStyle( sal_uInt16 nStyle ) override;
254
255 virtual void TableInfoCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
256 virtual void TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
257 virtual void TableDefinition( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
258 virtual void TableDefaultBorders( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
259 void TableDefaultCellMargins( ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
260 virtual void TableBackgrounds( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
261 virtual void TableRowRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
262 virtual void TableCellRedline( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
263 virtual void TableHeight( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
264 virtual void TableCanSplit( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
265 virtual void TableBidi( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
266 virtual void TableVerticalCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
267 virtual void TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner ) override;
268 virtual void TableOrientation( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
269 virtual void TableSpacing( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ) override;
270 virtual void TableRowEnd( sal_uInt32 nDepth ) override;
271
273 virtual void StartStyles() override;
274
276 virtual void EndStyles( sal_uInt16 nNumberOfStyles ) override;
277
279 virtual void DefaultStyle() override;
280
282 void DocDefaults( );
283
285 void LatentStyles();
286
292 void OutputDefaultItem(const SfxPoolItem& rHt);
293
295 virtual void StartStyle( const OUString& rName, StyleType eType,
296 sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwId, sal_uInt16 nSlot,
297 bool bAutoUpdate ) override;
298
300 virtual void EndStyle() override;
301
303 virtual void StartStyleProperties( bool bParProp, sal_uInt16 nStyle ) override;
304
306 virtual void EndStyleProperties( bool bParProp ) override;
307
309 virtual void OutlineNumbering(sal_uInt8 nLvl) override;
310
313 virtual void PageBreakBefore( bool bBreak ) override;
314
318 virtual void SectionBreak( sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo* pSectionInfo = nullptr, bool bExtraPageBreak = false ) override;
319
320 // preserve DOCX page vertical alignment
321 virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust ) override;
322
324 virtual void StartSection() override;
325
327 virtual void EndSection() override;
328
330 virtual void SectionFormProtection( bool bProtected ) override;
331
333 virtual void SectionLineNumbering( sal_uLong nRestartNo, const SwLineNumberInfo& rLnNumInfo ) override;
334
336 virtual void SectionTitlePage() override;
337
339 virtual void SectionPageBorders( const SwFrameFormat* pFormat, const SwFrameFormat* pFirstPageFormat ) override;
340
342 virtual void SectionBiDi( bool bBiDi ) override;
343
346 virtual void SectionPageNumbering( sal_uInt16 nNumType, const ::std::optional<sal_uInt16>& oPageRestartNumber ) override;
347
349 virtual void SectionType( sal_uInt8 nBreakCode ) override;
350
352 void StartFont( const OUString& rFamilyName ) const;
353
355 void EndFont() const;
356
358 void FontAlternateName( const OUString& rName ) const;
359
361 void FontCharset( sal_uInt8 nCharSet, rtl_TextEncoding nEncoding ) const;
362
364 void FontFamilyType( FontFamily eFamily ) const;
365
367 void FontPitchType( FontPitch ePitch ) const;
368
370 void EmbedFont( std::u16string_view name, FontFamily family, FontPitch pitch );
371
373 virtual void NumberingDefinition( sal_uInt16 nId, const SwNumRule &rRule ) override;
374
376 virtual void OverrideNumberingDefinition( SwNumRule const& rRule,
377 sal_uInt16 nNum, sal_uInt16 nAbstractNum,
378 const std::map< size_t, size_t > & rLevelOverrides ) override;
379
381 virtual void StartAbstractNumbering( sal_uInt16 nId ) override;
382
384 virtual void EndAbstractNumbering() override;
385
387 virtual void NumberingLevel( sal_uInt8 nLevel,
388 sal_uInt16 nStart,
389 sal_uInt16 nNumberingType,
390 SvxAdjust eAdjust,
391 const sal_uInt8 *pNumLvlPos,
392 sal_uInt8 nFollow,
393 const wwFont *pFont,
394 const SfxItemSet *pOutSet,
395 sal_Int16 nIndentAt,
396 sal_Int16 nFirstLineIndex,
397 sal_Int16 nListTabPos,
398 const OUString &rNumberingString,
399 const SvxBrushItem* pBrush ) override;
400
401 void WriteField_Impl(const SwField* pField, ww::eField eType,
402 const OUString& rFieldCmd, FieldFlags nMode,
403 OUString const* pBookmarkName = nullptr);
404 void WriteFormData_Impl( const ::sw::mark::IFieldmark& rFieldmark );
405
406 void WriteBookmarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds, const SwRedlineData* pRedlineData = nullptr );
407 void WriteFinalBookmarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds );
408 void WriteAnnotationMarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds );
410 void EndParaSdtBlock();
411
412 void WriteFloatingTable(ww8::Frame const* pParentFrame);
413
414private:
422
427
435
440
447 void FlyFrameGraphic( const SwGrfNode* pGrfNode, const Size& rSize, const SwFlyFrameFormat* pOLEFrameFormat, SwOLENode* pOLENode, const SdrObject* pSdrObj = nullptr);
448 void WriteSrcRect(const css::uno::Reference<css::beans::XPropertySet>& xShapePropSet,
449 const SwFrameFormat* pFrameFormat);
450 void WriteOLE2Obj( const SdrObject* pSdrObj, SwOLENode& rNode, const Size& rSize, const SwFlyFrameFormat* pFlyFrameFormat, const sal_Int8 nFormulaAlignment);
451 bool WriteOLEChart( const SdrObject* pSdrObj, const Size& rSize, const SwFlyFrameFormat* pFlyFrameFormat);
452 bool WriteOLEMath( const SwOLENode& rNode, const sal_Int8 nAlign );
453 void PostponeOLE( SwOLENode& rNode, const Size& rSize, const SwFlyFrameFormat* pFlyFrameFormat );
454 void WriteOLE( SwOLENode& rNode, const Size& rSize, const SwFlyFrameFormat* rFlyFrameFormat );
455 void WriteOLEShape(const SwFlyFrameFormat& rFrameFormat, const Size& rSize,
456 const OString& rShapeId, const OUString& rImageId);
457 static OString GetOLEStyle(const SwFlyFrameFormat& rFormat, const Size& rSize);
458 void ExportOLESurround(const SwFormatSurround& rWrap);
459
460 void WriteActiveXControl(const SdrObject* pObject, const SwFrameFormat& rFrameFormat, bool bInsideRun);
461 bool ExportAsActiveXControl(const SdrObject* pObject) const;
462
463 void InitTableHelper( ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
464 void StartTable( ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
465 void StartTableRow( ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner );
466 void StartTableCell( ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow );
467 void TableCellProperties( ww8::WW8TableNodeInfoInner::Pointer_t const & pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow );
468 void EndTableCell( sal_uInt32 nCell );
469 void EndTableRow( );
470 void EndTable();
471 void SyncNodelessCells(ww8::WW8TableNodeInfoInner::Pointer_t const & pInner, sal_Int32 nCell, sal_uInt32 nRow);
472 void PopulateFrameProperties(const SwFrameFormat* pFrameFormat, const Size& rSize);
473 static bool TextBoxIsFramePr(const SwFrameFormat& rFrameFormat);
475 void FinishTableRowCell( ww8::WW8TableNodeInfoInner::Pointer_t const & pInner, bool bForceEmptyParagraph = false );
476
477 void WriteFFData( const FieldInfos& rInfos );
479
480 void EmbedFontStyle( std::u16string_view name, int tag, FontFamily family, FontItalic italic, FontWeight weight,
481 FontPitch pitch );
482
490 static OString TransHighlightColor( sal_uInt8 nIco );
491protected:
492
494 virtual void OutputFlyFrame_Impl( const ww8::Frame& rFormat, const Point& rNdTopLeft ) override;
495
497 virtual void CharCaseMap( const SvxCaseMapItem& rCaseMap ) override;
498
500 virtual void CharColor( const SvxColorItem& rColor) override;
501
503 virtual void CharContour( const SvxContourItem& rContour ) override;
504
506 virtual void CharCrossedOut( const SvxCrossedOutItem& rCrossedOut ) override;
507
509 virtual void CharEscapement( const SvxEscapementItem& rEscapement ) override;
510
512 virtual void CharFont( const SvxFontItem& rFont ) override;
513
515 virtual void CharFontSize( const SvxFontHeightItem& rFontSize ) override;
516
518 virtual void CharKerning( const SvxKerningItem& rKerning ) override;
519
521 virtual void CharLanguage( const SvxLanguageItem& rLanguage ) override;
522
524 virtual void CharPosture( const SvxPostureItem& rPosture ) override;
525
527 virtual void CharShadow( const SvxShadowedItem& rShadow ) override;
528
530 virtual void CharUnderline( const SvxUnderlineItem& rUnderline ) override;
531
533 virtual void CharWeight( const SvxWeightItem& rWeight ) override;
534
536 virtual void CharAutoKern( const SvxAutoKernItem& ) override;
537
539 virtual void CharAnimatedText( const SvxBlinkItem& rBlink ) override;
540
542 virtual void CharBackground( const SvxBrushItem& rBrush ) override;
543
545 virtual void CharFontCJK( const SvxFontItem& rFont ) override;
546
548 virtual void CharFontSizeCJK( const SvxFontHeightItem& rFontSize ) override { CharFontSize( rFontSize ); }
549
551 virtual void CharLanguageCJK( const SvxLanguageItem& rLanguageItem ) override { CharLanguage( rLanguageItem ); }
552
554 virtual void CharPostureCJK( const SvxPostureItem& rPosture ) override;
555
557 virtual void CharWeightCJK( const SvxWeightItem& rWeight ) override;
558
560 virtual void CharFontCTL( const SvxFontItem& rFont ) override;
561
563 virtual void CharFontSizeCTL( const SvxFontHeightItem& rFontSize ) override { CharFontSize( rFontSize ); }
564
566 virtual void CharLanguageCTL( const SvxLanguageItem& rLanguageItem ) override { CharLanguage( rLanguageItem); }
567
569 virtual void CharPostureCTL( const SvxPostureItem& rWeight ) override;
570
572 virtual void CharWeightCTL( const SvxWeightItem& rWeight ) override;
573
575 virtual void CharBidiRTL( const SfxPoolItem& ) override;
576
578 virtual void CharIdctHint( const SfxPoolItem& ) override;
579
581 virtual void CharRotate( const SvxCharRotateItem& rRotate ) override;
582
584 virtual void CharEmphasisMark( const SvxEmphasisMarkItem& rEmphasisMark ) override;
585
587 virtual void CharTwoLines( const SvxTwoLinesItem& rTwoLines ) override;
588
590 virtual void CharScaleWidth( const SvxCharScaleWidthItem& rScaleWidth ) override;
591
593 virtual void CharRelief( const SvxCharReliefItem& rRelief) override;
594
596 virtual void CharHidden( const SvxCharHiddenItem& rHidden ) override;
597
599 virtual void CharBorder( const ::editeng::SvxBorderLine* pAllBorder, const sal_uInt16 nDist, const bool bShadow ) override;
600
602 virtual void CharHighlight( const SvxBrushItem& rHighlight ) override;
603
605 virtual void TextINetFormat( const SwFormatINetFormat& ) override;
606
608 virtual void TextCharFormat( const SwFormatCharFormat& ) override;
609
611 virtual void TextFootnote_Impl( const SwFormatFootnote& ) override;
612
615
617 virtual void ParaLineSpacing_Impl( short nSpace, short nMulti ) override;
618
620 virtual void ParaAdjust( const SvxAdjustItem& rAdjust ) override;
621
623 virtual void ParaSplit( const SvxFormatSplitItem& rSplit ) override;
624
626 virtual void ParaWidows( const SvxWidowsItem& rWidows ) override;
627
629 virtual void ParaTabStop( const SvxTabStopItem& rTabStop ) override;
630
632 virtual void ParaHyphenZone( const SvxHyphenZoneItem& ) override;
633
635 virtual void ParaNumRule_Impl( const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId ) override;
636
638 virtual void ParaScriptSpace( const SfxBoolItem& ) override;
639
641 virtual void ParaHangingPunctuation( const SfxBoolItem& ) override;
642
644 virtual void ParaForbiddenRules( const SfxBoolItem& ) override;
645
647 virtual void ParaVerticalAlign( const SvxParaVertAlignItem& rAlign ) override;
648
650 virtual void ParaSnapToGrid( const SvxParaGridItem& ) override;
651
653 virtual void FormatFrameSize( const SwFormatFrameSize& ) override;
654
656 virtual void FormatPaperBin( const SvxPaperBinItem& ) override;
657
659 virtual void FormatLRSpace( const SvxLRSpaceItem& rLRSpace ) override;
660
662 virtual void FormatULSpace( const SvxULSpaceItem& rULSpace ) override;
663
665 virtual void FormatSurround( const SwFormatSurround& ) override;
666
668 virtual void FormatVertOrientation( const SwFormatVertOrient& ) override;
669
671 virtual void FormatHorizOrientation( const SwFormatHoriOrient& ) override;
672
674 virtual void FormatAnchor( const SwFormatAnchor& ) override;
675
677 virtual void FormatBackground( const SvxBrushItem& ) override;
678
680 virtual void FormatFillStyle( const XFillStyleItem& ) override;
681
683 virtual void FormatFillGradient( const XFillGradientItem& ) override;
684
686 virtual void FormatBox( const SvxBoxItem& ) override;
687
689 virtual void FormatColumns_Impl( sal_uInt16 nCols, const SwFormatCol & rCol, bool bEven, SwTwips nPageSize ) override;
690
692 virtual void FormatKeep( const SvxFormatKeepItem& ) override;
693
695 virtual void FormatTextGrid( const SwTextGridItem& ) override;
696
698 virtual void FormatLineNumbering( const SwFormatLineNumber& ) override;
699
701 virtual void FormatFrameDirection( const SvxFrameDirectionItem& ) override;
702
704 virtual void ParaGrabBag( const SfxGrabBagItem& ) override;
705
707 virtual void CharGrabBag( const SfxGrabBagItem& ) override;
708
709 // Sfx item RES_PARATR_OUTLINELEVEL
710 virtual void ParaOutlineLevel( const SfxUInt16Item& ) override;
711
713 virtual void WriteExpand( const SwField* pField ) override;
714
715 virtual void RefField( const SwField& rField, const OUString& rRef ) override;
716 virtual void HiddenField( const SwField& rField ) override;
717 virtual void SetField( const SwField& rField, ww::eField eType, const OUString& rCmd ) override;
718 virtual void PostitField( const SwField* pField ) override;
719 virtual bool DropdownField( const SwField* pField ) override;
720 virtual bool PlaceholderField( const SwField* pField ) override;
721
722 virtual bool AnalyzeURL( const OUString& rURL, const OUString& rTarget, OUString* pLinkURL, OUString* pMark ) override;
723
724 virtual void WriteBookmarkInActParagraph( const OUString& rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos ) override;
725
726 void SectionRtlGutter( const SfxBoolItem& rRtlGutter) override;
727
728 void TextLineBreak(const SwFormatLineBreak& rLineBreak) override;
729
731 void WriteLineBreak();
732
733private:
734
735 void DoWriteBookmarkTagStart(std::u16string_view bookmarkName);
736 void DoWriteBookmarkTagEnd(sal_Int32 nId);
737 void DoWriteMoveRangeTagStart(const OString & bookmarkName,
738 bool bFrom, const SwRedlineData* pRedlineData);
739 void DoWriteMoveRangeTagEnd(sal_Int32 nId, bool bFrom);
740 void DoWriteBookmarksStart(std::vector<OUString>& rStarts, const SwRedlineData* pRedlineData = nullptr);
741 void DoWriteBookmarksEnd(std::vector<OUString>& rEnds);
742 void DoWriteBookmarkStartIfExist(sal_Int32 nRunPos);
743 void DoWriteBookmarkEndIfExist(sal_Int32 nRunPos);
744
745 void DoWritePermissionTagStart(std::u16string_view permission);
746 void DoWritePermissionTagEnd(std::u16string_view permission);
749
752 void WritePostponedMath(const SwOLENode* pObject, sal_Int8 /*nAlign*/);
753 void WritePostponedFormControl(const SdrObject* pObject);
754 void WritePostponedActiveXControl(bool bInsideRun);
756 void WritePostponedChart();
757 void WritePostponedOLE();
760 void WriteFlyFrame(const ww8::Frame& rFrame);
761
762 void WriteFormDateStart(const OUString& sFullDate, const OUString& sDateFormat, const OUString& sLang, const uno::Sequence<beans::PropertyValue>& aGrabBagSdt);
763 void WriteSdtPlainText(const OUString& sValue, const uno::Sequence<beans::PropertyValue>& aGrabBagSdt);
764 void WriteSdtDropDownStart(std::u16string_view rName, OUString const& rSelected, uno::Sequence<OUString> const& rListItems);
765 void WriteSdtDropDownEnd(OUString const& rSelected, uno::Sequence<OUString> const& rListItems);
768
769 void StartField_Impl( const SwTextNode* pNode, sal_Int32 nPos, FieldInfos const & rInfos, bool bWriteRun = false );
770 void DoWriteCmd( std::u16string_view rCmd );
771 void CmdField_Impl( const SwTextNode* pNode, sal_Int32 nPos, FieldInfos const & rInfos, bool bWriteRun );
772 void CmdEndField_Impl( const SwTextNode* pNode, sal_Int32 nPos, bool bWriteRun );
773 void EndField_Impl( const SwTextNode* pNode, sal_Int32 nPos, FieldInfos& rInfos );
774 void DoWriteFieldRunProperties( const SwTextNode* pNode, sal_Int32 nPos, bool bWriteCombChars = false );
775
778
781
784
791 std::shared_ptr<SwContentControl> m_pContentControl;
802 std::unique_ptr<docx::FootnotesList> m_pFootnotesList;
803 std::unique_ptr<docx::FootnotesList> m_pEndnotesList;
806 std::unique_ptr< const WW8_SepInfo > m_pSectionInfo;
807
810
812 sal_Int32 m_nRedlineId;
813
818
821
825
828
831 std::vector< FieldInfos > m_Fields;
832 OUString m_sFieldBkm;
835
837 sal_Int32 m_nNextParaId = 1; // MUST be greater than 0
838
839 OUString m_sRawText;
840
845
847 std::vector<ww8::Frame> m_vPostponedFlys;
848
850 std::vector<OUString> m_rBookmarksStart;
851 std::vector<OUString> m_rBookmarksEnd;
853
855 std::vector<OUString> m_rFinalBookmarksStart;
856 std::vector<OUString> m_rFinalBookmarksEnd;
857
859 std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphStart;
860 std::multimap<sal_Int32, OUString> m_aBookmarksOfParagraphEnd;
861
863 std::vector<OUString> m_rPermissionsStart;
864 std::vector<OUString> m_rPermissionsEnd;
865
867 std::vector<OString> m_rAnnotationMarksStart;
868 std::vector<OString> m_rAnnotationMarksEnd;
869
871 std::map<OUString, sal_Int32> m_rOpenedBookmarksIds;
872
875
877 std::unordered_set<sal_Int32> m_rSavedBookmarksIds;
878
880 std::map<OString, sal_Int32> m_rOpenedAnnotationMarksIds;
881
884
887 std::map<OUString, std::vector<OString> > m_aSeqBookmarksNames;
888
890 std::vector<css::beans::PropertyValue> m_aTextEffectsGrabBag;
891
893 std::unique_ptr<SwWriteTable> m_xTableWrt;
894
896
902
903 // Remember that a column break has to be opened at the
904 // beginning of the next paragraph
906
907 // Remember that a page break has to be opened at the
908 // beginning of the next paragraph
910
911 // This paragraph must end with page break
912 bool m_bPageBreakAfter = false;
913
914 std::stack< std::vector<ww8::Frame> > m_aFramesOfParagraph;
917
918 // close of hyperlink needed
922 // Count nested HyperLinks
925
926 // If the exported numbering rule defines the outlines
928
930 {
931 PostponedGraphic( const SwGrfNode* n, Size s, const SdrObject* sObj )
932 : grfNode( n ), size( s ), pSdrObj(sObj) {};
933
937 };
938 std::optional< std::vector<PostponedGraphic> > m_oPostponedGraphic;
940 {
941 PostponedDiagram( const SdrObject* o, const SwFrameFormat* frm ) : object( o ), frame( frm ) {};
944 };
945 std::optional< std::vector<PostponedDiagram> > m_oPostponedDiagrams;
946
948 {
949 PostponedDrawing( const SdrObject* sdrObj, const SwFrameFormat* frm) : object( sdrObj ), frame( frm ) {};
952 };
953 std::optional< std::vector<PostponedDrawing> > m_oPostponedDMLDrawings;
954 std::optional< std::vector<PostponedDrawing> > m_oPostponedCustomShape;
955
957 {
958 PostponedOLE( SwOLENode* rObject, const Size& rSize, const SwFlyFrameFormat* rFrame ) : object( rObject ), size( rSize ), frame( rFrame ) {};
960 const Size size;
962 };
963 std::optional< std::vector<PostponedOLE> > m_oPostponedOLEs;
964
966 {
969 };
970 std::vector<PostponedMathObjects> m_aPostponedMaths;
972 unsigned int m_nChartCount;
974 {
975 PostponedChart( const SdrObject* sdrObject, const Size& rSize, const SwFlyFrameFormat* rFrame ) : object(sdrObject), size(rSize), frame(rFrame) {};
977 const Size size;
979 };
980 std::vector<PostponedChart> m_aPostponedCharts;
981 std::vector<const SdrObject*> m_aPostponedFormControls;
982 std::vector<PostponedDrawing> m_aPostponedActiveXControls;
984
985 enum class ParentStatus
986 {
987 None,
988 IsParent,
989 HasParent
990 };
992 sal_Int32 id;
993 sal_Int32 lastParaId = 0; // [MS-DOCX] 2.5.3.1 CT_CommentEx needs paraId attribute
995 size_t parentIndex = 0;
996 };
998 std::vector<std::pair<const SwPostItField*, PostItDOCXData>> m_postitFields;
1004 {
1005 OString relId;
1006 OString fontKey;
1007 };
1008
1009 std::unique_ptr<TableReference> m_tableReference;
1010
1011 std::map< OUString, EmbeddedFontRef > m_FontFilesMap; // font file url to data
1012
1013 // Remember first cell (used for default borders/margins) of each table
1014 std::vector<ww8::WW8TableNodeInfoInner::Pointer_t> m_TableFirstCells;
1015 // Remember last open and closed cells on each level
1016 std::vector<sal_Int32> m_LastOpenCell;
1017 std::vector<sal_Int32> m_LastClosedCell;
1018
1019 std::optional<css::drawing::FillStyle> m_oFillStyle;
1022
1024
1025 std::shared_ptr<DocxTableStyleExport> m_pTableStyleExport;
1026 // flag to check if auto spacing was set in original file
1028 // store hardcoded value which was set during import.
1030
1033
1036
1039
1040 std::vector<std::map<SvxBoxItemLine, css::table::BorderLine2>> m_aTableStyleConfs;
1041
1042 std::optional<SwLineBreakClear> m_oLineBreakClear;
1043
1044public:
1045 DocxAttributeOutput( DocxExport &rExport, const ::sax_fastparser::FSHelperPtr& pSerializer, oox::drawingml::DrawingML* pDrawingML );
1046
1047 virtual ~DocxAttributeOutput() override;
1048
1050 virtual DocxExport& GetExport() override;
1051 const DocxExport& GetExport() const { return const_cast< DocxAttributeOutput* >( this )->GetExport(); }
1052
1054 void SetSerializer( ::sax_fastparser::FSHelperPtr const & pSerializer );
1055
1057 const ::sax_fastparser::FSHelperPtr& GetSerializer( ) const { return m_pSerializer; }
1058
1060 bool HasFootnotes() const;
1061
1063 bool HasEndnotes() const;
1064
1066 void FootnotesEndnotes( bool bFootnotes );
1067
1069 static void WriteFootnoteEndnotePr( ::sax_fastparser::FSHelperPtr const & fs, int tag, const SwEndNoteInfo& info, int listtag );
1070
1071 bool HasPostitFields() const;
1072 enum class hasProperties { no, yes };
1075
1077 virtual void WriteOutliner(const OutlinerParaObject& rParaObj) override;
1078 virtual void WriteVMLTextBox(css::uno::Reference<css::drawing::XShape> xShape) override;
1080 virtual void WriteTextBox(css::uno::Reference<css::drawing::XShape> xShape) override;
1081 virtual css::uno::Reference<css::text::XTextFrame> GetUnoTextFrame(
1082 css::uno::Reference<css::drawing::XShape> xShape) override;
1083 virtual oox::drawingml::DrawingML& GetDrawingML() override;
1084 virtual bool MaybeOutputBrushItem(SfxItemSet const&) override;
1085
1086 void BulletDefinition(int nId, const Graphic& rGraphic, Size aSize) override;
1087
1088 void SetWritingHeaderFooter( bool bWritingHeaderFooter ) { m_bWritingHeaderFooter = bWritingHeaderFooter; }
1090 void SetAlternateContentChoiceOpen( bool bAltContentChoiceOpen ) { m_bAlternateContentChoiceOpen = bAltContentChoiceOpen; }
1092 void GetSdtEndBefore(const SdrObject* pSdrObj);
1093 bool IsFirstParagraph() const { return m_bIsFirstParagraph; }
1094
1099};
1100
1106{
1112 sal_uInt32 m_nTableDepth;
1113 sal_Int32 m_nHyperLinkCount = 0;
1116};
1117
1118namespace docx {
1119
1121
1122}
1123
1124#endif // INCLUDED_SW_SOURCE_FILTER_WW8_DOCXATTRIBUTEOUTPUT_HXX
1125
1126/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvxBoxItemLine
The class that has handlers for various resource types when exporting as DOCX.
bool m_bRunTextIsOn
Flag indicating that the Run Text is being written.
virtual void EndStyle() override
End of a style in the styles table.
void WriteSdtDropDownStart(std::u16string_view rName, OUString const &rSelected, uno::Sequence< OUString > const &rListItems)
virtual bool StartURL(const OUString &rUrl, const OUString &rTarget) override
Output URL start.
rtl::Reference< sax_fastparser::FastAttributeList > m_pCharLangAttrList
std::vector< OUString > m_rBookmarksStart
Bookmarks to output.
std::vector< OString > m_rAnnotationMarksEnd
std::vector< FieldInfos > m_Fields
virtual void CharColor(const SvxColorItem &rColor) override
Sfx item Sfx item RES_CHRATR_COLOR.
void WriteFFData(const FieldInfos &rInfos)
void FlyFrameGraphic(const SwGrfNode *pGrfNode, const Size &rSize, const SwFlyFrameFormat *pOLEFrameFormat, SwOLENode *pOLENode, const SdrObject *pSdrObj=nullptr)
Output graphic fly frames or replacement graphics for OLE nodes.
virtual void WriteBookmarkInActParagraph(const OUString &rName, sal_Int32 nFirstRunPos, sal_Int32 nLastRunPos) override
Insert a bookmark inside the currently processed paragraph.
void ExportOLESurround(const SwFormatSurround &rWrap)
DocxColBreakStatus m_nColBreakStatus
virtual void WritePostitFieldReference() override
for docx w:commentReference
virtual void CharEmphasisMark(const SvxEmphasisMarkItem &rEmphasisMark) override
Sfx item RES_CHRATR_EMPHASIS_MARK.
void WriteOLE2Obj(const SdrObject *pSdrObj, SwOLENode &rNode, const Size &rSize, const SwFlyFrameFormat *pFlyFrameFormat, const sal_Int8 nFormulaAlignment)
std::vector< OUString > m_rPermissionsEnd
bool m_bIgnoreNextFill
If FormatBox() already handled fill style / gradient.
virtual void StartRuby(const SwTextNode &rNode, sal_Int32 nPos, const SwFormatRuby &rRuby) override
Output ruby start.
std::unique_ptr< docx::FootnotesList > m_pFootnotesList
OString m_sLastOpenedBookmark
Name of the last opened bookmark.
void WriteFormData_Impl(const ::sw::mark::IFieldmark &rFieldmark)
std::vector< sal_Int32 > m_LastOpenCell
bool ExportAsActiveXControl(const SdrObject *pObject) const
virtual void StartRunProperties() override
Called before we start outputting the attributes.
rtl::Reference< sax_fastparser::FastAttributeList > m_pFontsAttrList
virtual bool IsFlyProcessingPostponed() override
Is processing of fly postponed ?
void EndTableCell(sal_uInt32 nCell)
void OutputDefaultItem(const SfxPoolItem &rHt)
Similar to OutputItem(), but write something only if it is not the default.
virtual void SectFootnoteEndnotePr() override
for footnote/endnote section properties
void WriteBookmarks_Impl(std::vector< OUString > &rStarts, std::vector< OUString > &rEnds, const SwRedlineData *pRedlineData=nullptr)
virtual void RunText(const OUString &rText, rtl_TextEncoding eCharSet=RTL_TEXTENCODING_UTF8, const OUString &rSymbolFont=OUString()) override
Output text (inside a run).
std::vector< OUString > m_rFinalBookmarksEnd
void WriteField_Impl(const SwField *pField, ww::eField eType, const OUString &rFieldCmd, FieldFlags nMode, OUString const *pBookmarkName=nullptr)
virtual void FormatVertOrientation(const SwFormatVertOrient &) override
Sfx item RES_VERT_ORIENT.
virtual void TableRowEnd(sal_uInt32 nDepth) override
virtual void SetField(const SwField &rField, ww::eField eType, const OUString &rCmd) override
rtl::Reference< sax_fastparser::FastAttributeList > m_pHyperlinkAttrList
virtual oox::drawingml::DrawingML & GetDrawingML() override
void WritePostponedMath(const SwOLENode *pObject, sal_Int8)
std::optional< std::vector< PostponedDrawing > > m_oPostponedCustomShape
std::vector< css::beans::PropertyValue > m_aTextEffectsGrabBag
GrabBag for text effects like glow, shadow, ...
const ::sax_fastparser::FSHelperPtr & GetSerializer() const
Occasionally need to use this serializer from the outside.
virtual void ParaVerticalAlign(const SvxParaVertAlignItem &rAlign) override
Sfx item RES_PARATR_VERTALIGN.
void SetAlternateContentChoiceOpen(bool bAltContentChoiceOpen)
virtual void TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
void TextLineBreak(const SwFormatLineBreak &rLineBreak) override
RES_TXTATR_LINEBREAK, i.e. clearing breaks.
virtual void FormatSurround(const SwFormatSurround &) override
Sfx item RES_SURROUND.
virtual void FormatFillGradient(const XFillGradientItem &) override
Sfx item RES_FILL_GRADIENT.
virtual void CharHidden(const SvxCharHiddenItem &rHidden) override
Sfx item RES_CHRATR_HIDDEN.
const SwRedlineData * m_pRedlineData
Redline data to remember in the text run.
virtual void TableRowRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual void FormatColumns_Impl(sal_uInt16 nCols, const SwFormatCol &rCol, bool bEven, SwTwips nPageSize) override
Sfx item RES_COL.
virtual void FormatKeep(const SvxFormatKeepItem &) override
Sfx item RES_KEEP.
bool WriteOLEMath(const SwOLENode &rNode, const sal_Int8 nAlign)
void EmbedFontStyle(std::u16string_view name, int tag, FontFamily family, FontItalic italic, FontWeight weight, FontPitch pitch)
std::optional< css::drawing::FillStyle > m_oFillStyle
void DoWriteBookmarkTagEnd(sal_Int32 nId)
virtual void OutlineNumbering(sal_uInt8 nLvl) override
Numbering rule and Id.
virtual void CharFontCTL(const SvxFontItem &rFont) override
Sfx item RES_CHRATR_CTL_FONT.
bool m_bWritingField
Flag indicating that multiple runs of a field are being written.
const DocxExport & GetExport() const
void WriteFloatingTable(ww8::Frame const *pParentFrame)
virtual void CharIdctHint(const SfxPoolItem &) override
Sfx item RES_CHRATR_IdctHint.
virtual void EndRuby(const SwTextNode &rNode, sal_Int32 nPos) override
Output ruby end.
void WriteFlyFrame(const ww8::Frame &rFrame)
void WritePostponedFormControl(const SdrObject *pObject)
virtual void CharLanguageCTL(const SvxLanguageItem &rLanguageItem) override
Sfx item RES_CHRATR_CTL_LANGUAGE.
virtual void CharEscapement(const SvxEscapementItem &rEscapement) override
Sfx item RES_CHRATR_ESCAPEMENT.
virtual void StartSection() override
Start of the section properties.
static OString GetOLEStyle(const SwFlyFrameFormat &rFormat, const Size &rSize)
static OString TransHighlightColor(sal_uInt8 nIco)
Translate an ico value to the corresponding HighlightColorValues enumaration item.
virtual void OutputFlyFrame_Impl(const ww8::Frame &rFormat, const Point &rNdTopLeft) override
Output frames - the implementation.
void popFromTableExportContext(DocxTableExportContext const &rContext)
Restores from the remembered state.
virtual void CharLanguageCJK(const SvxLanguageItem &rLanguageItem) override
Sfx item RES_CHRATR_CJK_LANGUAGE.
virtual void ParaAdjust(const SvxAdjustItem &rAdjust) override
Sfx item RES_PARATR_ADJUST.
virtual void EndParagraphProperties(const SfxItemSet &rParagraphMarkerProperties, const SwRedlineData *pRedlineData, const SwRedlineData *pRedlineParagraphMarkerDeleted, const SwRedlineData *pRedlineParagraphMarkerInserted) override
Called after we end outputting the attributes.
std::unique_ptr< TableReference > m_tableReference
virtual void CharWeight(const SvxWeightItem &rWeight) override
Sfx item RES_CHRATR_WEIGHT.
void DoWriteBookmarkStartIfExist(sal_Int32 nRunPos)
void FontCharset(sal_uInt8 nCharSet, rtl_TextEncoding nEncoding) const
Font charset.
virtual void CharShadow(const SvxShadowedItem &rShadow) override
Sfx item RES_CHRATR_SHADOWED.
virtual sal_Int32 StartParagraph(ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, bool bGenerateParaId) override
Start of the paragraph.
virtual void FormatLineNumbering(const SwFormatLineNumber &) override
Sfx item RES_LINENUMBER.
virtual void EndStyles(sal_uInt16 nNumberOfStyles) override
End of the styles table.
static bool TextBoxIsFramePr(const SwFrameFormat &rFrameFormat)
void FootnotesEndnotes(bool bFootnotes)
Output the content of the footnotes.xml resp. endnotes.xml.
virtual void EmptyParagraph() override
Empty paragraph.
void WriteActiveXControl(const SdrObject *pObject, const SwFrameFormat &rFrameFormat, bool bInsideRun)
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphStart
Bookmarks of the current paragraph.
virtual bool DropdownField(const SwField *pField) override
virtual void FormatFrameDirection(const SvxFrameDirectionItem &) override
Sfx item RES_FRAMEDIR.
virtual void OverrideNumberingDefinition(SwNumRule const &rRule, sal_uInt16 nNum, sal_uInt16 nAbstractNum, const std::map< size_t, size_t > &rLevelOverrides) override
Numbering definition that overrides abstract numbering definition.
virtual void CharFontSize(const SvxFontHeightItem &rFontSize) override
Sfx item RES_CHRATR_FONTSIZE.
virtual void CharLanguage(const SvxLanguageItem &rLanguage) override
Sfx item RES_CHRATR_LANGUAGE.
void StartField_Impl(const SwTextNode *pNode, sal_Int32 nPos, FieldInfos const &rInfos, bool bWriteRun=false)
virtual void StartStyleProperties(bool bParProp, sal_uInt16 nStyle) override
Start of (paragraph or run) properties of a style.
void LatentStyles()
Write latent styles.
virtual void CharWeightCTL(const SvxWeightItem &rWeight) override
Sfx item RES_CHRATR_CTL_WEIGHT.
std::shared_ptr< DocxTableStyleExport > m_pTableStyleExport
void EndFont() const
End the font.
virtual void TableNodeInfoInner(ww8::WW8TableNodeInfoInner::Pointer_t pNodeInfoInner) override
virtual bool AnalyzeURL(const OUString &rURL, const OUString &rTarget, OUString *pLinkURL, OUString *pMark) override
void pushToTableExportContext(DocxTableExportContext &rContext)
Stores the table export state to the passed context and resets own state.
void EmbedFont(std::u16string_view name, FontFamily family, FontPitch pitch)
Write out the font into the document, if it's an embedded font.
virtual void SectionLineNumbering(sal_uLong nRestartNo, const SwLineNumberInfo &rLnNumInfo) override
Numbering of the lines in the document.
std::vector< ww8::Frame > m_vPostponedFlys
Stores the flys what are anchored inside a fly.
virtual void WriteOutliner(const OutlinerParaObject &rParaObj) override
VMLTextExport.
virtual void TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
std::vector< PostponedMathObjects > m_aPostponedMaths
virtual void TextFootnote_Impl(const SwFormatFootnote &) override
Sfx item RES_TXTATR_FTN.
void WriteFinalBookmarks_Impl(std::vector< OUString > &rStarts, std::vector< OUString > &rEnds)
void WriteSdtPlainText(const OUString &sValue, const uno::Sequence< beans::PropertyValue > &aGrabBagSdt)
std::multimap< sal_Int32, OUString > m_aBookmarksOfParagraphEnd
virtual void DefaultStyle() override
Write default style.
void InitCollectedParagraphProperties()
Initialize the structures where we are going to collect some of the paragraph properties.
virtual void Redline(const SwRedlineData *pRedline) override
Output redlining.
void DocDefaults()
Write Doc Defaults.
void EndRedline(const SwRedlineData *pRedlineData)
Output redlining.
void DoWriteBookmarkTagStart(std::u16string_view bookmarkName)
virtual void CharRotate(const SvxCharRotateItem &rRotate) override
Sfx item RES_CHRATR_ROTATE.
void DoWriteBookmarkEndIfExist(sal_Int32 nRunPos)
virtual void TableBackgrounds(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
std::map< OUString, sal_Int32 > m_rOpenedBookmarksIds
Maps of the bookmarks ids.
virtual void CharBidiRTL(const SfxPoolItem &) override
Sfx item RES_CHRATR_BidiRTL.
std::vector< OUString > m_rBookmarksEnd
virtual void ParaGrabBag(const SfxGrabBagItem &) override
Sfx item RES_PARATR_GRABBAG.
std::optional< SwLineBreakClear > m_oLineBreakClear
void DoWriteMoveRangeTagStart(const OString &bookmarkName, bool bFrom, const SwRedlineData *pRedlineData)
void InitCollectedRunProperties()
Initialize the structures where we are going to collect some of the run properties.
virtual void StartStyle(const OUString &rName, StyleType eType, sal_uInt16 nBase, sal_uInt16 nNext, sal_uInt16 nLink, sal_uInt16 nWwId, sal_uInt16 nSlot, bool bAutoUpdate) override
Start of a style in the styles table.
rtl::Reference< sax_fastparser::FastAttributeList > m_pColorAttrList
Attributes of the run color.
void SyncNodelessCells(ww8::WW8TableNodeInfoInner::Pointer_t const &pInner, sal_Int32 nCell, sal_uInt32 nRow)
editeng::WordPageMargins m_pageMargins
SwRedlineData * m_pMoveRedlineData
virtual void ParaWidows(const SvxWidowsItem &rWidows) override
Sfx item RES_PARATR_WIDOWS.
void FontPitchType(FontPitch ePitch) const
Font pitch.
void DoWriteBookmarksEnd(std::vector< OUString > &rEnds)
export the end bookmarks
void SetSerializer(::sax_fastparser::FSHelperPtr const &pSerializer)
For e.g. the output of the styles, we need to switch the serializer to another one.
virtual void StartAbstractNumbering(sal_uInt16 nId) override
Start of the abstract numbering definition instance.
bool HasEndnotes() const
Do we have any endnotes?
virtual void FieldVanish(const OUString &rText, ww::eField eType, OUString const *) override
virtual void FormatULSpace(const SvxULSpaceItem &rULSpace) override
Sfx item RES_UL_SPACE.
virtual void CharFontSizeCJK(const SvxFontHeightItem &rFontSize) override
Sfx item RES_CHRATR_CJK_FONTSIZE.
rtl::Reference< sax_fastparser::FastAttributeList > m_pSectionSpacingAttrList
virtual ~DocxAttributeOutput() override
std::unordered_set< sal_Int32 > m_rSavedBookmarksIds
Set of ids of the saved bookmarks (used only for moveRange, yet)
virtual void NumberingDefinition(sal_uInt16 nId, const SwNumRule &rRule) override
Definition of a numbering instance.
virtual void ResetFlyProcessingFlag() override
Reset the flag for FlyProcessing.
virtual void TableInfoRow(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
void StartTableRow(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
void DoWriteCmd(std::u16string_view rCmd)
OUString m_aStartedParagraphSdtPrAlias
Same as m_aParagraphSdtPrAlias, but its content is available till the SDT is closed.
std::vector< ww8::WW8TableNodeInfoInner::Pointer_t > m_TableFirstCells
std::map< OUString, std::vector< OString > > m_aSeqBookmarksNames
If there are bookmarks around sequence fields, this map contains the names of these bookmarks for eac...
void DoWritePermissionsEnd()
export the end permissions
virtual void TableBidi(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual void StartStyles() override
Start of the styles table.
void WriteOLE(SwOLENode &rNode, const Size &rSize, const SwFlyFrameFormat *rFlyFrameFormat)
virtual void TextINetFormat(const SwFormatINetFormat &) override
Sfx item RES_TXTATR_INETFMT.
std::vector< PostponedChart > m_aPostponedCharts
void EndParaSdtBlock()
End possibly opened paragraph sdt block.
virtual void EndParagraph(ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
End of the paragraph.
virtual void FormatDrop(const SwTextNode &rNode, const SwFormatDrop &rSwFormatDrop, sal_uInt16 nStyle, ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo, ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner) override
virtual void EndSection() override
End of the section properties.
void DoWriteMoveRangeTagEnd(sal_Int32 nId, bool bFrom)
void SetWritingHeaderFooter(bool bWritingHeaderFooter)
bool WriteOLEChart(const SdrObject *pSdrObj, const Size &rSize, const SwFlyFrameFormat *pFlyFrameFormat)
void BulletDefinition(int nId, const Graphic &rGraphic, Size aSize) override
Exports the definition (image, size) of a single numbering picture bullet.
virtual css::uno::Reference< css::text::XTextFrame > GetUnoTextFrame(css::uno::Reference< css::drawing::XShape > xShape) override
virtual void TextCharFormat(const SwFormatCharFormat &) override
Sfx item RES_TXTATR_CHARFMT.
virtual void FormatBox(const SvxBoxItem &) override
Sfx item RES_BOX.
virtual void CharCaseMap(const SvxCaseMapItem &rCaseMap) override
Sfx item Sfx item RES_CHRATR_CASEMAP.
virtual void CharFont(const SvxFontItem &rFont) override
Sfx item RES_CHRATR_FONT.
virtual void TableSpacing(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual bool MaybeOutputBrushItem(SfxItemSet const &) override
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.
virtual void WriteExpand(const SwField *pField) override
Write the expanded field.
std::optional< std::vector< PostponedOLE > > m_oPostponedOLEs
virtual void FormatPaperBin(const SvxPaperBinItem &) override
Sfx item RES_PAPER_BIN.
virtual void CharAnimatedText(const SvxBlinkItem &rBlink) override
Sfx item RES_CHRATR_BLINK.
void StartFont(const OUString &rFamilyName) const
Start the font.
virtual void RawText(const OUString &rText, rtl_TextEncoding eCharSet) override
Output text (without markup).
void CmdField_Impl(const SwTextNode *pNode, sal_Int32 nPos, FieldInfos const &rInfos, bool bWriteRun)
virtual void SectionTitlePage() override
Has different headers/footers for the title page.
virtual void FormatLRSpace(const SvxLRSpaceItem &rLRSpace) override
Sfx item RES_LR_SPACE.
sal_Int32 m_nNextParaId
[MS-DOCX] section 2.6.2.3
virtual void CharUnderline(const SvxUnderlineItem &rUnderline) override
Sfx item RES_CHRATR_UNDERLINE.
std::map< OString, sal_Int32 > m_rOpenedAnnotationMarksIds
Maps of the annotation marks ids.
std::unique_ptr< SwWriteTable > m_xTableWrt
The current table helper.
o3tl::sorted_vector< const SwFrameFormat * > m_aFloatingTablesOfParagraph
virtual void CharBorder(const ::editeng::SvxBorderLine *pAllBorder, const sal_uInt16 nDist, const bool bShadow) override
Sfx item RES_CHRATR_BOX.
virtual void TableHeight(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
bool m_bWritingHeaderFooter
Flag indicating that the header \ footer are being written.
virtual void CharBackground(const SvxBrushItem &rBrush) override
Sfx item RES_CHRATR_BACKGROUND.
void EndField_Impl(const SwTextNode *pNode, sal_Int32 nPos, FieldInfos &rInfos)
std::vector< OString > m_rAnnotationMarksStart
Annotation marks to output.
void WriteCollectedRunProperties()
Output what we collected during the run properties output.
virtual void HiddenField(const SwField &rField) override
virtual void WriteTextBox(css::uno::Reference< css::drawing::XShape > xShape) override
DMLTextExport.
virtual void WriteVMLTextBox(css::uno::Reference< css::drawing::XShape > xShape) override
virtual void SectionBreaks(const SwNode &rNode) override
Called in order to output section breaks.
virtual void FormatFrameSize(const SwFormatFrameSize &) override
Sfx item RES_FRM_SIZE.
virtual void PageBreakBefore(bool bBreak) override
Page break As a paragraph property - the paragraph should be on the next page.
virtual void SetStateOfFlyFrame(FlyProcessingState nStateOfFlyFrame) override
Set the state of the Fly at current position.
bool m_bEndCharSdt
If the current SDT around runs should be ended before the current run.
virtual void TableInfoCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
std::vector< PostponedDrawing > m_aPostponedActiveXControls
::sax_fastparser::FSHelperPtr m_pSerializer
Fast serializer to output the data.
rtl::Reference< sax_fastparser::FastAttributeList > m_pParagraphSpacingAttrList
std::unique_ptr< docx::FootnotesList > m_pEndnotesList
virtual void ParaNumRule_Impl(const SwTextNode *pTextNd, sal_Int32 nLvl, sal_Int32 nNumId) override
Sfx item RES_PARATR_NUMRULE.
virtual void SectionPageBorders(const SwFrameFormat *pFormat, const SwFrameFormat *pFirstPageFormat) override
Description of the page borders.
FlyProcessingState m_nStateOfFlyFrame
State of the Fly at current position.
void WriteFormDateStart(const OUString &sFullDate, const OUString &sDateFormat, const OUString &sLang, const uno::Sequence< beans::PropertyValue > &aGrabBagSdt)
virtual DocxExport & GetExport() override
Return the right export class.
void StartTableCell(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow)
virtual void ParaSnapToGrid(const SvxParaGridItem &) override
Sfx item RES_PARATR_SNAPTOGRID.
virtual bool FootnoteEndnoteRefTag() override
docx requires footnoteRef/endnoteRef tag at the beginning of each of them
sal_uInt32 m_nEmbedFlyLevel
The first frame (anchored to the main text) is 0.
std::vector< OUString > m_rPermissionsStart
Permissions to output.
oox::drawingml::DrawingML & m_rDrawingML
DrawingML access.
sal_Int32 m_nRedlineId
Id of the redline.
virtual void CharPostureCJK(const SvxPostureItem &rPosture) override
Sfx item RES_CHRATR_CJK_POSTURE.
void WriteOLEShape(const SwFlyFrameFormat &rFrameFormat, const Size &rSize, const OString &rShapeId, const OUString &rImageId)
bool m_bPreventDoubleFieldsHandling
Field data to remember in the text run.
hasProperties WritePostitFields()
void TableCellProperties(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow)
virtual void TableVerticalCell(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
unsigned int m_postitFieldsMaxId
Number of postit fields which already have a commentReference written.
virtual void CharWeightCJK(const SvxWeightItem &rWeight) override
Sfx item RES_CHRATR_CJK_WEIGHT.
void WritePostponedActiveXControl(bool bInsideRun)
virtual void CharRelief(const SvxCharReliefItem &rRelief) override
Sfx item RES_CHRATR_RELIEF.
std::vector< std::pair< const SwPostItField *, PostItDOCXData > > m_postitFields
Maps postit fields to ID's, used in commentRangeStart/End, commentReference and comment....
void CmdEndField_Impl(const SwTextNode *pNode, sal_Int32 nPos, bool bWriteRun)
virtual void ParaHangingPunctuation(const SfxBoolItem &) override
Sfx item RES_PARATR_HANGINGPUNCTUATION.
std::map< OUString, EmbeddedFontRef > m_FontFilesMap
bool HasFootnotes() const
Do we have any footnotes?
virtual void SetAnchorIsLinkedToNode(bool bAnchorLinkedToNode) override
If the node has an anchor linked.
void WriteSrcRect(const css::uno::Reference< css::beans::XPropertySet > &xShapePropSet, const SwFrameFormat *pFrameFormat)
DocxExport & m_rExport
Reference to the export, where to get the data from.
std::optional< std::vector< PostponedGraphic > > m_oPostponedGraphic
const SwField * m_PendingPlaceholder
bool IsAlternateContentChoiceOpen() const
void SectionRtlGutter(const SfxBoolItem &rRtlGutter) override
RES_RTL_GUTTER.
std::vector< OUString > m_rFinalBookmarksStart
Bookmarks to output at the end.
virtual void CharFontSizeCTL(const SvxFontHeightItem &rFontSize) override
Sfx item RES_CHRATR_CTL_FONTSIZE.
virtual void SectionBiDi(bool bBiDi) override
Columns populated from right/numbers on the right side?
virtual void FormatHorizOrientation(const SwFormatHoriOrient &) override
Sfx item RES_HORI_ORIENT.
virtual void CharAutoKern(const SvxAutoKernItem &) override
Sfx item RES_CHRATR_AUTOKERN.
virtual void CharTwoLines(const SvxTwoLinesItem &rTwoLines) override
Sfx item RES_CHRATR_TWO_LINES.
void FontFamilyType(FontFamily eFamily) const
Font family.
std::vector< sal_Int32 > m_LastClosedCell
std::vector< std::map< SvxBoxItemLine, css::table::BorderLine2 > > m_aTableStyleConfs
virtual void StartRun(const SwRedlineData *pRedlineData, sal_Int32 nPos, bool bSingleEmptyRun=false) override
Start of the text run.
unsigned int m_nChartCount
count charts consistently for unit tests
virtual void ParaLineSpacing_Impl(short nSpace, short nMulti) override
Sfx item RES_PARATR_LINESPACING.
virtual void TableCanSplit(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual void TextVerticalAdjustment(const css::drawing::TextVerticalAdjust) override
void DoWritePermissionsStart()
Write the start permissions.
virtual void SectionPageNumbering(sal_uInt16 nNumType, const ::std::optional< sal_uInt16 > &oPageRestartNumber) override
The style of the page numbers.
virtual void CharCrossedOut(const SvxCrossedOutItem &rCrossedOut) override
Sfx item RES_CHRATR_CROSSEDOUT.
void FontAlternateName(const OUString &rName) const
Alternate name for the font.
std::optional< std::vector< PostponedDiagram > > m_oPostponedDiagrams
virtual void FormatAnchor(const SwFormatAnchor &) override
Sfx item RES_ANCHOR.
void WriteAnnotationMarks_Impl(std::vector< OUString > &rStarts, std::vector< OUString > &rEnds)
virtual void SectionFormProtection(bool bProtected) override
Protection of forms.
virtual void CharScaleWidth(const SvxCharScaleWidthItem &rScaleWidth) override
Sfx item RES_CHRATR_SCALEW.
virtual void CharContour(const SvxContourItem &rContour) override
Sfx item Sfx item RES_CHRATR_CONTOUR.
static void WriteFootnoteEndnotePr(::sax_fastparser::FSHelperPtr const &fs, int tag, const SwEndNoteInfo &info, int listtag)
writes the footnotePr/endnotePr (depending on tag) section
void WriteLineBreak()
Writes a clearing line break at the end of run properties, if there are any.
void PostponeOLE(SwOLENode &rNode, const Size &rSize, const SwFlyFrameFormat *pFlyFrameFormat)
virtual void CharPostureCTL(const SvxPostureItem &rWeight) override
Sfx item RES_CHRATR_CTL_POSTURE.
virtual void ParaSplit(const SvxFormatSplitItem &rSplit) override
Sfx item RES_PARATR_SPLIT.
virtual void EndAbstractNumbering() override
End of the abstract numbering definition instance.
void StartRedline(const SwRedlineData *pRedlineData)
Output redlining.
virtual void CharHighlight(const SvxBrushItem &rHighlight) override
Sfx item RES_CHRATR_HIGHLIGHT.
virtual bool EndURL(bool) override
Output URL end.
void PopulateFrameProperties(const SwFrameFormat *pFrameFormat, const Size &rSize)
virtual void RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript) override
Export the state of RTL/CJK.
virtual void CharFontCJK(const SvxFontItem &rFont) override
Sfx item RES_CHRATR_CJK_FONT.
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 bBreakAfter: the break must be schedul...
virtual void ParaHyphenZone(const SvxHyphenZoneItem &) override
Sfx item RES_PARATR_HYPHENZONE.
std::shared_ptr< SwContentControl > m_pContentControl
std::unique_ptr< const WW8_SepInfo > m_pSectionInfo
void StartTable(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
virtual void ParagraphStyle(sal_uInt16 nStyle) override
Output style.
virtual void CharPosture(const SvxPostureItem &rPosture) override
Sfx item RES_CHRATR_POSTURE.
virtual void ParaTabStop(const SvxTabStopItem &rTabStop) override
Sfx item RES_PARATR_TABSTOP.
virtual void TableCellRedline(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
virtual void ParaOutlineLevel(const SfxUInt16Item &) override
std::optional< std::vector< PostponedDrawing > > m_oPostponedDMLDrawings
void FinishTableRowCell(ww8::WW8TableNodeInfoInner::Pointer_t const &pInner, bool bForceEmptyParagraph=false)
End cell, row, and even the entire table if necessary.
void WriteCollectedParagraphProperties()
Output what we collected during the run properties output.
void DoWriteFieldRunProperties(const SwTextNode *pNode, sal_Int32 nPos, bool bWriteCombChars=false)
Writes properties for run that is used to separate field implementation.
virtual void SectionType(sal_uInt8 nBreakCode) override
The type of breaking.
void GetSdtEndBefore(const SdrObject *pSdrObj)
virtual void FormatBackground(const SvxBrushItem &) override
Sfx item RES_BACKGROUND.
virtual void CharKerning(const SvxKerningItem &rKerning) override
Sfx item RES_CHRATR_KERNING.
void TableDefaultCellMargins(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
virtual void EndRunProperties(const SwRedlineData *pRedlineData) override
Called after we end outputting the attributes.
bool m_bHadSectPr
Did we have a section break in this paragraph? Set by StartSection(), reset by the next StartParagrap...
std::stack< std::vector< ww8::Frame > > m_aFramesOfParagraph
std::vector< const SdrObject * > m_aPostponedFormControls
rtl::Reference< sax_fastparser::FastAttributeList > m_pEastAsianLayoutAttrList
virtual bool PlaceholderField(const SwField *pField) override
void FootnoteEndnoteReference()
Output the footnote/endnote reference (if there's one to output).
void WriteSdtDropDownEnd(OUString const &rSelected, uno::Sequence< OUString > const &rListItems)
virtual void EndRun(const SwTextNode *pNode, sal_Int32 nPos, sal_Int32 nLen, bool bLastRun=false) override
End of the text run.
virtual void ParaScriptSpace(const SfxBoolItem &) override
Sfx item RES_PARATR_SCRIPTSPACE.
virtual void PostitField(const SwField *pField) override
virtual void TableOrientation(ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner) override
DocxAttributeOutput(DocxExport &rExport, const ::sax_fastparser::FSHelperPtr &pSerializer, oox::drawingml::DrawingML *pDrawingML)
virtual void ParaForbiddenRules(const SfxBoolItem &) override
Sfx item RES_PARATR_FORBIDDEN_RULES.
virtual void FormatTextGrid(const SwTextGridItem &) override
Sfx item RES_TEXTGRID.
void DoWritePermissionTagStart(std::u16string_view permission)
void InitTableHelper(ww8::WW8TableNodeInfoInner::Pointer_t const &pTableTextNodeInfoInner)
virtual void EndStyleProperties(bool bParProp) override
End of (paragraph or run) properties of a style.
virtual void RefField(const SwField &rField, const OUString &rRef) override
rtl::Reference< sax_fastparser::FastAttributeList > m_pBackgroundAttrList
Attributes of the paragraph background.
bool m_bOpenedSectPr
Flag indicating that the section properties are being written.
void DoWriteBookmarksStart(std::vector< OUString > &rStarts, const SwRedlineData *pRedlineData=nullptr)
Write the start bookmarks.
virtual void FormatFillStyle(const XFillStyleItem &) override
Sfx item RES_FILL_STYLE.
OString m_sLastOpenedAnnotationMark
Name of the last opened annotation mark.
virtual void StartParagraphProperties() override
Called before we start outputting the attributes.
virtual void CharGrabBag(const SfxGrabBagItem &) override
Sfx item RES_CHRATR_GRABBAG.
void DoWritePermissionTagEnd(std::u16string_view permission)
The class that does all the actual DOCX export-related work.
Definition: docxexport.hxx:75
rtl::Reference< sax_fastparser::FastAttributeList > m_pTokenChildren
rtl::Reference< sax_fastparser::FastAttributeList > m_pTokenAttributes
rtl::Reference< sax_fastparser::FastAttributeList > m_pTextAttrs
void WriteExtraParams(const ::sax_fastparser::FSHelperPtr &pSerializer)
rtl::Reference< sax_fastparser::FastAttributeList > m_pDataBindingAttrs
void GetSdtParamsFromGrabBag(const uno::Sequence< beans::PropertyValue > &aGrabBagSdt)
void EndSdtBlock(const ::sax_fastparser::FSHelperPtr &pSerializer)
Closes a currently open SDT block.
void WriteSdtBlock(const ::sax_fastparser::FSHelperPtr &pSerializer, bool bRunTextIsOn, bool bParagraphHasDrawing)
Stores the properties of a content control.
Base class of all fields.
Definition: fldbas.hxx:293
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
Defines the horizontal position of a fly frame.
Definition: fmtornt.hxx:73
SfxPoolItem subclass that wraps an SwLineBreakClear.
Defines the vertical position of a fly frame.
Definition: fmtornt.hxx:37
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:98
SwTextNode is a paragraph in the document model.
Definition: ndtxt.hxx:111
Make exporting a Writer Frame easy.
std::shared_ptr< WW8TableInfo > Pointer_t
std::shared_ptr< WW8TableNodeInfoInner > Pointer_t
std::shared_ptr< WW8TableNodeInfo > Pointer_t
Collects and outputs fonts.
Definition: wrtww8.hxx:297
DocxColBreakStatus
@ COLBRK_WRITEANDPOSTPONE
@ COLBRK_POSTPONE
@ COLBRK_WRITE
@ COLBRK_NONE
EmbeddedObjectRef * pObject
FilterGroup & rTarget
DocumentType eType
FontPitch
FontItalic
FontFamily
SwLineBreakClear
Defines the location of a line break text wrapping restart.
const char * name
sal_Int64 n
sal_uInt16 nPos
sal_Int16 nNumType
rtl::Reference< FastAttributeList > SurroundToVMLWrap(SwFormatSurround const &rSurround)
None
std::shared_ptr< FastSerializerHelper > FSHelperPtr
FontWeight
StyleType
@HTML
eUNKNOWN
sal_Int16 nId
sal_uIntPtr sal_uLong
PostponedChart(const SdrObject *sdrObject, const Size &rSize, const SwFlyFrameFormat *rFrame)
PostponedDiagram(const SdrObject *o, const SwFrameFormat *frm)
PostponedDrawing(const SdrObject *sdrObj, const SwFrameFormat *frm)
PostponedGraphic(const SwGrfNode *n, Size s, const SdrObject *sObj)
PostponedOLE(SwOLENode *rObject, const Size &rSize, const SwFlyFrameFormat *rFrame)
All the information that should be stashed away when we're in the middle of of a table export and sti...
DocxAttributeOutput & m_rOutput
ww8::WW8TableInfo::Pointer_t m_pTableInfo
DocxTableExportContext(DocxAttributeOutput &rOutput)
std::shared_ptr< const SwField > pField
const ::sw::mark::IFieldmark * pFieldmark
A structure that holds information about the options selected when outputting a border to DOCX.
std::shared_ptr< editeng::WordBorderDistances > pDistances
SvxShadowLocation aShadowLocation
A structure that holds flags for the table export.
bool m_bTableCellOpen
Remember if we are in an open cell, or not.
sal_uInt32 m_nTableDepth
Remember the current table depth.
bool m_bTableCellParaSdtOpen
If paragraph sdt got opened in this table cell.
SvxShadowLocation
SvxAdjust
tools::Long SwTwips
Definition: swtypes.hxx:51
unsigned char sal_uInt8
signed char sal_Int8
FlyProcessingState
enum to state the present state of the fly
Definition: wrtww8.hxx:166
FieldFlags
Definition: wrtww8.hxx:143