LibreOffice Module sw (master)  1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
MSWordExportBase Class Referenceabstract

Base class for WW8Export and DocxExport. More...

#include <wrtww8.hxx>

Inheritance diagram for MSWordExportBase:
[legend]
Collaboration diagram for MSWordExportBase:
[legend]

Classes

struct  LinkedTextboxInfo
 

Public Types

enum  ExportFormat {
  DOC = 0,
  RTF = 1,
  DOCX = 2
}
 
typedef std::vector< ::sw::mark::IMark * > IMarkVector
 Used to split the runs according to the bookmarks start and ends. More...
 

Public Member Functions

ErrCode ExportDocument (bool bWriteAll)
 The main function to export the document. More...
 
void WriteText ()
 Iterate through the nodes and call the appropriate OutputNode() on them. More...
 
bool IsInTable () const
 Return whether currently exported node is in table. More...
 
void WriteSpecialText (sal_uLong nStart, sal_uLong nEnd, sal_uInt8 nTTyp)
 Set the pCurPam appropriately and call WriteText(). More...
 
void ExportPoolItemsToCHP (ww8::PoolItems &rItems, sal_uInt16 nScript, const SvxFontItem *pFont, bool bWriteCombChars=false)
 Export the pool items to attributes (through an attribute output class). More...
 
sal_uInt16 GetNumberingId (const SwNumRule &rNumRule)
 Return the numeric id of the numbering rule. More...
 
sal_uInt16 GetId (const SwTextFormatColl &rColl) const
 Return the numeric id of the style. More...
 
sal_uInt16 GetId (const SwCharFormat *pFormat) const
 Return the numeric id of the style. More...
 
sal_uInt16 GetId (const SwTOXType &rTOXType)
 
sal_uInt16 GetId (const SvxFontItem &rFont)
 Return the numeric id of the font (and add it to the font list if needed) More...
 
void GetId (const wwFont &rFont)
 
const SfxPoolItemGetItem (sal_uInt16 nWhich) const
 
template<class T >
const T & GetItem (TypedWhichId< T > nWhich) const
 
bool HasRefToObject (sal_uInt16 nTyp, const OUString *pName, sal_uInt16 nSeqNo)
 Find the reference. More...
 
void OutputItemSet (const SfxItemSet &rSet, bool bPapFormat, bool bChpFormat, sal_uInt16 nScript, bool bExportParentItemSet)
 Use OutputItem() on an item set according to the parameters. More...
 
SvxFrameDirection GetDefaultFrameDirection () const
 
SvxFrameDirection TrueFrameDirection (const SwFrameFormat &rFlyFormat) const
 Right to left? More...
 
SvxFrameDirection GetCurrentPageDirection () const
 Right to left? More...
 
sal_uInt16 DuplicateNumRule (const SwNumRule *pRule, sal_uInt8 nLevel, sal_uInt16 nVal)
 In case of numbering restart. More...
 
SwNumRuleDuplicateNumRuleImpl (const SwNumRule *pRule)
 
sal_uInt16 DuplicateAbsNum (OUString const &rListId, SwNumRule const &rAbstractRule)
 check if a new abstractNum is needed for this list More...
 
sal_uInt16 OverrideNumRule (SwNumRule const &rExistingRule, OUString const &rListId, SwNumRule const &rAbstractRule)
 Create a overriding numbering definition (if it does not yet exist) More...
 
virtual AttributeOutputBaseAttrOutput () const =0
 Access to the attribute output class. More...
 
virtual MSWordSectionsSections () const =0
 Access to the sections/headers/footres. More...
 
virtual bool SupportsOneColumnBreak () const =0
 Determines if column break with one column should be exported or not. More...
 
virtual bool FieldsQuoted () const =0
 Determines if the import filter already quoted fields or not. More...
 
virtual bool AddSectionBreaksForTOX () const =0
 Determines the Section Breaks are to be added for TOX Section. More...
 
virtual bool ignoreAttributeForStyleDefaults (sal_uInt16) const
 Used to filter out attributes that can be e.g. written to .doc but not to .docx. More...
 
virtual bool PreferPageBreakBefore () const =0
 If saving page break is preferred as a paragraph attribute (yes) or as a special character (no). More...
 
virtual bool AllowPostponedTextInTable () const
 Text in tables can be postponed except for .doc. More...
 
virtual bool CollapseScriptsforWordOk (sal_uInt16 nScript, sal_uInt16 nWhich)=0
 Guess the script (asian/western). More...
 
virtual void AppendBookmarks (const SwTextNode &rNd, sal_Int32 nCurrentPos, sal_Int32 nLen)=0
 
virtual void AppendBookmark (const OUString &rName)=0
 
virtual void AppendAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen)=0
 
virtual void AppendSmartTags (SwTextNode &)
 
virtual void ExportGrfBullet (const SwTextNode &rNd)=0
 
virtual void WriteCR (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner=ww8::WW8TableNodeInfoInner::Pointer_t())=0
 
virtual void WriteChar (sal_Unicode c)=0
 
void OutputFormat (const SwFormat &rFormat, bool bPapFormat, bool bChpFormat, bool bFlyFormat=false)
 Output attributes. More...
 
const SfxItemSetGetCurItemSet () const
 Getter for pISet. More...
 
void SetCurItemSet (const SfxItemSet *pS)
 Setter for pISet. More...
 
virtual void SaveData (sal_uLong nStt, sal_uLong nEnd)
 Remember some of the members so that we can recurse in WriteText(). More...
 
virtual void RestoreData ()
 Restore what was saved in SaveData(). More...
 
bool OutputFollowPageDesc (const SfxItemSet *pSet, const SwTextNode *pNd)
 The return value indicates, if a follow page desc is written. More...
 
void WriteHeaderFooterText (const SwFormat &rFormat, bool bHeader)
 Write header/footer text. More...
 
void OutputSectionBreaks (const SfxItemSet *pSet, const SwNode &rNd, bool isCellOpen=false, bool isTextNodeEmpty=false)
 Start new section. More...
 
void SectionProperties (const WW8_SepInfo &rSectionInfo, WW8_PdAttrDesc *pA=nullptr)
 Write section properties. More...
 
virtual void WriteNumbering ()=0
 Output the numbering table. More...
 
void NumberingDefinitions ()
 Write static data of SwNumRule - LSTF. More...
 
void AbstractNumberingDefinitions ()
 Write all Levels for all SwNumRules - LVLF. More...
 
void NumberingLevel (SwNumRule const &rRule, sal_uInt8 nLvl)
 Write one numbering level. More...
 
void SubstituteBullet (OUString &rNumStr, rtl_TextEncoding &rChrSet, OUString &rFontName) const
 
virtual void SetupSectionPositions (WW8_PdAttrDesc *)
 Setup the pA's info. More...
 
void SetHdFtPageRoot (const SwTextNode *pNd)
 Top node of host page when in header/footer. More...
 
const SwTextNodeGetHdFtPageRoot () const
 Top node of host page when in header/footer. More...
 
virtual void WriteHeadersFooters (sal_uInt8 nHeadFootFlags, const SwFrameFormat &rFormat, const SwFrameFormat &rLeftFormat, const SwFrameFormat &rFirstPageFormat, sal_uInt8 nBreakCode)=0
 Output the actual headers and footers. More...
 
virtual void OutputField (const SwField *pField, ww::eField eFieldType, const OUString &rFieldCmd, FieldFlags nMode=FieldFlags::All)=0
 Write the field. More...
 
virtual void WriteFormData (const ::sw::mark::IFieldmark &rFieldmark)=0
 Write the data of the form field. More...
 
virtual void WriteHyperlinkData (const ::sw::mark::IFieldmark &rFieldmark)=0
 
virtual void DoComboBox (const OUString &rName, const OUString &rHelp, const OUString &ToolTip, const OUString &rSelected, const css::uno::Sequence< OUString > &rListItems)=0
 
virtual void DoFormText (const SwInputField *pField)=0
 
bool GetNumberFormat (const SwField &rField, OUString &rStr)
 
virtual sal_uLong ReplaceCr (sal_uInt8 nChar)=0
 
const SfxPoolItemHasItem (sal_uInt16 nWhich) const
 
int GetGrfIndex (const SvxBrushItem &rBrush)
 Returns the index of a picture bullet, used in numberings. More...
 
virtual ExportFormat GetExportFormat () const =0
 
 MSWordExportBase (SwDoc *pDocument, std::shared_ptr< SwUnoCursor > &pCurrentPam, SwPaM *pOriginalPam)
 
virtual ~MSWordExportBase ()
 

Static Public Member Functions

static OUString GetBookmarkName (sal_uInt16 nTyp, const OUString *pName, sal_uInt16 nSeqNo)
 Find the bookmark name. More...
 
static const SwSectionFormatGetSectionFormat (const SwNode &rNd)
 Format of the section. More...
 
