LibreOffice Module sw (master) 1
|
#include <wrtww8.hxx>
Public Member Functions | |
WW8_WrPlcSepx (MSWordExportBase &rExport) | |
virtual | ~WW8_WrPlcSepx () override |
virtual bool | HeaderFooterWritten () override |
void | AppendSep (WW8_CP nStartCp, const SwPageDesc *pPd, const SwSectionFormat *pSectionFormat, sal_uLong nLnNumRestartNo) |
void | AppendSep (WW8_CP nStartCp, const SwFormatPageDesc &rPd, const SwNode &rNd, const SwSectionFormat *pSectionFormat, sal_uLong nLnNumRestartNo) |
void | Finish (WW8_CP nEndCp) |
bool | WriteKFText (WW8Export &rWrt) |
void | WriteSepx (SvStream &rStrm) const |
void | WritePlcSed (WW8Export &rWrt) const |
void | WritePlcHdd (WW8Export &rWrt) const |
void | OutHeaderFooter (WW8Export &rWrt, bool bHeader, const SwFormat &rFormat, sal_uLong &rCpPos, sal_uInt8 nHFFlags, sal_uInt8 nFlag, sal_uInt8 nBreakCode) |
Public Member Functions inherited from MSWordSections | |
MSWordSections (MSWordExportBase &rExport) | |
virtual | ~MSWordSections () |
virtual bool | HeaderFooterWritten () |
void | AppendSection (const SwPageDesc *pPd, const SwSectionFormat *pSectionFormat, sal_uLong nLnNumRestartNo, bool bIsFirstParagraph=false) |
void | AppendSection (const SwFormatPageDesc &rPd, const SwNode &rNd, const SwSectionFormat *pSectionFormat, sal_uLong nLnNumRestartNo) |
sal_uInt16 | CurrentNumberOfColumns (const SwDoc &rDoc) const |
Number of columns based on the most recent WW8_SepInfo. More... | |
bool | DocumentIsProtected () const |
const WW8_SepInfo * | CurrentSectionInfo () |
The most recent WW8_SepInfo. More... | |
Private Member Functions | |
WW8_WrPlcSepx (const WW8_WrPlcSepx &)=delete | |
WW8_WrPlcSepx & | operator= (const WW8_WrPlcSepx &)=delete |
void | WriteFootnoteEndText (WW8Export &rWrt, sal_uLong nCpStt) |
Private Attributes | |
std::vector< WW8_CP > | m_aCps |
std::vector< std::shared_ptr< WW8_PdAttrDesc > > | m_SectionAttributes |
bool | m_bHeaderFooterWritten |
std::unique_ptr< WW8_WrPlc0 > | m_pTextPos |
Additional Inherited Members | |
Static Public Member Functions inherited from MSWordSections | |
static const SwFormatCol & | GetFormatCol (const SwDoc &rDoc, const WW8_SepInfo &rInfo) |
Number of columns of the provided WW8_SepInfo. More... | |
static void | SetHeaderFlag (sal_uInt8 &rHeadFootFlags, const SwFormat &rFormat, sal_uInt8 nFlag) |
static void | SetFooterFlag (sal_uInt8 &rHeadFootFlags, const SwFormat &rFormat, sal_uInt8 nFlag) |
static bool | HasBorderItem (const SwFormat &rFormat) |
Should we output borders? More... | |
Protected Member Functions inherited from MSWordSections | |
void | CheckForFacinPg (const WW8Export &rWrt) const |
void | NeedsDocumentProtected (const WW8_SepInfo &rInfo) |
MSWordSections (const MSWordSections &) | |
MSWordSections & | operator= (const MSWordSections &) |
Protected Attributes inherited from MSWordSections | |
bool | mbDocumentIsProtected |
std::vector< WW8_SepInfo > | m_aSects |
Definition at line 242 of file wrtww8.hxx.
|
privatedelete |
|
explicit |
Definition at line 1084 of file wrtw8sty.cxx.
References m_aCps.
|
overridevirtual |
Definition at line 1097 of file wrtw8sty.cxx.
void WW8_WrPlcSepx::AppendSep | ( | WW8_CP | nStartCp, |
const SwFormatPageDesc & | rPd, | ||
const SwNode & | rNd, | ||
const SwSectionFormat * | pSectionFormat, | ||
sal_uLong | nLnNumRestartNo | ||
) |
Definition at line 1178 of file wrtw8sty.cxx.
References MSWordSections::AppendSection(), HeaderFooterWritten(), and m_aCps.
void WW8_WrPlcSepx::AppendSep | ( | WW8_CP | nStartCp, |
const SwPageDesc * | pPd, | ||
const SwSectionFormat * | pSectionFormat, | ||
sal_uLong | nLnNumRestartNo | ||
) |
Definition at line 1155 of file wrtw8sty.cxx.
References MSWordSections::AppendSection(), HeaderFooterWritten(), and m_aCps.
|
inline |
Definition at line 267 of file wrtww8.hxx.
References m_aCps.
|
overridevirtual |
Reimplemented from MSWordSections.
Definition at line 1106 of file wrtw8sty.cxx.
References m_bHeaderFooterWritten.
Referenced by AppendSep().
|
privatedelete |
void WW8_WrPlcSepx::OutHeaderFooter | ( | WW8Export & | rWrt, |
bool | bHeader, | ||
const SwFormat & | rFormat, | ||
sal_uLong & | rCpPos, | ||
sal_uInt8 | nHFFlags, | ||
sal_uInt8 | nFlag, | ||
sal_uInt8 | nBreakCode | ||
) |
Definition at line 1263 of file wrtw8sty.cxx.
References WW8Export::Fc2Cp(), MSWordExportBase::m_bHasFtr, MSWordExportBase::m_bHasHdr, m_pTextPos, WW8Export::Strm(), SvStream::Tell(), MSWordExportBase::WriteHeaderFooterText(), and WW8Export::WriteStringAsPara().
Definition at line 1188 of file wrtw8sty.cxx.
References WW8Dop::epc, WW8Export::Fc2Cp(), WW8Dop::fpc, FTNNUM_CHAPTER, FTNNUM_PAGE, SwDoc::GetEndNoteInfo(), SwDoc::GetFootnoteInfo(), SvxNumberType::GetNumberingType(), WW8Export::GetNumId(), SwFootnoteInfo::m_aErgoSum, SwEndNoteInfo::m_aFormat, SwFootnoteInfo::m_aQuoVadis, MSWordExportBase::m_bEndAtTextEnd, MSWordExportBase::m_bFootnoteAtTextEnd, SwFootnoteInfo::m_eNum, SwEndNoteInfo::m_nFootnoteOffset, WW8Export::m_pDop, m_pTextPos, MSWordExportBase::m_rDoc, WW8Dop::nEdn, WW8Dop::nfcEdnRef, WW8Dop::nfcFootnoteRef, WW8Dop::nFootnote, WW8Dop::rncEdn, WW8Dop::rncFootnote, WW8Export::Strm(), SvStream::Tell(), and WW8Export::WriteStringAsPara().
Referenced by WriteKFText().
bool WW8_WrPlcSepx::WriteKFText | ( | WW8Export & | rWrt | ) |
Definition at line 2015 of file wrtw8sty.cxx.
References MSWordSections::CheckForFacinPg(), WW8Export::Fc2Cp(), WW8Export::GetHdFtIndex(), MSWordSections::m_aSects, m_bHeaderFooterWritten, WW8Export::m_pFib, MSWordExportBase::m_pFieldHdFt, m_pTextPos, m_SectionAttributes, MSWordExportBase::SectionProperties(), WW8Export::SetHdFtIndex(), WW8Export::Strm(), SvStream::Tell(), WriteFootnoteEndText(), and WW8Export::WriteStringAsPara().
void WW8_WrPlcSepx::WritePlcHdd | ( | WW8Export & | rWrt | ) | const |
Definition at line 2107 of file wrtw8sty.cxx.
References WW8Export::m_pFib, WW8Export::m_pTableStrm, m_pTextPos, and SvStream::Tell().
void WW8_WrPlcSepx::WritePlcSed | ( | WW8Export & | rWrt | ) | const |
Definition at line 2082 of file wrtw8sty.cxx.
References i, m_aCps, MSWordSections::m_aSects, WW8Export::m_pFib, WW8Export::m_pTableStrm, m_SectionAttributes, SvStream::Tell(), SvStream::WriteBytes(), and SvStream::WriteUInt32().
void WW8_WrPlcSepx::WriteSepx | ( | SvStream & | rStrm | ) | const |
Definition at line 2066 of file wrtw8sty.cxx.
References MSWordSections::m_aSects, WW8_PdAttrDesc::m_nLen, WW8_PdAttrDesc::m_nSepxFcPos, WW8_PdAttrDesc::m_pData, m_SectionAttributes, rStrm, SvStream::Tell(), SvStream::WriteBytes(), and SvStream::WriteUInt16().
|
private |
Definition at line 244 of file wrtww8.hxx.
Referenced by AppendSep(), Finish(), WritePlcSed(), and WW8_WrPlcSepx().
|
private |
Definition at line 247 of file wrtww8.hxx.
Referenced by HeaderFooterWritten(), and WriteKFText().
|
private |
Definition at line 248 of file wrtww8.hxx.
Referenced by OutHeaderFooter(), WriteFootnoteEndText(), WriteKFText(), and WritePlcHdd().
|
private |
Definition at line 245 of file wrtww8.hxx.
Referenced by WriteKFText(), WritePlcSed(), and WriteSepx().