LibreOffice Module sw (master) 1
|
Exporter of the binary Word file formats. More...
#include <wrtww8.hxx>
Public Member Functions | |
virtual AttributeOutputBase & | AttrOutput () const override |
memory leak #i120098#, to hold the reference to unnamed SotStorage obj More... | |
virtual MSWordSections & | Sections () const override |
Access to the sections/headers/footres. 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 | 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 void | SetupSectionPositions (WW8_PdAttrDesc *pA) override |
Setup the pA's info. More... | |
bool | MiserableFormFieldExportHack (const SwFrameFormat &rFrameFormat) |
SwMSConvertControls & | GetOCXExp () |
void | ExportDopTypography (WW8DopTypography &rTypo) |
sal_uInt16 | AddRedlineAuthor (std::size_t nId) |
void | WriteFootnoteBegin (const SwFormatFootnote &rFootnote, ww::bytes *pO=nullptr) |
void | WritePostItBegin (ww::bytes *pO=nullptr) |
const SvxBrushItem * | GetCurrentPageBgBrush () const |
std::shared_ptr< SvxBrushItem > | TrueFrameBgBrush (const SwFrameFormat &rFlyFormat) const |
void | AppendFlyInFlys (const ww8::Frame &rFrameFormat, const Point &rNdTopLeft) |
void | WriteOutliner (const OutlinerParaObject &rOutliner, sal_uInt8 nTyp) |
void | WriteSdrTextObj (const SdrTextObj &rObj, sal_uInt8 nTyp) |
sal_uInt32 | GetSdrOrdNum (const SwFrameFormat &rFormat) const |
void | CreateEscher () |
void | WriteEscher () |
virtual void | OutputField (const SwField *pField, ww::eField eFieldType, const OUString &rFieldCmd, FieldFlags nMode=FieldFlags::All) override |
Write the field. More... | |
void | StartCommentOutput (std::u16string_view rName) |
void | EndCommentOutput (std::u16string_view rName) |
void | OutGrf (const ww8::Frame &rFrame) |
bool | TestOleNeedsGraphic (const SwAttrSet &rSet, tools::SvRef< SotStorage > const &xOleStg, const tools::SvRef< SotStorage > &xObjStg, OUString const &rStorageName, SwOLENode *pOLENd) |
virtual void | AppendBookmarks (const SwTextNode &rNd, sal_Int32 nCurrentPos, sal_Int32 nLen, const SwRedlineData *pRedlineData=nullptr) override |
virtual void | AppendBookmark (const OUString &rName) override |
void | AppendBookmarkEndWithCorrection (const OUString &rName) |
virtual void | AppendAnnotationMarks (const SwWW8AttrIter &rAttrs, sal_Int32 nCurrentPos, sal_Int32 nLen) override |
virtual void | AppendSmartTags (SwTextNode &rTextNode) override |
virtual void | ExportGrfBullet (const SwTextNode &rNd) override |
void | OutGrfBullets (const ww8::Frame &rFrame) |
void | MoveFieldMarks (WW8_CP nFrom, WW8_CP nTo) |
void | WriteAsStringTable (const std::vector< OUString > &, sal_Int32 &rfcSttbf, sal_Int32 &rlcbSttbf) |
virtual sal_uInt64 | ReplaceCr (sal_uInt8 nChar) override |
ReplaceCr() is used for Pagebreaks and Pagedescs. More... | |
virtual void | WriteCR (ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner=ww8::WW8TableNodeInfoInner::Pointer_t()) override |
void | WriteChar (sal_Unicode c) override |
void | OutSwString (const OUString &, sal_Int32 nStt, sal_Int32 nLen) |
WW8_CP | Fc2Cp (sal_uLong nFc) const |
void | OutSprmBytes (sal_uInt8 *pBytes, sal_uInt16 nSiz) |
virtual void | SectionBreaksAndFrames (const SwTextNode &rNode) override |
virtual void | PrepareNewPageDesc (const SfxItemSet *pSet, const SwNode &rNd, const SwFormatPageDesc *pNewPgDescFormat, const SwPageDesc *pNewPgDesc, bool bExtraPageBreak=false) override |
Helper method for OutputSectionBreaks() and OutputFollowPageDesc(). More... | |
void | Out_SwFormatBox (const SvxBoxItem &rBox, bool bShadow) |
is for all boxes except in tables. More... | |
void | Out_CellRangeBorders (const SvxBoxItem *pBox, sal_uInt8 nStart, sal_uInt8 nLimit) |
virtual bool | DisallowInheritingOutlineNumbering (const SwFormat &rFormat) override |
Return value indicates if an inherited outline numbering is suppressed. More... | |
unsigned int | GetHdFtIndex () const |
void | SetHdFtIndex (unsigned int nHdFtIndex) |
void | IncrementHdFtIndex () |
virtual bool | CollapseScriptsforWordOk (sal_uInt16 nScript, sal_uInt16 nWhich) override |
Guess the script (asian/western). More... | |
SwTwips | CurrentPageWidth (SwTwips &rLeft, SwTwips &rRight) const |
void | MiserableRTLFrameFormatHack (SwTwips &rLeft, SwTwips &rRight, const ww8::Frame &rFrameFormat) |
Nasty swap for bidi if necessary. More... | |
void | InsUInt16 (sal_uInt16 n) |
void | InsInt16 (sal_Int16 n) |
void | InsUInt32 (sal_uInt32 n) |
void | WriteStringAsPara (const OUString &rText) |
WW8Export (SwWW8Writer *pWriter, SwDoc &rDocument, std::shared_ptr< SwUnoCursor > &pCurrentPam, SwPaM *pOriginalPam, bool bDot) | |
Setup the exporter. More... | |
virtual | ~WW8Export () 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 |
void | GetCurrentItems (ww::bytes &rItems) const |
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 |
WW8_WrPlcField * | CurrentFieldPlc () const |
Fields. More... | |
SwWW8Writer & | GetWriter () const |
SvStream & | Strm () const |
virtual void | SaveData (SwNodeOffset nStt, SwNodeOffset nEnd) override |
Remember some of the members so that we can recurse in WriteText(). More... | |
virtual void | RestoreData () override |
Restore what was saved in SaveData(). 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 ExportFormat | GetExportFormat () const override |
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 () |
Static Public Member Functions | |
static void | Out_BorderLine (ww::bytes &rO, const ::editeng::SvxBorderLine *pLine, sal_uInt16 nDist, sal_uInt16 nSprmNo, sal_uInt16 nSprmNoVer9, bool bShadow) |
Gets passed a WW8Bytes*, so the function also can be used for the table border. More... | |
static void | Out_SwFormatTableBox (ww::bytes &rO, const SvxBoxItem *rBox) |
FormatBox2() is for TC structures in tables. More... | |
static bool | TransBrush (const Color &rCol, WW8_SHD &rShd) |
TransBrush converts SW-Brushes to WW. More... | |
static WW8_BRCVer9 | TranslateBorderLine (const ::editeng::SvxBorderLine &pLine, sal_uInt16 nDist, bool bShadow) |
static sal_uInt8 | GetNumId (sal_uInt16 eNumType) |
Converts the SVX numbering type to MSONFC. More... | |
Static Public Member Functions inherited from MSWordExportBase | |
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 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 |
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 |
Protected Attributes | |
SwWW8Writer * | m_pWriter |
Pointer to the writer. More... | |
std::unique_ptr< WW8AttributeOutput > | m_pAttrOutput |
Converting attributes to stream data. More... | |
Protected Attributes inherited from MSWordExportBase | |
std::vector< const Graphic * > | m_vecBulletPic |
Vector to record all the graphics of bullets. More... | |
Private Member Functions | |
virtual ErrCode | ExportDocument_Impl () override |
Format-dependent part of the actual export. More... | |
void | PrepareStorage () |
void | WriteFkpPlcUsw () |
void | WriteMainText () |
void | StoreDoc1 () |
virtual void | WriteNumbering () override |
Output the numbering table. More... | |
void | OutOverrideListTab () |
void | OutListNamesTab () |
void | RestoreMacroCmds () |
void | DoComboBox (css::uno::Reference< css::beans::XPropertySet > const &xPropSet) |
WW8Export (const WW8Export &)=delete | |
WW8Export & | operator= (const WW8Export &)=delete |
Private Attributes | |
tools::SvRef< SotStorage > | m_xEscherStg |
Additional Inherited Members | |
Public Types inherited from MSWordExportBase | |
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... | |
Static Protected Member Functions inherited from MSWordExportBase | |
static void | UpdateTocSectionNodeProperties (const SwSectionNode &rSectionNode) |
Exporter of the binary Word file formats.
Definition at line 996 of file wrtww8.hxx.
WW8Export::WW8Export | ( | SwWW8Writer * | pWriter, |
SwDoc & | rDocument, | ||
std::shared_ptr< SwUnoCursor > & | pCurrentPam, | ||
SwPaM * | pOriginalPam, | ||
bool | bDot | ||
) |
Setup the exporter.
Definition at line 4000 of file wrtww8.cxx.
|
overridevirtual |
Definition at line 4012 of file wrtww8.cxx.
|
privatedelete |
sal_uInt16 WW8Export::AddRedlineAuthor | ( | std::size_t | nId | ) |
Definition at line 1661 of file wrtww8.cxx.
References MSWordExportBase::m_pRedlAuthors, nId, and SW_MOD.
Referenced by WW8AttributeOutput::Redline().
|
inlineoverridevirtual |
Determines the Section Breaks are to be added for TOX Section.
Implements MSWordExportBase.
Definition at line 1029 of file wrtww8.hxx.
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 1466 of file wrtww8.cxx.
References Fc2Cp(), MSWordExportBase::GetAnnotationMarks(), SwWW8AttrIter::HasFlysAt(), MSWordExportBase::m_pAtn, and Strm().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 1498 of file wrtww8.cxx.
References Fc2Cp(), MSWordExportBase::m_pBkmks, and Strm().
Referenced by WW8AttributeOutput::EndRun(), ExportGrfBullet(), and WW8AttributeOutput::StartRun().
void WW8Export::AppendBookmarkEndWithCorrection | ( | const OUString & | rName | ) |
Definition at line 1504 of file wrtww8.cxx.
References Fc2Cp(), MSWordExportBase::m_pBkmks, and Strm().
Referenced by WW8AttributeOutput::EndRun().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 1422 of file wrtww8.cxx.
References sw::sidebar::aArr, BookmarkToWord(), Fc2Cp(), MSWordExportBase::GetBookmarks(), SwPosition::GetContentIndex(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetWriter(), MSWordExportBase::m_pBkmks, p, and Strm().
void WW8Export::AppendFlyInFlys | ( | const ww8::Frame & | rFrameFormat, |
const Point & | rNdTopLeft | ||
) |
Definition at line 961 of file wrtw8esh.cxx.
References PlcDrawObj::Append(), Close, CmdEnd, CmdStart, ww::eSHAPE, Fc2Cp(), FieldString(), ww8::Frame::IsInline(), MSWordExportBase::m_nTextTyp, MSWordExportBase::m_pChpPlc, MSWordExportBase::m_pEscher, MSWordExportBase::m_pHFSdrObjs, MSWordExportBase::m_pSdrObjs, OutGrf(), OutputField(), Start, Strm(), TXT_HDFT, and WriteChar().
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl().
|
overrideprotectedvirtual |
Implements MSWordExportBase.
Definition at line 3440 of file wrtw8nds.cxx.
|
overridevirtual |
Reimplemented from MSWordExportBase.
Definition at line 1483 of file wrtww8.cxx.
References Fc2Cp(), SwRDFHelper::getTextNodeStatements(), MSWordExportBase::m_pFactoids, and Strm().
|
overridevirtual |
memory leak #i120098#, to hold the reference to unnamed SotStorage obj
Access to the attribute output class.
Implements MSWordExportBase.
Definition at line 4016 of file wrtww8.cxx.
References m_pAttrOutput.
Referenced by WriteOutliner().
|
overridevirtual |
Guess the script (asian/western).
Implements MSWordExportBase.
Definition at line 152 of file ww8atr.cxx.
References RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), and RES_CHRATR_WEIGHT().
void WW8Export::CreateEscher | ( | ) |
Definition at line 1453 of file wrtw8esh.cxx.
References SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), MSWordExportBase::m_pEscher, MSWordExportBase::m_pHFSdrObjs, MSWordExportBase::m_pSdrObjs, MSWordExportBase::m_rDoc, RES_BACKGROUND(), and SvStream::SetEndian().
Referenced by StoreDoc1().
WW8_WrPlcField * WW8Export::CurrentFieldPlc | ( | ) | const |
Fields.
Definition at line 1849 of file ww8atr.cxx.
References MSWordExportBase::m_nTextTyp, MSWordExportBase::m_pFieldAtn, MSWordExportBase::m_pFieldEdn, MSWordExportBase::m_pFieldFootnote, MSWordExportBase::m_pFieldHdFt, MSWordExportBase::m_pFieldHFTextBxs, MSWordExportBase::m_pFieldMain, MSWordExportBase::m_pFieldTextBxs, TXT_ATN, TXT_EDN, TXT_FTN, TXT_HDFT, TXT_HFTXTBOX, TXT_MAINTEXT, and TXT_TXTBOX.
Referenced by WW8AttributeOutput::EndRunProperties(), OutputField(), and WW8AttributeOutput::StartRunProperties().
Definition at line 4865 of file ww8atr.cxx.
References SwFormat::GetFrameSize(), SvxLRSpaceItem::GetLeft(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), SvxLRSpaceItem::GetRight(), SvxSizeItem::GetWidth(), MSWordExportBase::m_pCurrentPageDesc, and MSWordExportBase::m_rDoc.
Referenced by MiserableRTLFrameFormatHack(), and WW8AttributeOutput::TableDefinition().
|
overridevirtual |
Return value indicates if an inherited outline numbering is suppressed.
Implements MSWordExportBase.
Definition at line 860 of file ww8atr.cxx.
References SwFormat::DerivedFrom(), SwFormat::GetItemState(), SwWW8Writer::InsUInt16(), m_pO, RES_PARATR_NUMRULE(), and NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val.
|
overridevirtual |
Implements MSWordExportBase.
|
private |
Referenced by WW8AttributeOutput::DropdownField(), and MiserableFormFieldExportHack().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 465 of file wrtw8esh.cxx.
References Close, CmdEnd, CmdStart, ww::eFORMTEXT, SwField::ExpandField(), FieldString(), SwInputField::GetHelp(), SwInputField::GetPar2(), SwInputField::GetToolTip(), MSWordExportBase::m_pChpPlc, m_pDataStrm, OutputField(), Set_UInt32(), sw::WW8FFData::setHelp(), sw::WW8FFData::setName(), sw::WW8FFData::setStatus(), sw::WW8FFData::setType(), Start, Strm(), SvStream::Tell(), sw::WW8FFData::Write(), WriteChar(), and SwWW8Writer::WriteString16().
void WW8Export::EndCommentOutput | ( | std::u16string_view | rName | ) |
Definition at line 2032 of file ww8atr.cxx.
References Close, CmdEnd, End, ww::eQUOTE, and OutputField().
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl().
|
overrideprivatevirtual |
Format-dependent part of the actual export.
Implements MSWordExportBase.
Definition at line 3536 of file wrtww8.cxx.
References SL::a1Table, SL::aData, CHP, tools::SvRef< typename T >::clear(), Writer::CreateBookmarkTable(), err, ERRCODE_NONE, tools::SvRef< typename T >::get(), IDocumentLayoutAccess::GetCurrentLayout(), msfilter::MSCodec97::GetDocId(), msfilter::MSCodec_Std97::GetEncryptKey(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentStylePoolAccess(), SwFormat::GetItemIfSet(), StgWriter::GetStorage(), utl::TempFileFast::GetStream(), IDocumentStylePoolAccess::GetTextCollFromPool(), GetWriter(), SwWW8Writer::InitStd97CodecUpdateMedium(), SwRootFrame::IsHideRedlines(), SvxHyphenZoneItem::IsHyphen(), MSWordExportBase::m_aMainStg, m_bDot, MSWordExportBase::m_nOrigRedlineFlags, MSWordExportBase::m_pAtn, MSWordExportBase::m_pBkmks, MSWordExportBase::m_pChpPlc, m_pDataStrm, m_pDop, m_pEdn, MSWordExportBase::m_pFactoids, m_pFib, MSWordExportBase::m_pFieldAtn, MSWordExportBase::m_pFieldEdn, MSWordExportBase::m_pFieldFootnote, MSWordExportBase::m_pFieldHdFt, MSWordExportBase::m_pFieldHFTextBxs, MSWordExportBase::m_pFieldMain, MSWordExportBase::m_pFieldTextBxs, m_pFootnote, MSWordExportBase::m_pGrf, MSWordExportBase::m_pHFSdrObjs, MSWordExportBase::m_pHFTextBxs, MSWordExportBase::m_pMagicTable, m_pO, MSWordExportBase::m_pPapPlc, MSWordExportBase::m_pPiece, MSWordExportBase::m_pRedlAuthors, MSWordExportBase::m_pSdrObjs, m_pSepx, MSWordExportBase::m_pStyles, m_pTableStrm, MSWordExportBase::m_pTextBxs, MSWordExportBase::m_rDoc, On, SotStorage::OpenSotStream(), PAP, PrepareStorage(), SotStorage::Remove(), RES_PARATR_HYPHENZONE(), RES_POOLCOLL_STANDARD, SvStream::Seek(), SvStream::SetEndian(), Writer::SetStream(), StoreDoc1(), STREAM_SEEK_TO_END, Strm(), TXT_ATN, TXT_EDN, TXT_FTN, TXT_HDFT, TXT_HFTXTBOX, TXT_MAINTEXT, TXT_TXTBOX, SvStream::WriteBytes(), and SvStream::WriteUInt32().
void WW8Export::ExportDopTypography | ( | WW8DopTypography & | rTypo | ) |
Definition at line 582 of file wrtww8.cxx.
References IDocumentSettingAccess::get(), IDocumentSettingAccess::getCharacterCompressionType(), WW8DopTypography::GetConvertedLang(), IDocumentSettingAccess::getForbiddenCharacters(), SwWW8Writer::getIDocumentSettingAccess(), SwDoc::getIDocumentSettingAccess(), GetWriter(), WW8DopTypography::JapanNotBeginLevel1, WW8DopTypography::JapanNotEndLevel1, KERN_ASIAN_PUNCTUATION, LANGUAGE_JAPANESE, lcl_CmpBeginEndChars(), WW8DopTypography::m_cchFollowingPunct, WW8DopTypography::m_cchLeadingPunct, WW8DopTypography::m_fKerningPunct, WW8DopTypography::m_iJustification, WW8DopTypography::m_iLevelOfKinsoku, MSWordExportBase::m_rDoc, WW8DopTypography::m_reserved1, WW8DopTypography::m_reserved2, WW8DopTypography::m_rgxchFPunct, WW8DopTypography::m_rgxchLPunct, WW8DopTypography::nMaxFollowing, and WW8DopTypography::nMaxLeading.
Referenced by WriteFkpPlcUsw().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 1585 of file wrtww8.cxx.
References AppendBookmark(), MSWordExportBase::CollectGrfsOfBullets(), i, MSWordExportBase::m_vecBulletPic, nCount, and OutGrfBullets().
Definition at line 1108 of file wrtww8.hxx.
References MSWordExportBase::m_pPiece.
Referenced by AppendAnnotationMarks(), AppendBookmark(), AppendBookmarkEndWithCorrection(), AppendBookmarks(), AppendFlyInFlys(), AppendSection(), AppendSmartTags(), WW8_WrPlcSepx::OutHeaderFooter(), OutputField(), WW8AttributeOutput::PostitField(), PrepareNewPageDesc(), WW8AttributeOutput::SetField(), WW8AttributeOutput::StartRun(), StoreDoc1(), WW8AttributeOutput::TextFootnote_Impl(), WW8_WrPlcSepx::WriteFootnoteEndText(), WW8_WrPlcSubDoc::WriteGenericText(), WriteHeadersFooters(), WW8_WrPlcSepx::WriteKFText(), WriteMainText(), WW8_WrPlcFootnoteEdn::WriteText(), WW8_WrPlcAnnotations::WriteText(), and WW8_WrPlcTextBoxes::WriteText().
|
inlineoverridevirtual |
Determines if the import filter already quoted fields or not.
Implements MSWordExportBase.
Definition at line 1027 of file wrtww8.hxx.
void WW8Export::GetCurrentItems | ( | ww::bytes & | rItems | ) | const |
Definition at line 883 of file wrtw8nds.cxx.
References m_pO.
Referenced by WW8AttributeOutput::FieldVanish(), and InsertSpecialChar().
const SvxBrushItem * WW8Export::GetCurrentPageBgBrush | ( | ) | const |
Definition at line 1702 of file wrtw8nds.cxx.
References COL_TRANSPARENT(), SwDoc::GetAttrPool(), SvxBrushItem::GetColor(), SfxItemPool::GetDefaultItem(), SvxBrushItem::GetGraphic(), SwFormat::GetItemIfSet(), SwPageDesc::GetMaster(), SwDoc::GetPageDesc(), MSWordExportBase::m_pCurrentPageDesc, MSWordExportBase::m_rDoc, and RES_BACKGROUND().
Referenced by TrueFrameBgBrush(), and SwBasicEscherEx::WriteGrfBullet().
|
inlineoverridevirtual |
Implements MSWordExportBase.
Definition at line 1202 of file wrtww8.hxx.
|
inline |
Definition at line 1140 of file wrtww8.hxx.
References MSWordExportBase::m_nHdFtIndex.
Referenced by PlcDrawObj::Append(), and WW8_WrPlcSepx::WriteKFText().
|
static |
Converts the SVX numbering type to MSONFC.
This is used for section, footnote and endnote numbering purposes.
Definition at line 793 of file ww8atr.cxx.
References SVX_NUM_ARABIC_ZERO, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_NUMBER_NONE, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, and SVX_NUM_SYMBOL_CHICAGO.
Referenced by WW8AttributeOutput::NumberingLevel(), WW8AttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectionPageNumbering(), and WW8_WrPlcSepx::WriteFootnoteEndText().
|
inline |
Definition at line 1056 of file wrtww8.hxx.
References MSWordExportBase::m_pOCXExp.
Referenced by WW8_WrPlcSubDoc::WriteGenericText().
sal_uInt32 WW8Export::GetSdrOrdNum | ( | const SwFrameFormat & | rFormat | ) | const |
Definition at line 941 of file wrtw8esh.cxx.
References SwFrameFormat::FindRealSdrObject(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SdrObjList::GetObjCount(), SdrObject::GetOrdNum(), SdrModel::GetPage(), SwDoc::GetSpzFrameFormats(), and MSWordExportBase::m_rDoc.
|
inline |
Definition at line 1188 of file wrtww8.hxx.
References m_pWriter.
Referenced by WW8AttributeOutput::AnalyzeURL(), AppendBookmarks(), SwMSConvertControls::ExportControl(), ExportDocument_Impl(), ExportDopTypography(), SwBasicEscherEx::GetBasePath(), SwBasicEscherEx::IsRelUrl(), OutputLinkedOLE(), OutputOLENode(), PrepareStorage(), RestoreData(), SaveData(), WW8AttributeOutput::StartURL(), and WriteFkpPlcUsw().
|
inline |
Definition at line 1142 of file wrtww8.hxx.
References MSWordExportBase::m_nHdFtIndex.
Referenced by WriteHeadersFooters().
|
inline |
Definition at line 1161 of file wrtww8.hxx.
References InsUInt16(), and n.
Referenced by WW8AttributeOutput::TableDefinition(), and WW8AttributeOutput::TablePositioning().
|
inline |
Definition at line 1160 of file wrtww8.hxx.
References SwWW8Writer::InsUInt16(), m_pO, and n.
Referenced by WW8AttributeOutput::CharAnimatedText(), WW8AttributeOutput::CharAutoKern(), WW8AttributeOutput::CharBackground(), WW8AttributeOutput::CharBidiRTL(), WW8AttributeOutput::CharColor(), WW8AttributeOutput::CharEmphasisMark(), WW8AttributeOutput::CharEscapement(), WW8AttributeOutput::CharFont(), WW8AttributeOutput::CharFontCJK(), WW8AttributeOutput::CharFontCTL(), WW8AttributeOutput::CharFontSize(), WW8AttributeOutput::CharHighlight(), WW8AttributeOutput::CharIdctHint(), WW8AttributeOutput::CharKerning(), WW8AttributeOutput::CharLanguage(), WW8AttributeOutput::CharRelief(), WW8AttributeOutput::CharRotate(), WW8AttributeOutput::CharScaleWidth(), WW8AttributeOutput::CharTwoLines(), WW8AttributeOutput::CharUnderline(), WW8AttributeOutput::FormatAnchor(), WW8AttributeOutput::FormatBackground(), WW8AttributeOutput::FormatColumns_Impl(), WW8AttributeOutput::FormatDrop(), WW8AttributeOutput::FormatFillStyle(), WW8AttributeOutput::FormatFirstLineIndent(), WW8AttributeOutput::FormatFrameDirection(), WW8AttributeOutput::FormatFrameSize(), WW8AttributeOutput::FormatHorizOrientation(), WW8AttributeOutput::FormatKeep(), WW8AttributeOutput::FormatLineNumbering(), WW8AttributeOutput::FormatLRSpace(), WW8AttributeOutput::FormatPaperBin(), WW8AttributeOutput::FormatRightMargin(), WW8AttributeOutput::FormatSurround(), WW8AttributeOutput::FormatTextGrid(), WW8AttributeOutput::FormatTextLeftMargin(), WW8AttributeOutput::FormatULSpace(), WW8AttributeOutput::FormatVertOrientation(), InsInt16(), WW8AttributeOutput::NumberingLevel(), Out_CellRangeBorders(), WW8AttributeOutput::OutputWW8Attribute(), WW8AttributeOutput::OutputWW8AttributeCTL(), WW8AttributeOutput::PageBreakBefore(), WW8AttributeOutput::ParaAdjust(), WW8AttributeOutput::ParaForbiddenRules(), WW8AttributeOutput::ParaHangingPunctuation(), WW8AttributeOutput::ParaHyphenZone(), WW8AttributeOutput::ParaLineSpacing_Impl(), WW8AttributeOutput::ParaOutlineLevel(), WW8AttributeOutput::ParaScriptSpace(), WW8AttributeOutput::ParaSnapToGrid(), WW8AttributeOutput::ParaSplit(), WW8AttributeOutput::ParaVerticalAlign(), WW8AttributeOutput::ParaWidows(), WW8AttributeOutput::Redline(), WW8AttributeOutput::RTLAndCJKState(), WW8AttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectionRtlGutter(), WW8AttributeOutput::TableBackgrounds(), WW8AttributeOutput::TableBidi(), WW8AttributeOutput::TableCanSplit(), WW8AttributeOutput::TableDefinition(), WW8AttributeOutput::TableHeight(), WW8AttributeOutput::TableInfoCell(), WW8AttributeOutput::TableInfoRow(), WW8AttributeOutput::TableOrientation(), WW8AttributeOutput::TablePositioning(), WW8AttributeOutput::TableSpacing(), WW8AttributeOutput::TableVerticalCell(), WW8AttributeOutput::TextCharFormat(), WW8AttributeOutput::TextINetFormat(), WW8AttributeOutput::TextLineBreak(), and WW8SHDLong::Write().
|
inline |
Definition at line 1162 of file wrtww8.hxx.
References SwWW8Writer::InsUInt32(), m_pO, and n.
Referenced by WW8AttributeOutput::CharBackground(), WW8AttributeOutput::CharColor(), WW8AttributeOutput::CharUnderline(), WW8AttributeOutput::FormatBackground(), WW8AttributeOutput::FormatFillStyle(), WW8AttributeOutput::FormatTextGrid(), WW8AttributeOutput::NumberingLevel(), WW8AttributeOutput::Redline(), WW8AttributeOutput::TableInfoCell(), WW8AttributeOutput::TableInfoRow(), and WW8SHDLong::Write().
bool WW8Export::MiserableFormFieldExportHack | ( | const SwFrameFormat & | rFrameFormat | ) |
Definition at line 344 of file wrtw8esh.cxx.
References DoComboBox(), SwFrameFormat::FindRealSdrObject(), SdrUnoObj::GetUnoControlModel(), and pObject.
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl().
void WW8Export::MiserableRTLFrameFormatHack | ( | SwTwips & | rLeft, |
SwTwips & | rRight, | ||
const ww8::Frame & | rFrameFormat | ||
) |
Nasty swap for bidi if necessary.
Definition at line 573 of file wrtw8esh.cxx.
References CurrentPageWidth(), ww8::Frame::eDrawing, ww8::Frame::eFormControl, ww8::Frame::GetFrameFormat(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), ww8::Frame::GetPosition(), SwFormatHoriOrient::GetRelationOrient(), SwDoc::GetTextDirection(), ww8::Frame::GetWriterType(), MSWordExportBase::m_rDoc, RTLDrawingsHack(), and RTLGraphicsHack().
Referenced by PlcDrawObj::WritePlc().
Definition at line 1493 of file wrtww8.cxx.
References MSWordExportBase::m_pBkmks.
Referenced by WW8AttributeOutput::SetField().
|
static |
Gets passed a WW8Bytes*, so the function also can be used for the table border.
nSprmNo | If nSprmNo == 0, then the opcode isn't outputted. |
bShadow | SHOULDN'T be set for table cells ! |
Definition at line 4688 of file ww8atr.cxx.
References WW8_BRC::aBits1, WW8_BRCVer9::aBits1, WW8_BRC::aBits2, WW8_BRCVer9::aBits2, msfilter::util::BGRToRGB(), WW8_BRCVer9::brcType(), WW8_BRCVer9::cv(), WW8_BRCVer9::dptLineWidth(), WW8_BRCVer9::dptSpace(), WW8_BRCVer9::fFrame(), WW8_BRCVer9::fShadow(), SwWW8Writer::InsUInt16(), msfilter::util::TransColToIco(), TranslateBorderLine(), and NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val.
Referenced by WW8AttributeOutput::CharBorder(), Out_SwFormatBox(), and Out_SwFormatTableBox().
void WW8Export::Out_CellRangeBorders | ( | const SvxBoxItem * | pBox, |
sal_uInt8 | nStart, | ||
sal_uInt8 | nLimit | ||
) |
Definition at line 4806 of file ww8atr.cxx.
References WW8_BRCVer9::aBits1, WW8_BRCVer9::aBits2, SvxBoxItem::GetLine(), i, InsUInt16(), m_pO, TranslateBorderLine(), and NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val.
Referenced by WW8AttributeOutput::TableCellBorders().
void WW8Export::Out_SwFormatBox | ( | const SvxBoxItem & | rBox, |
bool | bShadow | ||
) |
is for all boxes except in tables.
pO of the WW8Writer is used
rBox | |
bShadow |
Definition at line 4730 of file ww8atr.cxx.
References SvxBoxItem::GetDistance(), SvxBoxItem::GetLine(), i, MSWordExportBase::m_bOutPageDescs, m_pO, Out_BorderLine(), and NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val.
Referenced by WW8AttributeOutput::FormatBox().
|
static |
FormatBox2() is for TC structures in tables.
The Sprm opcode isn't written because it is packed into the TC structure without opcode. dxpSpace always becomes 0, because WW requires that in tables ( table borders otherwise will fray )
rO | A WW8Bytes pointer is passed in as output parameter |
Definition at line 4785 of file ww8atr.cxx.
References SvxBoxItem::GetLine(), and Out_BorderLine().
Referenced by WW8AttributeOutput::TableDefinition().
void WW8Export::OutGrf | ( | const ww8::Frame & | rFrame | ) |
Definition at line 353 of file wrtww8gr.cxx.
References sw::sidebar::aArr, Close, CmdEnd, CmdStart, ww8::Frame::eGraphic, ww::eINCLUDEPICTURE, FieldString(), SwAttrSet::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), ww8::Frame::GetContent(), SwGrfNode::GetFileFilterNms(), ww8::Frame::GetFrameFormat(), SwFormat::GetFrameSize(), SwNode::GetGrfNode(), SvxSizeItem::GetHeight(), MSWordExportBase::GetItem(), SwFormatURL::GetTargetFrameName(), SwFormatURL::GetURL(), SwAttrSet::GetURL(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), ww8::Frame::GetWriterType(), GRF_MAGIC_321, ww8::Frame::IsInline(), SwDoc::IsInVerticalText(), SwGrfNode::IsLinkedFile(), MSWordExportBase::m_bOutGrf, m_pAttrOutput, MSWordExportBase::m_pChpPlc, MSWordExportBase::m_pGrf, m_pO, MSWordExportBase::m_pOutFormatNode, MSWordExportBase::m_pPapPlc, MSWordExportBase::m_rDoc, nAttrMagicIdx, OutputField(), MSWordExportBase::OutputFormat(), RES_CHRATR_FONTSIZE(), Set_UInt16(), Set_UInt32(), Set_UInt8(), Start, Strm(), NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val, and WriteChar().
Referenced by AppendFlyInFlys(), OutputGrfNode(), and OutputOLENode().
void WW8Export::OutGrfBullets | ( | const ww8::Frame & | rFrame | ) |
Definition at line 1603 of file wrtww8.cxx.
References sw::sidebar::aArr, GRF_MAGIC_321, MSWordExportBase::m_pChpPlc, MSWordExportBase::m_pGrf, m_pO, nAttrMagicIdx, Set_UInt16(), Set_UInt32(), Set_UInt8(), Strm(), and WriteChar().
Referenced by ExportGrfBullet().
|
private |
Definition at line 599 of file wrtw8num.cxx.
References SwNumRule::GetName(), SwNumRule::IsAutoRule(), m_pFib, m_pTableStrm, MSWordExportBase::m_pUsedNumTable, nCount, SvStream::Tell(), SvStream::WriteInt16(), SwWW8Writer::WriteLong(), SwWW8Writer::WriteString16(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by WriteNumbering().
|
private |
Definition at line 573 of file wrtw8num.cxx.
References SwWW8Writer::FillCount(), m_pFib, m_pTableStrm, MSWordExportBase::m_pUsedNumTable, n, nCount, SvStream::Tell(), SvStream::WriteInt32(), and SvStream::WriteUInt32().
Referenced by WriteNumbering().
|
overridevirtual |
Write the field.
Implements MSWordExportBase.
Definition at line 1881 of file ww8atr.cxx.
References sw::sidebar::aArr, WW8_WrPlc1::Append(), Close, CmdEnd, CmdStart, CurrentFieldPlc(), DateTime, ww::eBIBLIOGRAPHY, ww::eCITATION, ww::eFOOTREF, ww::eFORMTEXT, End, ww::eNOTEREF, ww::ePAGE, ww::ePAGEREF, ww::eQUOTE, ww::eREF, ww::eSHAPE, Fc2Cp(), FieldString(), FIXEDFLD, MSWordExportBase::GetBookmarkName(), SwField::GetPar2(), GetRef, SwGetRefField::GetSeqNo(), SwGetRefField::GetSetRefName(), SwField::GetSubType(), SwField::GetTyp(), Input, InsertSpecialChar(), lcl_GetExpandedField(), MSWordExportBase::m_pChpPlc, REF_BOOKMARK, REF_ENDNOTE, REF_FOOTNOTE, REF_SEQUENCEFLD, REF_SETREFATTR, WW8_WrPlcField::ResultAdded(), Set_UInt16(), Set_UInt32(), Set_UInt8(), Start, o3tl::starts_with(), Strm(), SvStream::Tell(), o3tl::trim(), u, NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val, SwFieldType::Which(), and SwWW8Writer::WriteString16().
Referenced by AppendFlyInFlys(), DoFormText(), EndCommentOutput(), WW8AttributeOutput::EndRuby(), WW8AttributeOutput::EndURL(), SwMSConvertControls::ExportControl(), OutGrf(), OutputOLENode(), WW8AttributeOutput::RefField(), WW8AttributeOutput::SetField(), StartCommentOutput(), WW8AttributeOutput::StartRuby(), and WW8AttributeOutput::StartURL().
|
overrideprotectedvirtual |
Output SwGrfNode.
Implements MSWordExportBase.
Definition at line 75 of file wrtww8gr.cxx.
References m_pFib, MSWordExportBase::m_pParentFrame, OutGrf(), and SAL_INFO.
|
overrideprotectedvirtual |
Implements MSWordExportBase.
Definition at line 316 of file wrtww8gr.cxx.
References SL::aObjectPool, tools::SvRef< typename T >::get(), SwDoc::GetDocStorage(), StgWriter::GetStorage(), GetWriter(), SwWW8Writer::InsUInt16(), SwWW8Writer::InsUInt32(), tools::SvRef< typename T >::is(), MSWordExportBase::m_pChpPlc, MSWordExportBase::m_rDoc, SotStorage::OpenOLEStorage(), SotStorage::OpenSotStorage(), Strm(), o3tl::toInt32(), and NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val.
|
overrideprotectedvirtual |
Output SwOLENode.
Implements MSWordExportBase.
Definition at line 193 of file wrtww8gr.cxx.
References SL::aObjectPool, Close, CmdEnd, CmdStart, ww::eEMBED, End, FieldString(), SwOLENode::GetAspect(), SwFormat::GetAttrSet(), ww8::Frame::GetFrameFormat(), StgWriter::GetStorage(), GetWriter(), tools::SvRef< typename T >::is(), ww8::Frame::IsInline(), MSWordExportBase::m_aOleMap, MSWordExportBase::m_oOLEExp, MSWordExportBase::m_pChpPlc, MSWordExportBase::m_pParentFrame, SotStorage::OpenSotStorage(), OutGrf(), OutputField(), rSet, SAL_INFO, SAL_MAX_INT32, Set_UInt32(), Start, Strm(), TestOleNeedsGraphic(), WriteChar(), and WriteCR().
|
inline |
Definition at line 1112 of file wrtww8.hxx.
References m_pO.
void WW8Export::OutSwString | ( | const OUString & | rStr, |
sal_Int32 | nStt, | ||
sal_Int32 | nLen | ||
) |
Definition at line 1838 of file wrtww8.cxx.
References SAL_INFO, Strm(), and SwWW8Writer::WriteString16().
Referenced by WW8AttributeOutput::FieldVanish(), WW8AttributeOutput::RawText(), WriteFootnoteBegin(), WriteOutliner(), and WriteStringAsPara().
|
inlineoverridevirtual |
If saving page break is preferred as a paragraph attribute (yes) or as a special character (no).
Implements MSWordExportBase.
Definition at line 1025 of file wrtww8.hxx.
|
overridevirtual |
Helper method for OutputSectionBreaks() and OutputFollowPageDesc().
Implements MSWordExportBase.
Definition at line 720 of file ww8atr.cxx.
References Fc2Cp(), MSWordExportBase::GetSectionFormat(), MSWordExportBase::GetSectionLineNo(), m_pSepx, msword::PageBreak, and ReplaceCr().
|
private |
Definition at line 3726 of file wrtww8.cxx.
References sfx2::convertMetaFile(), SvtFilterOptions::Get(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), SfxObjectShell::GetPreviewMetaFile(), StgWriter::GetStorage(), GetWriter(), MSWordExportBase::m_rDoc, MSO_WW8_CLASSID, pData, sfx2::SaveOlePropertySet(), sCompObj, and SotStorage::SetClass().
Referenced by ExportDocument_Impl().
|
overridevirtual |
ReplaceCr() is used for Pagebreaks and Pagedescs.
An already written CR will be replaced by a break character. Replace must be called right after the writing of CR.
Implements MSWordExportBase.
Definition at line 3967 of file ww8atr.cxx.
References MSWordExportBase::m_pChpPlc, m_pFib, MSWordExportBase::m_pPapPlc, MSWordExportBase::m_pPiece, o3tl::make_unsigned(), nPos, SvStream::ReadUInt16(), rStrm, SvStream::Seek(), SvStream::SeekRel(), Strm(), SvStream::Tell(), and WriteChar().
Referenced by PrepareNewPageDesc(), and WW8AttributeOutput::SectionBreak().
|
overridevirtual |
Restore what was saved in SaveData().
Reimplemented from MSWordExportBase.
Definition at line 1970 of file wrtww8.cxx.
References MSWordSaveData::bOldWriteAll, GetWriter(), MSWordExportBase::m_aSaveData, Writer::m_bWriteAll, m_pO, MSWordSaveData::pOOld, and MSWordExportBase::RestoreData().
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl().
|
private |
Definition at line 4122 of file wrtww8.cxx.
References SL::aMSMacroCmds, checkRead(), utl::UcbStreamHelper::CreateStream(), ERRCODE_NONE, SwDoc::GetDocShell(), SfxObjectShell::GetStorage(), m_pFib, m_pTableStrm, MSWordExportBase::m_rDoc, SvStream::Tell(), and SvStream::WriteBytes().
Referenced by WriteFkpPlcUsw().
|
overridevirtual |
Remember some of the members so that we can recurse in WriteText().
Reimplemented from MSWordExportBase.
Definition at line 1952 of file wrtww8.cxx.
References MSWordSaveData::bOldWriteAll, GetWriter(), MSWordExportBase::m_aSaveData, Writer::m_bWriteAll, m_pO, MSWordSaveData::pOOld, and MSWordExportBase::SaveData().
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 2848 of file wrtww8.cxx.
References SwContentNode::GetpSwAttrSet(), and MSWordExportBase::OutputSectionBreaks().
|
overridevirtual |
Access to the sections/headers/footres.
Implements MSWordExportBase.
Definition at line 4021 of file wrtww8.cxx.
References m_pSepx.
|
inline |
Definition at line 1141 of file wrtww8.hxx.
References MSWordExportBase::m_nHdFtIndex.
Referenced by WW8_WrPlcSepx::WriteKFText().
|
overridevirtual |
Setup the pA's info.
Reimplemented from MSWordExportBase.
Definition at line 1504 of file wrtw8sty.cxx.
References WW8_PdAttrDesc::m_nLen, WW8_PdAttrDesc::m_pData, and m_pO.
void WW8Export::StartCommentOutput | ( | std::u16string_view | rName | ) |
Definition at line 2026 of file ww8atr.cxx.
References CmdStart, ww::eQUOTE, FieldString(), OutputField(), and Start.
Referenced by WW8AttributeOutput::OutputFlyFrame_Impl().
|
private |
Definition at line 3208 of file wrtww8.cxx.
References CreateEscher(), Fc2Cp(), SwWW8Writer::FillUntil(), MSWordExportBase::m_pAtn, m_pEdn, m_pFib, m_pFootnote, MSWordExportBase::m_pHFTextBxs, MSWordExportBase::m_pMagicTable, MSWordExportBase::m_pPapPlc, m_pSepx, MSWordExportBase::m_pTextBxs, Strm(), SvStream::Tell(), WriteCR(), WriteFkpPlcUsw(), and WriteMainText().
Referenced by ExportDocument_Impl().
|
inline |
Definition at line 1189 of file wrtww8.hxx.
References m_pWriter, and Writer::Strm().
Referenced by AppendAnnotationMarks(), AppendBookmark(), AppendBookmarkEndWithCorrection(), AppendBookmarks(), AppendFlyInFlys(), AppendSection(), AppendSmartTags(), DoFormText(), WW8AttributeOutput::EndParagraph(), WW8AttributeOutput::EndRunProperties(), SwMSConvertControls::ExportControl(), ExportDocument_Impl(), WW8AttributeOutput::FieldVanish(), WW8AttributeOutput::FormatDrop(), WW8AttributeOutput::HiddenField(), InsertSpecialChar(), OutGrf(), OutGrfBullets(), WW8_WrPlcSepx::OutHeaderFooter(), OutputField(), WW8AttributeOutput::OutputFKP(), OutputLinkedOLE(), OutputOLENode(), OutSwString(), WW8AttributeOutput::PostitField(), WW8AttributeOutput::RefField(), ReplaceCr(), WW8AttributeOutput::SetField(), WW8AttributeOutput::StartRun(), WW8AttributeOutput::StartURL(), StoreDoc1(), WW8AttributeOutput::TableNodeInfoInner(), WW8AttributeOutput::TextFootnote_Impl(), WriteChar(), WW8AttributeOutput::WriteExpand(), WriteFkpPlcUsw(), WW8_WrPlcPn::WriteFkps(), WriteFootnoteBegin(), WW8_WrPlcSepx::WriteFootnoteEndText(), WriteFormData(), WW8_WrPlcSubDoc::WriteGenericText(), WriteHeadersFooters(), WW8_WrPlcSepx::WriteKFText(), WriteMainText(), WriteOutliner(), SwEscherEx::WritePictures(), WritePostItBegin(), WriteStringAsPara(), WW8_WrPlcFootnoteEdn::WriteText(), WW8_WrPlcAnnotations::WriteText(), and WW8_WrPlcTextBoxes::WriteText().
bool WW8Export::TestOleNeedsGraphic | ( | const SwAttrSet & | rSet, |
tools::SvRef< SotStorage > const & | xOleStg, | ||
const tools::SvRef< SotStorage > & | xObjStg, | ||
OUString const & | rStorageName, | ||
SwOLENode * | pOLENd | ||
) |
Definition at line 86 of file wrtww8gr.cxx.
References SvxMSDffManager::CreateSdrOLEFromStorage(), utl::UcbStreamHelper::CreateStream(), ERRCODE_NONE, SwOLENode::GetAspect(), Writer::GetBaseURL(), SfxItemIter::GetCurItem(), SwDoc::GetDocStorage(), GraphicFilter::GetGraphicFilter(), comphelper::EmbeddedObjectContainer::GetGraphicStream(), SwDoc::getIDocumentDrawModelAccess(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), GraphicFilter::ImportGraphic(), SwWW8ImplReader::ImportOleWMF(), m_pWriter, MSWordExportBase::m_rDoc, SfxItemIter::NextItem(), RES_ANCHOR(), RES_CNTNT(), RES_FRM_SIZE(), RES_VERT_ORIENT(), rSet, and u.
Referenced by OutputOLENode().
TransBrush converts SW-Brushes to WW.
The result is WW8_SHD. Non-standard colours of SW won't be converted now to the mixed values ( 0 .. 95% ) of WW. Also if transparent, e.g. for tables a transparent brush is returned
Definition at line 1678 of file ww8atr.cxx.
References Color::IsTransparent(), WW8_SHD::SetBack(), WW8_SHD::SetFore(), WW8_SHD::SetStyle(), and msfilter::util::TransColToIco().
Referenced by WW8AttributeOutput::CharBackground(), WW8AttributeOutput::FormatBackground(), and WW8AttributeOutput::TableBackgrounds().
|
static |
Definition at line 4584 of file ww8atr.cxx.
References SvxBorderLineWidth::Hairline, and wwUtility::RGBToBGR().
Referenced by Out_BorderLine(), Out_CellRangeBorders(), and SwWW8WrGrf::WritePICFHeader().
std::shared_ptr< SvxBrushItem > WW8Export::TrueFrameBgBrush | ( | const SwFrameFormat & | rFlyFormat | ) | const |
Definition at line 1719 of file wrtw8nds.cxx.
References SvxBrushItem::Clone(), COL_TRANSPARENT(), COL_WHITE(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SvxBrushItem::GetColor(), GetCurrentPageBgBrush(), SwNode::GetFlyFormat(), SvxBrushItem::GetGraphic(), SwFormat::GetItemIfSet(), and RES_BACKGROUND().
Referenced by SwBasicEscherEx::WriteFlyFrameAttr().
void WW8Export::WriteAsStringTable | ( | const std::vector< OUString > & | rStrings, |
sal_Int32 & | rfcSttbf, | ||
sal_Int32 & | rlcbSttbf | ||
) |
Definition at line 1671 of file wrtww8.cxx.
References m_pTableStrm, n, nCount, rStrm, SvStream::Tell(), SwWW8Writer::WriteLong(), SwWW8Writer::WriteShort(), and SwWW8Writer::WriteString16().
Referenced by WW8_WrtRedlineAuthor::Write(), WW8_WrtBookmarks::Write(), and WriteFkpPlcUsw().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 1875 of file wrtww8.cxx.
References Strm(), and SvStream::WriteUInt16().
Referenced by AppendFlyInFlys(), DoFormText(), WW8AttributeOutput::EndRuby(), SwMSConvertControls::ExportControl(), WW8AttributeOutput::FieldVanish(), InsertSpecialChar(), OutGrf(), OutGrfBullets(), OutputOLENode(), ReplaceCr(), WW8AttributeOutput::StartURL(), WW8AttributeOutput::TableRowEnd(), WW8AttributeOutput::TextLineBreak(), WriteCR(), WriteFootnoteBegin(), WriteFormData(), and WritePostItBegin().
|
overridevirtual |
Implements MSWordExportBase.
Definition at line 1865 of file wrtww8.cxx.
References MSWordExportBase::m_pPiece, and WriteChar().
Referenced by WW8AttributeOutput::FormatDrop(), OutputOLENode(), StoreDoc1(), WW8AttributeOutput::TableNodeInfoInner(), WriteMainText(), WriteOutliner(), and WriteStringAsPara().
void WW8Export::WriteEscher | ( | ) |
Definition at line 1466 of file wrtw8esh.cxx.
References SwEscherEx::FinishEscher(), MSWordExportBase::m_pEscher, m_pFib, m_pTableStrm, SvStream::Tell(), and SwEscherEx::WritePictures().
Referenced by WriteFkpPlcUsw().
|
private |
Definition at line 3098 of file wrtww8.cxx.
References SL::aObjectPool, SwDoc::ContainsMSVBasic(), ExportDopTypography(), IDocumentExternalData::getExternalData(), SwDoc::getIDocumentExternalData(), ww8::WW8FibData::getReadOnlyRecommended(), StgWriter::GetStorage(), ww8::WW8Sttb< T >::getStrings(), GetWriter(), ww8::WW8FibData::getWriteReservation(), MSWordExportBase::m_aFontHelper, MSWordExportBase::m_pAtn, MSWordExportBase::m_pBkmks, MSWordExportBase::m_pChpPlc, m_pDop, m_pEdn, MSWordExportBase::m_pEscher, MSWordExportBase::m_pFactoids, m_pFib, MSWordExportBase::m_pFieldAtn, MSWordExportBase::m_pFieldEdn, MSWordExportBase::m_pFieldFootnote, MSWordExportBase::m_pFieldHdFt, MSWordExportBase::m_pFieldHFTextBxs, MSWordExportBase::m_pFieldMain, MSWordExportBase::m_pFieldTextBxs, m_pFootnote, MSWordExportBase::m_pGrf, MSWordExportBase::m_pHFSdrObjs, MSWordExportBase::m_pHFTextBxs, MSWordExportBase::m_pMagicTable, MSWordExportBase::m_pPapPlc, MSWordExportBase::m_pPiece, MSWordExportBase::m_pRedlAuthors, MSWordExportBase::m_pSdrObjs, m_pSepx, MSWordExportBase::m_pStyles, m_pTableStrm, MSWordExportBase::m_pTextBxs, MSWordExportBase::m_rDoc, m_xEscherStg, SotStorage::OpenSotStorage(), RestoreMacroCmds(), SvStream::Seek(), Strm(), WriteAsStringTable(), WriteDop(), WriteEscher(), wwFontHelper::WriteFontTable(), and WriteNumbering().
Referenced by StoreDoc1().
void WW8Export::WriteFootnoteBegin | ( | const SwFormatFootnote & | rFootnote, |
ww::bytes * | pO = nullptr |
||
) |
Definition at line 3578 of file ww8atr.cxx.
References SfxItemSet::Count(), SfxItemSet::Get(), SwEndNoteInfo::GetAnchorCharFormat(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwEndNoteInfo::GetCharFormat(), SwDoc::GetEndNoteInfo(), SwDoc::GetFootnoteInfo(), MSWordExportBase::GetId(), SwFormatFootnote::GetNumStr(), SwTextNode::GetParaAttr(), SwTextAttr::GetStart(), SwFormatFootnote::GetTextFootnote(), SwTextFootnote::GetTextNode(), SwWW8Writer::InsUInt16(), SwFormatFootnote::IsEndNote(), m_pAttrOutput, MSWordExportBase::m_pChpPlc, m_pO, MSWordExportBase::m_rDoc, OutSwString(), RES_CHRATR_FONT(), Strm(), NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val, and WriteChar().
Referenced by WW8AttributeOutput::TextFootnote_Impl(), and WW8_WrPlcSubDoc::WriteGenericText().
|
overridevirtual |
Write the data of the form field.
Implements MSWordExportBase.
Definition at line 4159 of file wrtww8.cxx.
References copy(), i, MSWordExportBase::m_pChpPlc, m_pDataStrm, min(), nLength, nType, ODF_FORMCHECKBOX, ODF_FORMDROPDOWN, ODF_FORMDROPDOWN_LISTENTRY, ODF_FORMDROPDOWN_RESULT, ODF_FORMTEXT, SAL_WARN, Set_UInt32(), Strm(), SvStream::Tell(), type, SvStream::WriteBytes(), WriteChar(), SwWW8Writer::WriteString_xstz(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
|
overridevirtual |
Output the actual headers and footers.
Implements MSWordExportBase.
Definition at line 1548 of file wrtw8sty.cxx.
References Fc2Cp(), IncrementHdFtIndex(), m_pDop, m_pSepx, Strm(), 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 |
Implements MSWordExportBase.
Definition at line 4401 of file wrtww8.cxx.
|
private |
Definition at line 3046 of file wrtww8.cxx.
References Fc2Cp(), SwContentNode::GetAnyFormatColl(), SwNodes::GetEndOfContent(), MSWordExportBase::GetId(), SwDoc::GetNodes(), MSWordExportBase::m_nLastFormatId, MSWordExportBase::m_pCurPam, m_pFib, MSWordExportBase::m_pFieldMain, MSWordExportBase::m_rDoc, SAL_INFO, SwNode::StartOfSectionNode(), Strm(), SvStream::Tell(), WriteCR(), and MSWordExportBase::WriteText().
Referenced by StoreDoc1().
|
overrideprivatevirtual |
Output the numbering table.
Implements MSWordExportBase.
Definition at line 172 of file wrtw8num.cxx.
References MSWordExportBase::AbstractNumberingDefinitions(), m_pFib, m_pTableStrm, MSWordExportBase::m_pUsedNumTable, MSWordExportBase::NumberingDefinitions(), OutListNamesTab(), OutOverrideListTab(), SvStream::Tell(), and SvStream::WriteUInt16().
Referenced by WriteFkpPlcUsw().
void WW8Export::WriteOutliner | ( | const OutlinerParaObject & | rOutliner, |
sal_uInt8 | nTyp | ||
) |
Definition at line 1337 of file wrtw8esh.cxx.
References aStr, AttrOutput(), EE_PARA_WRITINGDIR(), SfxItemSet::GetItemIfSet(), EditTextObject::GetParaAttribs(), EditTextObject::GetParagraphCount(), EditTextObject::GetText(), OutlinerParaObject::GetTextObject(), MSWord_SdrAttrIter::IsTextAttr(), MSWordExportBase::m_pChpPlc, m_pO, MSWordExportBase::m_pPapPlc, min(), n, MSWord_SdrAttrIter::NextPara(), MSWord_SdrAttrIter::NextPos(), nPos, MSWord_SdrAttrIter::OutAttr(), MSWord_SdrAttrIter::OutParaAttr(), AttributeOutputBase::OutputItem(), OutSwString(), RES_CHRATR_BIDIRTL(), Strm(), SvStream::Tell(), MSWord_SdrAttrIter::WhereNext(), WriteCR(), and WriteStringAsPara().
Referenced by WW8_WrPlcSubDoc::WriteGenericText(), and WriteSdrTextObj().
void WW8Export::WritePostItBegin | ( | ww::bytes * | pO = nullptr | ) |
Definition at line 2781 of file ww8atr.cxx.
References sw::sidebar::aArr, MSWordExportBase::m_pChpPlc, pOut, Set_UInt16(), Set_UInt8(), Strm(), NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val, and WriteChar().
Referenced by WW8AttributeOutput::PostitField(), WW8AttributeOutput::StartRun(), and WW8_WrPlcSubDoc::WriteGenericText().
void WW8Export::WriteSdrTextObj | ( | const SdrTextObj & | rObj, |
sal_uInt8 | nTyp | ||
) |
Definition at line 1313 of file wrtw8esh.cxx.
References SdrTextObj::CreateEditOutlinerParaObject(), SdrTextObj::GetOutlinerParaObject(), SdrTextObj::IsTextEditActive(), and WriteOutliner().
Referenced by WW8_WrPlcSubDoc::WriteGenericText().
void WW8Export::WriteStringAsPara | ( | const OUString & | rText | ) |
Definition at line 1782 of file wrtww8.cxx.
References sw::sidebar::aArr, SwWW8Writer::InsUInt16(), MSWordExportBase::m_bOutTable, MSWordExportBase::m_pChpPlc, MSWordExportBase::m_pPapPlc, nPos, OutSwString(), Strm(), SvStream::Tell(), NS_sprm::sprm< ispmd, fSpec, sgc, spra >::val, and WriteCR().
Referenced by WW8AttributeOutput::EmptyParagraph(), WW8_WrPlcSepx::OutHeaderFooter(), WW8_WrPlcSepx::WriteFootnoteEndText(), WW8_WrPlcSubDoc::WriteGenericText(), WW8_WrPlcSepx::WriteKFText(), and WriteOutliner().
bool WW8Export::m_bDot |
Template or document.
Definition at line 1009 of file wrtww8.hxx.
Referenced by ExportDocument_Impl().
|
protected |
Converting attributes to stream data.
Definition at line 1013 of file wrtww8.hxx.
Referenced by AttrOutput(), OutGrf(), and WriteFootnoteBegin().
SvStream * WW8Export::m_pDataStrm |
Streams for WW97 Export.
Definition at line 1001 of file wrtww8.hxx.
Referenced by WW8_WrPlcPn::AppendFkpEntry(), DoFormText(), ExportDocument_Impl(), InsertSpecialChar(), WW8AttributeOutput::StartURL(), SwWW8WrGrf::Write(), and WriteFormData().
std::unique_ptr<WW8Dop> WW8Export::m_pDop |
Document Properties.
Definition at line 1004 of file wrtww8.hxx.
Referenced by MSWordSections::CheckForFacinPg(), ExportDocument_Impl(), WW8AttributeOutput::RTLAndCJKState(), WW8_WrtFactoids::Write(), WriteDop(), WriteFkpPlcUsw(), WW8_WrPlcSepx::WriteFootnoteEndText(), and WriteHeadersFooters().
std::unique_ptr<WW8_WrPlcFootnoteEdn> WW8Export::m_pEdn |
Endnotes - structure to remember them, and output.
Definition at line 1006 of file wrtww8.hxx.
Referenced by ExportDocument_Impl(), StoreDoc1(), WW8AttributeOutput::TextFootnote_Impl(), and WriteFkpPlcUsw().
std::unique_ptr<WW8Fib> WW8Export::m_pFib |
File Information Block.
Definition at line 1003 of file wrtww8.hxx.
Referenced by WW8AttributeOutput::EndStyles(), ExportDocument_Impl(), OutListNamesTab(), OutOverrideListTab(), OutputGrfNode(), ReplaceCr(), RestoreMacroCmds(), WW8AttributeOutput::StartRuby(), WW8AttributeOutput::StartStyles(), StoreDoc1(), WW8_WrtRedlineAuthor::Write(), WW8_WrtBookmarks::Write(), WW8_WrtFactoids::Write(), WW8_WrPlcField::Write(), WW8_WrMagicTable::Write(), WriteDop(), WriteEscher(), WriteFkpPlcUsw(), WW8_WrPlcPn::WriteFkps(), WW8_WrPlcSubDoc::WriteGenericPlc(), WW8_WrPlcSepx::WriteKFText(), WriteMainText(), WriteNumbering(), WW8_WrPct::WritePc(), WW8_WrPlcPn::WritePlc(), PlcDrawObj::WritePlc(), WW8_WrPlcFootnoteEdn::WritePlc(), WW8_WrPlcAnnotations::WritePlc(), WW8_WrPlcTextBoxes::WritePlc(), WW8_WrPlcSepx::WritePlcHdd(), WW8_WrPlcSepx::WritePlcSed(), WW8_WrPlcFootnoteEdn::WriteText(), WW8_WrPlcAnnotations::WriteText(), and WW8_WrPlcTextBoxes::WriteText().
std::unique_ptr<WW8_WrPlcFootnoteEdn> WW8Export::m_pFootnote |
Footnotes - structure to remember them, and output.
Definition at line 1005 of file wrtww8.hxx.
Referenced by ExportDocument_Impl(), StoreDoc1(), WW8AttributeOutput::TextFootnote_Impl(), and WriteFkpPlcUsw().
std::unique_ptr<ww::bytes> WW8Export::m_pO |
Buffer.
Definition at line 999 of file wrtww8.hxx.
Referenced by WW8AttributeOutput::CharAnimatedText(), WW8AttributeOutput::CharBackground(), WW8AttributeOutput::CharBidiRTL(), WW8AttributeOutput::CharBorder(), WW8AttributeOutput::CharColor(), WW8AttributeOutput::CharEmphasisMark(), WW8AttributeOutput::CharEscapement(), WW8AttributeOutput::CharHighlight(), WW8AttributeOutput::CharIdctHint(), WW8AttributeOutput::CharRelief(), WW8AttributeOutput::CharRotate(), WW8AttributeOutput::CharTwoLines(), WW8AttributeOutput::CharUnderline(), DisallowInheritingOutlineNumbering(), WW8AttributeOutput::EndParagraph(), WW8AttributeOutput::EndRunProperties(), WW8AttributeOutput::EndStyle(), WW8AttributeOutput::EndStyleProperties(), ExportDocument_Impl(), WW8AttributeOutput::FormatAnchor(), WW8AttributeOutput::FormatBackground(), WW8AttributeOutput::FormatColumns_Impl(), WW8AttributeOutput::FormatDrop(), WW8AttributeOutput::FormatFillStyle(), WW8AttributeOutput::FormatFrameDirection(), WW8AttributeOutput::FormatFrameSize(), WW8AttributeOutput::FormatKeep(), WW8AttributeOutput::FormatLineNumbering(), WW8AttributeOutput::FormatSurround(), WW8AttributeOutput::FormatULSpace(), GetCurrentItems(), InsUInt16(), InsUInt32(), WW8AttributeOutput::NumberingLevel(), Out_CellRangeBorders(), Out_SwFormatBox(), OutGrf(), OutGrfBullets(), WW8AttributeOutput::OutputFKP(), WW8AttributeOutput::OutputWW8Attribute(), WW8AttributeOutput::OutputWW8AttributeCTL(), OutSprmBytes(), WW8AttributeOutput::PageBreakBefore(), WW8AttributeOutput::ParaAdjust(), WW8AttributeOutput::ParaForbiddenRules(), WW8AttributeOutput::ParagraphStyle(), WW8AttributeOutput::ParaHangingPunctuation(), WW8AttributeOutput::ParaHyphenZone(), WW8AttributeOutput::ParaNumRule_Impl(), WW8AttributeOutput::ParaOutlineLevel(), WW8AttributeOutput::ParaScriptSpace(), WW8AttributeOutput::ParaSnapToGrid(), WW8AttributeOutput::ParaSplit(), WW8AttributeOutput::ParaWidows(), WW8AttributeOutput::PostitField(), WW8AttributeOutput::Redline(), RestoreData(), WW8AttributeOutput::RTLAndCJKState(), SaveData(), WW8AttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectionBiDi(), WW8AttributeOutput::SectionFormProtection(), WW8AttributeOutput::SectionLineNumbering(), WW8AttributeOutput::SectionPageBorders(), WW8AttributeOutput::SectionPageNumbering(), WW8AttributeOutput::SectionRtlGutter(), WW8AttributeOutput::SectionTitlePage(), WW8AttributeOutput::SectionType(), SetupSectionPositions(), WW8AttributeOutput::StartRun(), WW8AttributeOutput::StartSection(), WW8AttributeOutput::StartStyle(), WW8AttributeOutput::StartStyleProperties(), WW8AttributeOutput::TableBackgrounds(), WW8AttributeOutput::TableCanSplit(), WW8AttributeOutput::TableCellBorders(), WW8AttributeOutput::TableDefaultBorders(), WW8AttributeOutput::TableDefinition(), WW8AttributeOutput::TableInfoCell(), WW8AttributeOutput::TableInfoRow(), WW8AttributeOutput::TableNodeInfoInner(), WW8AttributeOutput::TablePositioning(), WW8AttributeOutput::TableSpacing(), WW8AttributeOutput::TableVerticalCell(), WW8AttributeOutput::TextFootnote_Impl(), WW8AttributeOutput::TextLineBreak(), WW8AttributeOutput::TextVerticalAdjustment(), WriteFootnoteBegin(), and WriteOutliner().
std::unique_ptr<WW8_WrPlcSepx> WW8Export::m_pSepx |
Sections/headers/footers.
Definition at line 1007 of file wrtww8.hxx.
Referenced by AppendSection(), ExportDocument_Impl(), PrepareNewPageDesc(), WW8AttributeOutput::SectionFormProtection(), Sections(), StoreDoc1(), WriteDop(), WriteFkpPlcUsw(), and WriteHeadersFooters().
SvStream* WW8Export::m_pTableStrm |
Definition at line 1001 of file wrtww8.hxx.
Referenced by WW8AttributeOutput::DefaultStyle(), WW8AttributeOutput::EndStyle(), WW8AttributeOutput::EndStyles(), ExportDocument_Impl(), SwEscherEx::FinishEscher(), WW8AttributeOutput::NumberingDefinition(), WW8AttributeOutput::NumberingLevel(), OutListNamesTab(), OutOverrideListTab(), RestoreMacroCmds(), WW8AttributeOutput::StartStyleProperties(), WW8AttributeOutput::StartStyles(), MSOFactoidType::Write(), MSOPropertyBagStore::Write(), MSOPropertyBag::Write(), WW8_WrtBookmarks::Write(), WW8_WrtFactoids::Write(), WW8_WrPlcField::Write(), WW8_WrMagicTable::Write(), WriteAsStringTable(), WriteDop(), WriteEscher(), WriteFkpPlcUsw(), WW8_WrPlcSubDoc::WriteGenericPlc(), WriteNumbering(), WW8_WrPct::WritePc(), WW8_WrPlcPn::WritePlc(), PlcDrawObj::WritePlc(), WW8_WrPlcSepx::WritePlcHdd(), and WW8_WrPlcSepx::WritePlcSed().
|
protected |
Pointer to the writer.
Definition at line 1012 of file wrtww8.hxx.
Referenced by GetWriter(), Strm(), and TestOleNeedsGraphic().
|
private |
Definition at line 1016 of file wrtww8.hxx.
Referenced by WriteFkpPlcUsw().