static sal_uLong GetSectionLineNo (const SfxItemSet *pSet, const SwNode &rNd)
 Line number of the section start. More...
 
static bool NoPageBreakSection (const SfxItemSet *pSet)
 
static void CorrectTabStopInSet (SfxItemSet &rSet, sal_Int32 nAbsLeft)
 

Public Attributes

wwFontHelper m_aFontHelper
 
std::vector< sal_uLongm_aChapterFieldLocs
 
OUString const m_aMainStg
 
std::vector< const SwTOXType * > m_aTOXArr
 
const SfxItemSetm_pISet
 
WW8_WrPctm_pPiece
 
std::unique_ptr< SwNumRuleTablem_pUsedNumTable
 
std::map< size_t, std::pair< size_t, size_t > > m_OverridingNums
 overriding numdef index -> (existing numdef index, abstractnumdef index) More...
 
std::map< std::pair< size_t, size_t >, size_t > m_OverridingNumsR
 same in reverse More...
 
std::map< OUString, size_t > m_Lists
 list-id -> abstractnumdef index More...
 
const SwTextNodem_pTopNodeOfHdFtPage
 Top node of host page when in hd/ft. More...
 
std::map< sal_uInt16, sal_uInt16 > m_aRuleDuplicates
 
std::stack< sal_Int32 > m_aCurrentCharPropStarts
 To remember the position in a run. More...
 
WW8_WrtBookmarksm_pBkmks
 
WW8_WrtRedlineAuthorm_pRedlAuthors
 
std::shared_ptr< NfKeywordTablem_pKeyMap
 
std::unique_ptr< SvxMSExportOLEObjectsm_pOLEExp
 
std::unique_ptr< SwMSConvertControlsm_pOCXExp
 
WW8OleMap m_aOleMap
 
ww8::WW8TableInfo::Pointer_t m_pTableInfo
 
sal_uInt16 m_nCharFormatStart
 
sal_uInt16 m_nFormatCollStart
 
sal_uInt16 m_nStyleBeforeFly
 style number of the node More...
 
sal_uInt16 m_nLastFormatId
 Style of last TextNode in normal range. More...
 
sal_uInt16 m_nUniqueList
 current number for creating unique list names More...
 
unsigned int m_nHdFtIndex
 
RedlineFlags m_nOrigRedlineFlags
 Remember the original redline mode. More...
 
bool m_bOrigShowChanges
 Remember the original Show Changes mode. More...
 
std::vector< aBookmarkPairm_aImplicitBookmarks
 
ww8::Frames m_aFrames
 
const SwPageDescm_pCurrentPageDesc
 
bool m_bPrevTextNodeIsEmpty
 
bool m_bFirstTOCNodeWithSection
 
std::unique_ptr< WW8_WrPlcPnm_pPapPlc
 
std::unique_ptr< WW8_WrPlcPnm_pChpPlc
 
MSWordAttrIterm_pChpIter
 
std::unique_ptr< MSWordStylesm_pStyles
 
WW8_WrPlcAnnotationsm_pAtn
 
std::unique_ptr< WW8_WrtFactoidsm_pFactoids
 
WW8_WrPlcTextBoxesm_pTextBxs
 
WW8_WrPlcTextBoxesm_pHFTextBxs
 
std::map< OUString, LinkedTextboxInfom_aLinkedTextboxesHelper
 
bool m_bLinkedTextboxesHelperInitialized = false
 
sal_Int32 m_nLinkedTextboxesChainId =0
 
const ww8::Framem_pParentFrame
 
Pointm_pFlyOffset
 
RndStdIds m_eNewAnchorType
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldMain
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldHdFt
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldFootnote
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldEdn
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldAtn
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldTextBxs
 
std::unique_ptr< WW8_WrPlcFieldm_pFieldHFTextBxs
 
std::unique_ptr< WW8_WrMagicTablem_pMagicTable
 
std::unique_ptr< SwWW8WrGrfm_pGrf
 
const SwAttrSetm_pStyAttr
 
const SwModifym_pOutFormatNode
 
const SwFormatm_pCurrentStyle
 
MainTextPlcDrawObjm_pSdrObjs
 
HdFtPlcDrawObjm_pHFSdrObjs
 
SwEscherExm_pEscher
 
sal_uInt8 m_nTextTyp
 
bool m_bStyDef: 1
 
bool m_bBreakBefore: 1
 
bool m_bOutKF: 1
 
bool m_bOutFlyFrameAttrs: 1
 
bool m_bOutPageDescs: 1
 PageDescs (section properties) are being written. More...
 
bool m_bOutFirstPage: 1
 
bool m_bOutTable: 1
 
bool m_bOutGrf: 1
 
bool m_bInWriteEscher: 1
 
bool m_bStartTOX: 1
 
bool m_bInWriteTOX: 1
 
bool m_bFootnoteAtTextEnd: 1
 
bool m_bEndAtTextEnd: 1
 
bool m_bHasHdr: 1
 
bool m_bHasFtr: 1
 
bool m_bSubstituteBullets: 1
 
bool m_bTabInTOC: 1
 
bool m_bHideTabLeaderAndPageNumbers: 1
 
bool m_bExportModeRTF
 
bool m_bFontSizeWritten
 Is font size written already as part of the current character properties? More...
 
bool m_bAddFootnoteTab
 
SwDocm_pDoc
 
sal_uLong m_nCurStart
 
sal_uLong m_nCurEnd
 
std::shared_ptr< SwUnoCursor > & m_pCurPam
 
SwPaMm_pOrigPam
 
std::stack< MSWordSaveDatam_aSaveData
 Stack to remember the nesting (see MSWordSaveData for more) More...
 
IMarkVector m_rSortedBookmarksStart
 
IMarkVector m_rSortedBookmarksEnd
 
IMarkVector m_rSortedAnnotationMarksStart
 
IMarkVector m_rSortedAnnotationMarksEnd
 

Protected Member Functions

virtual ErrCode ExportDocument_Impl ()=0
 Format-dependent part of the actual export. More...
 
sal_Int32 GetNextPos (SwWW8AttrIter const *pAttrIter, const SwTextNode &rNode, sal_Int32 nCurrentPos)
 Get the next position in the text node to output. More...
 
void UpdatePosition (SwWW8AttrIter *pAttrIter, sal_Int32 nCurrentPos)
 Update the information for GetNextPos(). More...
 
virtual void OutputTextNode (SwTextNode &)
 Output SwTextNode. More...
 
void GatherChapterFields ()
 Setup the chapter fields (maChapterFieldLocs). More...
 
void AddLinkTarget (const OUString &rURL)
 
void CollectOutlineBookmarks (const SwDoc &rDoc)
 
bool SetCurrentPageDescFromNode (const SwNode &rNd)
 
bool ContentContainsChapterField (const SwFormatContent &rContent) const
 
bool FormatHdFtContainsChapterField (const SwFrameFormat &rFormat) const
 
virtual void SectionBreaksAndFrames (const SwTextNode &rNode)=0
 
virtual void PrepareNewPageDesc (const SfxItemSet *pSet, const SwNode &rNd, const SwFormatPageDesc *pNewPgDescFormat, const SwPageDesc *pNewPgDesc)=0
 
virtual bool DisallowInheritingOutlineNumbering (const SwFormat &rFormat)=0
 Return value indicates if an inherited outline numbering is suppressed. More...
 
void OutputStartNode (const SwStartNode &)
 Output SwStartNode. More...
 
virtual void OutputEndNode (const SwEndNode &)
 Output SwEndNode. More...
 
virtual void OutputGrfNode (const SwGrfNode &)=0
 Output SwGrfNode. More...
 
virtual void OutputOLENode (const SwOLENode &)=0
 Output SwOLENode. More...
 
virtual void OutputLinkedOLE (const OUString &)=0
 
void OutputSectionNode (const SwSectionNode &)
 Output SwSectionNode. More...
 
virtual void AppendSection (const SwPageDesc *pPageDesc, const SwSectionFormat *pFormat, sal_uLong nLnNum)=0
 
void OutputContentNode (SwContentNode &)
 Call the right (virtual) function according to the type of the item. More...
 
bool NearestBookmark (sal_Int32 &rNearest, const sal_Int32 nCurrentPos, bool bNextPositionOnly)
 Find the nearest bookmark from the current position. More...
 
void GetSortedBookmarks (const SwTextNode &rNd, sal_Int32 nCurrentPos, sal_Int32 nLen)
 
bool GetBookmarks (const SwTextNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, IMarkVector &rArr)
 
void NearestAnnotationMark (sal_Int32 &rNearest, const sal_Int32 nCurrentPos, bool bNextPositionOnly)
 Find the nearest annotation mark from the current position. More...
 
void GetSortedAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen)
 
bool GetAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nStt, sal_Int32 nEnd, IMarkVector &rArr)
 
const NfKeywordTableGetNfKeywordTable ()
 
