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 (sal_uLong nStart, sal_uLong nEnd, sal_uInt8 nTTyp) |
Set the pCurPam appropriately and call WriteText(). More... | |
void | ExportPoolItemsToCHP (ww8::PoolItems &rItems, sal_uInt16 nScript, const SvxFontItem *pFont, bool bWriteCombChars=false) |
Export the pool items to attributes (through an attribute output class). More... | |
sal_uInt16 | GetNumberingId (const SwNumRule &rNumRule) |
Return the numeric id of the numbering rule. More... | |
sal_uInt16 | GetId (const SwTextFormatColl &rColl) const |
Return the numeric id of the style. More... | |
sal_uInt16 | GetId (const SwCharFormat *pFormat) const |
Return the numeric id of the style. More... | |
sal_uInt16 | GetId (const SwTOXType &rTOXType) |
sal_uInt16 | GetId (const SvxFontItem &rFont) |
Return the numeric id of the font (and add it to the font list if needed) More... | |
void | GetId (const wwFont &rFont) |
const 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... | |
SwNumRule * | DuplicateNumRuleImpl (const SwNumRule *pRule) |
In case of numbering restart. More... | |
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)=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 (sal_uLong nStt, sal_uLong nEnd) |
Remember some of the members so that we can recurse in WriteText(). More... | |
virtual void | RestoreData () |
Restore what was saved in SaveData(). More... | |
bool | OutputFollowPageDesc (const SfxItemSet *pSet, const SwTextNode *pNd) |
The return value indicates, if a follow page desc is written. More... | |
void | WriteHeaderFooterText (const SwFormat &rFormat, bool bHeader) |
Write header/footer text. More... | |
void | OutputSectionBreaks (const SfxItemSet *pSet, const SwNode &rNd, bool isCellOpen=false) |
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 &rLeftFormat, const SwFrameFormat &rFirstPageFormat, sal_uInt8 nBreakCode)=0 |
Output the actual headers and footers. More... | |
virtual void | OutputField (const SwField *pField, ww::eField eFieldType, const OUString &rFieldCmd, FieldFlags nMode=FieldFlags::All)=0 |
Write the field. More... | |
virtual void | WriteFormData (const ::sw::mark::IFieldmark &rFieldmark)=0 |
Write the data of the form field. More... | |
virtual void | WriteHyperlinkData (const ::sw::mark::IFieldmark &rFieldmark)=0 |
virtual void | DoComboBox (const OUString &rName, const OUString &rHelp, const OUString &ToolTip, const OUString &rSelected, const css::uno::Sequence< OUString > &rListItems)=0 |
virtual void | DoFormText (const SwInputField *pField)=0 |
bool | GetNumberFormat (const SwField &rField, OUString &rStr) |
virtual sal_uLong | ReplaceCr (sal_uInt8 nChar)=0 |
const SfxPoolItem * | HasItem (sal_uInt16 nWhich) const |
int | GetGrfIndex (const SvxBrushItem &rBrush) |
Returns the index of a picture bullet, used in numberings. More... | |
virtual ExportFormat | GetExportFormat () const =0 |
MSWordExportBase (SwDoc &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 (const OUString &rURL) |
void | CollectOutlineBookmarks (const SwDoc &rDoc) |
bool | SetCurrentPageDescFromNode (const SwNode &rNd) |
bool | ContentContainsChapterField (const SwFormatContent &rContent) const |
bool | FormatHdFtContainsChapterField (const SwFrameFormat &rFormat) const |
virtual void | SectionBreaksAndFrames (const SwTextNode &rNode)=0 |
virtual void | PrepareNewPageDesc (const SfxItemSet *pSet, const SwNode &rNd, const SwFormatPageDesc *pNewPgDescFormat, const SwPageDesc *pNewPgDesc)=0 |
virtual bool | DisallowInheritingOutlineNumbering (const SwFormat &rFormat)=0 |
Return value indicates if an inherited outline numbering is suppressed. More... | |
void | OutputStartNode (const SwStartNode &) |
Output SwStartNode. More... | |
virtual void | OutputEndNode (const SwEndNode &) |
Output SwEndNode. More... | |
virtual void | OutputGrfNode (const SwGrfNode &)=0 |
Output SwGrfNode. More... | |
virtual void | OutputOLENode (const SwOLENode &)=0 |
Output SwOLENode. More... | |
virtual void | OutputLinkedOLE (const OUString &)=0 |
void | OutputSectionNode (const SwSectionNode &) |
Output SwSectionNode. More... | |
virtual void | AppendSection (const SwPageDesc *pPageDesc, const SwSectionFormat *pFormat, sal_uLong nLnNum)=0 |
void | OutputContentNode (SwContentNode &) |
Call the right (virtual) function according to the type of the item. More... | |
bool | NearestBookmark (sal_Int32 &rNearest, const sal_Int32 nCurrentPos, bool bNextPositionOnly) |
Find the nearest bookmark from the current position. More... | |
void | GetSortedBookmarks (const SwTextNode &rNd, sal_Int32 nCurrentPos, sal_Int32 nLen) |
bool | GetBookmarks (const SwTextNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, IMarkVector &rArr) |
void | NearestAnnotationMark (sal_Int32 &rNearest, const sal_Int32 nCurrentPos, bool bNextPositionOnly) |
Find the nearest annotation mark from the current position. More... | |
void | GetSortedAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen) |
bool | GetAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nStt, sal_Int32 nEnd, IMarkVector &rArr) |
const NfKeywordTable & | GetNfKeywordTable () |
void | SetCurPam (sal_uLong nStt, sal_uLong 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 448 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 580 of file wrtww8.hxx.
Enumerator | |
---|---|
DOC | |
RTF | |
DOCX |
Definition at line 815 of file wrtww8.hxx.
MSWordExportBase::MSWordExportBase | ( | SwDoc & | rDocument, |
std::shared_ptr< SwUnoCursor > & | pCurrentPam, | ||
SwPaM * | pOriginalPam | ||
) |
Definition at line 3821 of file wrtww8.cxx.
References FLY_AS_CHAR, and make_shared().
|
virtual |
Definition at line 3882 of file wrtww8.cxx.
References m_nUniqueList, m_pOCXExp, m_pOLEExp, and m_pUsedNumTable.
|
privatedelete |
void MSWordExportBase::AbstractNumberingDefinitions | ( | ) |
Write all Levels for all SwNumRules - LVLF.
Definition at line 395 of file wrtw8num.cxx.
References SwNumRule::IsContinusNum(), n, nCount, WW8ListManager::nMaxLevel, and WW8ListManager::nMinLevel.
Referenced by RtfExport::WriteNumbering().
|
protected |
Definition at line 3119 of file wrtww8.cxx.
References aName, aURL, BookmarkToWriter(), cMarkSeparator, SwDoc::FindFlyByName(), SwTable::FindTable(), SwDoc::FindTableFormatByName(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNext(), SwPaM::GetPoint(), SwDoc::GetSections(), SwTable::GetTabSortBoxes(), SwDoc::GotoOutline(), Grf, m_aImplicitBookmarks, m_rDoc, nPos, Ole, and Text.
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 104 of file wrtw8num.cxx.
|
pure virtual |
Determines the Section Breaks are to be added for TOX Section.
Implemented in WW8Export, DocxExport, and RtfExport.
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode(), and SwWW8AttrIter::OutSwFormatRefMark().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
|
protectedpure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputSectionNode(), and WriteText().
|
inlinevirtual |
Reimplemented in WW8Export.
Definition at line 709 of file wrtww8.hxx.
Referenced by OutputTextNode().
|
pure virtual |
Access to the attribute output class.
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by BulletDefinitions(), MSWord_SdrAttrIter::OutAttr(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), MSWord_SdrAttrIter::OutEEField(), SwWW8AttrIter::OutFlys(), MSWord_SdrAttrIter::OutParaAttr(), OutputEndNode(), OutputSectionNode(), OutputStartNode(), MSWordStyles::OutputStyle(), MSWordStyles::OutputStylesTable(), OutputTextNode(), SectionProperties(), MSWordStyles::SetStyleDefaults(), WriteHeaderFooterText(), and MSWordStyles::WriteProperties().
|
protected |
Write the numbering picture bullets.
Definition at line 1557 of file wrtww8.cxx.
References AttrOutput(), AttributeOutputBase::BulletDefinition(), Application::GetDefaultDevice(), MapMode::GetMapUnit(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), i, OutputDevice::LogicToLogic(), m_vecBulletPic, and OutputDevice::PixelToLogic().
Referenced by 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 WW8Export, DocxExport, and RtfExport.
Referenced by MSWord_SdrAttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().
|
protected |
Populates m_vecBulletPic with all the bullet graphics used by numberings.
Definition at line 1516 of file wrtww8.cxx.
References SwVectorModifyBase< Value >::at(), SwNumRule::Get(), SvxNumberFormat::GetBrush(), Graphic::GetChecksum(), SvxBrushItem::GetGraphic(), SvxNumberType::GetNumberingType(), SwDoc::GetNumRuleTable(), Graphic::GetPrefSize(), SwNumRule::IsContinusNum(), m_rDoc, m_vecBulletPic, n, p, SwVectorModifyBase< Value >::size(), and SVX_NUM_BITMAP.
Referenced by WW8Export::ExportGrfBullet(), and RtfExport::WriteNumbering().
Definition at line 3222 of file wrtww8.cxx.
References AddLinkTarget(), SwDoc::GetAttrPool(), SfxItemPool::GetItemSurrogates(), SwNode::GetNodes(), SwTextINetFormat::GetpTextNode(), IMapObject::GetURL(), i, SwNodes::IsDocNodes(), RES_TXTATR_INETFMT(), and RES_URL().
Referenced by ExportDocument().
|
protected |
Definition at line 393 of file ww8atr.cxx.
References SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), and i.
|
static |
Definition at line 679 of file ww8atr.cxx.
References SvxTabStopItem::Count(), SvxTabStop::GetAdjustment(), SfxItemSet::GetItem(), SvxTabStop::GetTabPos(), SfxItemSet::Put(), SvxTabStopItem::Remove(), and RES_PARATR_TABSTOP().
Referenced by OutputTextNode().
|
protectedpure virtual |
Return value indicates if an inherited outline numbering is suppressed.
Implemented in WW8Export, DocxExport, and RtfExport.
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
sal_uInt16 MSWordExportBase::DuplicateAbsNum | ( | OUString const & | rListId, |
SwNumRule const & | rAbstractRule | ||
) |
check if a new abstractNum is needed for this list
Definition at line 61 of file wrtw8num.cxx.
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 43 of file wrtw8num.cxx.
References SwNumRule::Get(), SwDoc::GetUniqueNumRuleName(), i, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, m_rDoc, MAXLEVEL, SwNumRule::Set(), and sPrefix.
ErrCode MSWordExportBase::ExportDocument | ( | bool | bWriteAll | ) |
The main function to export the document.
Definition at line 3289 of file wrtww8.cxx.
References CollectOutlineBookmarks(), DEFAULT_STYLES_COUNT, SwRedlineTable::empty(), err, ExportDocument_Impl(), GatherChapterFields(), SvtFilterOptions::Get(), SwDoc::GetCharFormats(), IDocumentLayoutAccess::GetCurrentLayout(), SwDoc::GetDocShell(), IDocumentDrawModelAccess::GetDrawModel(), SwNodes::GetEndOfContent(), sw::util::GetFrames(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetNodes(), SdrModel::GetPage(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), wwFontHelper::InitFontTable(), SvtFilterOptions::IsCalc2Excel(), SvtFilterOptions::IsImpress2PowerPoint(), SvtFilterOptions::IsMath2MathType(), SvtFilterOptions::IsWriter2WinWord(), m_aFontHelper, m_aFrames, m_aTOXArr, m_bBreakBefore, m_bEndAtTextEnd, m_bFootnoteAtTextEnd, m_bInWriteEscher, m_bInWriteTOX, m_bOrigShowChanges, m_bOutFirstPage, m_bOutFlyFrameAttrs, m_bOutGrf, m_bOutKF, m_bOutPageDescs, m_bOutTable, m_bStartTOX, m_bStyDef, m_eNewAnchorType, m_nCharFormatStart, m_nFormatCollStart, m_nLastFormatId, m_nOrigRedlineFlags, m_nStyleBeforeFly, m_nTextTyp, m_pCurrentStyle, m_pEscher, m_pFlyOffset, m_pOCXExp, m_pOLEExp, 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, SwVectorModifyBase< Value >::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 WW8Export, DocxExport, and RtfExport.
Referenced by ExportDocument().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
void MSWordExportBase::ExportPoolItemsToCHP | ( | ww8::PoolItems & | rItems, |
sal_uInt16 | nScript, | ||
const SvxFontItem * | pFont, | ||
bool | bWriteCombChars = false |
||
) |
Export the pool items to attributes (through an attribute output class).
Definition at line 208 of file ww8atr.cxx.
References COL_AUTO(), COL_BLACK, COL_TRANSPARENT(), COL_WHITE, SwFormat::GetAttrSet(), SwFormatCharFormat::GetCharFormat(), SvxBrushItem::GetColor(), SvxFontHeightItem::GetHeight(), sw::util::GetPoolItems(), sw::util::GetSwCharFormat(), SvxColorItem::GetValue(), isCHRATR(), Color::IsDark(), isTXTATR(), m_rDoc, 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(), and SfxPoolItem::Which().
Referenced by SwWW8AttrIter::OutAttr().
|
pure virtual |
Determines if the import filter already quoted fields or not.
Implemented in WW8Export, DocxExport, and RtfExport.
|
protected |
Definition at line 409 of file ww8atr.cxx.
References SwFormat::GetContent(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), and SwFormatHeader::GetHeaderFormat().
|
protected |
Setup the chapter fields (maChapterFieldLocs).
Definition at line 386 of file ww8atr.cxx.
References Chapter, SwFieldType::GatherNodeIndex(), SwDoc::getIDocumentFieldsAccess(), IDocumentFieldsAccess::GetSysFieldType(), and m_rDoc.
Referenced by ExportDocument().
|
protected |
Definition at line 1950 of file wrtw8nds.cxx.
References IDocumentMarkAccess::getAnnotationMarksBegin(), IDocumentMarkAccess::getAnnotationMarksCount(), SwDoc::getIDocumentMarkAccess(), SwIndex::GetIndex(), SwNode::GetIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), SwWW8AttrIter::GetNode(), SwWW8AttrIter::HasFlysAt(), i, m_rDoc, SwPosition::nContent, and SwPosition::nNode.
Referenced by RtfExport::AppendAnnotationMarks(), WW8Export::AppendAnnotationMarks(), and GetSortedAnnotationMarks().
|
protected |
Get background color of the document, if there is one.
Definition at line 1500 of file wrtww8.cxx.
References COL_AUTO(), SwFormat::GetBackgroundState(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), m_rDoc, and RES_BACKGROUND().
Referenced by RtfExport::WriteMainText().
|
static |
Find the bookmark name.
Definition at line 930 of file ww8atr.cxx.
References assert(), BookmarkToWord(), REF_BOOKMARK, REF_ENDNOTE, REF_FOOTNOTE, REF_OUTLINE, REF_SEQUENCEFLD, and REF_SETREFATTR.
Referenced by SwWW8AttrIter::OutSwFormatRefMark(), AttributeOutputBase::TextField(), and AttributeOutputBase::TextFootnote().
|
protected |
Definition at line 1902 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(), SwDoc::getIDocumentMarkAccess(), SwIndex::GetIndex(), SwNode::GetIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), IDocumentMarkAccess::GetType(), i, m_rDoc, IDocumentMarkAccess::NAVIGATOR_REMINDER, SwPosition::nContent, SwPosition::nNode, IDocumentMarkAccess::TEXT_FIELDMARK, and IDocumentMarkAccess::UNO_BOOKMARK.
Referenced by RtfExport::AppendBookmarks(), WW8Export::AppendBookmarks(), and GetSortedBookmarks().
|
inline |
Getter for pISet.
Definition at line 725 of file wrtww8.hxx.
References m_pISet.
Referenced by MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().
SvxFrameDirection MSWordExportBase::GetCurrentPageDirection | ( | ) | const |
Right to left?
Definition at line 1575 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 1583 of file wrtw8nds.cxx.
References GetAppLanguage(), GetCurrentPageDirection(), SwDoc::GetTextDirection(), MsLangId::isRightToLeft(), m_bOutFlyFrameAttrs, m_bOutPageDescs, m_pOutFormatNode, m_rDoc, and TrueFrameDirection().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
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 1624 of file wrtww8.cxx.
References Graphic::GetChecksum(), SvxBrushItem::GetGraphic(), i, m_vecBulletPic, and nIndex.
|
inline |
Top node of host page when in header/footer.
Definition at line 780 of file wrtww8.hxx.
References m_pTopNodeOfHdFtPage.
Referenced by SectionProperties().
sal_uInt16 MSWordExportBase::GetId | ( | const SwTextFormatColl & | rColl | ) | const |
Return the numeric id of the style.
Definition at line 134 of file wrtw8sty.cxx.
Referenced by WW8AttributeOutput::FormatDrop(), OutputTextNode(), and WW8Export::WriteMainText().
sal_uInt16 MSWordExportBase::GetId | ( | const SwCharFormat * | pFormat | ) | const |
Return the numeric id of the style.
Definition at line 126 of file wrtw8sty.cxx.
sal_uInt16 MSWordExportBase::GetId | ( | const SwTOXType & | rTOXType | ) |
Definition at line 1909 of file ww8atr.cxx.
|
inline |
Return the numeric id of the font (and add it to the font list if needed)
Definition at line 616 of file wrtww8.hxx.
References wwFontHelper::GetId().
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 621 of file wrtww8.hxx.
References wwFontHelper::GetId().
const SfxPoolItem & MSWordExportBase::GetItem | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 775 of file wrtww8.cxx.
References assert(), sw::hack::GetSetWhichFromSwDocWhich(), and m_rDoc.
Referenced by GetItem(), WW8Export::OutGrf(), and WW8Ruby::WW8Ruby().
|
inline |
Definition at line 627 of file wrtww8.hxx.
References GetItem().
|
protected |
Get the next position in the text node to output.
Definition at line 1873 of file wrtw8nds.cxx.
References GetSortedAnnotationMarks(), GetSortedBookmarks(), NearestAnnotationMark(), NearestBookmark(), and SwWW8AttrIter::WhereNext().
Referenced by OutputTextNode().
|
protected |
Definition at line 4437 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.
bool MSWordExportBase::GetNumberFormat | ( | const SwField & | rField, |
OUString & | rStr | ||
) |
Definition at line 2536 of file ww8atr.cxx.
References SvNumberFormatter::GetComponentContext(), SvNumberFormatter::GetEntry(), SwField::GetFormat(), SwField::GetLanguage(), SvNumberformat::GetMappedFormatstring(), SwDoc::GetNumberFormatter(), m_rDoc, and sw::ms::SwapQuotesInField().
sal_uInt16 MSWordExportBase::GetNumberingId | ( | const SwNumRule & | rNumRule | ) |
Return the numeric id of the numbering rule.
Definition at line 111 of file wrtw8num.cxx.
References SwVectorModifyBase< Value >::begin(), SwVectorModifyBase< Value >::end(), SwDoc::GetNumRuleTable(), SwDoc::GetOutlineNumRule(), SwDoc::IsUsed(), m_rDoc, n, and p.
Referenced by RtfExport::BuildNumbering().
|
static |
Format of the section.
Definition at line 619 of file ww8atr.cxx.
References Content, SwNode::FindSectionNode(), SwSection::GetFormat(), SwSectionNode::GetSection(), and SwSection::GetType().
Referenced by RtfExport::PrepareNewPageDesc().
|
static |
Line number of the section start.
Definition at line 632 of file ww8atr.cxx.
References SwNode::GetContentNode(), SwFormatLineNumber::GetStartValue(), and RES_LINENUMBER().
Referenced by RtfExport::PrepareNewPageDesc().
|
protected |
Definition at line 2073 of file wrtw8nds.cxx.
References GetAnnotationMarks(), SwNode::GetIndex(), SwWW8AttrIter::GetNode(), m_rSortedAnnotationMarksEnd, and m_rSortedAnnotationMarksStart.
Referenced by GetNextPos().
|
protected |
Definition at line 2107 of file wrtw8nds.cxx.
References GetBookmarks(), SwNode::GetIndex(), m_rSortedBookmarksEnd, and m_rSortedBookmarksStart.
Referenced by GetNextPos().
const SfxPoolItem * MSWordExportBase::HasItem | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 753 of file wrtww8.cxx.
References sw::hack::GetSetWhichFromSwDocWhich(), and m_rDoc.
Referenced by AttributeOutputBase::CharBackgroundBase(), AttributeOutputBase::FormatCharBorder(), and WW8AttributeOutput::ParaTabStop().
bool MSWordExportBase::HasRefToAttr | ( | const OUString & | rName | ) |
Find the reference.
Definition at line 912 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 921 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 686 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 2949 of file wrtww8.cxx.
References SwPaM::GetNode(), and m_pTableInfo.
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl(), OutputSectionNode(), OutputTextNode(), and WriteText().
|
protected |
Find the nearest annotation mark from the current position.
Definition at line 2044 of file wrtw8nds.cxx.
References SwIndex::GetIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedAnnotationMarksEnd, m_rSortedAnnotationMarksStart, and SwPosition::nContent.
Referenced by GetNextPos().
|
protected |
Find the nearest bookmark from the current position.
Returns false when there is no bookmark.
Definition at line 2012 of file wrtw8nds.cxx.
References SwIndex::GetIndex(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), m_rSortedBookmarksEnd, m_rSortedBookmarksStart, and SwPosition::nContent.
Referenced by GetNextPos(), and UpdatePosition().
|
protected |
Definition at line 2140 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 2158 of file wrtw8nds.cxx.
References SwTextNode::fillSoftPageBreakList(), SwNode::GetDoc(), SwDoc::getIDocumentMarkAccess(), SwTextNode::GetText(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), SwTextNode::Len(), NeedSectionBreak(), pos, and o3tl::sorted_vector< Value, Compare, Find, class >::size().
Referenced by OutputTextNode(), and WriteText().
|
static |
Definition at line 3168 of file wrtw8nds.cxx.
References SfxItemSet::GetItemState(), RES_BREAK(), and RES_PAGEDESC().
Referenced by OutputSectionNode(), OutputTextNode(), and SectionProperties().
void MSWordExportBase::NumberingDefinitions | ( | ) |
Write static data of SwNumRule - LSTF.
Definition at line 199 of file wrtw8num.cxx.
References assert(), n, and nCount.
Referenced by RtfExport::WriteNumbering().
Write one numbering level.
Definition at line 422 of file wrtw8num.cxx.
References FAMILY_DECORATIVE, SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletFont(), SwNumFormat::GetCharFormat(), vcl::Font::GetCharSet(), SvxNumberFormat::GetCharTextDistance(), numfunc::GetDefBulletFont(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumberFormat::GetListtabPos(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), vcl::Font::GetPitch(), SvxNumberFormat::GetPositionAndSpaceMode(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetStart(), SvxNumberFormat::GetSuffix(), GetWordFirstLineOffset(), SvxNumberFormat::HasListFormat(), i, IsStarSymbol(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, SvxNumberFormat::LISTTAB, m_rDoc, SwNumRule::MakeNumString(), WW8ListManager::nMaxLevel, SvxNumberFormat::NOTHING, SfxItemSet::Put(), RES_CHRATR_BEGIN(), RES_CHRATR_CJK_FONT(), RES_CHRATR_END(), RES_CHRATR_FONT(), SvxNumberFormat::SPACE, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and SVX_NUM_NUMBER_NONE.
|
privatedelete |
|
protected |
Call the right (virtual) function according to the type of the item.
One of OutputTextNode(), OutputGrfNode(), or OutputOLENode()
Definition at line 3513 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().
Output SwEndNode.
Reimplemented in DocxExport, and RtfExport.
Definition at line 4414 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 WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
bool MSWordExportBase::OutputFollowPageDesc | ( | const SfxItemSet * | pSet, |
const SwTextNode * | pNd | ||
) |
The return value indicates, if a follow page desc is written.
Definition at line 604 of file ww8atr.cxx.
void MSWordExportBase::OutputFormat | ( | const SwFormat & | rFormat, |
bool | bPapFormat, | ||
bool | bChpFormat, | ||
bool | bFlyFormat = false |
||
) |
Output attributes.
Definition at line 776 of file ww8atr.cxx.
References SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), SwFormat::GetAnchor(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SfxItemSet::GetItem(), SwDoc::GetOutlineNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), getSvxBrushItemFromSourceSet(), GetWordFirstLineOffset(), SvxNumberFormat::LABEL_WIDTH_AND_POSITION, m_rDoc, MAXLEVEL, RES_BACKGROUND(), RES_CHRFMT(), RES_CONDTXTFMTCOLL(), RES_FLYFRMFMT(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_FRMFMT(), RES_LR_SPACE(), RES_SURROUND(), RES_TXTFMTCOLL(), SwFormatAnchor::SetType(), SwFormat::Which(), XATTR_FILL_FIRST(), XATTR_FILL_LAST(), and XATTR_FILLSTYLE().
Referenced by RtfAttributeOutput::FlyFrameGraphic(), WW8Export::OutGrf(), RtfExport::OutPageDescription(), OutputTextNode(), and MSWordStyles::WriteProperties().
Output SwGrfNode.
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputContentNode().
void MSWordExportBase::OutputItemSet | ( | const SfxItemSet & | rSet, |
bool | bPapFormat, | ||
bool | bChpFormat, | ||
sal_uInt16 | nScript, | ||
bool | bExportParentItemSet | ||
) |
Use OutputItem() on an item set according to the parameters.
Definition at line 311 of file ww8atr.cxx.
References SfxItemSet::Count(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), sw::util::GetPoolItems(), getSvxBrushItemFromSourceSet(), GetValue, SfxItemSet::HasItem(), RES_BACKGROUND(), RES_FRAMEDIR(), RES_FRMATR_END(), RES_LR_SPACE(), RES_PARATR_ADJUST(), RES_PARATR_BEGIN(), RES_PARATR_NUMRULE(), SfxPoolItem::Which(), XATTR_FILL_FIRST(), XATTR_FILL_LAST(), and XATTR_FILLSTYLE().
Referenced by OutputTextNode().
|
protectedpure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
Output SwOLENode.
Implemented in WW8Export, DocxExport, 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 464 of file ww8atr.cxx.
References SfxItemSet::Count(), SwNode::FindPageDesc(), SwNode::FindTableNode(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwNode::GetContentNode(), SfxItemSet::GetItemState(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwFormatPageDesc::GetPageDesc(), SwTableBox::GetSttNd(), SwNode::GetTableBox(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), sw::util::IsPlausableSingleWordSection(), SwFormatPageDesc::KnowsPageDesc(), RES_BREAK(), and RES_PAGEDESC().
Referenced by WW8Export::SectionBreaksAndFrames().
|
protected |
Output SwSectionNode.
Definition at line 3202 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 4389 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 2188 of file wrtw8nds.cxx.
References ADD_PARA_SPACING_TO_TABLE_CELLS, AppendAnnotationMarks(), AppendBookmark(), AppendBookmarks(), AppendSmartTags(), SwTextNode::AreListLevelIndentsApplicable(), assert(), aStr, AttrOutput(), o3tl::sorted_vector< Value, Compare, Find, class >::begin(), BookmarkToWord(), CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, CH_TXTATR_BREAKWORD, SfxItemSet::ClearItem(), SwTableBoxFormula::Clone(), Close, CmdEnd, CmdStart, CorrectTabStopInSet(), ww::eEquals, eFieldId, ww::eFORMDATE, o3tl::sorted_vector< Value, Compare, Find, class >::end(), SwTextAttr::End(), AttributeOutputBase::EndParagraph(), AttributeOutputBase::EndParagraphProperties(), AttributeOutputBase::EndRun(), AttributeOutputBase::EndRunProperties(), AttributeOutputBase::EndTOX(), ExportGrfBullet(), SwNode::FindPageDesc(), SwNode::FindSectionNode(), SwNode::FindTableNode(), FLY_POSTPONED, FLY_PROCESSED, AttributeOutputBase::FormatDrop(), AttributeOutputBase::GenerateBookmarksForSequenceField(), IDocumentSettingAccess::get(), SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), SwTextNode::GetActualListLevel(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SwContentNode::GetAttr(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwTableLine::GetBoxPos(), SvxFormatBreakItem::GetBreak(), SwFormat::GetBreak(), SwWW8AttrIter::GetCharSet(), SwNodes::GetEndOfContent(), GetExportFormat(), IDocumentMarkAccess::getFieldmarkAt(), IDocumentMarkAccess::getFieldmarkFor(), sw::mark::IFieldmark::GetFieldname(), SvxNumberFormat::GetFirstLineOffset(), SwNode::GetFlyFormat(), SwPageDesc::GetFollow(), SwFormat::GetFrameDir(), ww8::Frame::GetFrameFormat(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), GetId(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentSettingAccess(), SvxNumberFormat::GetIndentAt(), SwNode::GetIndex(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SwFormat::GetKeep(), SwFormat::GetLayoutSplit(), SvxLRSpaceItem::GetLeft(), sw::mark::IMark::GetName(), SwNumRule::GetName(), GetNextPos(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNumRule::GetNumFormat(), SwTextNode::GetNumRule(), SwWW8AttrIter::GetParagraphLevelRedline(), AttributeOutputBase::GetParagraphMarkerRedline(), sw::mark::IFieldmark::GetParameters(), SwTableLines::GetPos(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), SwWW8AttrIter::GetRunLevelRedline(), SwSectionNode::GetSection(), SwWW8AttrIter::GetSnippet(), SwTextAttr::GetStart(), SwTableBox::GetSttNd(), SwFormatAutoFormat::GetStyleHandle(), SwContentNode::GetSwAttrSet(), SwWW8AttrIter::GetSwFormatDrop(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwFormat::GetTableBoxFormula(), SwTable::GetTabLines(), SwTextNode::GetText(), SvxLRSpaceItem::GetTextFirstLineOffset(), SwNode::GetTextNode(), SwSection::GetType(), SwTableLine::GetUpper(), SwTableBox::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(), 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_LR_SPACE(), RES_PAGEDESC(), RES_PARATR_ADJUST(), RES_PARATR_LIST_AUTOFMT(), RES_PARATR_NUMRULE(), RES_PARATR_TABSTOP(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), RES_UL_SPACE(), AttributeOutputBase::ResetFlyProcessingFlag(), AttributeOutputBase::RunText(), SAL_INFO, AttributeOutputBase::SectionBreak(), AttributeOutputBase::SectionBreaks(), AttributeOutputBase::SetAnchorIsLinkedToNode(), SwFormat::SetFormatAttr(), AttributeOutputBase::SetStateOfFlyFrame(), SvxLRSpaceItem::SetTextFirstLineOffset(), SvxLRSpaceItem::SetTextLeft(), o3tl::sorted_vector< Value, Compare, Find, class >::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 84 of file wrtw8num.cxx.
References SwNumRule::GetDefaultListId().
|
pure virtual |
If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).
Implemented in WW8Export, DocxExport, and RtfExport.
|
protectedpure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputSectionNode(), and WriteText().
|
virtual |
Restore what was saved in SaveData().
Reimplemented in WW8Export.
Definition at line 1919 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, MSWordSaveData::pOldPam, and rData.
Referenced by WW8Export::RestoreData(), and ExportDataSaveRestore::~ExportDataSaveRestore().
Remember some of the members so that we can recurse in WriteText().
Reimplemented in WW8Export.
Definition at line 1887 of file wrtww8.cxx.
References SL::aData, MSWordSaveData::bOldFlyFrameAttrs, MSWordSaveData::bOldInWriteTOX, MSWordSaveData::bOldOutTable, MSWordSaveData::bOldStartTOX, MSWordSaveData::eOldAnchorType, m_aSaveData, m_bInWriteTOX, m_bOutFlyFrameAttrs, m_bOutTable, m_bStartTOX, m_eNewAnchorType, m_pCurPam, m_pCurrentPageDesc, m_pFlyOffset, m_pOrigPam, m_pParentFrame, MSWordSaveData::pOldEnd, MSWordSaveData::pOldFlyFormat, MSWordSaveData::pOldFlyOffset, MSWordSaveData::pOldPageDesc, MSWordSaveData::pOldPam, MSWordSaveData::pOOld, and SetCurPam().
Referenced by ExportDataSaveRestore::ExportDataSaveRestore(), and WW8Export::SaveData().
|
protectedpure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by WriteText().
void MSWordExportBase::SectionProperties | ( | const WW8_SepInfo & | rSectionInfo, |
WW8_PdAttrDesc * | pA = nullptr |
||
) |
Write section properties.
pA is ignored for docx.
Definition at line 1595 of file wrtw8sty.cxx.
References All, AttrOutput(), WW8_SepInfo::bIsFirstParagraph, AttributeOutputBase::EndSection(), SwFormat::GetAttrSet(), SwNode::GetContentNode(), GetExportFormat(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFormatAttr(), GetHdFtPageRoot(), SwFormat::GetItemState(), SvxLRSpaceItem::GetLeft(), SwPageDesc::GetLeft(), SwDoc::GetLineNumberInfo(), SwPageDesc::GetMaster(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwDoc::GetPageDesc(), SwPageDesc::GetPageFormatOfNode(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxLRSpaceItem::GetRight(), SwContentNode::GetSwAttrSet(), SwNode::GetTextNode(), SwPageDesc::GetVerticalAdjustment(), SwNode::IsContentNode(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFollowNextPageOfNode(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), SwLineNumberInfo::IsPaintLineNumbers(), sw::util::IsPlausableSingleWordSection(), WW8_SepInfo::IsProtected(), Left, m_bOutFirstPage, m_bOutPageDescs, m_pCurrentPageDesc, m_pFirstPageFormat, m_pISet, m_rDoc, WW8_SepInfo::nLnNumRestartNo, NoPageBreakSection(), WW8_SepInfo::oPgRestartNo, AttributeOutputBase::OutputItem(), AttributeOutputBase::OutputStyleItemSet(), WW8_SepInfo::pPageDesc, WW8_SepInfo::pPDNd, WW8_SepInfo::pSectionFormat, SwPageDesc::ReadUseOn(), RES_COL(), RES_LR_SPACE(), RES_PAPER_BIN(), Right, AttributeOutputBase::SectFootnoteEndnotePr(), AttributeOutputBase::SectionBiDi(), AttributeOutputBase::SectionFormProtection(), AttributeOutputBase::SectionLineNumbering(), AttributeOutputBase::SectionPageBorders(), AttributeOutputBase::SectionPageNumbering(), AttributeOutputBase::SectionTitlePage(), AttributeOutputBase::SectionType(), SwFormatCol::SetAdjustValue(), MSWordSections::SetFooterFlag(), SetHdFtPageRoot(), MSWordSections::SetHeaderFlag(), SetupSectionPositions(), AttributeOutputBase::StartSection(), AttributeOutputBase::TextVerticalAdjustment(), TrueFrameDirection(), WriteHeadersFooters(), nsHdFtFlags::WW8_FOOTER_EVEN, nsHdFtFlags::WW8_FOOTER_FIRST, nsHdFtFlags::WW8_FOOTER_ODD, nsHdFtFlags::WW8_HEADER_EVEN, nsHdFtFlags::WW8_HEADER_FIRST, and nsHdFtFlags::WW8_HEADER_ODD.
Referenced by WW8_WrPlcSepx::WriteKFText().
|
pure virtual |
Access to the sections/headers/footres.
Implemented in WW8Export, DocxExport, and RtfExport.
|
inline |
Setter for pISet.
Definition at line 728 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), and MSWordStyles::SetStyleDefaults().
Definition at line 1870 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 424 of file ww8atr.cxx.
References SwPageDesc::GetMaster(), SwPageDesc::GetPageDescOfNode(), and sw::util::IsPlausableSingleWordSection().
|
inline |
Top node of host page when in header/footer.
Definition at line 777 of file wrtww8.hxx.
Referenced by SectionProperties().
|
inlinevirtual |
Setup the pA's info.
Reimplemented in WW8Export.
Definition at line 774 of file wrtww8.hxx.
Referenced by SectionProperties().
void MSWordExportBase::SubstituteBullet | ( | OUString & | rNumStr, |
rtl_TextEncoding & | rChrSet, | ||
OUString & | rFontName | ||
) | const |
Definition at line 654 of file wrtw8num.cxx.
References msfilter::util::bestFitOpenSymbolToMSFont(), and u.
SvxFrameDirection MSWordExportBase::TrueFrameDirection | ( | const SwFrameFormat & | rFlyFormat | ) | const |
Right to left?
Definition at line 1621 of file wrtw8nds.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), GetCurrentPageDirection(), SwNode::GetFlyFormat(), SwFormat::GetFrameDir(), SwNodeIndex::GetNode(), and SwPosition::nNode.
Referenced by PlcDrawObj::Append(), GetDefaultFrameDirection(), SectionProperties(), WW8AttributeOutput::TableBidi(), WW8AttributeOutput::TableDefinition(), WW8AttributeOutput::TableOrientation(), and WW8AttributeOutput::TableVerticalCell().
|
protected |
Update the information for GetNextPos().
Definition at line 1890 of file wrtw8nds.cxx.
References NearestBookmark(), SwWW8AttrIter::NextPos(), and SwWW8AttrIter::WhereNext().
Referenced by OutputTextNode().
|
staticprotected |
Definition at line 3255 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 WW8Export, DocxExport, and RtfExport.
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 WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
Write header/footer text.
Definition at line 1990 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, pContent, TXT_HDFT, and WriteSpecialText().
Referenced by WW8_WrPlcSepx::OutHeaderFooter(), and RtfExport::WriteHeaderFooter().
|
pure virtual |
Output the actual headers and footers.
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by SectionProperties().
|
pure virtual |
Implemented in WW8Export, DocxExport, and RtfExport.
Referenced by OutputTextNode().
|
pure virtual |
Output the numbering table.
Implemented in WW8Export, DocxExport, and RtfExport.
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 1792 of file wrtww8.cxx.
References m_aLinkedTextboxesHelper, m_bAddFootnoteTab, m_bOutPageDescs, m_nCurEnd, m_nCurStart, m_nTextTyp, m_pCurPam, m_pOrigPam, m_pTableInfo, SetCurPam(), TXT_EDN, TXT_FTN, and WriteText().
Referenced by WW8_WrPlcSubDoc::WriteGenericText(), and WriteHeaderFooterText().
void MSWordExportBase::WriteText | ( | ) |
Iterate through the nodes and call the appropriate OutputNode() on them.
Definition at line 2776 of file wrtww8.cxx.
References AppendSection(), SwIndex::Assign(), SwNodeIndex::Assign(), SwNode::FindPageDesc(), SwFormat::GetBalancedColumns(), SwFormat::GetCol(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwNode::GetEndNode(), SwNodes::GetEndOfContent(), SwSection::GetFormat(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemState(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwNode::GetNodes(), SwDoc::GetNodes(), SwFormatCol::GetNumCols(), SwSectionFormat::GetParent(), SwPaM::GetPoint(), SwContentNode::GetpSwAttrSet(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwNode::GetStartNode(), SwTableNode::GetTable(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwSection::GetType(), SfxBoolItem::GetValue(), SwNode::IsContentNode(), SwNode::IsEndNode(), IsInTable(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), m_bStartTOX, m_nCurEnd, m_nCurStart, m_nTextTyp, m_pCurrentPageDesc, m_pTableInfo, m_rDoc, SwPosition::nContent, NeedTextNodeSplit(), SwPosition::nNode, 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(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), and WriteSpecialText().
std::vector<sal_uLong> MSWordExportBase::m_aChapterFieldLocs |
Definition at line 452 of file wrtww8.hxx.
std::stack< sal_Int32 > MSWordExportBase::m_aCurrentCharPropStarts |
To remember the position in a run.
Definition at line 469 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::GetSnippet(), SwWW8AttrIter::HasTextItem(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), and OutputTextNode().
wwFontHelper MSWordExportBase::m_aFontHelper |
Definition at line 451 of file wrtww8.hxx.
Referenced by ExportDocument(), RtfExport::ExportDocument_Impl(), RtfAttributeOutput::FontFamilyType(), RtfExport::RtfExport(), WW8Export::WriteFkpPlcUsw(), and RtfExport::WriteFonts().
ww8::Frames MSWordExportBase::m_aFrames |
Definition at line 492 of file wrtww8.hxx.
Referenced by ExportDocument(), RtfAttributeOutput::FlyFrameGraphic(), RtfSdrExport::StartShape(), and SwWW8AttrIter::SwWW8AttrIter().
std::vector<aBookmarkPair> MSWordExportBase::m_aImplicitBookmarks |
Definition at line 491 of file wrtww8.hxx.
Referenced by AddLinkTarget(), AttributeOutputBase::AnalyzeURL(), and SwWW8AttrIter::RequiresImplicitBookmark().
std::map<OUString,LinkedTextboxInfo> MSWordExportBase::m_aLinkedTextboxesHelper |
Definition at line 511 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::OutFlys(), and WriteSpecialText().
OUString MSWordExportBase::m_aMainStg |
Definition at line 453 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl().
WW8OleMap MSWordExportBase::m_aOleMap |
Definition at line 475 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 577 of file wrtww8.hxx.
Referenced by RestoreData(), WW8Export::RestoreData(), SaveData(), and WW8Export::SaveData().
std::vector<const SwTOXType*> MSWordExportBase::m_aTOXArr |
Definition at line 454 of file wrtww8.hxx.
Referenced by ExportDocument().
bool MSWordExportBase::m_bAddFootnoteTab |
Definition at line 569 of file wrtww8.hxx.
Referenced by OutputTextNode(), and WriteSpecialText().
bool MSWordExportBase::m_bBreakBefore |
Definition at line 547 of file wrtww8.hxx.
Referenced by ExportDocument().
bool MSWordExportBase::m_bEndAtTextEnd |
Definition at line 559 of file wrtww8.hxx.
Referenced by ExportDocument(), and WW8_WrPlcSepx::WriteFootnoteEndText().
bool MSWordExportBase::m_bExportModeRTF |
Definition at line 566 of file wrtww8.hxx.
Referenced by RtfExport::RtfExport().
bool MSWordExportBase::m_bFirstTOCNodeWithSection |
Definition at line 494 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 568 of file wrtww8.hxx.
Referenced by MSWord_SdrAttrIter::OutAttr().
bool MSWordExportBase::m_bFootnoteAtTextEnd |
Definition at line 558 of file wrtww8.hxx.
Referenced by ExportDocument(), and WW8_WrPlcSepx::WriteFootnoteEndText().
bool MSWordExportBase::m_bHasFtr |
Definition at line 561 of file wrtww8.hxx.
Referenced by WW8_WrPlcSepx::OutHeaderFooter(), and WriteHeaderFooterText().
bool MSWordExportBase::m_bHasHdr |
Definition at line 560 of file wrtww8.hxx.
Referenced by WW8_WrPlcSepx::OutHeaderFooter(), and WriteHeaderFooterText().
bool MSWordExportBase::m_bHideTabLeaderAndPageNumbers |
Definition at line 565 of file wrtww8.hxx.
bool MSWordExportBase::m_bInWriteEscher |
Definition at line 555 of file wrtww8.hxx.
Referenced by ExportDocument(), NeedSectionBreak(), SwWW8AttrIter::SwWW8AttrIter(), and WW8_WrPlcTextBoxes::WriteText().
bool MSWordExportBase::m_bInWriteTOX |
Definition at line 557 of file wrtww8.hxx.
Referenced by ExportDocument(), OutputTextNode(), RestoreData(), and SaveData().
bool MSWordExportBase::m_bLinkedTextboxesHelperInitialized = false |
Definition at line 512 of file wrtww8.hxx.
Referenced by SwWW8AttrIter::OutFlys().
bool MSWordExportBase::m_bOrigShowChanges |
Remember the original Show Changes mode.
Definition at line 487 of file wrtww8.hxx.
Referenced by ExportDocument().
bool MSWordExportBase::m_bOutFirstPage |
Definition at line 551 of file wrtww8.hxx.
Referenced by ExportDocument(), and SectionProperties().
bool MSWordExportBase::m_bOutFlyFrameAttrs |
Definition at line 549 of file wrtww8.hxx.
Referenced by ExportDocument(), RtfAttributeOutput::FlyFrameGraphic(), GetDefaultFrameDirection(), RestoreData(), and SaveData().
bool MSWordExportBase::m_bOutGrf |
Definition at line 554 of file wrtww8.hxx.
Referenced by ExportDocument(), and WW8Export::OutGrf().
bool MSWordExportBase::m_bOutKF |
Definition at line 548 of file wrtww8.hxx.
Referenced by ExportDocument(), NeedSectionBreak(), and WriteHeaderFooterText().
bool MSWordExportBase::m_bOutPageDescs |
PageDescs (section properties) are being written.
Definition at line 550 of file wrtww8.hxx.
Referenced by ExportDocument(), GetDefaultFrameDirection(), NeedSectionBreak(), RtfExport::OutPageDescription(), SectionProperties(), RtfExport::WritePageDescTable(), and WriteSpecialText().
bool MSWordExportBase::m_bOutTable |
Definition at line 552 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::OutputFlyFrame_Impl(), RestoreData(), SaveData(), and WW8Export::WriteStringAsPara().
bool MSWordExportBase::m_bStartTOX |
Definition at line 556 of file wrtww8.hxx.
Referenced by ExportDocument(), OutputSectionNode(), OutputTextNode(), RestoreData(), SaveData(), and WriteText().
bool MSWordExportBase::m_bStyDef |
Definition at line 546 of file wrtww8.hxx.
Referenced by ExportDocument(), NeedSectionBreak(), MSWordStyles::OutputStylesTable(), and WW8AttributeOutput::ParaTabStop().
bool MSWordExportBase::m_bSubstituteBullets |
Definition at line 562 of file wrtww8.hxx.
Referenced by RtfExport::RtfExport().
bool MSWordExportBase::m_bTabInTOC |
Definition at line 563 of file wrtww8.hxx.
RndStdIds MSWordExportBase::m_eNewAnchorType |
Definition at line 519 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::OutputFlyFrame_Impl(), RestoreData(), and SaveData().
Map of maps for list levels overrides listid -> level number -> restart value.
Definition at line 466 of file wrtww8.hxx.
std::map<OUString, size_t> MSWordExportBase::m_Lists |
list-id -> abstractnumdef index
Definition at line 462 of file wrtww8.hxx.
sal_uInt16 MSWordExportBase::m_nCharFormatStart |
Definition at line 478 of file wrtww8.hxx.
Referenced by ExportDocument().
sal_uLong MSWordExportBase::m_nCurEnd |
Definition at line 572 of file wrtww8.hxx.
Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().
sal_uLong MSWordExportBase::m_nCurStart |
Definition at line 572 of file wrtww8.hxx.
Referenced by RestoreData(), SetCurPam(), WriteSpecialText(), and WriteText().
sal_uInt16 MSWordExportBase::m_nFormatCollStart |
Definition at line 479 of file wrtww8.hxx.
Referenced by ExportDocument().
unsigned int MSWordExportBase::m_nHdFtIndex |
Definition at line 484 of file wrtww8.hxx.
Referenced by WW8Export::GetHdFtIndex(), and WW8Export::IncrementHdFtIndex().
sal_uInt16 MSWordExportBase::m_nLastFormatId |
Style of last TextNode in normal range.
Definition at line 482 of file wrtww8.hxx.
Referenced by ExportDocument(), and WW8Export::WriteMainText().
sal_Int32 MSWordExportBase::m_nLinkedTextboxesChainId =0 |
Definition at line 513 of file wrtww8.hxx.
RedlineFlags MSWordExportBase::m_nOrigRedlineFlags |
Remember the original redline mode.
Definition at line 486 of file wrtww8.hxx.
Referenced by ExportDocument(), RtfExport::ExportDocument_Impl(), and WW8Export::ExportDocument_Impl().
sal_uInt16 MSWordExportBase::m_nStyleBeforeFly |
style number of the node
to which the Fly is connected
Definition at line 480 of file wrtww8.hxx.
Referenced by ExportDocument(), OutputTextNode(), and WW8AttributeOutput::TableNodeInfoInner().
sal_uInt8 MSWordExportBase::m_nTextTyp |
Definition at line 544 of file wrtww8.hxx.
Referenced by PlcDrawObj::Append(), ExportDocument(), MSWord_SdrAttrIter::OutEEField(), SwWW8AttrIter::OutFlys(), RtfExport::OutputEndNode(), OutputTextNode(), WW8_WrPlcSubDoc::WriteGenericText(), WriteSpecialText(), and WriteText().
sal_uInt16 MSWordExportBase::m_nUniqueList |
current number for creating unique list names
Definition at line 483 of file wrtww8.hxx.
Referenced by ~MSWordExportBase().
std::map<size_t, std::pair<size_t, size_t> > MSWordExportBase::m_OverridingNums |
overriding numdef index -> (existing numdef index, abstractnumdef index)
Definition at line 460 of file wrtww8.hxx.
WW8_WrPlcAnnotations* MSWordExportBase::m_pAtn |
Definition at line 499 of file wrtww8.hxx.
Referenced by WW8Export::AppendAnnotationMarks(), WW8Export::ExportDocument_Impl(), WW8Export::StoreDoc1(), and WW8Export::WriteFkpPlcUsw().
WW8_WrtBookmarks* MSWordExportBase::m_pBkmks |
Definition at line 470 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 497 of file wrtww8.hxx.
Referenced by MSWordAttrIter::MSWordAttrIter(), and MSWordAttrIter::~MSWordAttrIter().
std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pChpPlc |
Definition at line 496 of file wrtww8.hxx.
Referenced by SwMSConvertControls::ExportControl(), WW8Export::ExportDocument_Impl(), WW8AttributeOutput::FieldVanish(), WW8AttributeOutput::FormatDrop(), InsertSpecialChar(), WW8Export::OutGrf(), WW8Export::OutGrfBullets(), WW8Export::OutputLinkedOLE(), WW8Export::OutputOLENode(), WW8AttributeOutput::StartURL(), WW8Export::WriteFkpPlcUsw(), WW8Export::WriteFormData(), WW8Export::WriteOutliner(), and WW8Export::WriteStringAsPara().
std::shared_ptr<SwUnoCursor>& MSWordExportBase::m_pCurPam |
Definition at line 573 of file wrtww8.hxx.
Referenced by MSWordSections::MSWordSections(), WW8AttributeOutput::ParaTabStop(), RestoreData(), SaveData(), SetCurPam(), RtfExport::WriteMainText(), and WriteSpecialText().
const SwPageDesc* MSWordExportBase::m_pCurrentPageDesc |
Definition at line 493 of file wrtww8.hxx.
Referenced by RtfExport::ExportDocument_Impl(), WW8Export::GetCurrentPageBgBrush(), GetCurrentPageDirection(), MSWordSections::MSWordSections(), NeedSectionBreak(), RtfExport::OutPageDescription(), OutputSectionNode(), OutputTextNode(), RestoreData(), SaveData(), SectionProperties(), RtfExport::WriteHeaderFooter(), and WriteText().
const SwFormat* MSWordExportBase::m_pCurrentStyle |
Definition at line 535 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::ParaTabStop(), and MSWordStyles::WriteProperties().
SwEscherEx* MSWordExportBase::m_pEscher |
Definition at line 540 of file wrtww8.hxx.
Referenced by WW8Export::CreateEscher(), ExportDocument(), WW8Export::WriteEscher(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<WW8_WrtFactoids> MSWordExportBase::m_pFactoids |
Definition at line 500 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 525 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcAnnotations::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldEdn |
Definition at line 524 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcFootnoteEdn::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldFootnote |
Definition at line 523 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcFootnoteEdn::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHdFt |
Definition at line 522 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcSepx::WriteKFText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldHFTextBxs |
Definition at line 527 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcTextBoxes::WriteText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldMain |
Definition at line 521 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8Export::WriteMainText().
std::unique_ptr<WW8_WrPlcField> MSWordExportBase::m_pFieldTextBxs |
Definition at line 526 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcTextBoxes::WriteText().
const SwFrameFormat* MSWordExportBase::m_pFirstPageFormat = nullptr |
Definition at line 456 of file wrtww8.hxx.
Referenced by SectionProperties().
Point* MSWordExportBase::m_pFlyOffset |
Definition at line 518 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8AttributeOutput::OutputFlyFrame_Impl(), RestoreData(), and SaveData().
std::unique_ptr<SwWW8WrGrf> MSWordExportBase::m_pGrf |
Definition at line 532 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::OutGrf(), WW8Export::OutGrfBullets(), WW8Export::WriteFkpPlcUsw(), and WW8_WrPlcPn::WriteFkps().
HdFtPlcDrawObj* MSWordExportBase::m_pHFSdrObjs |
Definition at line 538 of file wrtww8.hxx.
Referenced by WW8Export::CreateEscher(), WW8Export::ExportDocument_Impl(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
WW8_WrPlcTextBoxes * MSWordExportBase::m_pHFTextBxs |
Definition at line 501 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::StoreDoc1(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
const SfxItemSet* MSWordExportBase::m_pISet |
Definition at line 455 of file wrtww8.hxx.
Referenced by GetCurItemSet(), WW8AttributeOutput::SectionPageBorders(), and SectionProperties().
std::shared_ptr<NfKeywordTable> MSWordExportBase::m_pKeyMap |
Definition at line 472 of file wrtww8.hxx.
Referenced by GetNfKeywordTable().
std::unique_ptr<WW8_WrMagicTable> MSWordExportBase::m_pMagicTable |
Definition at line 528 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::StoreDoc1(), and WW8Export::WriteFkpPlcUsw().
std::unique_ptr<SwMSConvertControls> MSWordExportBase::m_pOCXExp |
Definition at line 474 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8Export::GetOCXExp(), and ~MSWordExportBase().
std::unique_ptr<SvxMSExportOLEObjects> MSWordExportBase::m_pOLEExp |
Definition at line 473 of file wrtww8.hxx.
Referenced by ExportDocument(), WW8Export::OutputOLENode(), and ~MSWordExportBase().
SwPaM* MSWordExportBase::m_pOrigPam |
Definition at line 574 of file wrtww8.hxx.
Referenced by ExportDocument(), RestoreData(), SaveData(), SetCurPam(), and WriteSpecialText().
const sw::BroadcastingModify* MSWordExportBase::m_pOutFormatNode |
Definition at line 534 of file wrtww8.hxx.
Referenced by AttributeOutputBase::CharBackgroundBase(), ExportDocument(), GetDefaultFrameDirection(), MSWord_SdrAttrIter::OutAttr(), SwWW8AttrIter::OutAttr(), WW8Export::OutGrf(), OutputTextNode(), and MSWordStyles::SetStyleDefaults().
std::unique_ptr<WW8_WrPlcPn> MSWordExportBase::m_pPapPlc |
Definition at line 495 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8AttributeOutput::FormatDrop(), WW8Export::OutGrf(), WW8Export::StoreDoc1(), WW8AttributeOutput::TableNodeInfoInner(), WW8Export::WriteFkpPlcUsw(), WW8Export::WriteOutliner(), and WW8Export::WriteStringAsPara().
const ww8::Frame* MSWordExportBase::m_pParentFrame |
Definition at line 515 of file wrtww8.hxx.
Referenced by ExportDataSaveRestore::ExportDataSaveRestore(), ExportDocument(), RtfAttributeOutput::FlyFrameGraphic(), AttributeOutputBase::GetTablePageSize(), WW8AttributeOutput::OutputFlyFrame_Impl(), WW8Export::OutputGrfNode(), WW8Export::OutputOLENode(), OutputTextNode(), RestoreData(), and SaveData().
WW8_WrPct* MSWordExportBase::m_pPiece |
Definition at line 457 of file wrtww8.hxx.
Referenced by WW8Export::ExportDocument_Impl(), WW8Export::WriteCR(), and WW8Export::WriteFkpPlcUsw().
WW8_WrtRedlineAuthor* MSWordExportBase::m_pRedlAuthors |
Definition at line 471 of file wrtww8.hxx.
Referenced by WW8Export::AddRedlineAuthor(), ExportDocument(), WW8Export::ExportDocument_Impl(), and WW8Export::WriteFkpPlcUsw().
MainTextPlcDrawObj* MSWordExportBase::m_pSdrObjs |
Definition at line 537 of file wrtww8.hxx.
Referenced by WW8Export::CreateEscher(), WW8Export::ExportDocument_Impl(), SwEscherEx::SwEscherEx(), and WW8Export::WriteFkpPlcUsw().
const SwAttrSet* MSWordExportBase::m_pStyAttr |
Definition at line 533 of file wrtww8.hxx.
Referenced by ExportDocument(), OutputTextNode(), and WW8AttributeOutput::ParaTabStop().
std::unique_ptr<MSWordStyles> MSWordExportBase::m_pStyles |
Definition at line 498 of file wrtww8.hxx.
Referenced by RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), SwWW8AttrIter::handleToggleProperty(), MSWordStyles::OutputStyle(), WW8Export::WriteFkpPlcUsw(), and RtfExport::WriteStyles().
ww8::WW8TableInfo::Pointer_t MSWordExportBase::m_pTableInfo |
Definition at line 476 of file wrtww8.hxx.
Referenced by IsInTable(), OutputEndNode(), OutputStartNode(), OutputTextNode(), RtfExport::WritePageDescTable(), WriteSpecialText(), and WriteText().
WW8_WrPlcTextBoxes* MSWordExportBase::m_pTextBxs |
Definition at line 501 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 468 of file wrtww8.hxx.
Referenced by GetHdFtPageRoot().
std::unique_ptr<SwNumRuleTable> MSWordExportBase::m_pUsedNumTable |
Definition at line 458 of file wrtww8.hxx.
Referenced by RtfExport::WriteNumbering(), and ~MSWordExportBase().
SwDoc& MSWordExportBase::m_rDoc |
Definition at line 571 of file wrtww8.hxx.
Referenced by AddLinkTarget(), RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), CollectGrfsOfBullets(), WW8Export::CreateEscher(), ExportDocument(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), GetAnnotationMarks(), getBackground(), GetBookmarks(), WW8Export::GetCurrentPageBgBrush(), GetCurrentPageDirection(), GetDefaultFrameDirection(), SwBasicEscherEx::GetInvisibleHellId(), MSWord_SdrAttrIter::GetItem(), SwWW8AttrIter::GetParagraphLevelRedline(), SwWW8AttrIter::GetRunLevelRedline(), AttributeOutputBase::GetTablePageSize(), MSWord_SdrAttrIter::HasTextItem(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwBasicEscherEx::Init(), lcl_getFormatCollection(), MSWordSections::MSWordSections(), MSWordStyles::MSWordStyles(), MSWord_SdrAttrIter::OutAttr(), RtfExport::OutColorTable(), WW8Export::OutGrf(), MSWord_SdrAttrIter::OutParaAttr(), WW8AttributeOutput::OutputFlyFrame_Impl(), WW8Export::OutputLinkedOLE(), OutputTextNode(), WW8Export::PrepareStorage(), WW8Export::RestoreMacroCmds(), SwWW8AttrIter::SearchNext(), WW8AttributeOutput::SectFootnoteEndnotePr(), SectionProperties(), SetCurPam(), MSWord_SdrAttrIter::SetItemsThatDifferFromStandard(), MSWordStyles::SetStyleDefaults(), SwEscherEx::SwEscherEx(), SwWW8AttrIter::SwWW8AttrIter(), WW8AttributeOutput::TableDefinition(), WW8Export::TestOleNeedsGraphic(), WriteDop(), WW8Export::WriteFkpPlcUsw(), WW8_WrPlcSepx::WriteFootnoteEndText(), RtfExport::WriteFootnoteSettings(), RtfExport::WriteInfo(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), SwEscherEx::WriteOCXControl(), RtfExport::WritePageDescTable(), PlcDrawObj::WritePlc(), RtfExport::WriteRevTab(), WriteText(), RtfExport::WriteUserProps(), and WW8Ruby::WW8Ruby().
IMarkVector MSWordExportBase::m_rSortedAnnotationMarksEnd |
Definition at line 584 of file wrtww8.hxx.
Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().
IMarkVector MSWordExportBase::m_rSortedAnnotationMarksStart |
Definition at line 583 of file wrtww8.hxx.
Referenced by GetSortedAnnotationMarks(), and NearestAnnotationMark().
IMarkVector MSWordExportBase::m_rSortedBookmarksEnd |
Definition at line 582 of file wrtww8.hxx.
Referenced by GetSortedBookmarks(), and NearestBookmark().
IMarkVector MSWordExportBase::m_rSortedBookmarksStart |
Definition at line 581 of file wrtww8.hxx.
Referenced by GetSortedBookmarks(), and NearestBookmark().
|
protected |
Vector to record all the graphics of bullets.
Definition at line 909 of file wrtww8.hxx.
Referenced by BulletDefinitions(), CollectGrfsOfBullets(), WW8Export::ExportGrfBullet(), GetGrfIndex(), and RtfExport::WriteNumbering().