LibreOffice Module sw (master) 1
|
The class that does all the actual DOCX export-related work. More...
#include <docxexport.hxx>
Public Member Functions | |
DocxExportFilter & | GetFilter () |
const DocxExportFilter & | GetFilter () const |
const ww8::Frame * | GetFloatingTableFrame () const |
virtual AttributeOutputBase & | AttrOutput () const override |
Access to the attribute output class. More... | |
DocxAttributeOutput & | DocxAttrOutput () const |
Access to the derived attribute output class. More... | |
virtual MSWordSections & | Sections () const override |
Access to the sections/headers/footres. More... | |
virtual bool | FieldsQuoted () const override |
Determines if the import filter already quoted fields or not. More... | |
virtual bool | AddSectionBreaksForTOX () const override |
Determines the Section Breaks are to be added for TOX Section. More... | |
virtual bool | ignoreAttributeForStyleDefaults (sal_uInt16 nWhich) const override |
Used to filter out attributes that can be e.g. written to .doc but not to .docx. More... | |
virtual bool | PreferPageBreakBefore () const override |
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) override |
Guess the script (asian/western). More... | |
virtual void | AppendBookmarks (const SwTextNode &rNode, sal_Int32 nCurrentPos, sal_Int32 nLen, const SwRedlineData *pRedlineData=nullptr) override |
virtual void | AppendBookmark (const OUString &rName) override |
virtual void | AppendAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen) override |
virtual void | ExportGrfBullet (const SwTextNode &) override |
OString | AddRelation (const OUString &rType, std::u16string_view rTarget) |
Returns the relationd id. More... | |
virtual void | WriteCR (ww8::WW8TableNodeInfoInner::Pointer_t) override |
virtual void | WriteChar (sal_Unicode) override |
virtual bool | DisallowInheritingOutlineNumbering (const SwFormat &rFormat) override |
Return value indicates if an inherited outline numbering is suppressed. More... | |
virtual void | WriteHeadersFooters (sal_uInt8 nHeadFootFlags, const SwFrameFormat &rFormat, const SwFrameFormat &rLeftHeaderFormat, const SwFrameFormat &rLeftFooterFormat, const SwFrameFormat &rFirstPageFormat, sal_uInt8 nBreakCode, bool bEvenAndOddHeaders) override |
Output the actual headers and footers. More... | |
virtual void | OutputField (const SwField *pField, ww::eField eFieldType, const OUString &rFieldCmd, FieldFlags nMode=FieldFlags::All) override |
Write the field. More... | |
virtual void | WriteFormData (const ::sw::mark::IFieldmark &rFieldmark) override |
Write the data of the form field. More... | |
virtual void | WriteHyperlinkData (const ::sw::mark::IFieldmark &rFieldmark) override |
virtual void | DoComboBox (const OUString &rName, const OUString &rHelp, const OUString &ToolTip, const OUString &rSelected, const css::uno::Sequence< OUString > &rListItems) override |
virtual void | DoFormText (const SwInputField *pField) override |
virtual sal_uInt64 | ReplaceCr (sal_uInt8 nChar) override |
OString | OutputChart (css::uno::Reference< css::frame::XModel > const &xModel, sal_Int32 nCount, ::sax_fastparser::FSHelperPtr const &m_pSerializer) |
Returns the relationd id. More... | |
OString | WriteOLEObject (SwOLEObj &rObject, OUString &io_rProgID) |
std::pair< OString, OString > | WriteActiveXObject (const uno::Reference< css::drawing::XShape > &rxShape, const uno::Reference< awt::XControlModel > &rxControlModel) |
void | OutputDML (css::uno::Reference< css::drawing::XShape > const &xShape) |
Writes the shape using drawingML syntax. More... | |
sal_Int32 | WriteOutliner (const OutlinerParaObject &rOutliner, sal_uInt8 nTyp, bool bNeedsLastParaId) |
virtual ExportFormat | GetExportFormat () const override |
void | AddSdtData (const OUString &namespaces, const OUString &xpath, const OUString &data) |
rtl::Reference< sax_fastparser::FastAttributeList > | MainXmlNamespaces () |
All xml namespaces to be used at the top of any text .xml file (main doc, headers, footers,...) More... | |
void | WriteMainText () |
FIXME this is temporary, remotely reminding the method of the same name in WW8Export. More... | |
DocxExport (DocxExportFilter &rFilter, SwDoc &rDocument, std::shared_ptr< SwUnoCursor > &pCurrentPam, SwPaM &rOriginalPam, bool bDocm, bool bTemplate) | |
Pass the pDocument, pCurrentPam and pOriginalPam to the base class. More... | |
virtual | ~DocxExport () override |
Destructor. More... | |
oox::vml::VMLExport & | VMLExporter () |
Reference to the VMLExport instance for the main document. More... | |
DocxSdrExport & | SdrExporter () |
Reference to the DocxSdrExport instance for the main document. More... | |
void | setDefaultTabStop (int stop) |
Set the document default tab stop. More... | |
const ::sax_fastparser::FSHelperPtr & | GetFS () const |
void | SetFS (::sax_fastparser::FSHelperPtr const &mpFS) |
void | SetFloatingTableFrame (const ww8::Frame *pF) |
size_t | GetInfoID (const OUString sPersonalInfo) const |
sal_Int32 | getWordCompatibilityModeFromGrabBag () const |
Public Member Functions inherited from MSWordExportBase | |
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 () |
Protected Member Functions | |
virtual ErrCode | ExportDocument_Impl () override |
Format-dependent part of the actual export. More... | |
virtual void | OutputEndNode (const SwEndNode &) override |
Output SwEndNode. More... | |
virtual void | OutputGrfNode (const SwGrfNode &) override |
Output SwGrfNode. More... | |
virtual void | OutputOLENode (const SwOLENode &) override |
Output SwOLENode. More... | |
virtual void | OutputLinkedOLE (const OUString &) override |
virtual void | AppendSection (const SwPageDesc *pPageDesc, const SwSectionFormat *pFormat, sal_uLong nLnNum) override |
virtual void | SectionBreaksAndFrames (const SwTextNode &) override |
virtual void | PrepareNewPageDesc (const SfxItemSet *pSet, const SwNode &rNd, const SwFormatPageDesc *pNewPgDescFormat, const SwPageDesc *pNewPgDesc, bool bExtraPageBreak=false) override |
Get ready for a new section. More... | |
Protected Member Functions inherited from MSWordExportBase | |
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 |
Private Member Functions | |
void | InitStyles () |
Setup pStyles and write styles.xml. More... | |
void | WriteFootnotesEndnotes () |
Write footnotes.xml and endnotes.xml. More... | |
void | WritePostitFields () |
Write comments.xml. More... | |
virtual void | WriteNumbering () override |
Write the numbering table. More... | |
void | WriteHeaderFooter (const SwFormat *pFormat, bool bHeader, const char *pType) |
Write reference to a header/footer + the actual xml containing the text. More... | |
void | WriteFonts () |
Write word/fontTable.xml. More... | |
void | WriteProperties () |
Write docProps/core.xml. More... | |
void | WriteSettings () |
Write word/settings.xml. More... | |
void | WriteDocVars (const sax_fastparser::FSHelperPtr &pFS) |
Writes the <w:docVars> part of settings.xml. More... | |
void | WriteTheme () |
Write word/theme/theme1.xml. More... | |
void | WriteGlossary () |
void | WriteCustomXml () |
Write customXml/item[n].xml and customXml/itemProps[n].xml. More... | |
void | WriteEmbeddings () |
Write word/embeddings/Worksheet[n].xlsx. More... | |
void | WriteVBA () |
Writes word/vbaProject.bin. More... | |
bool | isMirroredMargin () |
return true if Page Layout is set as Mirrored More... | |
DocxExport (const DocxExport &)=delete | |
DocxExport & | operator= (const DocxExport &)=delete |
Private Attributes | |
DocxExportFilter & | m_rFilter |
Pointer to the filter that owns us. More... | |
::sax_fastparser::FSHelperPtr | m_pDocumentFS |
Fast serializer for the document output. More... | |
::sax_fastparser::FSHelperPtr | mpFS |
Fast serializer to output the data. More... | |
std::unique_ptr< oox::drawingml::DrawingML > | m_pDrawingML |
Access to the DrawingML writer. More... | |
std::unique_ptr< DocxAttributeOutput > | m_pAttrOutput |
Attribute output for document. More... | |
std::unique_ptr< MSWordSections > | m_pSections |
Sections/headers/footers. More... | |
sal_Int32 | m_nHeaders |
Header counter. More... | |
sal_Int32 | m_nFooters |
Footer counter. More... | |
sal_Int32 | m_nOLEObjects |
OLE objects counter. More... | |
sal_Int32 | m_nActiveXControls |
ActiveX controls counter. More... | |
sal_Int32 | m_nHeadersFootersInSection |
Footer and Header counter in Section properties. More... | |
std::unique_ptr< oox::vml::VMLExport > | m_pVMLExport |
Exporter of the VML shapes. More... | |
std::unique_ptr< DocxSdrExport > | m_pSdrExport |
Exporter of drawings. More... | |
bool | m_bDocm |
If the result will be a .docm file or not. More... | |
bool const | m_bTemplate |
Export is done into template (.dotx) More... | |
DocxSettingsData | m_aSettings |
const ww8::Frame * | m_pFloatingTableFrame = nullptr |
Pointer to the Frame of a floating table it is nested in. More... | |
std::unique_ptr< SvtSecurityMapPersonalInfo > | m_pAuthorIDs |
Map authors to remove personal info. More... | |
std::vector< SdtData > | m_SdtData |
Storage for sdt data which need to be written to other XMLs. More... | |
The class that does all the actual DOCX export-related work.
Definition at line 74 of file docxexport.hxx.
DocxExport::DocxExport | ( | DocxExportFilter & | rFilter, |
SwDoc & | rDocument, | ||
std::shared_ptr< SwUnoCursor > & | pCurrentPam, | ||
SwPaM & | rOriginalPam, | ||
bool | bDocm, | ||
bool | bTemplate | ||
) |
Pass the pDocument, pCurrentPam and pOriginalPam to the base class.
Definition at line 2073 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::drawingml::DOCUMENT_DOCX, oox::getRelationship(), m_bDocm, m_bTemplate, m_pAttrOutput, m_pDocumentFS, m_pDrawingML, m_pSdrExport, m_pVMLExport, m_rFilter, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), SetFS(), u, and WriteProperties().
|
overridevirtual |
|
privatedelete |
OString DocxExport::AddRelation | ( | const OUString & | rType, |
std::u16string_view | rTarget | ||
) |
Returns the relationd id.
Definition at line 228 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), m_pDocumentFS, m_rFilter, rTarget, and sId.
Referenced by DocxAttributeOutput::FlyFrameGraphic().
|
inline |
Definition at line 212 of file docxexport.hxx.
References m_SdtData.
Referenced by DocxAttributeOutput::WriteContentControlStart(), and DocxAttributeOutput::WriteSdtPlainText().
|
inlineoverridevirtual |
Determines the Section Breaks are to be added for TOX Section.
Implements MSWordExportBase.
Definition at line 150 of file docxexport.hxx.
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 198 of file docxexport.cxx.
References MSWordExportBase::GetAnnotationMarks(), and m_pAttrOutput.
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 190 of file docxexport.cxx.
References m_pAttrOutput.
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 160 of file docxexport.cxx.
References aStr, MSWordExportBase::GetBookmarks(), SwTextNode::GetText(), and m_pAttrOutput.
|
overrideprotectedvirtual |
Implements MSWordExportBase.
Definition at line 571 of file docxexport.cxx.
References AttrOutput(), m_pAttrOutput, m_pSections, msword::PageBreak, and AttributeOutputBase::SectionBreak().
Referenced by OutputEndNode().
|
overridevirtual |
Access to the attribute output class.
Implements MSWordExportBase.
Definition at line 111 of file docxexport.cxx.
References m_pAttrOutput.
Referenced by AppendSection(), OutputEndNode(), PrepareNewPageDesc(), WriteHeaderFooter(), and WriteOutliner().
|
overridevirtual |
Guess the script (asian/western).
Implements MSWordExportBase.
Definition at line 126 of file docxexport.cxx.
References RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_POSTURE(), and RES_CHRATR_WEIGHT().
|
overridevirtual |
Return value indicates if an inherited outline numbering is suppressed.
Implements MSWordExportBase.
Definition at line 236 of file docxexport.cxx.
References SwFormat::DerivedFrom(), FSNS(), SwFormat::GetItemState(), m_pAttrOutput, and RES_PARATR_NUMRULE().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 336 of file docxexport.cxx.
References comphelper::findValue(), FSNS(), i, m_pDocumentFS, min(), nId, and SAL_WARN_IF.
Referenced by DocxAttributeOutput::WriteFFData().
DocxAttributeOutput & DocxExport::DocxAttrOutput | ( | ) | const |
Access to the derived attribute output class.
Definition at line 116 of file docxexport.cxx.
References m_pAttrOutput.
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 376 of file docxexport.cxx.
References ww::eFILLIN, FieldString(), SwInputField::GetPar2(), and OutputField().
|
overrideprotectedvirtual |
Format-dependent part of the actual export.
Implements MSWordExportBase.
Definition at line 523 of file docxexport.cxx.
References ERRCODE_NONE, oox::drawingml::GraphicExportCache::get(), InitStyles(), MSWordExportBase::m_aLinkedTextboxesHelper, m_aSettings, m_bDocm, MSWordExportBase::m_bOrigShowChanges, MSWordExportBase::m_nOrigRedlineFlags, m_pSections, MSWordExportBase::m_pStyles, On, DocxSettingsData::revisionView, DocxSettingsData::trackRevisions, WriteCustomXml(), WriteEmbeddings(), WriteFonts(), WriteFootnotesEndnotes(), WriteGlossary(), WriteMainText(), WriteNumbering(), WritePostitFields(), WriteSettings(), WriteTheme(), and WriteVBA().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 222 of file docxexport.cxx.
References MSWordExportBase::CollectGrfsOfBullets().
|
inlineoverridevirtual |
Determines if the import filter already quoted fields or not.
Implements MSWordExportBase.
Definition at line 148 of file docxexport.hxx.
|
inlineoverridevirtual |
Implements MSWordExportBase.
Definition at line 210 of file docxexport.hxx.
|
inline |
Definition at line 134 of file docxexport.hxx.
References m_rFilter.
Referenced by AddExtLst(), CreateDocPrAttrList(), DocxAttributeOutput::EmbedFontStyle(), DocxAttributeOutput::FlyFrameGraphic(), DocxAttributeOutput::FormatLRSpace(), DocxAttributeOutput::FormatRightMargin(), DocxAttributeOutput::FormatTextLeftMargin(), DocxAttributeOutput::NumberingLevel(), DocxAttributeOutput::ParaAdjust(), DocxAttributeOutput::StartURL(), DocxAttributeOutput::TableCellProperties(), DocxAttributeOutput::TableDefaultCellMargins(), DocxAttributeOutput::TableDefinition(), WriteCustomXml(), WriteEmbeddings(), DocxAttributeOutput::WriteFlyFrame(), WriteGlossary(), WriteOLEObject(), DocxAttributeOutput::WritePostponedCustomShape(), DocxAttributeOutput::WritePostponedDMLDrawing(), WriteSettings(), and WriteVBA().
|
inline |
Definition at line 135 of file docxexport.hxx.
References m_rFilter.
|
inline |
Definition at line 137 of file docxexport.hxx.
References m_pFloatingTableFrame.
Referenced by DocxAttributeOutput::TableDefinition().
|
inline |
|
inline |
Definition at line 320 of file docxexport.hxx.
References m_pAuthorIDs.
sal_Int32 DocxExport::getWordCompatibilityModeFromGrabBag | ( | ) | const |
Definition at line 2019 of file docxexport.cxx.
References SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), MSWordExportBase::m_rDoc, sName, and UNO_NAME_MISC_OBJ_INTEROPGRABBAG.
|
overridevirtual |
Used to filter out attributes that can be e.g. written to .doc but not to .docx.
Reimplemented from MSWordExportBase.
Definition at line 1948 of file docxexport.cxx.
References MSWordExportBase::ignoreAttributeForStyleDefaults(), RES_PARATR_HYPHENZONE(), and RES_TEXTGRID().
|
private |
Setup pStyles and write styles.xml.
Definition at line 666 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::getRelationship(), m_pAttrOutput, m_pDocumentFS, MSWordExportBase::m_pStyles, m_rFilter, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), and u.
Referenced by ExportDocument_Impl().
|
private |
return true if Page Layout is set as Mirrored
Definition at line 1878 of file docxexport.cxx.
References SwDoc::GetPageDesc(), MSWordExportBase::m_rDoc, Mirror, and SwPageDesc::ReadUseOn().
Referenced by WriteSettings().
rtl::Reference< FastAttributeList > DocxExport::MainXmlNamespaces | ( | ) |
All xml namespaces to be used at the top of any text .xml file (main doc, headers, footers,...)
Definition at line 1929 of file docxexport.cxx.
References FSNS(), oox::core::XmlFilterBase::getNamespaceURL(), m_rFilter, and OUStringToOString().
Referenced by DocxAttributeOutput::FootnotesEndnotes(), WriteHeaderFooter(), WriteMainText(), and WritePostitFields().
|
privatedelete |
OString DocxExport::OutputChart | ( | css::uno::Reference< css::frame::XModel > const & | xModel, |
sal_Int32 | nCount, | ||
::sax_fastparser::FSHelperPtr const & | m_pSerializer | ||
) |
Returns the relationd id.
Definition at line 383 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::drawingml::DOCUMENT_DOCX, oox::drawingml::ChartExport::ExportContent(), oox::getRelationship(), m_rFilter, nCount, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), OUStringToOString(), sId, and xModel.
Referenced by DocxAttributeOutput::WritePostponedChart().
void DocxExport::OutputDML | ( | css::uno::Reference< css::drawing::XShape > const & | xShape | ) |
Writes the shape using drawingML syntax.
Definition at line 511 of file docxexport.cxx.
References oox::drawingml::DOCUMENT_DOCX, m_pAttrOutput, m_rFilter, nNamespace, and oox::drawingml::ShapeExport::WriteShape().
|
overrideprotectedvirtual |
Output SwEndNode.
Reimplemented from MSWordExportBase.
Definition at line 577 of file docxexport.cxx.
References AppendSection(), AttrOutput(), SwNode::GetContentNode(), SwSection::GetFormat(), SwAttrSet::GetLineNumber(), SwNodeIndex::GetNode(), SwSectionFormat::GetParent(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwFormatLineNumber::GetStartValue(), SwContentNode::GetSwAttrSet(), SwSection::GetType(), SwNode::IsContentNode(), SwNode::IsEndNode(), MSWordExportBase::IsInTable(), SwNode::IsSectionNode(), SwNode::IsTableNode(), MSWordExportBase::m_bStartTOX, MSWordExportBase::m_nTextTyp, MSWordExportBase::m_pCurrentPageDesc, MSWordExportBase::OutputEndNode(), AttributeOutputBase::SectionBreaks(), SwNode::StartOfSectionNode(), ToxContent, and TXT_MAINTEXT.
|
overridevirtual |
Write the field.
Implements MSWordExportBase.
Definition at line 321 of file docxexport.cxx.
References m_pAttrOutput.
Referenced by DoFormText(), DocxAttributeOutput::DropdownField(), DocxAttributeOutput::RefField(), DocxAttributeOutput::SetField(), DocxAttributeOutput::StartURL(), and DocxAttributeOutput::WriteExpand().
|
overrideprotectedvirtual |
Output SwGrfNode.
Implements MSWordExportBase.
Definition at line 620 of file docxexport.cxx.
References SAL_INFO.
|
overrideprotectedvirtual |
Implements MSWordExportBase.
Definition at line 630 of file docxexport.cxx.
|
overrideprotectedvirtual |
Output SwOLENode.
Implements MSWordExportBase.
Definition at line 625 of file docxexport.cxx.
References SAL_INFO.
|
inlineoverridevirtual |
If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).
Implements MSWordExportBase.
Definition at line 154 of file docxexport.hxx.
|
overrideprotectedvirtual |
Get ready for a new section.
Implements MSWordExportBase.
Definition at line 642 of file docxexport.cxx.
References AttrOutput(), MSWordExportBase::GetSectionFormat(), MSWordExportBase::GetSectionLineNo(), m_pSections, msword::PageBreak, and AttributeOutputBase::SectionBreak().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 635 of file docxexport.cxx.
|
inline |
Reference to the DocxSdrExport instance for the main document.
Definition at line 308 of file docxexport.hxx.
References m_pSdrExport.
Referenced by DocxAttributeOutput::EndParagraph(), DocxAttributeOutput::EndParagraphProperties(), DocxAttributeOutput::EndRun(), DocxAttributeOutput::FlyFrameGraphic(), DocxAttributeOutput::FormatBackground(), DocxAttributeOutput::FormatBox(), DocxAttributeOutput::FormatFillGradient(), DocxAttributeOutput::FormatFrameSize(), DocxAttributeOutput::FormatHorizOrientation(), DocxAttributeOutput::FormatLRSpace(), DocxAttributeOutput::FormatSurround(), DocxAttributeOutput::FormatULSpace(), DocxAttributeOutput::FormatVertOrientation(), DocxAttributeOutput::MaybeOutputBrushItem(), DocxAttributeOutput::Redline(), DocxAttributeOutput::StartParagraph(), DocxAttributeOutput::WriteCollectedParagraphProperties(), DocxAttributeOutput::WriteFlyFrame(), DocxAttributeOutput::WritePostponedChart(), DocxAttributeOutput::WritePostponedCustomShape(), DocxAttributeOutput::WritePostponedDiagram(), DocxAttributeOutput::WritePostponedDMLDrawing(), DocxAttributeOutput::WriteTextBox(), and DocxAttributeOutput::WriteVMLTextBox().
|
inlineoverrideprotectedvirtual |
Implements MSWordExportBase.
Definition at line 234 of file docxexport.hxx.
|
overridevirtual |
Access to the sections/headers/footres.
Implements MSWordExportBase.
Definition at line 121 of file docxexport.cxx.
References m_pSections.
|
inline |
Set the document default tab stop.
Definition at line 311 of file docxexport.hxx.
References DocxSettingsData::defaultTabStop, m_aSettings, and stop().
Referenced by DocxAttributeOutput::ParaTabStop().
|
inline |
Definition at line 317 of file docxexport.hxx.
References m_pFloatingTableFrame.
Referenced by DocxAttributeOutput::TableDefinition(), and DocxAttributeOutput::WriteFloatingTable().
void DocxExport::SetFS | ( | ::sax_fastparser::FSHelperPtr const & | mpFS | ) |
Definition at line 2068 of file docxexport.cxx.
References mpFS.
Referenced by DocxExport(), and WriteHeaderFooter().
|
inline |
Reference to the VMLExport instance for the main document.
Definition at line 305 of file docxexport.hxx.
References m_pVMLExport.
Referenced by DocxAttributeOutput::WriteActiveXControl().
std::pair< OString, OString > DocxExport::WriteActiveXObject | ( | const uno::Reference< css::drawing::XShape > & | rxShape, |
const uno::Reference< awt::XControlModel > & | rxControlModel | ||
) |
Definition at line 461 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::StorageBase::commit(), oox::ole::OleFormCtrlExportHelper::exportControl(), FSNS(), oox::core::FilterBase::getComponentContext(), SwDoc::GetDocShell(), oox::ole::OleFormCtrlExportHelper::getGUID(), SfxObjectShell::GetModel(), oox::ole::OleFormCtrlExportHelper::getName(), oox::core::XmlFilterBase::getNamespaceURL(), comphelper::getProcessComponentContext(), oox::getRelationship(), oox::ole::OleFormCtrlExportHelper::isValid(), m_nActiveXControls, m_pDocumentFS, MSWordExportBase::m_rDoc, m_rFilter, oox::core::XmlFilterBase::openFragmentStream(), oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), oox::StorageBase::openOutputStream(), OUStringToOString(), sGUID, sName, and xModel.
Referenced by DocxAttributeOutput::WriteActiveXControl().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements MSWordExportBase.
Definition at line 170 of file docxexport.hxx.
|
private |
Write customXml/item[n].xml and customXml/itemProps[n].xml.
Definition at line 1649 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), GetFilter(), comphelper::getProcessComponentContext(), oox::getRelationship(), i, lcl_UpdateXmlValues(), m_pDocumentFS, MSWordExportBase::m_rDoc, m_rFilter, m_SdtData, oox::core::XmlFilterBase::openFragmentStream(), and UNO_NAME_MISC_OBJ_INTEROPGRABBAG.
Referenced by ExportDocument_Impl().
|
private |
Writes the <w:docVars> part of settings.xml.
Definition at line 953 of file docxexport.cxx.
References FSNS(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), MSWordExportBase::m_rDoc, u, and xModel.
Referenced by WriteSettings().
|
private |
Write word/embeddings/Worksheet[n].xlsx.
Definition at line 1810 of file docxexport.cxx.
References aName, comphelper::OStorageHelper::CopyInputToOutput(), SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), GetFilter(), MSWordExportBase::m_rDoc, oox::core::XmlFilterBase::openFragmentStream(), TOOLS_WARN_EXCEPTION, and UNO_NAME_MISC_OBJ_INTEROPGRABBAG.
Referenced by ExportDocument_Impl().
|
private |
Write word/fontTable.xml.
Definition at line 908 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), FSNS(), oox::core::XmlFilterBase::getNamespaceURL(), oox::getRelationship(), MSWordExportBase::m_aFontHelper, m_pAttrOutput, m_pDocumentFS, m_rFilter, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), u, and wwFontHelper::WriteFontTable().
Referenced by ExportDocument_Impl().
|
private |
Write footnotes.xml and endnotes.xml.
Definition at line 691 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::getRelationship(), m_pAttrOutput, m_pDocumentFS, m_pSdrExport, m_pVMLExport, m_rFilter, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), and u.
Referenced by ExportDocument_Impl().
|
overridevirtual |
Write the data of the form field.
Implements MSWordExportBase.
Definition at line 326 of file docxexport.cxx.
References m_pAttrOutput.
|
private |
Definition at line 1486 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), aName, SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), GetFilter(), comphelper::getProcessComponentContext(), oox::getRelationship(), m_pDocumentFS, MSWordExportBase::m_rDoc, m_rFilter, name, oox::core::XmlFilterBase::openFragmentStream(), SAL_WARN, u, UNO_NAME_MISC_OBJ_INTEROPGRABBAG, and value.
Referenced by ExportDocument_Impl().
|
private |
Write reference to a header/footer + the actual xml containing the text.
Definition at line 834 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), aName, AttrOutput(), AttributeOutputBase::EmptyParagraph(), FSNS(), oox::getRelationship(), m_nFooters, m_nHeaders, m_pAttrOutput, m_pDocumentFS, m_pSdrExport, m_pVMLExport, m_rFilter, MainXmlNamespaces(), oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), SetFS(), MSWordExportBase::WriteHeaderFooterText(), and XML_type.
Referenced by WriteHeadersFooters().
|
overridevirtual |
Output the actual headers and footers.
Implements MSWordExportBase.
Definition at line 258 of file docxexport.cxx.
References DocxSettingsData::evenAndOddHeaders, m_aSettings, MSWordExportBase::m_bHasFtr, MSWordExportBase::m_bHasHdr, m_nHeadersFootersInSection, m_pAttrOutput, WriteHeaderFooter(), 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.
|
overridevirtual |
void DocxExport::WriteMainText | ( | ) |
FIXME this is temporary, remotely reminding the method of the same name in WW8Export.
Definition at line 1888 of file docxexport.cxx.
References msfilter::util::ConvertColor(), FSNS(), MSWordExportBase::getBackground(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), MSWordExportBase::m_aLinkedTextboxesHelper, MSWordExportBase::m_nLinkedTextboxesChainId, m_pAttrOutput, MSWordExportBase::m_pCurPam, m_pDocumentFS, m_pSections, MSWordExportBase::m_rDoc, MainXmlNamespaces(), MSWordExportBase::SectionProperties(), SwNode::StartOfSectionNode(), and MSWordExportBase::WriteText().
Referenced by ExportDocument_Impl().
|
overrideprivatevirtual |
Write the numbering table.
Implements MSWordExportBase.
Definition at line 794 of file docxexport.cxx.
References MSWordExportBase::AbstractNumberingDefinitions(), oox::core::XmlFilterBase::addRelation(), MSWordExportBase::BulletDefinitions(), FSNS(), oox::core::XmlFilterBase::getNamespaceURL(), oox::getRelationship(), m_pAttrOutput, m_pDocumentFS, m_pDrawingML, MSWordExportBase::m_pUsedNumTable, m_rFilter, MSWordExportBase::NumberingDefinitions(), oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), and u.
Referenced by ExportDocument_Impl().
OString DocxExport::WriteOLEObject | ( | SwOLEObj & | rObject, |
OUString & | io_rProgID | ||
) |
Definition at line 413 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), comphelper::OStorageHelper::CopyInputToOutput(), getComponentContext(), GetFilter(), GetFS(), oox::GetOLEObjectStream(), SwOLEObj::GetOleRef(), getOutputStream(), m_nOLEObjects, m_rFilter, oox::core::XmlFilterBase::openFragmentStream(), OUStringToOString(), sId, sMediaType, sSuffix, and TOOLS_WARN_EXCEPTION.
Referenced by DocxAttributeOutput::WriteOLE().
sal_Int32 DocxExport::WriteOutliner | ( | const OutlinerParaObject & | rOutliner, |
sal_uInt8 | nTyp, | ||
bool | bNeedsLastParaId | ||
) |
Definition at line 1957 of file docxexport.cxx.
References aStr, AttrOutput(), AttributeOutputBase::EndParagraph(), AttributeOutputBase::EndParagraphProperties(), AttributeOutputBase::EndRun(), AttributeOutputBase::EndRunProperties(), SwDoc::GetAttrPool(), MSWord_SdrAttrIter::GetNextCharSet(), MSWord_SdrAttrIter::GetNodeCharSet(), EditTextObject::GetParagraphCount(), EditTextObject::GetText(), OutlinerParaObject::GetTextObject(), MSWord_SdrAttrIter::IsTextAttr(), MSWordExportBase::m_rDoc, min(), n, MSWord_SdrAttrIter::NextPara(), MSWord_SdrAttrIter::NextPos(), MSWord_SdrAttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), AttributeOutputBase::RunText(), AttributeOutputBase::StartParagraph(), AttributeOutputBase::StartParagraphProperties(), AttributeOutputBase::StartRun(), AttributeOutputBase::StartRunProperties(), and MSWord_SdrAttrIter::WhereNext().
Referenced by DocxAttributeOutput::WritePostitFields().
|
private |
Write comments.xml.
Definition at line 752 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), FSNS(), oox::core::XmlFilterBase::getNamespaceURL(), oox::getRelationship(), m_pAttrOutput, m_pDocumentFS, m_rFilter, MainXmlNamespaces(), oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), u, and DocxAttributeOutput::yes.
Referenced by ExportDocument_Impl().
|
private |
Write docProps/core.xml.
Definition at line 936 of file docxexport.cxx.
References oox::core::XmlFilterBase::exportDocumentProperties(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), SfxObjectShell::IsSecurityOptOpenReadOnly(), MSWordExportBase::m_rDoc, and m_rFilter.
Referenced by DocxExport().
|
private |
Write word/settings.xml.
Definition at line 1034 of file docxexport.cxx.
References SL::aData, oox::core::XmlFilterBase::addRelation(), aName, sax_fastparser::FastSerializerHelper::createAttrList(), DocxSettingsData::defaultTabStop, DocxStringGetToken(), oox::core::ECMA_376_1ST_EDITION, EMBED_FONTS, EMBED_SYSTEM_FONTS, DocxSettingsData::evenAndOddHeaders, FSNS(), IDocumentSettingAccess::get(), MSWordExportBase::getBackground(), SfxObjectShell::GetBaseModel(), SwViewOption::getBrowseMode(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::GetDBData(), SwDoc::GetDocShell(), SwDoc::GetEndNoteInfo(), GetFilter(), SwDoc::GetFootnoteInfo(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SwDoc::getIDocumentStylePoolAccess(), SwFormat::GetItemIfSet(), SfxObjectShell::GetModifyPasswordInfo(), oox::core::XmlFilterBase::getNamespaceURL(), oox::getRelationship(), IDocumentStylePoolAccess::GetTextCollFromPool(), SvxHyphenZoneItem::GetTextHyphenZone(), oox::core::FilterBase::getVersion(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), GUTTER_AT_TOP, DocxSettingsData::hasData(), isMirroredMargin(), SvxHyphenZoneItem::IsNoCapsHyphenation(), SfxObjectShell::IsSecurityOptOpenReadOnly(), m_aSettings, m_pAttrOutput, m_pDocumentFS, m_pSections, MSWordExportBase::m_rDoc, m_rFilter, nCount, nToken, oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), PROTECT_FORM, RES_PARATR_HYPHENZONE(), RES_POOLCOLL_STANDARD, DocxSettingsData::revisionView, sHash, DocxSettingsData::trackRevisions, u, UNO_NAME_MISC_OBJ_INTEROPGRABBAG, WriteCompat(), WriteDocVars(), and DocxAttributeOutput::WriteFootnoteEndnotePr().
Referenced by ExportDocument_Impl().
|
private |
Write word/theme/theme1.xml.
Definition at line 1472 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::drawingml::DOCUMENT_DOCX, IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SdrModel::GetPage(), oox::getRelationship(), SdrPage::getSdrPageProperties(), SdrPageProperties::GetTheme(), m_pDocumentFS, MSWordExportBase::m_rDoc, m_rFilter, u, and oox::ThemeExport::write().
Referenced by ExportDocument_Impl().
|
private |
Writes word/vbaProject.bin.
Definition at line 1751 of file docxexport.cxx.
References oox::core::XmlFilterBase::addRelation(), utl::UcbStreamHelper::CreateStream(), SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), GetFilter(), oox::getRelationship(), m_pDocumentFS, MSWordExportBase::m_rDoc, m_rFilter, oox::core::XmlFilterBase::openFragmentStream(), pOut, and u.
Referenced by ExportDocument_Impl().
|
private |
Definition at line 121 of file docxexport.hxx.
Referenced by ExportDocument_Impl(), setDefaultTabStop(), WriteHeadersFooters(), and WriteSettings().
|
private |
If the result will be a .docm file or not.
Definition at line 116 of file docxexport.hxx.
Referenced by DocxExport(), and ExportDocument_Impl().
|
private |
Export is done into template (.dotx)
Definition at line 119 of file docxexport.hxx.
Referenced by DocxExport().
|
private |
ActiveX controls counter.
Definition at line 104 of file docxexport.hxx.
Referenced by WriteActiveXObject().
|
private |
|
private |
|
private |
Footer and Header counter in Section properties.
Definition at line 107 of file docxexport.hxx.
Referenced by WriteHeadersFooters().
|
private |
|
private |
Attribute output for document.
Definition at line 89 of file docxexport.hxx.
Referenced by AppendAnnotationMarks(), AppendBookmark(), AppendBookmarks(), AppendSection(), AttrOutput(), DisallowInheritingOutlineNumbering(), DocxAttrOutput(), DocxExport(), InitStyles(), OutputDML(), OutputField(), WriteFonts(), WriteFootnotesEndnotes(), WriteFormData(), WriteHeaderFooter(), WriteHeadersFooters(), WriteMainText(), WriteNumbering(), WritePostitFields(), and WriteSettings().
|
private |
Map authors to remove personal info.
Definition at line 127 of file docxexport.hxx.
Referenced by GetInfoID().
|
private |
Fast serializer for the document output.
Definition at line 80 of file docxexport.hxx.
Referenced by AddRelation(), DoComboBox(), DocxExport(), InitStyles(), WriteActiveXObject(), WriteCustomXml(), WriteFonts(), WriteFootnotesEndnotes(), WriteGlossary(), WriteHeaderFooter(), WriteMainText(), WriteNumbering(), WritePostitFields(), WriteSettings(), WriteTheme(), WriteVBA(), and ~DocxExport().
|
private |
Access to the DrawingML writer.
Definition at line 86 of file docxexport.hxx.
Referenced by DocxExport(), and WriteNumbering().
|
private |
Pointer to the Frame of a floating table it is nested in.
Definition at line 124 of file docxexport.hxx.
Referenced by GetFloatingTableFrame(), and SetFloatingTableFrame().
|
private |
Exporter of drawings.
Definition at line 113 of file docxexport.hxx.
Referenced by DocxExport(), SdrExporter(), WriteFootnotesEndnotes(), and WriteHeaderFooter().
|
private |
Sections/headers/footers.
Definition at line 92 of file docxexport.hxx.
Referenced by AppendSection(), ExportDocument_Impl(), PrepareNewPageDesc(), Sections(), WriteMainText(), and WriteSettings().
|
private |
Exporter of the VML shapes.
Definition at line 110 of file docxexport.hxx.
Referenced by DocxExport(), VMLExporter(), WriteFootnotesEndnotes(), and WriteHeaderFooter().
|
private |
Pointer to the filter that owns us.
Definition at line 77 of file docxexport.hxx.
Referenced by AddRelation(), DocxExport(), GetFilter(), InitStyles(), MainXmlNamespaces(), OutputChart(), OutputDML(), WriteActiveXObject(), WriteCustomXml(), WriteFonts(), WriteFootnotesEndnotes(), WriteGlossary(), WriteHeaderFooter(), WriteNumbering(), WriteOLEObject(), WritePostitFields(), WriteProperties(), WriteSettings(), WriteTheme(), and WriteVBA().
|
private |
Storage for sdt data which need to be written to other XMLs.
Definition at line 130 of file docxexport.hxx.
Referenced by AddSdtData(), and WriteCustomXml().
|
private |
Fast serializer to output the data.
Definition at line 83 of file docxexport.hxx.