void SetCurPam (sal_uLong nStt, sal_uLong nEnd)
 
std::shared_ptr< SvxBrushItemgetBackground ()
 Get background color of the document, if there is one. More...
 
int CollectGrfsOfBullets ()
 Populates m_vecBulletPic with all the bullet graphics used by numberings. More...
 
void BulletDefinitions ()
 Write the numbering picture bullets. More...
 
bool NeedSectionBreak (const SwNode &rNd) const
 
bool NeedTextNodeSplit (const SwTextNode &rNd, SwSoftPageBreakList &pList) const
 

Static Protected Member Functions

static void UpdateTocSectionNodeProperties (const SwSectionNode &rSectionNode)
 

Protected Attributes

std::vector< const Graphic * > m_vecBulletPic
 Vector to record all the graphics of bullets. More...
 

Private Member Functions

 MSWordExportBase (const MSWordExportBase &)=delete
 
MSWordExportBaseoperator= (const MSWordExportBase &)=delete
 

Detailed Description

Base class for WW8Export and DocxExport.

Definition at line 453 of file wrtww8.hxx.

Member Typedef Documentation

Used to split the runs according to the bookmarks start and ends.

Definition at line 584 of file wrtww8.hxx.

Member Enumeration Documentation

Enumerator
DOC 
RTF 
DOCX 

Definition at line 820 of file wrtww8.hxx.

Constructor & Destructor Documentation

MSWordExportBase::MSWordExportBase ( SwDoc pDocument,
std::shared_ptr< SwUnoCursor > &  pCurrentPam,
SwPaM pOriginalPam 
)

Definition at line 3659 of file wrtww8.cxx.

References FLY_AS_CHAR.

MSWordExportBase::~MSWordExportBase ( )
virtual

Definition at line 3721 of file wrtww8.cxx.

References m_nUniqueList, m_pOCXExp, m_pOLEExp, and m_pUsedNumTable.

MSWordExportBase::MSWordExportBase ( const MSWordExportBase )
privatedelete

Member Function Documentation

void MSWordExportBase::AbstractNumberingDefinitions ( )

Write all Levels for all SwNumRules - LVLF.

Definition at line 417 of file wrtw8num.cxx.

References SwNumRule::IsContinusNum(), n, nCount, WW8ListManager::nMaxLevel, and WW8ListManager::nMinLevel.

Referenced by RtfExport::WriteNumbering().

void MSWordExportBase::AddLinkTarget ( const OUString &  rURL)
protected
virtual bool MSWordExportBase::AddSectionBreaksForTOX ( ) const
pure virtual

Determines the Section Breaks are to be added for TOX Section.

Implemented in WW8Export, DocxExport, and RtfExport.

virtual bool MSWordExportBase::AllowPostponedTextInTable ( ) const
inlinevirtual

Text in tables can be postponed except for .doc.

Reimplemented in WW8Export.

Definition at line 694 of file wrtww8.hxx.

Referenced by OutputTextNode().

virtual void MSWordExportBase::AppendAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

virtual void MSWordExportBase::AppendBookmark ( const OUString &  rName)
pure virtual
virtual void MSWordExportBase::AppendBookmarks ( const SwTextNode rNd,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

virtual void MSWordExportBase::AppendSection ( const SwPageDesc pPageDesc,
const SwSectionFormat pFormat,
sal_uLong  nLnNum 
)
protectedpure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputSectionNode(), and WriteText().

virtual void MSWordExportBase::AppendSmartTags ( SwTextNode )
inlinevirtual

Reimplemented in WW8Export.

Definition at line 714 of file wrtww8.hxx.

Referenced by OutputTextNode().

virtual AttributeOutputBase& MSWordExportBase::AttrOutput ( ) const
pure virtual
void MSWordExportBase::BulletDefinitions ( )
protected
virtual bool MSWordExportBase::CollapseScriptsforWordOk ( sal_uInt16  nScript,
sal_uInt16  nWhich 
)
pure virtual

Guess the script (asian/western).

Sadly word does not have two different sizes for asian font size and western font size, it has two different fonts, but not sizes, so we have to use our guess as to the script used and disable the export of one type. The same occurs for font weight and posture (bold and italic).

In addition WW7- has only one character language identifier while WW8+ has two

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by MSWord_SdrAttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().

int MSWordExportBase::CollectGrfsOfBullets ( )
protected
void MSWordExportBase::CollectOutlineBookmarks ( const SwDoc rDoc)
protected
bool MSWordExportBase::ContentContainsChapterField ( const SwFormatContent rContent) const
protected

Definition at line 338 of file ww8atr.cxx.

References SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), and i.

void MSWordExportBase::CorrectTabStopInSet ( SfxItemSet rSet,
sal_Int32  nAbsLeft 
)
static
virtual bool MSWordExportBase::DisallowInheritingOutlineNumbering ( const SwFormat rFormat)
protectedpure virtual

Return value indicates if an inherited outline numbering is suppressed.

Implemented in WW8Export, DocxExport, and RtfExport.

virtual void MSWordExportBase::DoComboBox ( const OUString &  rName,
const OUString &  rHelp,
const OUString &  ToolTip,
const OUString &  rSelected,
const css::uno::Sequence< OUString > &  rListItems 
)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

virtual void MSWordExportBase::DoFormText ( const SwInputField pField)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

sal_uInt16 MSWordExportBase::DuplicateAbsNum ( OUString const &  rListId,
SwNumRule const &  rAbstractRule 
)

check if a new abstractNum is needed for this list

Definition at line 85 of file wrtw8num.cxx.

References void().

sal_uInt16 MSWordExportBase::DuplicateNumRule ( const SwNumRule pRule,
sal_uInt8  nLevel,
sal_uInt16  nVal 
)

In case of numbering restart.

List is set to restart at a particular value so for export make a completely new list based on this one and export that instead, which duplicates words behaviour in this respect.

Definition at line 65 of file wrtw8num.cxx.

References SwNumRule::Get(), SwNumRule::Set(), SvxNumberFormat::SetStart(), and USHRT_MAX.

SwNumRule * MSWordExportBase::DuplicateNumRuleImpl ( const SwNumRule pRule)
ErrCode MSWordExportBase::ExportDocument ( bool  bWriteAll)

The main function to export the document.

Definition at line 3227 of file wrtww8.cxx.

