LibreOffice Module sw (master) 1
|
Base class for WW8Export and DocxExport. More...
#include <wrtww8.hxx>
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 (SwNodeOffset nStart, SwNodeOffset 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) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
const SfxPoolItem & | GetItem (sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetItem (TypedWhichId< T > nWhich) const |
bool | HasRefToAttr (const OUString &rName) |
Find the reference. More... | |
bool | HasRefToFootOrEndnote (const bool isEndNote, const sal_uInt16 nSeqNo) |
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... | |
SwNumRule * | DuplicateNumRuleImpl (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... | |
void | AddListLevelOverride (sal_uInt16 nListId, sal_uInt16 nLevelNum, sal_uInt16 nStartAt) |
Store list level overrides (restart of list) More... | |
virtual AttributeOutputBase & | AttrOutput () const =0 |
Access to the attribute output class. More... | |
virtual MSWordSections & | Sections () const =0 |
Access to the sections/headers/footres. 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 | 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, const SwRedlineData *pSwRedline=nullptr)=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 SfxItemSet * | GetCurItemSet () const |
Getter for pISet. More... | |
void | SetCurItemSet (const SfxItemSet *pS) |
Setter for pISet. More... | |
virtual void | SaveData (SwNodeOffset nStt, SwNodeOffset 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) |
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 SwTextNode * | GetHdFtPageRoot () const |
Top node of host page when in header/footer. More... | |
virtual void | WriteHeadersFooters (sal_uInt8 nHeadFootFlags, const SwFrameFormat &rFormat, const SwFrameFormat &rLeftHeaderFormat, const SwFrameFormat &rLeftFooterFormat, const SwFrameFormat &rFirstPageFormat, sal_uInt8 nBreakCode, bool bEvenAndOddHeaders)=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_uInt64 | ReplaceCr (sal_uInt8 nChar)=0 |
const SfxPoolItem * | HasItem (sal_uInt16 nWhich) const |
template<class T > | |
const T * | HasItem (TypedWhichId< T > nWhich) const |
int | GetGrfIndex (const SvxBrushItem &rBrush) |
Returns the index of a picture bullet, used in numberings. More... | |
tools::Long | GetParaTabStopOffset () const |
virtual ExportFormat | GetExportFormat () const =0 |
MSWordExportBase (SwDoc &rDocument, 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 SwSectionFormat * | GetSectionFormat (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) |
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 (std::u16string_view 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, bool bExtraPageBreak=false)=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 NfKeywordTable & | GetNfKeywordTable () |
void | SetCurPam (SwNodeOffset nStt, SwNodeOffset nEnd) |
std::unique_ptr< SvxBrushItem > | getBackground () |
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 | |
MSWordExportBase & | operator= (const MSWordExportBase &)=delete |
Base class for WW8Export and DocxExport.
Definition at line 450 of file wrtww8.hxx.
typedef std::vector< ::sw::mark::IMark* > MSWordExportBase::IMarkVector |
Used to split the runs according to the bookmarks start and ends.
Definition at line 585 of file wrtww8.hxx.
Enumerator | |
---|---|
DOC | |
RTF | |
DOCX |
Definition at line 827 of file wrtww8.hxx.
MSWordExportBase::MSWordExportBase | ( | SwDoc & | rDocument, |
std::shared_ptr< SwUnoCursor > & | pCurrentPam, | ||
SwPaM * | pOriginalPam | ||
) |
Definition at line 3932 of file wrtww8.cxx.
References FLY_AS_CHAR, and make_shared().
|
virtual |
Definition at line 3986 of file wrtww8.cxx.
References m_nUniqueList, m_oOLEExp, m_pOCXExp, and m_pUsedNumTable.
|
privatedelete |
void MSWordExportBase::AbstractNumberingDefinitions | ( | ) |
Write all Levels for all SwNumRules - LVLF.
Definition at line 384 of file wrtw8num.cxx.
References AttrOutput(), AttributeOutputBase::EndAbstractNumbering(), SwNumRule::IsContinusNum(), m_pUsedNumTable, n, nCount, WW8ListManager::nMaxLevel, WW8ListManager::nMinLevel, NumberingLevel(), and AttributeOutputBase::StartAbstractNumbering().
Referenced by DocxExport::WriteNumbering(), RtfExport::WriteNumbering(), and WW8Export::WriteNumbering().
|
protected |
Definition at line 3244 of file wrtww8.cxx.
References aName, aURL, BookmarkToWriter(), cMarkSeparator, INetURLObject::decode(), SwDoc::FindFlyByName(), SwTable::FindTable(), SwDoc::FindTableFormatByName(), SwNode::FindTableNode(), SwPosition::GetNodeIndex(), SwDoc::GetSections(), SwDoc::GotoOutline(), SwDoc::GotoTOXMark(), Grf, i, m_aImplicitBookmarks, m_pCurPam, m_rDoc, m_TOXMarkBookmarksByTOXMark, m_TOXMarkBookmarksByURL, name, nPos, Ole, sw::PrepareJumpToTOXMark(), Text, TOX_SAME_NXT, and INetURLObject::WithCharset.
Referenced by CollectOutlineBookmarks().
void MSWordExportBase::AddListLevelOverride | ( | sal_uInt16 | nListId, |
sal_uInt16 | nLevelNum, | ||
sal_uInt16 | nStartAt | ||
) |
Store list level overrides (restart of list)
Definition at line 115 of file wrtw8num.cxx.
References m_ListLevelOverrides.
Referenced by AttributeOutputBase::ParaNumRule().
|
pure virtual |
Determines the Section Breaks are to be added for TOX Section.
Implemented in DocxExport, RtfExport, and WW8Export.
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputTextNode().
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputTextNode(), SwWW8AttrIter::OutSwFormatRefMark(), and AttributeOutputBase::TextFootnote().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
|
protectedpure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputSectionNode(), and WriteText().
|
inlinevirtual |
Reimplemented in WW8Export.
Definition at line 715 of file wrtww8.hxx.
Referenced by OutputTextNode().
|
pure virtual |
Access to the attribute output class.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by AbstractNumberingDefinitions(), BulletDefinitions(), AttributeOutputBase::EndTOX(), ExportPoolItemsToCHP(), NumberingDefinitions(), NumberingLevel(), MSWord_SdrAttrIter::OutAttr(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), MSWord_SdrAttrIter::OutEEField(), SwWW8AttrIter::OutFlys(), MSWord_SdrAttrIter::OutParaAttr(), OutputEndNode(), OutputFormat(), OutputItemSet(), OutputSectionBreaks(), OutputSectionNode(), OutputStartNode(), MSWordStyles::OutputStyle(), MSWordStyles::OutputStylesTable(), OutputTextNode(), SectionProperties(), MSWordStyles::SetStyleDefaults(), AttributeOutputBase::StartTOX(), WriteHeaderFooterText(), and MSWordStyles::WriteProperties().
|
protected |
Write the numbering picture bullets.
Definition at line 1567 of file wrtww8.cxx.
References AttrOutput(), AttributeOutputBase::BulletDefinition(), Application::GetDefaultDevice(), MapMode::GetMapUnit(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), Size::Height(), i, OutputDevice::LogicToLogic(), m_vecBulletPic, OutputDevice::PixelToLogic(), and Size::Width().
Referenced by DocxExport::WriteNumbering(), and RtfExport::WriteNumbering().
|
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 DocxExport, RtfExport, and WW8Export.
Referenced by ExportPoolItemsToCHP(), MSWord_SdrAttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().
|
protected |
Populates m_vecBulletPic with all the bullet graphics used by numberings.
Definition at line 1526 of file wrtww8.cxx.
References SwVectorModifyBase< Value >::at(), SwNumRule::Get(), SvxNumberFormat::GetBrush(), Graphic::GetChecksum(), SvxBrushItem::GetGraphic(), SvxNumberType::GetNumberingType(), SwDoc::GetNumRuleTable(), Graphic::GetPrefSize(), Size::Height(), SwNumRule::IsContinusNum(), m_rDoc, m_vecBulletPic, n, p, SwVectorModifyBase< Value >::size(), SVX_NUM_BITMAP, and Size::Width().
Referenced by DocxExport::ExportGrfBullet(), WW8Export::ExportGrfBullet(), and RtfExport::WriteNumbering().
|
protected |
Definition at line 3334 of file wrtww8.cxx.
References AddLinkTarget(), SwDoc::GetAttrPool(), ImageMap::GetIMapObject(), ImageMap::GetIMapObjectCount(), SfxItemPool::GetItemSurrogates(), SwNode::GetNodes(), SwTextINetFormat::GetpTextNode(), IMapObject::GetURL(), i, SwNodes::IsDocNodes(), RES_TXTATR_INETFMT(), and RES_URL().
Referenced by ExportDocument().
|
protected |
Definition at line 417 of file ww8atr.cxx.
References SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), i, and m_aChapterFieldLocs.
Referenced by FormatHdFtContainsChapterField().
|
static |
Definition at line 753 of file ww8atr.cxx.
References SvxTabStopItem::Count(), SvxTabStop::GetAdjustment(), SfxItemSet::GetItem(), SvxTabStop::GetTabPos(), SfxItemSet::Put(), SvxTabStopItem::Remove(), RES_PARATR_TABSTOP(), and rSet.
Referenced by OutputFormat(), and OutputTextNode().
|
protectedpure virtual |
Return value indicates if an inherited outline numbering is suppressed.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputFormat().
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by AttributeOutputBase::TextField().
sal_uInt16 MSWordExportBase::DuplicateAbsNum | ( | OUString const & | rListId, |
SwNumRule const & | rAbstractRule | ||
) |
check if a new abstractNum is needed for this list
Definition at line 70 of file wrtw8num.cxx.
References DuplicateNumRuleImpl(), GetNumberingId(), m_Lists, and m_pUsedNumTable.
Referenced by OverrideNumRule(), and AttributeOutputBase::ParaNumRule().
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 57 of file wrtw8num.cxx.
References DuplicateNumRuleImpl(), SwNumRule::Get(), GetNumberingId(), SwNumRule::Set(), and SvxNumberFormat::SetStart().
Referenced by AttributeOutputBase::ParaNumRule().
Definition at line 41 of file wrtw8num.cxx.
References SwNumRule::Get(), SwDoc::GetUniqueNumRuleName(), i, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, m_nUniqueList, m_pUsedNumTable, m_rDoc, MAXLEVEL, SwNumRule::Set(), and sPrefix.
Referenced by DuplicateAbsNum(), and DuplicateNumRule().
ErrCode MSWordExportBase::ExportDocument | ( | bool | bWriteAll | ) |
The main function to export the document.
Definition at line 3401 of file wrtww8.cxx.
References SwPosition::Assign(), CollectOutlineBookmarks(), DEFAULT_STYLES_COUNT, SwPaM::DeleteMark(), 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(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), wwFontHelper::InitFontTable(), SvtFilterOptions::IsCalc2Excel(), SwRootFrame::IsHideRedlines(), 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_oOLEExp, m_pCurPam, m_pCurrentStyle, m_pEscher, m_pFlyOffset, m_pOCXExp, m_pOrigPam, m_pOutFormatNode, m_pParentFrame, m_pRedlAuthors, m_pStyAttr, m_rDoc, OLE_STARCALC_2_EXCEL, OLE_STARIMPRESS_2_POWERPOINT, OLE_STARMATH_2_MATHTYPE, OLE_STARWRITER_2_WINWORD, SdrObjList::RecalcObjOrdNums(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, SwCharFormats::size(), TXT_MAINTEXT, and sw::util::UpdateFramePositions().
Referenced by DocxExportFilter::exportDocument(), RtfExportFilter::filter(), and SwWW8Writer::WriteStorageImpl().
|
protectedpure virtual |
Format-dependent part of the actual export.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by ExportDocument().
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
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 AttrOutput(), COL_AUTO(), COL_BLACK(), COL_TRANSPARENT(), COL_WHITE(), CollapseScriptsforWordOk(), SwFormat::DerivedFrom(), SwFormat::GetAttrSet(), SvxBrushItem::GetColor(), SwFormat::GetFormatAttr(), SvxFontHeightItem::GetHeight(), sw::util::GetPoolItems(), sw::util::GetSwCharFormat(), SvxColorItem::GetValue(), isCHRATR(), Color::IsDark(), isTXTATR(), m_bStyDef, m_pCurrentStyle, m_pOutFormatNode, m_rDoc, AttributeOutputBase::OutputItem(), RES_CHRATR_BACKGROUND(), RES_CHRATR_COLOR(), RES_CHRATR_FONTSIZE(), RES_CHRATR_HIGHLIGHT(), RES_TXTATR_CHARFMT(), RES_TXTATR_FIELD(), RES_TXTATR_INETFMT(), sw::util::SearchPoolItems(), SvxFontHeightItem::SetHeight(), SfxPoolItem::StaticWhichCast(), and SfxPoolItem::Which().
Referenced by SwWW8AttrIter::OutAttr(), and OutputItemSet().
|
pure virtual |
Determines if the import filter already quoted fields or not.
Implemented in DocxExport, RtfExport, and WW8Export.
|
protected |
Definition at line 433 of file ww8atr.cxx.
References ContentContainsChapterField(), SwFormat::GetContent(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), and m_aChapterFieldLocs.
Referenced by SetCurrentPageDescFromNode().
|
protected |
Setup the chapter fields (maChapterFieldLocs).
Definition at line 410 of file ww8atr.cxx.
References Chapter, SwFieldType::GatherNodeIndex(), SwDoc::getIDocumentFieldsAccess(), IDocumentFieldsAccess::GetSysFieldType(), m_aChapterFieldLocs, and m_rDoc.
Referenced by ExportDocument().
|
protected |
Definition at line 1995 of file wrtw8nds.cxx.
References IDocumentMarkAccess::getAnnotationMarksBegin(), IDocumentMarkAccess::getAnnotationMarksCount(), SwPosition::GetContentIndex(), SwDoc::getIDocumentMarkAccess(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), SwPosition::GetNode(), SwWW8AttrIter::GetNode(), SwWW8AttrIter::HasFlysAt(), i, and m_rDoc.
Referenced by DocxExport::AppendAnnotationMarks(), RtfExport::AppendAnnotationMarks(), WW8Export::AppendAnnotationMarks(), and GetSortedAnnotationMarks().
|
protected |
Get background color of the document, if there is one.
Definition at line 1510 of file wrtww8.cxx.
References COL_AUTO(), SwFormat::GetBackgroundState(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), m_rDoc, and RES_BACKGROUND().
Referenced by DocxExport::WriteMainText(), RtfExport::WriteMainText(), and DocxExport::WriteSettings().
|
static |
Find the bookmark name.
Definition at line 1041 of file ww8atr.cxx.
References BookmarkToWord(), pName, REF_BOOKMARK, REF_ENDNOTE, REF_FOOTNOTE, REF_OUTLINE, REF_SEQUENCEFLD, and REF_SETREFATTR.
Referenced by WW8Export::OutputField(), SwWW8AttrIter::OutSwFormatRefMark(), AttributeOutputBase::TextField(), and AttributeOutputBase::TextFootnote().
|
protected |
Definition at line 1948 of file wrtw8nds.cxx.
References IDocumentMarkAccess::ANNOTATIONMARK, IDocumentMarkAccess::BOOKMARK, IDocumentMarkAccess::CHECKBOX_FIELDMARK, IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK, IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK, IDocumentMarkAccess::DATE_FIELDMARK, IDocumentMarkAccess::DDE_BOOKMARK, IDocumentMarkAccess::DROPDOWN_FIELDMARK, IDocumentMarkAccess::getAllMarksBegin(), IDocumentMarkAccess::getAllMarksCount(), SwPosition::GetContentIndex(), SwDoc::getIDocumentMarkAccess(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), SwPosition::GetNode(), IDocumentMarkAccess::GetType(), i, m_rDoc, IDocumentMarkAccess::NAVIGATOR_REMINDER, IDocumentMarkAccess::TEXT_FIELDMARK, and IDocumentMarkAccess::UNO_BOOKMARK.
Referenced by WW8Export::AppendBookmarks(), DocxExport::AppendBookmarks(), RtfExport::AppendBookmarks(), and GetSortedBookmarks().
|
inline |
Getter for pISet.
Definition at line 731 of file wrtww8.hxx.
References m_pISet.
Referenced by WW8AttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatULSpace(), RtfAttributeOutput::FormatULSpace(), MSWord_SdrAttrIter::OutParaAttr(), DocxAttributeOutput::ParaAdjust(), and MSWordStyles::SetStyleDefaults().
SvxFrameDirection MSWordExportBase::GetCurrentPageDirection | ( | ) | const |
Right to left?
Definition at line 1623 of file wrtw8nds.cxx.
References SwFormat::GetFrameDir(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), m_pCurrentPageDesc, and m_rDoc.
Referenced by GetDefaultFrameDirection(), and TrueFrameDirection().
SvxFrameDirection MSWordExportBase::GetDefaultFrameDirection | ( | ) | const |
Definition at line 1631 of file wrtw8nds.cxx.
References GetAppLanguage(), GetCurrentPageDirection(), SwDoc::GetTextDirection(), MsLangId::isRightToLeft(), m_bOutFlyFrameAttrs, m_bOutPageDescs, m_pOutFormatNode, m_rDoc, and TrueFrameDirection().
Referenced by DocxAttributeOutput::FormatFrameDirection(), WW8AttributeOutput::FormatFrameDirection(), RtfAttributeOutput::FormatFrameDirection(), and DocxAttributeOutput::ParaAdjust().
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by MSWordStyles::OutputStyle(), OutputTextNode(), and SectionProperties().
int MSWordExportBase::GetGrfIndex | ( | const SvxBrushItem & | rBrush | ) |
Returns the index of a picture bullet, used in numberings.
Definition at line 1634 of file wrtww8.cxx.
References Graphic::GetChecksum(), SvxBrushItem::GetGraphic(), i, m_vecBulletPic, and nIndex.
Referenced by DocxAttributeOutput::NumberingLevel(), RtfAttributeOutput::NumberingLevel(), and WW8AttributeOutput::NumberingLevel().
|
inline |
Top node of host page when in header/footer.
Definition at line 786 of file wrtww8.hxx.
References m_pTopNodeOfHdFtPage.
Referenced by SectionProperties(), and AttributeOutputBase::TextField().
|
inline |
Return the numeric id of the font (and add it to the font list if needed)
Definition at line 621 of file wrtww8.hxx.
References wwFontHelper::GetId(), and m_aFontHelper.
sal_uInt16 MSWordExportBase::GetId | ( | const SwCharFormat * | pFormat | ) | const |
Return the numeric id of the style.
Definition at line 169 of file wrtw8sty.cxx.
References m_pStyles.
sal_uInt16 MSWordExportBase::GetId | ( | const SwTextFormatColl & | rColl | ) | const |
Return the numeric id of the style.
Definition at line 177 of file wrtw8sty.cxx.
References m_pStyles.
Referenced by WW8AttributeOutput::CharFont(), DocxAttributeOutput::CharFont(), WW8AttributeOutput::CharFontCJK(), WW8AttributeOutput::CharFontCTL(), DocxAttributeOutput::FootnoteEndnoteRefTag(), WW8AttributeOutput::FormatDrop(), DocxAttributeOutput::NumberingLevel(), OutputTextNode(), RtfAttributeOutput::ParaNumRule_Impl(), DocxAttributeOutput::TextCharFormat(), WW8AttributeOutput::TextCharFormat(), RtfAttributeOutput::TextCharFormat(), DocxAttributeOutput::TextFootnote_Impl(), DocxAttributeOutput::TextINetFormat(), WW8AttributeOutput::TextINetFormat(), RtfAttributeOutput::TextINetFormat(), WW8Export::WriteFootnoteBegin(), and WW8Export::WriteMainText().
sal_uInt16 MSWordExportBase::GetId | ( | const SwTOXType & | rTOXType | ) |
Definition at line 2039 of file ww8atr.cxx.
References m_aTOXArr.
|
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 626 of file wrtww8.hxx.
References wwFontHelper::GetId(), and m_aFontHelper.
const SfxPoolItem & MSWordExportBase::GetItem | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 784 of file wrtww8.cxx.
References SfxItemSet::Get(), MSWordAttrIter::GetItem(), sw::hack::GetSetWhichFromSwDocWhich(), m_pChpIter, m_pISet, and m_rDoc.
Referenced by WW8AttributeOutput::CharEscapement(), DocxAttributeOutput::CharEscapement(), RtfAttributeOutput::CharEscapement(), GetItem(), GetParaTabStopOffset(), WW8Export::OutGrf(), AttributeOutputBase::TextField(), and WW8Ruby::WW8Ruby().
|
inline |
Definition at line 632 of file wrtww8.hxx.
References GetItem().
|
protected |
Get the next position in the text node to output.
Definition at line 1919 of file wrtw8nds.cxx.
References GetSortedAnnotationMarks(), GetSortedBookmarks(), min(), NearestAnnotationMark(), NearestBookmark(), and SwWW8AttrIter::WhereNext().
Referenced by OutputTextNode().
|
protected |
Definition at line 4537 of file wrtww8.cxx.
References m_pKeyMap, NF_KEY_AMPM, NF_KEY_D, NF_KEY_DD, NF_KEY_DDD, NF_KEY_DDDD, NF_KEY_H, NF_KEY_HH, NF_KEY_M, NF_KEY_MI, NF_KEY_MM, NF_KEY_MMI, NF_KEY_MMM, NF_KEY_MMMM, NF_KEY_NN, NF_KEY_NNN, NF_KEY_NNNN, NF_KEY_S, NF_KEY_SS, NF_KEY_YY, and NF_KEY_YYYY.
Referenced by GetNumberFormat().
bool MSWordExportBase::GetNumberFormat | ( | const SwField & | rField, |
OUString & | rStr | ||
) |
Definition at line 2709 of file ww8atr.cxx.
References SvNumberFormatter::GetComponentContext(), SvNumberFormatter::GetEntry(), SwField::GetFormat(), SvNumberformat::GetLanguage(), SwField::GetLanguage(), SvNumberformat::GetMappedFormatstring(), GetNfKeywordTable(), SwDoc::GetNumberFormatter(), LANGUAGE_DONTKNOW, LANGUAGE_NONE, m_rDoc, SAL_WARN_IF, and sw::ms::SwapQuotesInField().
sal_uInt16 MSWordExportBase::GetNumberingId | ( | const SwNumRule & | rNumRule | ) |
Return the numeric id of the numbering rule.
Definition at line 122 of file wrtw8num.cxx.
References SwVectorModifyBase< Value >::begin(), SwVectorModifyBase< Value >::end(), SwDoc::GetNumRuleTable(), SwDoc::GetOutlineNumRule(), SwDoc::IsUsed(), m_pUsedNumTable, m_rDoc, n, and p.
Referenced by RtfExport::BuildNumbering(), DuplicateAbsNum(), DuplicateNumRule(), OverrideNumRule(), AttributeOutputBase::ParaNumRule(), and RtfAttributeOutput::ParaNumRule_Impl().
tools::Long MSWordExportBase::GetParaTabStopOffset | ( | ) | const |
Definition at line 778 of file ww8atr.cxx.
References IDocumentSettingAccess::get(), SwDoc::getIDocumentSettingAccess(), GetItem(), SfxItemSet::GetRanges(), m_pISet, m_rDoc, RES_MARGIN_TEXTLEFT(), RES_WHICHHINT_END(), and TABS_RELATIVE_TO_INDENT.
Referenced by DocxAttributeOutput::ParaTabStop(), and RtfAttributeOutput::ParaTabStop().
|
static |
Format of the section.
Definition at line 692 of file ww8atr.cxx.
References Content, SwNode::FindSectionNode(), SwSection::GetFormat(), SwSectionNode::GetSection(), and SwSection::GetType().
Referenced by OutputSectionBreaks(), DocxExport::PrepareNewPageDesc(), RtfExport::PrepareNewPageDesc(), and WW8Export::PrepareNewPageDesc().
|
static |
Line number of the section start.
Definition at line 705 of file ww8atr.cxx.
References SfxItemSet::Get(), SwNode::GetContentNode(), SwFormatLineNumber::GetStartValue(), and RES_LINENUMBER().
Referenced by DocxExport::PrepareNewPageDesc(), RtfExport::PrepareNewPageDesc(), and WW8Export::PrepareNewPageDesc().
|
protected |
Definition at line 2118 of file wrtw8nds.cxx.
References GetAnnotationMarks(), SwWW8AttrIter::GetNode(), m_rSortedAnnotationMarksEnd, and m_rSortedAnnotationMarksStart.
Referenced by GetNextPos().
|
protected |
Definition at line 2152 of file wrtw8nds.cxx.
References GetBookmarks(), m_rSortedBookmarksEnd, and m_rSortedBookmarksStart.
Referenced by GetNextPos().
const SfxPoolItem * MSWordExportBase::HasItem | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 762 of file wrtww8.cxx.
References SfxItemSet::GetItemState(), sw::hack::GetSetWhichFromSwDocWhich(), MSWordAttrIter::HasTextItem(), m_pChpIter, m_pISet, and m_rDoc.
Referenced by AttributeOutputBase::CharBackgroundBase(), WW8AttributeOutput::CharUnderline(), RtfAttributeOutput::CharUnderline(), DocxAttributeOutput::FormatBackground(), DocxAttributeOutput::FormatBox(), WW8AttributeOutput::FormatBox(), AttributeOutputBase::FormatCharBorder(), WW8AttributeOutput::FormatLRSpace(), DocxAttributeOutput::FormatLRSpace(), RtfAttributeOutput::FormatLRSpace(), HasItem(), WW8AttributeOutput::ParaTabStop(), and DocxAttributeOutput::SectionPageBorders().
|
inline |
Definition at line 817 of file wrtww8.hxx.
References HasItem().
bool MSWordExportBase::HasRefToAttr | ( | const OUString & | rName | ) |
Find the reference.
Definition at line 1023 of file ww8atr.cxx.
References SwFieldType::GatherRefFields(), SwDoc::getIDocumentFieldsAccess(), GetRef, IDocumentFieldsAccess::GetSysFieldType(), m_rDoc, and REF_SETREFATTR.
Referenced by SwWW8AttrIter::OutSwFormatRefMark().
bool MSWordExportBase::HasRefToFootOrEndnote | ( | const bool | isEndNote, |
const sal_uInt16 | nSeqNo | ||
) |
Definition at line 1032 of file ww8atr.cxx.
References SwFieldType::GatherRefFields(), SwDoc::getIDocumentFieldsAccess(), GetRef, IDocumentFieldsAccess::GetSysFieldType(), m_rDoc, REF_ENDNOTE, and REF_FOOTNOTE.
|
inlinevirtual |
Used to filter out attributes that can be e.g. written to .doc but not to .docx.
Reimplemented in DocxExport.
Definition at line 692 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 3074 of file wrtww8.cxx.
References m_pCurPam, and m_pTableInfo.
Referenced by WW8AttributeOutput::CharRotate(), DocxExport::OutputEndNode(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputSectionNode(), OutputTextNode(), and WriteText().
|
protected |
Find the nearest annotation mark from the current position.
Definition at line 2089 of file wrtw8nds.cxx.
References SwPosition::GetContentIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedAnnotationMarksEnd, m_rSortedAnnotationMarksStart, and min().
Referenced by GetNextPos().
|
protected |
Find the nearest bookmark from the current position.
Returns false when there is no bookmark.
Definition at line 2057 of file wrtw8nds.cxx.
References SwPosition::GetContentIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedBookmarksEnd, m_rSortedBookmarksStart, and min().
Referenced by GetNextPos(), and UpdatePosition().
|
protected |
Definition at line 2185 of file wrtw8nds.cxx.
References SwNode::FindPageDesc(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwPageDesc::GetMaster(), sw::util::IsPlausableSingleWordSection(), m_bInWriteEscher, m_bOutKF, m_bOutPageDescs, m_bStyDef, and m_pCurrentPageDesc.
Referenced by NeedTextNodeSplit().
|
protected |
Definition at line 2203 of file wrtw8nds.cxx.
References SwTextNode::fillSoftPageBreakList(), SwNode::GetDoc(), SwDoc::getIDocumentMarkAccess(), IDocumentMarkAccess::getInnerFieldmarkFor(), SwTextNode::GetText(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwTextNode::Len(), NeedSectionBreak(), pos, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by OutputTextNode(), and WriteText().
|
static |
Definition at line 3267 of file wrtw8nds.cxx.
References SfxItemSet::GetItemIfSet(), SwFormatPageDesc::GetPageDesc(), RES_BREAK(), and RES_PAGEDESC().
Referenced by OutputSectionNode(), OutputTextNode(), and SectionProperties().
void MSWordExportBase::NumberingDefinitions | ( | ) |
Write static data of SwNumRule - LSTF.
Definition at line 210 of file wrtw8num.cxx.
References AttrOutput(), m_ListLevelOverrides, m_OverridingNums, m_pUsedNumTable, n, nCount, AttributeOutputBase::NumberingDefinition(), and AttributeOutputBase::OverrideNumberingDefinition().
Referenced by DocxExport::WriteNumbering(), RtfExport::WriteNumbering(), and WW8Export::WriteNumbering().
Write one numbering level.
Definition at line 411 of file wrtw8num.cxx.
References AttrOutput(), SfxItemSet::ClearItem(), FAMILY_DECORATIVE, SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletFont(), SwNumFormat::GetCharFormat(), SvxNumberFormat::GetCharTextDistance(), numfunc::GetDefBulletFont(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetIsLegal(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumberFormat::GetListFormat(), SvxNumberFormat::GetListtabPos(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPositionAndSpaceMode(), SvxNumberFormat::GetStart(), GetWordFirstLineOffset(), SvxNumberFormat::HasListFormat(), i, IsOpenSymbol(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, SvxNumberFormat::LISTTAB, m_rDoc, WW8ListManager::nMaxLevel, SvxNumberFormat::NOTHING, AttributeOutputBase::NumberingLevel(), SfxItemSet::Put(), RES_CHRATR_CJK_FONT(), RES_CHRATR_FONT(), SvxNumberFormat::SPACE, SubstituteBullet(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and SVX_NUM_NUMBER_NONE.
Referenced by AbstractNumberingDefinitions(), and DocxAttributeOutput::OverrideNumberingDefinition().
|
privatedelete |
|
protected |
Call the right (virtual) function according to the type of the item.
One of OutputTextNode(), OutputGrfNode(), or OutputOLENode()
Definition at line 3625 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().
|
protectedvirtual |
Output SwEndNode.
Reimplemented in DocxExport, and RtfExport.
Definition at line 4514 of file wrtww8.cxx.
References AttrOutput(), dbg_out(), m_pTableInfo, SAL_INFO, and AttributeOutputBase::TableNodeInfoInner().
Referenced by DocxExport::OutputEndNode(), and WriteText().
|
pure virtual |
Write the field.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by AttributeOutputBase::EndTOX(), OutputTextNode(), AttributeOutputBase::StartTOX(), and AttributeOutputBase::TextField().
bool MSWordExportBase::OutputFollowPageDesc | ( | const SfxItemSet * | pSet, |
const SwTextNode * | pNd | ||
) |
The return value indicates, if a follow page desc is written.
Definition at line 677 of file ww8atr.cxx.
References SwPageDesc::GetFollow(), m_pCurrentPageDesc, and PrepareNewPageDesc().
Referenced by AttributeOutputBase::FormatBreak().
void MSWordExportBase::OutputFormat | ( | const SwFormat & | rFormat, |
bool | bPapFormat, | ||
bool | bChpFormat, | ||
bool | bFlyFormat = false |
||
) |
Output attributes.
Definition at line 887 of file ww8atr.cxx.
References AttrOutput(), CorrectTabStopInSet(), DisallowInheritingOutlineNumbering(), SwNumRule::Get(), SfxItemSet::Get(), SvxNumberFormat::GetAbsLSpace(), SwFormat::GetAnchor(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), ww8::Frame::GetFrameFormat(), SfxItemSet::GetItem(), SwDoc::GetOutlineNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), getSvxBrushItemFromSourceSet(), SvxTextLeftMarginItem::GetTextLeft(), GetWordFirstLineOffset(), SvxNumberFormat::LABEL_WIDTH_AND_POSITION, m_bExportModeRTF, m_bOutFlyFrameAttrs, m_bStyDef, m_eNewAnchorType, m_pFlyOffset, m_pOutFormatNode, m_pParentFrame, m_rDoc, MAXLEVEL, AttributeOutputBase::OutlineNumbering(), OutputItemSet(), SfxItemSet::Put(), RES_BACKGROUND(), RES_CHRFMT(), RES_CONDTXTFMTCOLL(), RES_FLYFRMFMT(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_FRMFMT(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), RES_SURROUND(), RES_TXTFMTCOLL(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SvxTextLeftMarginItem::SetTextLeft(), SwFormatAnchor::SetType(), SwFormat::Which(), Point::X(), XATTR_FILL_FIRST(), XATTR_FILL_LAST(), XATTR_FILLSTYLE(), and Point::Y().
Referenced by RtfAttributeOutput::FlyFrameGraphic(), WW8Export::OutGrf(), RtfExport::OutPageDescription(), RtfAttributeOutput::OutputFlyFrame_Impl(), OutputTextNode(), and MSWordStyles::WriteProperties().
|
protectedpure virtual |
Output SwGrfNode.
Implemented in DocxExport, WW8Export, and RtfExport.
Referenced by OutputContentNode().
void MSWordExportBase::OutputItemSet | ( | const SfxItemSet & | rSet, |
bool | bPapFormat, | ||
bool | bChpFormat, | ||
sal_uInt16 | nScript, | ||
bool | bExportParentItemSet | ||
) |
Use OutputItem() on an item set according to the parameters.
Definition at line 314 of file ww8atr.cxx.
References AttrOutput(), SfxItemSet::Count(), SwFormat::DerivedFrom(), ExportPoolItemsToCHP(), SwFormat::GetAttrSet(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), sw::util::GetPoolItems(), getSvxBrushItemFromSourceSet(), CntUnencodedStringItem::GetValue(), m_bStyDef, m_pCurrentStyle, m_pISet, m_pOutFormatNode, AttributeOutputBase::MaybeOutputBrushItem(), AttributeOutputBase::OutputItem(), RES_BACKGROUND(), RES_FRAMEDIR(), RES_FRMATR_END(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), RES_PARATR_ADJUST(), RES_PARATR_BEGIN(), RES_PARATR_NUMRULE(), rSet, SfxPoolItem::Which(), XATTR_FILL_FIRST(), XATTR_FILL_LAST(), and XATTR_FILLSTYLE().
Referenced by DocxAttributeOutput::NumberingLevel(), RtfAttributeOutput::NumberingLevel(), WW8AttributeOutput::NumberingLevel(), OutputFormat(), OutputTextNode(), and DocxAttributeOutput::Redline().
|
protectedpure virtual |
Implemented in DocxExport, WW8Export, and RtfExport.
Referenced by OutputTextNode().
|
protectedpure virtual |
Output SwOLENode.
Implemented in DocxExport, WW8Export, and RtfExport.
Referenced by OutputContentNode().
void MSWordExportBase::OutputSectionBreaks | ( | const SfxItemSet * | pSet, |
const SwNode & | rNd, | ||
bool | isCellOpen = 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 488 of file ww8atr.cxx.
References AttrOutput(), SfxItemSet::Count(), SwNode::FindPageDesc(), SwNode::FindTableNode(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwNode::GetContentNode(), SwNodes::GetEndOfContent(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFormatAttr(), MSWordSections::GetFormatCol(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwFormatCol::GetLineAdj(), SwFormatCol::GetLineColor(), SwFormatCol::GetLineHeight(), SwFormatCol::GetLineStyle(), SwFormatCol::GetLineWidth(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwFormatCol::GetNumCols(), SwFormatPageDesc::GetNumOffset(), SwFormatPageDesc::GetPageDesc(), SwClient::GetRegisteredIn(), GetSectionFormat(), SwTableBox::GetSttNd(), SwNode::GetTableBox(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SwNodes::GoNext(), SwFormatCol::IsOrtho(), sw::util::IsPlausableSingleWordSection(), SwFormatPageDesc::KnowsPageDesc(), m_bBreakBefore, m_bInWriteEscher, m_bOutKF, m_bOutPageDescs, m_bOutTable, m_bStyDef, m_pCurrentPageDesc, m_rDoc, AttributeOutputBase::OutputItem(), PreferPageBreakBefore(), PrepareNewPageDesc(), RES_BREAK(), RES_COL(), RES_PAGEDESC(), Sections(), SetCurrentPageDescFromNode(), and SwNode::StartOfSectionNode().
Referenced by DocxAttributeOutput::SectionBreaks(), RtfAttributeOutput::SectionBreaks(), and WW8Export::SectionBreaksAndFrames().
|
protected |
Output SwSectionNode.
Definition at line 3300 of file wrtw8nds.cxx.
References AppendSection(), AttrOutput(), SfxItemSet::Get(), SwNode::GetContentNode(), SwSection::GetFormat(), SwNodeIndex::GetNode(), SwPageDesc::GetPageDescOfNode(), SwSectionNode::GetSection(), SwContentNode::GetSwAttrSet(), SwSection::GetType(), SwNode::IsContentNode(), IsInTable(), SwNode::IsSectionNode(), m_bStartTOX, m_pCurrentPageDesc, NoPageBreakSection(), msword::PageBreak, ReplaceCr(), RES_LINENUMBER(), AttributeOutputBase::SectionBreaks(), ToxContent, ToxHeader, and UpdateTocSectionNodeProperties().
Referenced by WriteText().
|
protected |
Output SwStartNode.
Definition at line 4489 of file wrtww8.cxx.
References AttrOutput(), m_pTableInfo, SAL_INFO, and AttributeOutputBase::TableNodeInfoInner().
Referenced by WriteText().
|
protectedvirtual |
Output SwTextNode.
Reimplemented in RtfExport.
Definition at line 2252 of file wrtw8nds.cxx.
References ADD_PARA_SPACING_TO_TABLE_CELLS, AppendAnnotationMarks(), AppendBookmark(), AppendBookmarks(), AppendSmartTags(), SwTextNode::AreListLevelIndentsApplicable(), aStr, AttrOutput(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), BookmarkToWord(), ch, CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, CH_TXTATR_BREAKWORD, SwTableBoxFormula::Clone(), Close, CmdEnd, CmdStart, CorrectTabStopInSet(), ww::eEquals, eFieldId, ww::eFORMDATE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), SwTextAttr::End(), AttributeOutputBase::EndParagraph(), AttributeOutputBase::EndParagraphProperties(), AttributeOutputBase::EndRun(), AttributeOutputBase::EndRunProperties(), AttributeOutputBase::EndTOX(), ExportGrfBullet(), SwNode::FindPageDesc(), SwNode::FindSectionNode(), SwNode::FindTableNode(), FLY_NONE, FLY_POSTPONED, FLY_PROCESSED, AttributeOutputBase::FormatDrop(), AttributeOutputBase::GenerateBookmarksForSequenceField(), IDocumentSettingAccess::get(), SwNumRule::Get(), SfxItemSet::Get(), SvxNumberFormat::GetAbsLSpace(), SwTextNode::GetActualListLevel(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SwTextNode::GetAttr(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwFormat::GetBreak(), SwWW8AttrIter::GetCharSet(), SwNodes::GetEndOfContent(), GetExportFormat(), IDocumentMarkAccess::getFieldmarkAt(), SvxNumberFormat::GetFirstLineOffset(), SwNode::GetFlyFormat(), SwPageDesc::GetFollow(), SwFormat::GetFrameDir(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), ww8::Frame::GetFrameFormat(), GetId(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentSettingAccess(), SvxNumberFormat::GetIndentAt(), SwNode::GetIndex(), IDocumentMarkAccess::getInnerFieldmarkFor(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwFormat::GetKeep(), SwFormat::GetLayoutSplit(), SvxTextLeftMarginItem::GetLeft(), SvxULSpaceItem::GetLower(), SwNumRule::GetName(), GetNextPos(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNumRule::GetNumFormat(), SwTextNode::GetNumRule(), SwWW8AttrIter::GetParagraphLevelRedline(), AttributeOutputBase::GetParagraphMarkerRedline(), 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(), SwFormat::GetTableBoxFormula(), SwTable::GetTabLines(), SwTextNode::GetText(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), SvxTextLeftMarginItem::GetTextLeft(), SwNode::GetTextNode(), SwSection::GetType(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SvxULSpaceItem::GetUpper(), SfxBoolItem::GetValue(), GetWordFirstLineOffset(), SwNodes::GoNext(), SwNode::HasPrevNextLayNode(), i, SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SvxTabStopItem::Insert(), SwWW8AttrIter::IsAnchorLinkedToThisNode(), SwTextNode::IsCountedInList(), SwWW8AttrIter::IsDropCap(), SwWW8AttrIter::IsExportableAttr(), SwTableBox::IsFormulaOrValueBox(), 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(), sw::LeftMargin, m_aCurrentCharPropStarts, m_bAddFootnoteTab, m_bInWriteTOX, m_bStartTOX, m_nStyleBeforeFly, m_nTextTyp, m_pCurrentPageDesc, m_pOutFormatNode, m_pParentFrame, m_pStyAttr, m_pTableInfo, m_rDoc, MAXLEVEL, ND_HAS_NEXT_LAYNODE, ND_HAS_PREV_LAYNODE, NeedTextNodeSplit(), NoPageBreakSection(), 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(), msword::PageBreak, AttributeOutputBase::PageBreakBefore(), PARA_SPACE_MAX_AT_PAGES, AttributeOutputBase::ParagraphStyle(), PrepareNewPageDesc(), SfxItemSet::Put(), AttributeOutputBase::Redline(), SwWW8AttrIter::RequiresImplicitBookmark(), RES_BOXATR_FORMULA(), RES_BREAK(), RES_FRAMEDIR(), RES_KEEP(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), 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::SectionBreak(), AttributeOutputBase::SectionBreaks(), AttributeOutputBase::SetAnchorIsLinkedToNode(), SwFormat::SetFormatAttr(), SvxULSpaceItem::SetLower(), AttributeOutputBase::SetStateOfFlyFrame(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SvxFirstLineIndentItem::SetTextFirstLineOffsetValue(), SvxTextLeftMarginItem::SetTextLeft(), SvxULSpaceItem::SetUpper(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwTableLines::size(), Start, AttributeOutputBase::StartParagraph(), AttributeOutputBase::StartParagraphProperties(), AttributeOutputBase::StartRun(), AttributeOutputBase::StartRunProperties(), AttributeOutputBase::StartTOX(), AttributeOutputBase::TableInfoCell(), ToxContent, TXT_EDN, TXT_FTN, TXT_HDFT, TXT_MAINTEXT, 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)
Definition at line 93 of file wrtw8num.cxx.
References DuplicateAbsNum(), SwNumRule::GetDefaultListId(), GetNumberingId(), m_nUniqueList, m_OverridingNums, and m_pUsedNumTable.
Referenced by AttributeOutputBase::ParaNumRule().
|
pure virtual |
If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputSectionBreaks().
|
protectedpure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputFollowPageDesc(), OutputSectionBreaks(), and OutputTextNode().
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputSectionNode(), and WriteText().
|
virtual |
Restore what was saved in SaveData().
Reimplemented in WW8Export.
Definition at line 1929 of file wrtww8.cxx.
References MSWordSaveData::bOldFlyFrameAttrs, MSWordSaveData::bOldInWriteTOX, MSWordSaveData::bOldOutTable, MSWordSaveData::bOldStartTOX, MSWordSaveData::eOldAnchorType, m_aSaveData, m_bInWriteTOX, m_bOutFlyFrameAttrs, m_bOutTable, m_bStartTOX, m_eNewAnchorType, m_nCurEnd, m_nCurStart, m_pCurPam, m_pCurrentPageDesc, m_pFlyOffset, m_pOrigPam, m_pParentFrame, MSWordSaveData::nOldEnd, MSWordSaveData::nOldStart, MSWordSaveData::pOldEnd, MSWordSaveData::pOldFlyFormat, MSWordSaveData::pOldFlyOffset, MSWordSaveData::pOldPageDesc, and MSWordSaveData::pOldPam.
Referenced by RtfAttributeOutput::OutputFlyFrame_Impl(), WW8Export::RestoreData(), RtfAttributeOutput::writeTextFrame(), and ExportDataSaveRestore::~ExportDataSaveRestore().
|
virtual |
Remember some of the members so that we can recurse in WriteText().
Reimplemented in WW8Export.
Definition at line 1897 of file wrtww8.cxx.
References SL::aData, m_aSaveData, m_bInWriteTOX, m_bOutFlyFrameAttrs, m_bOutTable, m_bStartTOX, m_eNewAnchorType, m_pCurPam, m_pCurrentPageDesc, m_pFlyOffset, m_pOrigPam, m_pParentFrame, and SetCurPam().
Referenced by ExportDataSaveRestore::ExportDataSaveRestore(), RtfAttributeOutput::OutputFlyFrame_Impl(), WW8Export::SaveData(), and RtfAttributeOutput::writeTextFrame().
|
protectedpure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
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 1640 of file wrtw8sty.cxx.
References All, AttrOutput(), WW8_SepInfo::bIsFirstParagraph, AttributeOutputBase::EndSection(), SwFormat::GetAttrSet(), SwNode::GetContentNode(), GetExportFormat(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetFormatAttr(), SwTable::GetFrameFormat(), GetHdFtPageRoot(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwFormat::GetItemState(), SwPageDesc::GetLeft(), SvxLRSpaceItem::GetLeft(), SwDoc::GetLineNumberInfo(), SwPageDesc::GetMaster(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwDoc::GetPageDesc(), SwPageDesc::GetPageFormatOfNode(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), SwPageDesc::GetStashedFrameFormat(), SwContentNode::GetSwAttrSet(), SwTableNode::GetTable(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwPageDesc::GetVerticalAdjustment(), SwNode::IsContentNode(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFollowNextPageOfNode(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), SwLineNumberInfo::IsPaintLineNumbers(), sw::util::IsPlausableSingleWordSection(), WW8_SepInfo::IsProtected(), SwNode::IsTableNode(), Left, m_bOutFirstPage, m_bOutPageDescs, m_pCurrentPageDesc, m_pFirstPageFormat, m_pISet, m_pPreviousSectionPageDesc, m_rDoc, WW8_SepInfo::nLnNumRestartNo, NoPageBreakSection(), WW8_SepInfo::oPgRestartNo, AttributeOutputBase::OutputItem(), AttributeOutputBase::OutputStyleItemSet(), WW8_SepInfo::pPageDesc, WW8_SepInfo::pPDNd, WW8_SepInfo::pSectionFormat, SfxItemSet::Put(), 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(), SfxItemSet::SetParent(), 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 DocxAttributeOutput::SectionBreak(), RtfAttributeOutput::SectionBreak(), DocxAttributeOutput::StartParagraphProperties(), WW8_WrPlcSepx::WriteKFText(), and DocxExport::WriteMainText().
|
pure virtual |
Access to the sections/headers/footres.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputSectionBreaks().
|
inline |
Setter for pISet.
Definition at line 734 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().
|
protected |
Definition at line 1880 of file wrtww8.cxx.
References SwDoc::GetNodes(), m_nCurEnd, m_nCurStart, m_pCurPam, m_pOrigPam, m_rDoc, and Writer::NewUnoCursor().
Referenced by SaveData(), and WriteSpecialText().
|
protected |
Definition at line 448 of file ww8atr.cxx.
References FormatHdFtContainsChapterField(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwPageDesc::GetMaster(), SwPageDesc::GetPageDescOfNode(), sw::util::IsPlausableSingleWordSection(), and m_pCurrentPageDesc.
Referenced by OutputSectionBreaks().
|
inline |
Top node of host page when in header/footer.
Definition at line 783 of file wrtww8.hxx.
References m_pTopNodeOfHdFtPage.
Referenced by SectionProperties().
|
inlinevirtual |
Setup the pA's info.
Reimplemented in WW8Export.
Definition at line 780 of file wrtww8.hxx.
Referenced by SectionProperties().
void MSWordExportBase::SubstituteBullet | ( | OUString & | rNumStr, |
rtl_TextEncoding & | rChrSet, | ||
OUString & | rFontName | ||
) | const |
Definition at line 628 of file wrtw8num.cxx.
References msfilter::util::bestFitOpenSymbolToMSFont(), m_bSubstituteBullets, and u.
Referenced by NumberingLevel().
SvxFrameDirection MSWordExportBase::TrueFrameDirection | ( | const SwFrameFormat & | rFlyFormat | ) | const |
Right to left?
Definition at line 1669 of file wrtw8nds.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), GetCurrentPageDirection(), SwNode::GetFlyFormat(), and SwFormat::GetFrameDir().
Referenced by PlcDrawObj::Append(), GetDefaultFrameDirection(), SectionProperties(), WW8AttributeOutput::TableBidi(), DocxAttributeOutput::TableBidi(), RtfAttributeOutput::TableBidi(), WW8AttributeOutput::TableDefinition(), WW8AttributeOutput::TableOrientation(), WW8AttributeOutput::TableVerticalCell(), DocxAttributeOutput::TableVerticalCell(), and RtfAttributeOutput::TableVerticalCell().
|
protected |
Update the information for GetNextPos().
Definition at line 1936 of file wrtw8nds.cxx.
References NearestBookmark(), SwWW8AttrIter::NextPos(), and SwWW8AttrIter::WhereNext().
Referenced by OutputTextNode().
|
staticprotected |
Definition at line 3353 of file wrtw8nds.cxx.
References SwNode::EndOfSectionNode(), SwNode::GetContentNode(), SfxGrabBagItem::GetGrabBag(), SwNodeIndex::GetNode(), SwSectionNode::GetSection(), SwContentNode::GetSwAttrSet(), SwSection::GetTOXBase(), SwSection::GetType(), SwTOXBase::GetType(), comphelper::InitPropertySequence(), SwNode::IsSectionNode(), SfxItemSet::Put(), RES_PARATR_GRABBAG(), SetAttr, SwNode::StartOfSectionNode(), TOX_CONTENT, ToxContent, ToxHeader, and type.
Referenced by OutputSectionNode().
|
pure virtual |
Implemented in RtfExport, WW8Export, and DocxExport.
Referenced by MSWord_SdrAttrIter::OutAttr().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
|
pure virtual |
Write the data of the form field.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputTextNode().
void MSWordExportBase::WriteHeaderFooterText | ( | const SwFormat & | rFormat, |
bool | bHeader | ||
) |
Write header/footer text.
Definition at line 2119 of file wrtw8sty.cxx.
References AttrOutput(), AttributeOutputBase::EmptyParagraph(), SwNode::EndOfSectionNode(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), m_bHasFtr, m_bHasHdr, m_bOutKF, TXT_HDFT, and WriteSpecialText().
Referenced by WW8_WrPlcSepx::OutHeaderFooter(), RtfExport::WriteHeaderFooter(), DocxExport::WriteHeaderFooter(), and RtfAttributeOutput::WriteHeaderFooter_Impl().
|
pure virtual |
Output the actual headers and footers.
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by SectionProperties().
|
pure virtual |
Implemented in DocxExport, RtfExport, and WW8Export.
Referenced by OutputTextNode().
|
pure virtual |
Output the numbering table.
Implemented in DocxExport, RtfExport, and WW8Export.
void MSWordExportBase::WriteSpecialText | ( | SwNodeOffset | nStart, |
SwNodeOffset | 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 1802 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 DocxAttributeOutput::FootnotesEndnotes(), RtfAttributeOutput::TextFootnote_Impl(), WW8_WrPlcSubDoc::WriteGenericText(), and WriteHeaderFooterText().
void MSWordExportBase::WriteText | ( | ) |
Iterate through the nodes and call the appropriate OutputNode() on them.
Definition at line 2900 of file wrtww8.cxx.
References AppendSection(), SwNode::FindPageDesc(), SwFormat::GetBalancedColumns(), SwFormat::GetCol(), SwNode::GetEndNode(), SwNodes::GetEndOfContent(), SwSection::GetFormat(), SfxItemSet::GetItemIfSet(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwNode::GetNodes(), SwFormatCol::GetNumCols(), SwSectionFormat::GetParent(), SwContentNode::GetpSwAttrSet(), SwClient::GetRegisteredIn(), 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_pCurPam, m_pCurrentPageDesc, m_pTableInfo, m_rDoc, NeedTextNodeSplit(), nPos, OutputContentNode(), OutputEndNode(), OutputSectionNode(), OutputStartNode(), ReplaceCr(), RES_PAGEDESC(), SAL_INFO, SAL_WARN, SectionBreaksAndFrames(), SetProgressState(), SwNode::StartOfSectionNode(), ToxContent, ToxHeader, TXT_EDN, TXT_FTN, and TXT_MAINTEXT.
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl(), RtfAttributeOutput::OutputFlyFrame_Impl(), DocxAttributeOutput::WriteFloatingTable(), DocxExport::WriteMainText(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), WriteSpecialText(), and RtfAttributeOutput::writeTextFrame().
std::vector<SwNodeOffset> MSWordExportBase::m_aChapterFieldLocs |
Definition at line 454 of file wrtww8.hxx.
Referenced by ContentContainsChapterField(), FormatHdFtContainsChapterField(), and GatherChapterFields().
std::stack< sal_Int32 > MSWordExportBase::m_aCurrentCharPropStarts |
To remember the position in a run.
Definition at line 471 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::GetSnippet(), SwWW8AttrIter::HasTextItem(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), and OutputTextNode().
wwFontHelper MSWordExportBase::m_aFontHelper |
Definition at line 453 of file wrtww8.hxx.
Referenced by RtfAttributeOutput::CharFont(), RtfAttributeOutput::CharFontCJK(), RtfAttributeOutput::CharFontCTL(), ExportDocument(), RtfExport::ExportDocument_Impl(), RtfAttributeOutput::FontFamilyType(), GetId(), RtfAttributeOutput::NumberingLevel(), WW8AttributeOutput::NumberingLevel(), RtfExport::RtfExport(), WW8Export::WriteFkpPlcUsw(), DocxExport::WriteFonts(), and RtfExport::WriteFonts().
ww8::Frames MSWordExportBase::m_aFrames |
Definition at line 496 of file wrtww8.hxx.
Referenced by ExportDocument(), RtfAttributeOutput::FlyFrameGraphic(), RtfSdrExport::StartShape(), and SwWW8AttrIter::SwWW8AttrIter().
std::vector<aBookmarkPair> MSWordExportBase::m_aImplicitBookmarks |
Definition at line 493 of file wrtww8.hxx.
Referenced by AddLinkTarget(), and SwWW8AttrIter::RequiresImplicitBookmark().
std::map<OUString,LinkedTextboxInfo> MSWordExportBase::m_aLinkedTextboxesHelper |
Definition at line 516 of file wrtww8.hxx.
Referenced by DocxExport::ExportDocument_Impl(), SwWW8AttrIter::OutFlys(), DocxExport::WriteMainText(), and WriteSpecialText().
OUString MSWordExportBase::m_aMainStg |
Definition at line 455 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl().
WW8OleMap MSWordExportBase::m_aOleMap |
Definition at line 477 of file wrtww8.hxx.
Referenced by WW8Export::OutputOLENode().
std::stack< MSWordSaveData > MSWordExportBase::m_aSaveData |
Stack to remember the nesting (see MSWordSaveData for more)
Definition at line 582 of file wrtww8.hxx.
Referenced by RestoreData(), WW8Export::RestoreData(), SaveData(), and WW8Export::SaveData().
std::vector<const SwTOXType*> MSWordExportBase::m_aTOXArr |
Definition at line 456 of file wrtww8.hxx.
Referenced by ExportDocument(), and GetId().
bool MSWordExportBase::m_bAddFootnoteTab |
Definition at line 574 of file wrtww8.hxx.
Referenced by OutputTextNode(), and WriteSpecialText().
bool MSWordExportBase::m_bBreakBefore |
Definition at line 552 of file wrtww8.hxx.
Referenced by ExportDocument(), and OutputSectionBreaks().
bool MSWordExportBase::m_bEndAtTextEnd |
Definition at line 564 of file wrtww8.hxx.
Referenced by ExportDocument(), AttributeOutputBase::TextFootnote(), and WW8_WrPlcSepx::WriteFootnoteEndText().
bool MSWordExportBase::m_bExportModeRTF |
Definition at line 571 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::NumberingLevel(), RtfAttributeOutput::NumberingLevel(), WW8AttributeOutput::NumberingLevel(), OutputFormat(), DocxAttributeOutput::Redline(), and RtfExport::RtfExport().
bool MSWordExportBase::m_bFirstTOCNodeWithSection |
Definition at line 499 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 573 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::CharEscapement(), and MSWord_SdrAttrIter::OutAttr().
bool MSWordExportBase::m_bFootnoteAtTextEnd |
Definition at line 563 of file wrtww8.hxx.
Referenced by ExportDocument(), AttributeOutputBase::TextFootnote(), and WW8_WrPlcSepx::WriteFootnoteEndText().
bool MSWordExportBase::m_bHasFtr |
Definition at line 566 of file wrtww8.hxx.
Referenced by WW8_WrPlcSepx::OutHeaderFooter(), WriteHeaderFooterText(), and DocxExport::WriteHeadersFooters().
bool MSWordExportBase::m_bHasHdr |
Definition at line 565 of file wrtww8.hxx.
Referenced by WW8_WrPlcSepx::OutHeaderFooter(), WriteHeaderFooterText(), and DocxExport::WriteHeadersFooters().
bool MSWordExportBase::m_bHideTabLeaderAndPageNumbers |
Definition at line 570 of file wrtww8.hxx.
Referenced by AttributeOutputBase::EndTOX(), and AttributeOutputBase::StartTOX().
bool MSWordExportBase::m_bInWriteEscher |
Definition at line 560 of file wrtww8.hxx.
Referenced by ExportDocument(), NeedSectionBreak(), OutputSectionBreaks(), SwWW8AttrIter::SwWW8AttrIter(), and WW8_WrPlcTextBoxes::WriteText().
bool MSWordExportBase::m_bInWriteTOX |
Definition at line 562 of file wrtww8.hxx.
Referenced by AttributeOutputBase::EndTOX(), ExportDocument(), OutputTextNode(), RestoreData(), SaveData(), and AttributeOutputBase::StartTOX().
bool MSWordExportBase::m_bLinkedTextboxesHelperInitialized = false |
Definition at line 517 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::OutFlys().
bool MSWordExportBase::m_bOrigShowChanges |
Remember the original Show Changes mode.
Definition at line 489 of file wrtww8.hxx.
Referenced by ExportDocument(), and DocxExport::ExportDocument_Impl().
bool MSWordExportBase::m_bOutFirstPage |
Definition at line 556 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::FormatPaperBin(), and SectionProperties().
bool MSWordExportBase::m_bOutFlyFrameAttrs |
Definition at line 554 of file wrtww8.hxx.
Referenced by ExportDocument(), RtfAttributeOutput::FlyFrameGraphic(), WW8AttributeOutput::FormatAnchor(), DocxAttributeOutput::FormatFrameDirection(), WW8AttributeOutput::FormatFrameDirection(), DocxAttributeOutput::FormatFrameSize(), WW8AttributeOutput::FormatFrameSize(), DocxAttributeOutput::FormatHorizOrientation(), WW8AttributeOutput::FormatHorizOrientation(), RtfAttributeOutput::FormatHorizOrientation(), WW8AttributeOutput::FormatLRSpace(), DocxAttributeOutput::FormatLRSpace(), RtfAttributeOutput::FormatLRSpace(), DocxAttributeOutput::FormatSurround(), WW8AttributeOutput::FormatSurround(), RtfAttributeOutput::FormatSurround(), WW8AttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatULSpace(), RtfAttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatVertOrientation(), WW8AttributeOutput::FormatVertOrientation(), RtfAttributeOutput::FormatVertOrientation(), GetDefaultFrameDirection(), RtfAttributeOutput::OutputFlyFrame_Impl(), OutputFormat(), RestoreData(), and SaveData().
bool MSWordExportBase::m_bOutGrf |
Definition at line 559 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::FormatBox(), WW8AttributeOutput::FormatFrameSize(), and WW8Export::OutGrf().
bool MSWordExportBase::m_bOutKF |
Definition at line 553 of file wrtww8.hxx.
Referenced by ExportDocument(), NeedSectionBreak(), OutputSectionBreaks(), and WriteHeaderFooterText().
bool MSWordExportBase::m_bOutPageDescs |
PageDescs (section properties) are being written.
Definition at line 555 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::EndParagraphProperties(), ExportDocument(), DocxAttributeOutput::FormatBackground(), WW8AttributeOutput::FormatBackground(), WW8AttributeOutput::FormatBox(), WW8AttributeOutput::FormatFillStyle(), DocxAttributeOutput::FormatFrameDirection(), WW8AttributeOutput::FormatFrameDirection(), RtfAttributeOutput::FormatFrameDirection(), DocxAttributeOutput::FormatFrameSize(), WW8AttributeOutput::FormatFrameSize(), RtfAttributeOutput::FormatFrameSize(), WW8AttributeOutput::FormatLRSpace(), DocxAttributeOutput::FormatLRSpace(), RtfAttributeOutput::FormatLRSpace(), WW8AttributeOutput::FormatPaperBin(), WW8AttributeOutput::FormatTextGrid(), WW8AttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatULSpace(), RtfAttributeOutput::FormatULSpace(), GetDefaultFrameDirection(), NeedSectionBreak(), WW8Export::Out_SwFormatBox(), RtfExport::OutPageDescription(), OutputSectionBreaks(), SectionProperties(), RtfExport::WritePageDescTable(), and WriteSpecialText().
bool MSWordExportBase::m_bOutTable |
Definition at line 557 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputSectionBreaks(), RestoreData(), SaveData(), and WW8Export::WriteStringAsPara().
bool MSWordExportBase::m_bStartTOX |
Definition at line 561 of file wrtww8.hxx.
Referenced by ExportDocument(), DocxExport::OutputEndNode(), OutputSectionNode(), OutputTextNode(), RestoreData(), SaveData(), AttributeOutputBase::StartTOX(), and WriteText().
bool MSWordExportBase::m_bStyDef |
Definition at line 551 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::CharEscapement(), ExportDocument(), ExportPoolItemsToCHP(), WW8AttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatULSpace(), NeedSectionBreak(), OutputFormat(), OutputItemSet(), OutputSectionBreaks(), MSWordStyles::OutputStylesTable(), AttributeOutputBase::ParaOutlineLevelBase(), and WW8AttributeOutput::ParaTabStop().
bool MSWordExportBase::m_bSubstituteBullets |
Definition at line 567 of file wrtww8.hxx.
Referenced by RtfExport::RtfExport(), and SubstituteBullet().
bool MSWordExportBase::m_bTabInTOC |
Definition at line 568 of file wrtww8.hxx.
Referenced by AttributeOutputBase::StartTOX().
RndStdIds MSWordExportBase::m_eNewAnchorType |
Definition at line 524 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputFormat(), RestoreData(), and SaveData().
Map of maps for list levels overrides listid -> level number -> restart value.
Definition at line 468 of file wrtww8.hxx.
Referenced by AddListLevelOverride(), and NumberingDefinitions().
std::map<OUString, size_t> MSWordExportBase::m_Lists |
list-id -> abstractnumdef index
Definition at line 464 of file wrtww8.hxx.
Referenced by DuplicateAbsNum().
sal_uInt16 MSWordExportBase::m_nCharFormatStart |
Definition at line 480 of file wrtww8.hxx.
Referenced by ExportDocument().
SwNodeOffset MSWordExportBase::m_nCurEnd |
Definition at line 577 of file wrtww8.hxx.
Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().
SwNodeOffset MSWordExportBase::m_nCurStart |
Definition at line 577 of file wrtww8.hxx.
Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().
sal_uInt16 MSWordExportBase::m_nFormatCollStart |
Definition at line 481 of file wrtww8.hxx.
Referenced by ExportDocument().
unsigned int MSWordExportBase::m_nHdFtIndex |
Definition at line 486 of file wrtww8.hxx.
Referenced by WW8Export::GetHdFtIndex(), WW8Export::IncrementHdFtIndex(), and WW8Export::SetHdFtIndex().
sal_uInt16 MSWordExportBase::m_nLastFormatId |
Style of last TextNode in normal range.
Definition at line 484 of file wrtww8.hxx.
Referenced by ExportDocument(), and WW8Export::WriteMainText().
sal_Int32 MSWordExportBase::m_nLinkedTextboxesChainId =0 |
Definition at line 518 of file wrtww8.hxx.
Referenced by DocxExport::WriteMainText().
RedlineFlags MSWordExportBase::m_nOrigRedlineFlags |
Remember the original redline mode.
Definition at line 488 of file wrtww8.hxx.
Referenced by ExportDocument(), DocxExport::ExportDocument_Impl(), 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 482 of file wrtww8.hxx.
Referenced by ExportDocument(), OutputTextNode(), and WW8AttributeOutput::TableNodeInfoInner().
sal_uInt8 MSWordExportBase::m_nTextTyp |
Definition at line 549 of file wrtww8.hxx.
Referenced by PlcDrawObj::Append(), WW8Export::AppendFlyInFlys(), WW8Export::CurrentFieldPlc(), RtfAttributeOutput::EndParagraph(), ExportDocument(), MSWord_SdrAttrIter::OutEEField(), SwWW8AttrIter::OutFlys(), DocxExport::OutputEndNode(), RtfExport::OutputEndNode(), OutputTextNode(), RtfAttributeOutput::StartParagraph(), DocxAttributeOutput::StartParagraphProperties(), WW8AttributeOutput::StartRun(), WW8_WrPlcSubDoc::WriteGenericText(), WriteSpecialText(), and WriteText().
sal_uInt16 MSWordExportBase::m_nUniqueList |
current number for creating unique list names
Definition at line 485 of file wrtww8.hxx.
Referenced by DuplicateNumRuleImpl(), OverrideNumRule(), and ~MSWordExportBase().
std::optional<SvxMSExportOLEObjects> MSWordExportBase::m_oOLEExp |
Definition at line 475 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8Export::OutputOLENode(), and ~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 462 of file wrtww8.hxx.
Referenced by NumberingDefinitions(), and OverrideNumRule().
std::unique_ptr<WW8_WrPlcAnnotations> MSWordExportBase::m_pAtn |
Definition at line 504 of file wrtww8.hxx.
Referenced by WW8Export::AppendAnnotationMarks(), WW8Export::ExportDocument_Impl(), WW8AttributeOutput::PostitField(), WW8AttributeOutput::StartRun(), WW8Export::StoreDoc1(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<WW8_WrtBookmarks> MSWordExportBase::m_pBkmks |
Definition at line 472 of file wrtww8.hxx.
Referenced by WW8Export::AppendBookmark(), WW8Export::AppendBookmarkEndWithCorrection(), WW8Export::AppendBookmarks(), WW8Export::ExportDocument_Impl(), WW8Export::MoveFieldMarks(), and WW8Export::WriteFkpPlcUsw().
MSWordAttrIter* MSWordExportBase::m_pChpIter |
Definition at line 502 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::CharBorder(), GetItem(), HasItem(), MSWordAttrIter::MSWordAttrIter(), and MSWordAttrIter::~MSWordAttrIter().
std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pChpPlc |
Definition at line 501 of file wrtww8.hxx.
Referenced by WW8Export::AppendFlyInFlys(), WW8Export::DoFormText(), WW8AttributeOutput::EndParagraph(), WW8AttributeOutput::EndRunProperties(), SwMSConvertControls::ExportControl(), WW8Export::ExportDocument_Impl(), WW8AttributeOutput::FieldVanish(), WW8AttributeOutput::FormatDrop(), WW8AttributeOutput::HiddenField(), InsertSpecialChar(), WW8Export::OutGrf(), WW8Export::OutGrfBullets(), WW8Export::OutputField(), WW8AttributeOutput::OutputFKP(), WW8Export::OutputLinkedOLE(), WW8Export::OutputOLENode(), WW8Export::ReplaceCr(), WW8AttributeOutput::StartURL(), WW8Export::WriteFkpPlcUsw(), WW8Export::WriteFootnoteBegin(), WW8Export::WriteFormData(), WW8Export::WriteOutliner(), WW8Export::WritePostItBegin(), and WW8Export::WriteStringAsPara().
std::shared_ptr<SwUnoCursor>& MSWordExportBase::m_pCurPam |
Definition at line 578 of file wrtww8.hxx.
Referenced by AddLinkTarget(), RtfAttributeOutput::EndParagraph(), DocxAttributeOutput::EndParagraphProperties(), DocxAttributeOutput::EndRedline(), ExportDocument(), IsInTable(), MSWordSections::MSWordSections(), WW8AttributeOutput::ParaTabStop(), RestoreData(), DocxAttributeOutput::RunText(), SaveData(), DocxAttributeOutput::SectionBreak(), SetCurPam(), DocxAttributeOutput::StartParagraph(), DocxAttributeOutput::StartRedline(), AttributeOutputBase::TextField(), DocxExport::WriteMainText(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), WriteSpecialText(), and WriteText().
const SwPageDesc* MSWordExportBase::m_pCurrentPageDesc |
Definition at line 497 of file wrtww8.hxx.
Referenced by WW8Export::CurrentPageWidth(), RtfExport::ExportDocument_Impl(), AttributeOutputBase::FormatColumns(), DocxAttributeOutput::FormatFrameSize(), WW8AttributeOutput::FormatFrameSize(), WW8Export::GetCurrentPageBgBrush(), GetCurrentPageDirection(), MSWordSections::MSWordSections(), NeedSectionBreak(), RtfExport::OutPageDescription(), DocxExport::OutputEndNode(), OutputFollowPageDesc(), OutputSectionBreaks(), OutputSectionNode(), OutputTextNode(), RestoreData(), SaveData(), SectionProperties(), SetCurrentPageDescFromNode(), RtfExport::WriteHeaderFooter(), RtfAttributeOutput::WriteHeaderFooter_Impl(), and WriteText().
const SwFormat* MSWordExportBase::m_pCurrentStyle |
Definition at line 540 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::CharBorder(), DocxAttributeOutput::CharEscapement(), ExportDocument(), ExportPoolItemsToCHP(), DocxAttributeOutput::FormatBox(), WW8AttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatULSpace(), OutputItemSet(), AttributeOutputBase::ParaOutlineLevelBase(), WW8AttributeOutput::ParaTabStop(), DocxAttributeOutput::ParaTabStop(), and MSWordStyles::WriteProperties().
SwEscherEx* MSWordExportBase::m_pEscher |
Definition at line 545 of file wrtww8.hxx.
Referenced by WW8Export::AppendFlyInFlys(), WW8Export::CreateEscher(), ExportDocument(), WW8Export::WriteEscher(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<WW8_WrtFactoids> MSWordExportBase::m_pFactoids |
Definition at line 505 of file wrtww8.hxx.
Referenced by WW8Export::AppendSmartTags(), WW8Export::ExportDocument_Impl(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldAtn |
Definition at line 530 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcAnnotations::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldEdn |
Definition at line 529 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcFootnoteEdn::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldFootnote |
Definition at line 528 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcFootnoteEdn::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHdFt |
Definition at line 527 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcSepx::WriteKFText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHFTextBxs |
Definition at line 532 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcTextBoxes::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldMain |
Definition at line 526 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8Export::WriteMainText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldTextBxs |
Definition at line 531 of file wrtww8.hxx.
Referenced by WW8Export::CurrentFieldPlc(), WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcTextBoxes::WriteText().
const SwFrameFormat* MSWordExportBase::m_pFirstPageFormat = nullptr |
Definition at line 458 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::FormatULSpace(), and SectionProperties().
Point* MSWordExportBase::m_pFlyOffset |
Definition at line 523 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputFormat(), RestoreData(), and SaveData().
std::unique_ptr<SwWW8WrGrf> MSWordExportBase::m_pGrf |
Definition at line 537 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::OutGrf(), WW8Export::OutGrfBullets(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcPn::WriteFkps().
std::unique_ptr<HdFtPlcDrawObj> MSWordExportBase::m_pHFSdrObjs |
Definition at line 543 of file wrtww8.hxx.
Referenced by WW8Export::AppendFlyInFlys(), WW8Export::CreateEscher(), WW8Export::ExportDocument_Impl(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<WW8_WrPlcTextBoxes> MSWordExportBase::m_pHFTextBxs |
Definition at line 506 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::StoreDoc1(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
const SfxItemSet* MSWordExportBase::m_pISet |
Definition at line 457 of file wrtww8.hxx.
Referenced by GetCurItemSet(), GetItem(), GetParaTabStopOffset(), HasItem(), OutputItemSet(), AttributeOutputBase::ParaNumRule(), WW8AttributeOutput::SectionPageBorders(), SectionProperties(), and SetCurItemSet().
std::shared_ptr<NfKeywordTable> MSWordExportBase::m_pKeyMap |
Definition at line 474 of file wrtww8.hxx.
Referenced by GetNfKeywordTable().
std::unique_ptr<WW8_WrMagicTable> MSWordExportBase::m_pMagicTable |
Definition at line 533 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::StoreDoc1(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<SwMSConvertControls> MSWordExportBase::m_pOCXExp |
Definition at line 476 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8Export::GetOCXExp(), and ~MSWordExportBase().
SwPaM* MSWordExportBase::m_pOrigPam |
Definition at line 579 of file wrtww8.hxx.
Referenced by ExportDocument(), RestoreData(), SaveData(), SetCurPam(), and WriteSpecialText().
const sw::BroadcastingModify* MSWordExportBase::m_pOutFormatNode |
Definition at line 539 of file wrtww8.hxx.
Referenced by AttributeOutputBase::CharBackgroundBase(), ExportDocument(), ExportPoolItemsToCHP(), WW8AttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatULSpace(), GetDefaultFrameDirection(), MSWord_SdrAttrIter::OutAttr(), SwWW8AttrIter::OutAttr(), WW8Export::OutGrf(), OutputFormat(), OutputItemSet(), OutputTextNode(), WW8AttributeOutput::ParaAdjust(), AttributeOutputBase::ParaLineSpacing(), AttributeOutputBase::ParaNumRule(), and MSWordStyles::SetStyleDefaults().
std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pPapPlc |
Definition at line 500 of file wrtww8.hxx.
Referenced by WW8AttributeOutput::EndParagraph(), WW8Export::ExportDocument_Impl(), WW8AttributeOutput::FormatDrop(), WW8Export::OutGrf(), WW8Export::ReplaceCr(), WW8Export::StoreDoc1(), WW8AttributeOutput::TableNodeInfoInner(), WW8Export::WriteFkpPlcUsw(), WW8Export::WriteOutliner(), and WW8Export::WriteStringAsPara().
const ww8::Frame* MSWordExportBase::m_pParentFrame |
Definition at line 520 of file wrtww8.hxx.
Referenced by ExportDataSaveRestore::ExportDataSaveRestore(), ExportDocument(), RtfAttributeOutput::FlyFrameGraphic(), WW8AttributeOutput::FormatAnchor(), DocxAttributeOutput::FormatBox(), DocxAttributeOutput::FormatFillGradient(), WW8AttributeOutput::FormatHorizOrientation(), AttributeOutputBase::GetTablePageSize(), WW8AttributeOutput::OutputFlyFrame_Impl(), RtfAttributeOutput::OutputFlyFrame_Impl(), OutputFormat(), WW8Export::OutputGrfNode(), WW8Export::OutputOLENode(), OutputTextNode(), RestoreData(), SaveData(), DocxAttributeOutput::WriteFloatingTable(), and RtfAttributeOutput::writeTextFrame().
std::unique_ptr<WW8_WrPct> MSWordExportBase::m_pPiece |
Definition at line 459 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::Fc2Cp(), WW8Export::ReplaceCr(), WW8Export::WriteCR(), and WW8Export::WriteFkpPlcUsw().
const SwPageDesc* MSWordExportBase::m_pPreviousSectionPageDesc |
Definition at line 498 of file wrtww8.hxx.
Referenced by SectionProperties().
std::unique_ptr<WW8_WrtRedlineAuthor> MSWordExportBase::m_pRedlAuthors |
Definition at line 473 of file wrtww8.hxx.
Referenced by WW8Export::AddRedlineAuthor(), ExportDocument(), WW8Export::ExportDocument_Impl(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<MainTextPlcDrawObj> MSWordExportBase::m_pSdrObjs |
Definition at line 542 of file wrtww8.hxx.
Referenced by WW8Export::AppendFlyInFlys(), WW8Export::CreateEscher(), WW8Export::ExportDocument_Impl(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
const SwAttrSet* MSWordExportBase::m_pStyAttr |
Definition at line 538 of file wrtww8.hxx.
Referenced by ExportDocument(), DocxAttributeOutput::FormatBox(), OutputTextNode(), WW8AttributeOutput::ParaTabStop(), and DocxAttributeOutput::ParaTabStop().
std::unique_ptr<MSWordStyles> MSWordExportBase::m_pStyles |
Definition at line 503 of file wrtww8.hxx.
Referenced by DocxExport::ExportDocument_Impl(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), DocxAttributeOutput::FootnoteEndnoteRefTag(), GetId(), MSWordStyles::GetStyleWWName(), AttributeOutputBase::GridCharacterPitch(), SwWW8AttrIter::handleToggleProperty(), DocxExport::InitStyles(), DocxAttributeOutput::NumberingLevel(), DocxAttributeOutput::ParagraphStyle(), DocxAttributeOutput::Redline(), DocxAttributeOutput::StartStyle(), DocxAttributeOutput::TextCharFormat(), DocxAttributeOutput::TextFootnote_Impl(), DocxAttributeOutput::TextINetFormat(), WW8Export::WriteFkpPlcUsw(), and RtfExport::WriteStyles().
ww8::WW8TableInfo::Pointer_t MSWordExportBase::m_pTableInfo |
Definition at line 478 of file wrtww8.hxx.
Referenced by DocxAttributeOutput::EndParagraph(), IsInTable(), OutputEndNode(), OutputStartNode(), OutputTextNode(), DocxAttributeOutput::popFromTableExportContext(), DocxAttributeOutput::pushToTableExportContext(), RtfExport::WritePageDescTable(), WriteSpecialText(), WriteText(), and RtfAttributeOutput::writeTextFrame().
std::unique_ptr<WW8_WrPlcTextBoxes> MSWordExportBase::m_pTextBxs |
Definition at line 506 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::StoreDoc1(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
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(), and SetHdFtPageRoot().
std::unique_ptr<SwNumRuleTable> MSWordExportBase::m_pUsedNumTable |
Definition at line 460 of file wrtww8.hxx.
Referenced by AbstractNumberingDefinitions(), DuplicateAbsNum(), DuplicateNumRuleImpl(), GetNumberingId(), NumberingDefinitions(), WW8Export::OutListNamesTab(), WW8Export::OutOverrideListTab(), DocxAttributeOutput::OverrideNumberingDefinition(), OverrideNumRule(), DocxAttributeOutput::ParaNumRule_Impl(), DocxAttributeOutput::StartAbstractNumbering(), DocxExport::WriteNumbering(), RtfExport::WriteNumbering(), WW8Export::WriteNumbering(), and ~MSWordExportBase().
SwDoc& MSWordExportBase::m_rDoc |
Definition at line 576 of file wrtww8.hxx.
Referenced by AddLinkTarget(), RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), CollectGrfsOfBullets(), WW8Export::CreateEscher(), WW8Export::CurrentPageWidth(), DocxAttributeOutput::DocDefaults(), DuplicateNumRuleImpl(), DocxAttributeOutput::EmbedFont(), RtfAttributeOutput::EndParagraph(), DocxAttributeOutput::ExportAsActiveXControl(), ExportDocument(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), WW8Export::ExportDopTypography(), ExportPoolItemsToCHP(), DocxAttributeOutput::FootnoteEndnoteRefTag(), DocxAttributeOutput::FootnotesEndnotes(), AttributeOutputBase::FormatColumns(), DocxAttributeOutput::FormatTextLeftMargin(), GatherChapterFields(), AttributeOutputBase::GenerateBookmarksForSequenceField(), GetAnnotationMarks(), getBackground(), GetBookmarks(), WW8Export::GetCurrentPageBgBrush(), GetCurrentPageDirection(), GetDefaultFrameDirection(), SwBasicEscherEx::GetInvisibleHellId(), GetItem(), MSWord_SdrAttrIter::GetItem(), GetNumberFormat(), GetNumberingId(), SwWW8AttrIter::GetParagraphLevelRedline(), GetParaTabStopOffset(), SwWW8AttrIter::GetRunLevelRedline(), WW8Export::GetSdrOrdNum(), AttributeOutputBase::GetTablePageSize(), DocxExport::getWordCompatibilityModeFromGrabBag(), HasItem(), HasRefToAttr(), HasRefToFootOrEndnote(), MSWord_SdrAttrIter::HasTextItem(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwBasicEscherEx::Init(), DocxExport::isMirroredMargin(), DocxAttributeOutput::LatentStyles(), lcl_getFormatCollection(), WW8Export::MiserableRTLFrameFormatHack(), MSWordSections::MSWordSections(), MSWordStyles::MSWordStyles(), NumberingLevel(), MSWord_SdrAttrIter::OutAttr(), RtfExport::OutColorTable(), WW8Export::OutGrf(), MSWord_SdrAttrIter::OutParaAttr(), WW8AttributeOutput::OutputFlyFrame_Impl(), OutputFormat(), WW8Export::OutputLinkedOLE(), OutputSectionBreaks(), OutputTextNode(), WW8AttributeOutput::ParaAdjust(), AttributeOutputBase::ParaNumRule(), WW8Export::PrepareStorage(), DocxAttributeOutput::Redline(), WW8Export::RestoreMacroCmds(), WW8AttributeOutput::RTLAndCJKState(), SwWW8AttrIter::SearchNext(), DocxAttributeOutput::SectFootnoteEndnotePr(), RtfAttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectFootnoteEndnotePr(), DocxAttributeOutput::SectionBreak(), SectionProperties(), SetCurPam(), MSWord_SdrAttrIter::SetItemsThatDifferFromStandard(), MSWordStyles::SetStyleDefaults(), AttributeOutputBase::StartTOX(), SwEscherEx::SwEscherEx(), SwWW8AttrIter::SwWW8AttrIter(), DocxAttributeOutput::TableCellRedline(), WW8AttributeOutput::TableDefinition(), DocxAttributeOutput::TableRowRedline(), WW8Export::TestOleNeedsGraphic(), AttributeOutputBase::TextField(), DocxAttributeOutput::TextFootnote_Impl(), RtfAttributeOutput::TextFootnote_Impl(), DocxAttributeOutput::TextINetFormat(), WW8AttributeOutput::TextINetFormat(), DocxExport::WriteActiveXObject(), DocxExport::WriteCustomXml(), RtfExport::WriteDocVars(), DocxExport::WriteDocVars(), WriteDop(), DocxExport::WriteEmbeddings(), WW8Export::WriteFkpPlcUsw(), WW8Export::WriteFootnoteBegin(), WW8_WrPlcSepx::WriteFootnoteEndText(), RtfExport::WriteFootnoteSettings(), DocxExport::WriteGlossary(), RtfExport::WriteInfo(), DocxExport::WriteMainText(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), SwEscherEx::WriteOCXControl(), DocxAttributeOutput::WriteOLE(), DocxExport::WriteOutliner(), DocxAttributeOutput::WriteOutliner(), RtfExport::WritePageDescTable(), PlcDrawObj::WritePlc(), DocxExport::WriteProperties(), RtfExport::WriteRevTab(), DocxExport::WriteSettings(), WriteText(), DocxExport::WriteTheme(), RtfExport::WriteUserProps(), DocxExport::WriteVBA(), and WW8Ruby::WW8Ruby().
IMarkVector MSWordExportBase::m_rSortedAnnotationMarksEnd |
Definition at line 589 of file wrtww8.hxx.
Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().
IMarkVector MSWordExportBase::m_rSortedAnnotationMarksStart |
Definition at line 588 of file wrtww8.hxx.
Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().
IMarkVector MSWordExportBase::m_rSortedBookmarksEnd |
Definition at line 587 of file wrtww8.hxx.
Referenced by GetSortedBookmarks(), and NearestBookmark().
IMarkVector MSWordExportBase::m_rSortedBookmarksStart |
Definition at line 586 of file wrtww8.hxx.
Referenced by GetSortedBookmarks(), and NearestBookmark().
std::unordered_map<SwTOXMark const*, OUString> MSWordExportBase::m_TOXMarkBookmarksByTOXMark |
Definition at line 495 of file wrtww8.hxx.
Referenced by AddLinkTarget().
std::unordered_map<OUString, OUString> MSWordExportBase::m_TOXMarkBookmarksByURL |
Definition at line 494 of file wrtww8.hxx.
Referenced by AddLinkTarget().
|
protected |
Vector to record all the graphics of bullets.
Definition at line 922 of file wrtww8.hxx.
Referenced by BulletDefinitions(), CollectGrfsOfBullets(), WW8Export::ExportGrfBullet(), GetGrfIndex(), and RtfExport::WriteNumbering().