References CollectOutlineBookmarks(), DEFAULT_STYLES_COUNT, SwRedlineTable::empty(), err, ExportDocument_Impl(), GatherChapterFields(), SvtFilterOptions::Get(), SwDoc::GetCharFormats(), IDocumentLayoutAccess::GetCurrentLayout(), SwDoc::GetDocShell(), IDocumentDrawModelAccess::GetDrawModel(), SwNodes::GetEndOfContent(), sw::util::GetFrames(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetNodes(), SdrModel::GetPage(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), wwFontHelper::InitFontTable(), SvtFilterOptions::IsCalc2Excel(), SvtFilterOptions::IsImpress2PowerPoint(), SvtFilterOptions::IsMath2MathType(), SvtFilterOptions::IsWriter2WinWord(), m_aFontHelper, m_aFrames, m_aTOXArr, m_bBreakBefore, m_bEndAtTextEnd, m_bFootnoteAtTextEnd, m_bInWriteEscher, m_bInWriteTOX, m_bOrigShowChanges, m_bOutFirstPage, m_bOutFlyFrameAttrs, m_bOutGrf, m_bOutKF, m_bOutPageDescs, m_bOutTable, m_bStartTOX, m_bStyDef, m_eNewAnchorType, m_nCharFormatStart, m_nFormatCollStart, m_nLastFormatId, m_nOrigRedlineFlags, m_nStyleBeforeFly, m_nTextTyp, m_pCurrentStyle, m_pDoc, m_pEscher, m_pFlyOffset, m_pOCXExp, m_pOLEExp, m_pOrigPam, m_pOutFormatNode, m_pParentFrame, m_pRedlAuthors, m_pStyAttr, OLE_STARCALC_2_EXCEL, OLE_STARIMPRESS_2_POWERPOINT, OLE_STARMATH_2_MATHTYPE, OLE_STARWRITER_2_WINWORD, SdrObjList::RecalcObjOrdNums(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, SwVectorModifyBase< Value >::size(), TXT_MAINTEXT, and sw::util::UpdateFramePositions().

Referenced by DocxExportFilter::exportDocument(), RtfExportFilter::filter(), and SwWW8Writer::WriteStorage().

virtual ErrCode MSWordExportBase::ExportDocument_Impl ( )
protectedpure virtual

Format-dependent part of the actual export.

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by ExportDocument().

virtual void MSWordExportBase::ExportGrfBullet ( const SwTextNode rNd)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

void MSWordExportBase::ExportPoolItemsToCHP ( ww8::PoolItems rItems,
sal_uInt16  nScript,
const SvxFontItem pFont,
bool  bWriteCombChars = false 
)

Export the pool items to attributes (through an attribute output class).

Definition at line 211 of file ww8atr.cxx.

References SvxFontHeightItem::GetHeight(), isCHRATR(), isTXTATR(), RES_CHRATR_FONTSIZE, RES_TXTATR_CHARFMT, RES_TXTATR_FIELD, RES_TXTATR_INETFMT, SvxFontHeightItem::SetHeight(), and SfxPoolItem::Which().

Referenced by SwWW8AttrIter::OutAttr().

virtual bool MSWordExportBase::FieldsQuoted ( ) const
pure virtual

Determines if the import filter already quoted fields or not.

Implemented in WW8Export, DocxExport, and RtfExport.

bool MSWordExportBase::FormatHdFtContainsChapterField ( const SwFrameFormat rFormat) const
protected
void MSWordExportBase::GatherChapterFields ( )
protected
bool MSWordExportBase::GetAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nStt,
sal_Int32  nEnd,
IMarkVector rArr 
)
protected
std::shared_ptr< SvxBrushItem > MSWordExportBase::getBackground ( )
protected

Get background color of the document, if there is one.

Definition at line 1527 of file wrtww8.cxx.

References COL_AUTO(), SwFormat::GetBackgroundState(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), m_pDoc, and RES_BACKGROUND.

Referenced by RtfExport::WriteMainText().

OUString MSWordExportBase::GetBookmarkName ( sal_uInt16  nTyp,
const OUString *  pName,
sal_uInt16  nSeqNo 
)
static
bool MSWordExportBase::GetBookmarks ( const SwTextNode rNd,
sal_Int32  nStt,
sal_Int32  nEnd,
IMarkVector rArr 
)
protected
const SfxItemSet* MSWordExportBase::GetCurItemSet ( ) const
inline

Getter for pISet.

Definition at line 730 of file wrtww8.hxx.

References m_pISet.

Referenced by MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().

SvxFrameDirection MSWordExportBase::GetCurrentPageDirection ( ) const
SvxFrameDirection MSWordExportBase::GetDefaultFrameDirection ( ) const
virtual ExportFormat MSWordExportBase::GetExportFormat ( ) const
pure virtual
int MSWordExportBase::GetGrfIndex ( const SvxBrushItem rBrush)

Returns the index of a picture bullet, used in numberings.

Definition at line 1655 of file wrtww8.cxx.

References Graphic::GetChecksum(), SvxBrushItem::GetGraphic(), i, m_vecBulletPic, and nIndex.

const SwTextNode* MSWordExportBase::GetHdFtPageRoot ( ) const
inline

Top node of host page when in header/footer.

Definition at line 785 of file wrtww8.hxx.

References m_pTopNodeOfHdFtPage.

Referenced by SectionProperties().

sal_uInt16 MSWordExportBase::GetId ( const SwTextFormatColl rColl) const

Return the numeric id of the style.

Definition at line 138 of file wrtw8sty.cxx.

Referenced by WW8AttributeOutput::FormatDrop(), OutputTextNode(), and WW8Export::WriteMainText().

sal_uInt16 MSWordExportBase::GetId ( const SwCharFormat pFormat) const

Return the numeric id of the style.

Definition at line 130 of file wrtw8sty.cxx.

sal_uInt16 MSWordExportBase::GetId ( const SwTOXType rTOXType)

Definition at line 1899 of file ww8atr.cxx.

sal_uInt16 MSWordExportBase::GetId ( const SvxFontItem rFont)
inline

Return the numeric id of the font (and add it to the font list if needed)

Definition at line 620 of file wrtww8.hxx.

References wwFontHelper::GetId().

void MSWordExportBase::GetId ( const wwFont rFont)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 625 of file wrtww8.hxx.

References wwFontHelper::GetId().

const SfxPoolItem & MSWordExportBase::GetItem ( sal_uInt16  nWhich) const

Definition at line 803 of file wrtww8.cxx.

References sw::hack::GetSetWhichFromSwDocWhich(), and m_pDoc.

Referenced by GetItem(), WW8Export::OutGrf(), and WW8Ruby::WW8Ruby().

template<class T >
const T& MSWordExportBase::GetItem ( TypedWhichId< T >  nWhich) const
inline

Definition at line 631 of file wrtww8.hxx.

References GetItem().

sal_Int32 MSWordExportBase::GetNextPos ( SwWW8AttrIter const *  pAttrIter,
const SwTextNode rNode,
sal_Int32  nCurrentPos 
)
protected

Get the next position in the text node to output.

Definition at line 1820 of file wrtw8nds.cxx.

References GetSortedAnnotationMarks(), GetSortedBookmarks(), NearestAnnotationMark(), NearestBookmark(), and SwWW8AttrIter::WhereNext().

Referenced by OutputTextNode().

const NfKeywordTable & MSWordExportBase::GetNfKeywordTable ( )
protected
bool MSWordExportBase::GetNumberFormat ( const SwField rField,
OUString &  rStr 
)
sal_uInt16 MSWordExportBase::GetNumberingId ( const SwNumRule rNumRule)
const SwSectionFormat * MSWordExportBase::GetSectionFormat ( const SwNode rNd)
static
sal_uLong MSWordExportBase::GetSectionLineNo ( const SfxItemSet pSet,
const SwNode rNd 
)
static

Line number of the section start.

Definition at line 620 of file ww8atr.cxx.

References SwNode::GetContentNode(), SwFormatLineNumber::GetStartValue(), and RES_LINENUMBER.

Referenced by RtfExport::PrepareNewPageDesc().

void MSWordExportBase::GetSortedAnnotationMarks ( const SwWW8AttrIter rAttrs,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
protected
void MSWordExportBase::GetSortedBookmarks ( const SwTextNode rNd,
sal_Int32  nCurrentPos,
sal_Int32  nLen 
)
protected

Definition at line 2054 of file wrtw8nds.cxx.

References GetBookmarks(), SwNode::GetIndex(), m_rSortedBookmarksEnd, and m_rSortedBookmarksStart.

Referenced by GetNextPos().

const SfxPoolItem * MSWordExportBase::HasItem ( sal_uInt16  nWhich) const
bool MSWordExportBase::HasRefToObject ( sal_uInt16  nTyp,
const OUString *  pName,
sal_uInt16  nSeqNo 
)
virtual bool MSWordExportBase::ignoreAttributeForStyleDefaults ( sal_uInt16  ) const
inlinevirtual

Used to filter out attributes that can be e.g. written to .doc but not to .docx.

Reimplemented in DocxExport.

Definition at line 688 of file wrtww8.hxx.

Referenced by DocxExport::ignoreAttributeForStyleDefaults(), and MSWordStyles::SetStyleDefaults().

bool MSWordExportBase::IsInTable ( ) const

Return whether currently exported node is in table.

Definition at line 2887 of file wrtww8.cxx.

References SwPaM::GetNode(), and m_pTableInfo.

Referenced by WW8AttributeOutput::OutputFlyFrame_Impl(), OutputSectionNode(), OutputTextNode(), and WriteText().

void MSWordExportBase::NearestAnnotationMark ( sal_Int32 &  rNearest,
const sal_Int32  nCurrentPos,
bool  bNextPositionOnly 
)
protected

Find the nearest annotation mark from the current position.

Definition at line 1991 of file wrtw8nds.cxx.

References SwIndex::GetIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedAnnotationMarksEnd, m_rSortedAnnotationMarksStart, and SwPosition::nContent.

Referenced by GetNextPos().

bool MSWordExportBase::NearestBookmark ( sal_Int32 &  rNearest,
const sal_Int32  nCurrentPos,
bool  bNextPositionOnly 
)
protected

Find the nearest bookmark from the current position.

Returns false when there is no bookmark.

Definition at line 1959 of file wrtw8nds.cxx.

References SwIndex::GetIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedBookmarksEnd, m_rSortedBookmarksStart, and SwPosition::nContent.

Referenced by GetNextPos(), and UpdatePosition().

bool MSWordExportBase::NeedSectionBreak ( const SwNode rNd) const
protected
bool MSWordExportBase::NeedTextNodeSplit ( const SwTextNode rNd,
SwSoftPageBreakList pList 
) const
protected
bool MSWordExportBase::NoPageBreakSection ( const SfxItemSet pSet)
static

Definition at line 3060 of file wrtw8nds.cxx.

References SfxItemSet::GetItemState(), RES_BREAK, and RES_PAGEDESC.

Referenced by OutputSectionNode(), and SectionProperties().

void MSWordExportBase::NumberingDefinitions ( )

Write static data of SwNumRule - LSTF.

Definition at line 231 of file wrtw8num.cxx.

References n, and nCount.

Referenced by RtfExport::WriteNumbering().

void MSWordExportBase::NumberingLevel ( SwNumRule const &  rRule,
sal_uInt8  nLvl 
)
MSWordExportBase& MSWordExportBase::operator= ( const MSWordExportBase )
privatedelete
void MSWordExportBase::OutputContentNode ( SwContentNode rNode)
protected

Call the right (virtual) function according to the type of the item.

One of OutputTextNode(), OutputGrfNode(), or OutputOLENode()

Definition at line 3405 of file wrtw8nds.cxx.

References SwNode::GetGrfNode(), SwNode::GetNodeType(), SwNode::GetOLENode(), SwNode::GetTextNode(), Grf, Ole, OutputGrfNode(), OutputOLENode(), OutputTextNode(), SAL_WARN, and Text.

Referenced by WriteText().

void MSWordExportBase::OutputEndNode ( const SwEndNode rNode)
protectedvirtual

Output SwEndNode.

Reimplemented in DocxExport, and RtfExport.

Definition at line 4259 of file wrtww8.cxx.

References AttrOutput(), dbg_out(), m_pTableInfo, SAL_INFO, and AttributeOutputBase::TableNodeInfoInner().

Referenced by DocxExport::OutputEndNode(), and WriteText().

virtual void MSWordExportBase::OutputField ( const SwField pField,
ww::eField  eFieldType,
const OUString &  rFieldCmd,
FieldFlags  nMode = FieldFlags::All 
)
pure virtual

Write the field.

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

bool MSWordExportBase::OutputFollowPageDesc ( const SfxItemSet pSet,
const SwTextNode pNd 
)

The return value indicates, if a follow page desc is written.

Definition at line 592 of file ww8atr.cxx.

void MSWordExportBase::OutputFormat ( const SwFormat rFormat,
bool  bPapFormat,
bool  bChpFormat,
bool  bFlyFormat = false 
)
virtual void MSWordExportBase::OutputGrfNode ( const SwGrfNode )
protectedpure virtual

Output SwGrfNode.

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputContentNode().

void MSWordExportBase::OutputItemSet ( const SfxItemSet rSet,
bool  bPapFormat,
bool  bChpFormat,
sal_uInt16  nScript,
bool  bExportParentItemSet 
)
virtual void MSWordExportBase::OutputLinkedOLE ( const OUString &  )
protectedpure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

virtual void MSWordExportBase::OutputOLENode ( const SwOLENode )
protectedpure virtual

Output SwOLENode.

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputContentNode().

void MSWordExportBase::OutputSectionBreaks ( const SfxItemSet pSet,
const SwNode rNd,
bool  isCellOpen = false,
bool  isTextNodeEmpty = false 
)

Start new section.

WW only knows Break-After (page break and section breaks), whereas in SW page breaks exist both "before" and "after" and PageDesc exists only "before".

Therefore the breaks are iterated two times, namely before and after every line. Depending on the break type they're set before or after the line. Only functions can be called, which do not write in output area pO, because that one only exits once for CHP and PAP and therefore end up in the wrong one.

Definition at line 409 of file ww8atr.cxx.

References SfxItemSet::Count(), SwNode::FindPageDesc(), SwNode::FindTableNode(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwNode::GetContentNode(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SfxItemSet::GetItemState(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwFormatPageDesc::GetPageDesc(), SwTableBox::GetSttNd(), SwNode::GetTableBox(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), sw::util::IsPlausableSingleWordSection(), SwFormatPageDesc::KnowsPageDesc(), RES_BREAK, RES_PAGEDESC, and RES_POOLPAGE_FIRST.

Referenced by OutputTextNode(), and WW8Export::SectionBreaksAndFrames().

void MSWordExportBase::OutputSectionNode ( const SwSectionNode rSectionNode)
protected
void MSWordExportBase::OutputStartNode ( const SwStartNode rNode)
protected

Output SwStartNode.

Definition at line 4234 of file wrtww8.cxx.

References AttrOutput(), m_pTableInfo, SAL_INFO, and AttributeOutputBase::TableNodeInfoInner().

Referenced by WriteText().

void MSWordExportBase::OutputTextNode ( SwTextNode rNode)
protectedvirtual

Output SwTextNode.

Reimplemented in RtfExport.

Definition at line 2113 of file wrtw8nds.cxx.

References ADD_PARA_SPACING_TO_TABLE_CELLS, AllowPostponedTextInTable(), AppendAnnotationMarks(), AppendBookmark(), AppendBookmarks(), AppendSmartTags(), SwTextNode::AreListLevelIndentsApplicable(), aStr, AttrOutput(), BookmarkToWord(), CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, SfxItemSet::ClearItem(), Close, CmdEnd, CmdStart, CorrectTabStopInSet(), Delete, eFieldId, ww::eFORMDATE, SwTextAttr::End(), AttributeOutputBase::EndParagraph(), AttributeOutputBase::EndParagraphProperties(), AttributeOutputBase::EndRun(), AttributeOutputBase::EndRunProperties(), AttributeOutputBase::EndTOX(), ExportGrfBullet(), SwNode::FindSectionNode(), SwNode::FindTableNode(), FLY_POSTPONED, FLY_PROCESSED, AttributeOutputBase::FormatDrop(), AttributeOutputBase::GenerateBookmarksForSequenceField(), IDocumentSettingAccess::get(), SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), SwTextNode::GetActualListLevel(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SwContentNode::GetAttr(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwFormat::GetBreak(), SwWW8AttrIter::GetCharSet(), SwNodes::GetEndOfContent(), GetExportFormat(), IDocumentMarkAccess::getFieldmarkAt(), IDocumentMarkAccess::getFieldmarkFor(), sw::mark::IFieldmark::GetFieldname(), SvxNumberFormat::GetFirstLineOffset(), SwNode::GetFlyFormat(), SwPageDesc::GetFollow(), SwFormat::GetFrameDir(), ww8::Frame::GetFrameFormat(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), GetId(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentSettingAccess(), SvxNumberFormat::GetIndentAt(), SwNode::GetIndex(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SwFormat::GetKeep(), SwFormat::GetLayoutSplit(), SvxLRSpaceItem::GetLeft(), sw::mark::IMark::GetName(), SwNumRule::GetName(), GetNextPos(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNumRule::GetNumFormat(), SwTextNode::GetNumRule(), SwWW8AttrIter::GetParagraphLevelRedline(), AttributeOutputBase::GetParagraphMarkerRedline(), sw::mark::IFieldmark::GetParameters(), SwTableLines::GetPos(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), SwWW8AttrIter::GetRunLevelRedline(), SwSectionNode::GetSection(), SwWW8AttrIter::GetSnippet(), SwTextAttr::GetStart(), SwTableBox::GetSttNd(), SwFormatAutoFormat::GetStyleHandle(), SwContentNode::GetSwAttrSet(), SwWW8AttrIter::GetSwFormatDrop(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwTable::GetTabLines(), SwTextNode::GetText(), SvxLRSpaceItem::GetTextFirstLineOfst(), SwNode::GetTextNode(), SwSection::GetType(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SfxBoolItem::GetValue(), GetWordFirstLineOffset(), SwNodes::GoNext(), SwNode::HasPrevNextLayNode(), i, SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SvxTabStopItem::Insert(), Insert, SwWW8AttrIter::IsAnchorLinkedToThisNode(), SwTextNode::IsCountedInList(), SwWW8AttrIter::IsDropCap(), SwNode::IsEndNode(), SwWW8AttrIter::IsExportableAttr(), IsInTable(), SwTextNode::IsNumbered(), SwWW8AttrIter::IsParaRTL(), SwWW8AttrIter::IsTextAttr(), SwNode::IsTextNode(), SwWW8AttrIter::IsWatermarkFrame(), SwFormatPageDesc::KnowsPageDesc(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, lcl_getFieldCode(), lcl_getFieldId(), lcl_getFormatCollection(), m_aCurrentCharPropStarts, m_bAddFootnoteTab, m_bInWriteTOX, m_bStartTOX, m_nStyleBeforeFly, m_nTextTyp, m_pCurrentPageDesc, m_pDoc, m_pOutFormatNode, m_pParentFrame, m_pStyAttr, m_pTableInfo, MAXLEVEL, ND_HAS_NEXT_LAYNODE, ND_HAS_PREV_LAYNODE, NeedTextNodeSplit(), ODF_CODE_PARAM, ODF_FORMCHECKBOX, ODF_FORMDATE, ODF_FORMDROPDOWN, ODF_FORMTEXT, ODF_HYPERLINK, ODF_ID_PARAM, ODF_OLE_PARAM, ODF_UNHANDLED, SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), SwWW8AttrIter::OutFlys(), OutputField(), AttributeOutputBase::OutputFKP(), OutputFormat(), OutputItemSet(), OutputLinkedOLE(), OutputSectionBreaks(), AttributeOutputBase::PageBreakBefore(), PARA_SPACE_MAX_AT_PAGES, AttributeOutputBase::ParagraphStyle(), PrepareNewPageDesc(), SfxItemSet::Put(), AttributeOutputBase::Redline(), SwWW8AttrIter::RequiresImplicitBookmark(), RES_BREAK, RES_FRAMEDIR, RES_KEEP, RES_LR_SPACE, RES_PAGEDESC, RES_PARATR_ADJUST, RES_PARATR_LIST_AUTOFMT, RES_PARATR_NUMRULE, RES_PARATR_TABSTOP, RES_TXTATR_AUTOFMT, RES_TXTATR_CHARFMT, RES_UL_SPACE, AttributeOutputBase::ResetFlyProcessingFlag(), AttributeOutputBase::RunText(), SAL_INFO, AttributeOutputBase::SectionBreaks(), AttributeOutputBase::SetAnchorIsLinkedToNode(), SwFormat::SetFormatAttr(), AttributeOutputBase::SetStateOfFlyFrame(), SvxLRSpaceItem::SetTextFirstLineOfst(), SvxLRSpaceItem::SetTextLeft(), SwTableLines::size(), Start, AttributeOutputBase::StartParagraph(), AttributeOutputBase::StartParagraphProperties(), AttributeOutputBase::StartRun(), AttributeOutputBase::StartRunProperties(), AttributeOutputBase::StartTOX(), AttributeOutputBase::TableInfoCell(), TOX_CONTENT_SECTION, TXT_EDN, TXT_FTN, TXT_HDFT, UpdatePosition(), SfxPoolItem::Which(), WriteCR(), WriteFormData(), WriteHyperlinkData(), and AttributeOutputBase::WritePostitFieldReference().

Referenced by OutputContentNode(), and RtfExport::OutputTextNode().

sal_uInt16 MSWordExportBase::OverrideNumRule ( SwNumRule const &  rExistingRule,
OUString const &  rListId,
SwNumRule const &  rAbstractRule 
)

Create a overriding numbering definition (if it does not yet exist)

Returns
index of the overriding numbering definition

Definition at line 108 of file wrtw8num.cxx.

References SwNumRule::GetDefaultListId().

virtual bool MSWordExportBase::PreferPageBreakBefore ( ) const
pure virtual

If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).

Implemented in WW8Export, DocxExport, and RtfExport.

virtual void MSWordExportBase::PrepareNewPageDesc ( const SfxItemSet pSet,
const SwNode rNd,
const SwFormatPageDesc pNewPgDescFormat,
const SwPageDesc pNewPgDesc 
)
protectedpure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

virtual sal_uLong MSWordExportBase::ReplaceCr ( sal_uInt8  nChar)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputSectionNode(), and WriteText().

void MSWordExportBase::RestoreData ( )
virtual
void MSWordExportBase::SaveData ( sal_uLong  nStt,
sal_uLong  nEnd 
)
virtual
virtual void MSWordExportBase::SectionBreaksAndFrames ( const SwTextNode rNode)
protectedpure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by WriteText().

void MSWordExportBase::SectionProperties ( const WW8_SepInfo rSectionInfo,
WW8_PdAttrDesc pA = nullptr 
)

Write section properties.

pA is ignored for docx.

Definition at line 1525 of file wrtw8sty.cxx.

References All, AttrOutput(), WW8_SepInfo::bIsFirstParagraph, AttributeOutputBase::EndSection(), SwFormat::GetAttrSet(), SwNode::GetContentNode(), GetExportFormat(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFormatAttr(), GetHdFtPageRoot(), SwFormat::GetItemState(), SvxLRSpaceItem::GetLeft(), SwPageDesc::GetLeft(), SwDoc::GetLineNumberInfo(), SwPageDesc::GetMaster(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwDoc::GetPageDesc(), SwPageDesc::GetPageFormatOfNode(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), SwContentNode::GetSwAttrSet(), SwNode::GetTextNode(), SwPageDesc::GetVerticalAdjustment(), SwNode::IsContentNode(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFollowNextPageOfNode(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), SwLineNumberInfo::IsPaintLineNumbers(), sw::util::IsPlausableSingleWordSection(), WW8_SepInfo::IsProtected(), Left, m_bOutFirstPage, m_bOutPageDescs, m_pCurrentPageDesc, m_pDoc, m_pISet, WW8_SepInfo::nLnNumRestartNo, NoPageBreakSection(), WW8_SepInfo::oPgRestartNo, AttributeOutputBase::OutputItem(), AttributeOutputBase::OutputStyleItemSet(), WW8_SepInfo::pPageDesc, WW8_SepInfo::pPDNd, WW8_SepInfo::pSectionFormat, SwPageDesc::ReadUseOn(), RES_COL, RES_LR_SPACE, RES_PAPER_BIN, Right, AttributeOutputBase::SectFootnoteEndnotePr(), AttributeOutputBase::SectionBiDi(), AttributeOutputBase::SectionFormProtection(), AttributeOutputBase::SectionLineNumbering(), AttributeOutputBase::SectionPageBorders(), AttributeOutputBase::SectionPageNumbering(), AttributeOutputBase::SectionTitlePage(), AttributeOutputBase::SectionType(), SwFormatCol::SetAdjustValue(), MSWordSections::SetFooterFlag(), SetHdFtPageRoot(), MSWordSections::SetHeaderFlag(), SetupSectionPositions(), AttributeOutputBase::StartSection(), AttributeOutputBase::TextVerticalAdjustment(), TrueFrameDirection(), WriteHeadersFooters(), nsHdFtFlags::WW8_FOOTER_EVEN, nsHdFtFlags::WW8_FOOTER_FIRST, nsHdFtFlags::WW8_FOOTER_ODD, nsHdFtFlags::WW8_HEADER_EVEN, nsHdFtFlags::WW8_HEADER_FIRST, and nsHdFtFlags::WW8_HEADER_ODD.

Referenced by WW8_WrPlcSepx::WriteKFText().

virtual MSWordSections& MSWordExportBase::Sections ( ) const
pure virtual

Access to the sections/headers/footres.

Implemented in WW8Export, DocxExport, and RtfExport.

void MSWordExportBase::SetCurItemSet ( const SfxItemSet pS)
inline

Setter for pISet.

Definition at line 733 of file wrtww8.hxx.

Referenced by SwWW8AttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().

void MSWordExportBase::SetCurPam ( sal_uLong  nStt,
sal_uLong  nEnd 
)
protected
bool MSWordExportBase::SetCurrentPageDescFromNode ( const SwNode rNd)
protected
void MSWordExportBase::SetHdFtPageRoot ( const SwTextNode pNd)
inline

Top node of host page when in header/footer.

Definition at line 782 of file wrtww8.hxx.

Referenced by SectionProperties().

virtual void MSWordExportBase::SetupSectionPositions ( WW8_PdAttrDesc )
inlinevirtual

Setup the pA's info.

Reimplemented in WW8Export.

Definition at line 779 of file wrtww8.hxx.

Referenced by SectionProperties().

void MSWordExportBase::SubstituteBullet ( OUString &  rNumStr,
rtl_TextEncoding &  rChrSet,
OUString &  rFontName 
) const

Definition at line 680 of file wrtw8num.cxx.

References msfilter::util::bestFitOpenSymbolToMSFont(), and u.

virtual bool MSWordExportBase::SupportsOneColumnBreak ( ) const
pure virtual

Determines if column break with one column should be exported or not.

Implemented in WW8Export, DocxExport, and RtfExport.

SvxFrameDirection MSWordExportBase::TrueFrameDirection ( const SwFrameFormat rFlyFormat) const
void MSWordExportBase::UpdatePosition ( SwWW8AttrIter pAttrIter,
sal_Int32  nCurrentPos 
)
protected

Update the information for GetNextPos().

Definition at line 1837 of file wrtw8nds.cxx.

References NearestBookmark(), SwWW8AttrIter::NextPos(), and SwWW8AttrIter::WhereNext().

Referenced by OutputTextNode().

void MSWordExportBase::UpdateTocSectionNodeProperties ( const SwSectionNode rSectionNode)
staticprotected
virtual void MSWordExportBase::WriteChar ( sal_Unicode  c)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by MSWord_SdrAttrIter::OutAttr().

virtual void MSWordExportBase::WriteCR ( ww8::WW8TableNodeInfoInner::Pointer_t  pTableTextNodeInfoInner = ww8::WW8TableNodeInfoInner::Pointer_t())
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

virtual void MSWordExportBase::WriteFormData ( const ::sw::mark::IFieldmark rFieldmark)
pure virtual

Write the data of the form field.

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

void MSWordExportBase::WriteHeaderFooterText ( const SwFormat rFormat,
bool  bHeader 
)
virtual void MSWordExportBase::WriteHeadersFooters ( sal_uInt8  nHeadFootFlags,
const SwFrameFormat rFormat,
const SwFrameFormat rLeftFormat,
const SwFrameFormat rFirstPageFormat,
sal_uInt8  nBreakCode 
)
pure virtual

Output the actual headers and footers.

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by SectionProperties().

virtual void MSWordExportBase::WriteHyperlinkData ( const ::sw::mark::IFieldmark rFieldmark)
pure virtual

Implemented in WW8Export, DocxExport, and RtfExport.

Referenced by OutputTextNode().

virtual void MSWordExportBase::WriteNumbering ( )
pure virtual

Output the numbering table.

Implemented in WW8Export, DocxExport, and RtfExport.

void MSWordExportBase::WriteSpecialText ( sal_uLong  nStart,
sal_uLong  nEnd,
sal_uInt8  nTTyp 
)

Set the pCurPam appropriately and call WriteText().

Used to export paragraphs in footnotes/endnotes/etc.

! Simply shifting the PaM without restoring should do the job too

Definition at line 1824 of file wrtww8.cxx.

References m_aLinkedTextboxesHelper, m_bAddFootnoteTab, m_bOutPageDescs, m_nCurEnd, m_nCurStart, m_nTextTyp, m_pCurPam, m_pOrigPam, m_pTableInfo, SetCurPam(), TXT_EDN, TXT_FTN, and WriteText().

Referenced by WW8_WrPlcSubDoc::WriteGenericText(), and WriteHeaderFooterText().

void MSWordExportBase::WriteText ( )

Iterate through the nodes and call the appropriate OutputNode() on them.

Definition at line 2714 of file wrtww8.cxx.

References AppendSection(), SwIndex::Assign(), SwNodeIndex::Assign(), SwNode::FindPageDesc(), SwFormat::GetBalancedColumns(), SwFormat::GetCol(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwNode::GetEndNode(), SwNodes::GetEndOfContent(), SwSection::GetFormat(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemState(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwNode::GetNodes(), SwFormatCol::GetNumCols(), SwSectionFormat::GetParent(), SwPaM::GetPoint(), SwContentNode::GetpSwAttrSet(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwNode::GetStartNode(), SwTableNode::GetTable(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwSection::GetType(), SfxBoolItem::GetValue(), SwNode::IsContentNode(), SwNode::IsEndNode(), IsInTable(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), m_bStartTOX, m_nCurEnd, m_nCurStart, m_nTextTyp, m_pCurrentPageDesc, m_pTableInfo, SwPosition::nContent, NeedTextNodeSplit(), SwPosition::nNode, nPos, OutputContentNode(), OutputEndNode(), OutputSectionNode(), OutputStartNode(), ReplaceCr(), RES_PAGEDESC, SAL_INFO, SAL_WARN, SectionBreaksAndFrames(), SetProgressState(), SwNode::StartOfSectionNode(), TOX_CONTENT_SECTION, TOX_HEADER_SECTION, TXT_EDN, TXT_FTN, and TXT_MAINTEXT.

Referenced by WW8AttributeOutput::OutputFlyFrame_Impl(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), and WriteSpecialText().

Member Data Documentation

std::vector<sal_uLong> MSWordExportBase::m_aChapterFieldLocs

Definition at line 457 of file wrtww8.hxx.

std::stack< sal_Int32 > MSWordExportBase::m_aCurrentCharPropStarts

To remember the position in a run.

Definition at line 472 of file wrtww8.hxx.

Referenced by SwWW8AttrIter::GetSnippet(), SwWW8AttrIter::HasTextItem(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), and OutputTextNode().

wwFontHelper MSWordExportBase::m_aFontHelper
ww8::Frames MSWordExportBase::m_aFrames
std::vector<aBookmarkPair> MSWordExportBase::m_aImplicitBookmarks
std::map<OUString,LinkedTextboxInfo> MSWordExportBase::m_aLinkedTextboxesHelper

Definition at line 515 of file wrtww8.hxx.

Referenced by SwWW8AttrIter::OutFlys(), and WriteSpecialText().

OUString const MSWordExportBase::m_aMainStg

Definition at line 458 of file wrtww8.hxx.

Referenced by WW8Export::ExportDocument_Impl().

WW8OleMap MSWordExportBase::m_aOleMap

Definition at line 478 of file wrtww8.hxx.

Referenced by WW8Export::OutputOLENode().

std::map< sal_uInt16, sal_uInt16 > MSWordExportBase::m_aRuleDuplicates

Definition at line 471 of file wrtww8.hxx.

std::stack< MSWordSaveData > MSWordExportBase::m_aSaveData

Stack to remember the nesting (see MSWordSaveData for more)

Definition at line 581 of file wrtww8.hxx.

Referenced by RestoreData(), WW8Export::RestoreData(), SaveData(), and WW8Export::SaveData().

std::vector<const SwTOXType*> MSWordExportBase::m_aTOXArr

Definition at line 459 of file wrtww8.hxx.

Referenced by ExportDocument().

bool MSWordExportBase::m_bAddFootnoteTab

Definition at line 573 of file wrtww8.hxx.

Referenced by OutputTextNode(), and WriteSpecialText().

bool MSWordExportBase::m_bBreakBefore

Definition at line 551 of file wrtww8.hxx.

Referenced by ExportDocument().

bool MSWordExportBase::m_bEndAtTextEnd

Definition at line 563 of file wrtww8.hxx.

Referenced by ExportDocument(), and WW8_WrPlcSepx::WriteFootnoteEndText().

bool MSWordExportBase::m_bExportModeRTF

Definition at line 570 of file wrtww8.hxx.

Referenced by RtfExport::RtfExport().

bool MSWordExportBase::m_bFirstTOCNodeWithSection

Definition at line 498 of file wrtww8.hxx.

Referenced by MSWordSections::MSWordSections().

bool MSWordExportBase::m_bFontSizeWritten

Is font size written already as part of the current character properties?

Definition at line 572 of file wrtww8.hxx.

Referenced by MSWord_SdrAttrIter::OutAttr().

bool MSWordExportBase::m_bFootnoteAtTextEnd

Definition at line 562 of file wrtww8.hxx.

Referenced by ExportDocument(), and WW8_WrPlcSepx::WriteFootnoteEndText().

bool MSWordExportBase::m_bHasFtr

Definition at line 565 of file wrtww8.hxx.

Referenced by WW8_WrPlcSepx::OutHeaderFooter(), and WriteHeaderFooterText().

bool MSWordExportBase::m_bHasHdr

Definition at line 564 of file wrtww8.hxx.

Referenced by WW8_WrPlcSepx::OutHeaderFooter(), and WriteHeaderFooterText().

bool MSWordExportBase::m_bHideTabLeaderAndPageNumbers

Definition at line 569 of file wrtww8.hxx.

bool MSWordExportBase::m_bInWriteEscher
bool MSWordExportBase::m_bInWriteTOX

Definition at line 561 of file wrtww8.hxx.

Referenced by ExportDocument(), OutputTextNode(), RestoreData(), and SaveData().

bool MSWordExportBase::m_bLinkedTextboxesHelperInitialized = false

Definition at line 516 of file wrtww8.hxx.

Referenced by SwWW8AttrIter::OutFlys().

bool MSWordExportBase::m_bOrigShowChanges

Remember the original Show Changes mode.

Definition at line 490 of file wrtww8.hxx.

Referenced by ExportDocument().

bool MSWordExportBase::m_bOutFirstPage

Definition at line 555 of file wrtww8.hxx.

Referenced by ExportDocument(), and SectionProperties().

bool MSWordExportBase::m_bOutFlyFrameAttrs
bool MSWordExportBase::m_bOutGrf

Definition at line 558 of file wrtww8.hxx.

Referenced by ExportDocument(), and WW8Export::OutGrf().

bool MSWordExportBase::m_bOutKF

Definition at line 552 of file wrtww8.hxx.

Referenced by ExportDocument(), NeedSectionBreak(), and WriteHeaderFooterText().

bool MSWordExportBase::m_bOutPageDescs
bool MSWordExportBase::m_bOutTable
bool MSWordExportBase::m_bPrevTextNodeIsEmpty

Definition at line 497 of file wrtww8.hxx.

bool MSWordExportBase::m_bStartTOX
bool MSWordExportBase::m_bStyDef
bool MSWordExportBase::m_bSubstituteBullets

Definition at line 566 of file wrtww8.hxx.

Referenced by RtfExport::RtfExport().

bool MSWordExportBase::m_bTabInTOC

Definition at line 567 of file wrtww8.hxx.

RndStdIds MSWordExportBase::m_eNewAnchorType
std::map<OUString, size_t> MSWordExportBase::m_Lists

list-id -> abstractnumdef index

Definition at line 468 of file wrtww8.hxx.

sal_uInt16 MSWordExportBase::m_nCharFormatStart

Definition at line 481 of file wrtww8.hxx.

Referenced by ExportDocument().

sal_uLong MSWordExportBase::m_nCurEnd

Definition at line 576 of file wrtww8.hxx.

Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().

sal_uLong MSWordExportBase::m_nCurStart

Definition at line 576 of file wrtww8.hxx.

Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().

sal_uInt16 MSWordExportBase::m_nFormatCollStart

Definition at line 482 of file wrtww8.hxx.

Referenced by ExportDocument().

unsigned int MSWordExportBase::m_nHdFtIndex

Definition at line 487 of file wrtww8.hxx.

Referenced by WW8Export::GetHdFtIndex(), and WW8Export::IncrementHdFtIndex().

sal_uInt16 MSWordExportBase::m_nLastFormatId

Style of last TextNode in normal range.

Definition at line 485 of file wrtww8.hxx.

Referenced by ExportDocument(), and WW8Export::WriteMainText().

sal_Int32 MSWordExportBase::m_nLinkedTextboxesChainId =0

Definition at line 517 of file wrtww8.hxx.

RedlineFlags MSWordExportBase::m_nOrigRedlineFlags

Remember the original redline mode.

Definition at line 489 of file wrtww8.hxx.

Referenced by ExportDocument(), RtfExport::ExportDocument_Impl(), and WW8Export::ExportDocument_Impl().

sal_uInt16 MSWordExportBase::m_nStyleBeforeFly

style number of the node

to which the Fly is connected

Definition at line 483 of file wrtww8.hxx.

Referenced by ExportDocument(), OutputTextNode(), and WW8AttributeOutput::TableNodeInfoInner().

sal_uInt8 MSWordExportBase::m_nTextTyp
sal_uInt16 MSWordExportBase::m_nUniqueList

current number for creating unique list names

Definition at line 486 of file wrtww8.hxx.

Referenced by ~MSWordExportBase().

std::map<size_t, std::pair<size_t, size_t> > MSWordExportBase::m_OverridingNums

overriding numdef index -> (existing numdef index, abstractnumdef index)

Definition at line 464 of file wrtww8.hxx.

std::map<std::pair<size_t, size_t>, size_t> MSWordExportBase::m_OverridingNumsR

same in reverse

Definition at line 466 of file wrtww8.hxx.

WW8_WrPlcAnnotations* MSWordExportBase::m_pAtn
WW8_WrtBookmarks* MSWordExportBase::m_pBkmks
MSWordAttrIter* MSWordExportBase::m_pChpIter

Definition at line 501 of file wrtww8.hxx.

Referenced by MSWordAttrIter::MSWordAttrIter(), and MSWordAttrIter::~MSWordAttrIter().

std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pChpPlc
std::shared_ptr<SwUnoCursor>& MSWordExportBase::m_pCurPam
const SwPageDesc* MSWordExportBase::m_pCurrentPageDesc
const SwFormat* MSWordExportBase::m_pCurrentStyle
SwDoc* MSWordExportBase::m_pDoc

Definition at line 575 of file wrtww8.hxx.

Referenced by AddLinkTarget(), RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), CollectGrfsOfBullets(), WW8Export::CreateEscher(), ExportDocument(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), GetAnnotationMarks(), getBackground(), GetBookmarks(), WW8Export::GetCurrentPageBgBrush(), GetCurrentPageDirection(), GetDefaultFrameDirection(), SwBasicEscherEx::GetInvisibleHellId(), MSWord_SdrAttrIter::GetItem(), SwWW8AttrIter::GetParagraphLevelRedline(), SwWW8AttrIter::GetRunLevelRedline(), AttributeOutputBase::GetTablePageSize(), MSWord_SdrAttrIter::HasTextItem(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwBasicEscherEx::Init(), lcl_getFormatCollection(), MSWordSections::MSWordSections(), MSWordStyles::MSWordStyles(), MSWord_SdrAttrIter::OutAttr(), RtfExport::OutColorTable(), WW8Export::OutGrf(), MSWord_SdrAttrIter::OutParaAttr(), WW8AttributeOutput::OutputFlyFrame_Impl(), WW8Export::OutputLinkedOLE(), OutputTextNode(), WW8Export::PrepareStorage(), WW8Export::RestoreMacroCmds(), SwWW8AttrIter::SearchNext(), WW8AttributeOutput::SectFootnoteEndnotePr(), SectionProperties(), SetCurPam(), MSWord_SdrAttrIter::SetItemsThatDifferFromStandard(), MSWordStyles::SetStyleDefaults(), SwEscherEx::SwEscherEx(), SwWW8AttrIter::SwWW8AttrIter(), WW8AttributeOutput::TableDefinition(), WW8Export::TestOleNeedsGraphic(), WriteDop(), WW8Export::WriteFkpPlcUsw(), WW8_WrPlcSepx::WriteFootnoteEndText(), RtfExport::WriteFootnoteSettings(), RtfExport::WriteInfo(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), SwEscherEx::WriteOCXControl(), RtfExport::WritePageDescTable(), PlcDrawObj::WritePlc(), RtfExport::WriteRevTab(), RtfExport::WriteUserProps(), and WW8Ruby::WW8Ruby().

SwEscherEx* MSWordExportBase::m_pEscher
std::unique_ptr<WW8_WrtFactoids> MSWordExportBase::m_pFactoids
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldAtn
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldEdn
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldFootnote
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHdFt
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHFTextBxs
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldMain
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldTextBxs
Point* MSWordExportBase::m_pFlyOffset
std::unique_ptr<SwWW8WrGrf> MSWordExportBase::m_pGrf
HdFtPlcDrawObj* MSWordExportBase::m_pHFSdrObjs
WW8_WrPlcTextBoxes * MSWordExportBase::m_pHFTextBxs
const SfxItemSet* MSWordExportBase::m_pISet
std::shared_ptr<NfKeywordTable> MSWordExportBase::m_pKeyMap

Definition at line 475 of file wrtww8.hxx.

Referenced by GetNfKeywordTable().

std::unique_ptr<WW8_WrMagicTable> MSWordExportBase::m_pMagicTable
std::unique_ptr<SwMSConvertControls> MSWordExportBase::m_pOCXExp

Definition at line 477 of file wrtww8.hxx.

Referenced by ExportDocument(), WW8Export::GetOCXExp(), and ~MSWordExportBase().

std::unique_ptr<SvxMSExportOLEObjects> MSWordExportBase::m_pOLEExp

Definition at line 476 of file wrtww8.hxx.

Referenced by ExportDocument(), WW8Export::GetOLEExp(), and ~MSWordExportBase().

SwPaM* MSWordExportBase::m_pOrigPam

Definition at line 578 of file wrtww8.hxx.

Referenced by ExportDocument(), RestoreData(), SaveData(), SetCurPam(), and WriteSpecialText().

const SwModify* MSWordExportBase::m_pOutFormatNode
std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pPapPlc
const ww8::Frame* MSWordExportBase::m_pParentFrame
WW8_WrPct* MSWordExportBase::m_pPiece
WW8_WrtRedlineAuthor* MSWordExportBase::m_pRedlAuthors
MainTextPlcDrawObj* MSWordExportBase::m_pSdrObjs
const SwAttrSet* MSWordExportBase::m_pStyAttr

Definition at line 537 of file wrtww8.hxx.

Referenced by ExportDocument(), OutputTextNode(), and WW8AttributeOutput::ParaTabStop().

std::unique_ptr<MSWordStyles> MSWordExportBase::m_pStyles
ww8::WW8TableInfo::Pointer_t MSWordExportBase::m_pTableInfo
WW8_WrPlcTextBoxes* MSWordExportBase::m_pTextBxs
const SwTextNode* MSWordExportBase::m_pTopNodeOfHdFtPage

Top node of host page when in hd/ft.

Definition at line 470 of file wrtww8.hxx.

Referenced by GetHdFtPageRoot().

std::unique_ptr<SwNumRuleTable> MSWordExportBase::m_pUsedNumTable

Definition at line 462 of file wrtww8.hxx.

Referenced by RtfExport::WriteNumbering(), and ~MSWordExportBase().

IMarkVector MSWordExportBase::m_rSortedAnnotationMarksEnd

Definition at line 588 of file wrtww8.hxx.

Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().

IMarkVector MSWordExportBase::m_rSortedAnnotationMarksStart

Definition at line 587 of file wrtww8.hxx.

Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().

IMarkVector MSWordExportBase::m_rSortedBookmarksEnd

Definition at line 586 of file wrtww8.hxx.

Referenced by GetSortedBookmarks(), and NearestBookmark().

IMarkVector MSWordExportBase::m_rSortedBookmarksStart

Definition at line 585 of file wrtww8.hxx.

Referenced by GetSortedBookmarks(), and NearestBookmark().

std::vector<const Graphic*> MSWordExportBase::m_vecBulletPic
protected

Vector to record all the graphics of bullets.

Definition at line 914 of file wrtww8.hxx.

Referenced by BulletDefinitions(), CollectGrfsOfBullets(), WW8Export::ExportGrfBullet(), GetGrfIndex(), and RtfExport::WriteNumbering().


The documentation for this class was generated from the following files: