61#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDOC_HXX
62#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPDOC_HXX
64#include <config_lgpl.h>
110 void Read()
override;
153 throw std::runtime_error(
"recursion in page divisions");
201 void Read()
override;
Stream wrapper for sax writer.
AtomHolder class of Word Pro to hold a string.
Double Linked Named Family Properties Virtual List.
Double Linked Named Family Virtual List.
DocumentSock object, divisions are embedded by document socket object.
void Read() override
@descr read VO_DOCSOCK from file
LwpDocSock(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
void Parse(IXFStream *pOutputStream) override
@descr parse contents of documents plugged
void RegisterStyle() override
@descr register styles in documents plugged
Document object, represent document and division.
void ParseDocContent(IXFStream *pOutputStream)
@descr Parse content in this division to IXFStream LwpDocument->LwpDivInfo->LwpPageLayout....
LwpDocument * GetLastDivision()
@descr Get last division
LwpObjectID & GetDivInfoID()
void RegisterLayoutStyles()
@descr Register all layouts styles (page master and master page) All para styles used in master page ...
bool m_bGettingGetLastDivisionWithContents
bool GetHonorProtection() const
LwpObjectID m_FootnoteOpts
virtual ~LwpDocument() override
sal_uInt16 GetEndnoteType()
@descr Get the endnote type
std::optional< LwpLineNumberOptions > m_oLnOpts
LwpDocument * GetNextDivision()
@descr Get next division
LwpDocument * GetFirstDivisionWithContentsThatIsNotOLE()
void ParseFrameInPage(IXFStream *pOutputStream)
@descr Parse the frame which anchor is to page before parse other contents, This method is called whe...
LwpObjectID & GetDocData()
bool m_bGettingPreviousDivisionWithContents
LwpObjectID * GetValidFootnoteOpts()
@descr Get the footnoteoptions from the root document
LwpFoundry * GetFoundry()
LwpDocument * GetLastInGroupWithContents()
@descr Get last division in group which has contents, copy from lwp source code
LwpDocument * GetPreviousDivisionWithContents()
@descr Get previous division which has contents, copy from lwp source code
LwpObjectID & GetVerDoc()
void RegisterBulletStyles()
@descr Register all bullet styles used in this division
LwpDocument * GetParentDivision()
@descr Get parent division
void RegisterStyle() override
@descr Register all styles in this division
sal_uInt16 GetNumberOfPagesBefore()
@descr Get the numbers of page before current division
LwpDocument * GetLastDivisionWithContents()
@descr Get last division which has contents, copy from lwp source code
LwpObjectID & GetFootnoteOpts()
LwpObjectID & GetPageHintsID()
void ReadPlug()
@descr Read plug related data from m_pObjStram
void Parse(IXFStream *pOutputStream) override
@descr Parse obj to IXFStream
LwpObjectID m_WYSIWYGPageHints
bool GetNumberOfPages(LwpDocument *pEndDivision, sal_uInt16 &nCount)
@descr Get the numbers of page before pEndDivision, copy from lwp source code
sal_uInt32 m_nPersistentFlags
LwpDocument * GetLastDivisionThatHasEndnote()
@descr Get last division that has endnote
std::unique_ptr< LwpFoundry > m_xOwnedFoundry
LwpDocument * GetPreviousDivision()
@descr Get previous division
void XFConvertFrameInPage(XFContentContainer *pCont)
@descr Parse the frame which anchor is to page in the entire document
void RegisterTextStyles()
@descr Register all named para styles
rtl::Reference< LwpVirtualLayout > GetEnSuperTableLayout()
@descr Get endnote supertable layout, every division has only one endnote supertable layout.
void RegisterFootnoteStyles()
@descr Register footnote/endnote configuration for the entire document
static void ChangeStyleName()
@descr change click here to placeholder
LwpDocument * GetNextInGroup()
@descr Get previous division in group, copy from lwp source code
void RegisterStylesInPara()
@descr Register all styles used in para
void RegisterLinenumberStyles()
@descr Register line number styles
void RegisterGraphicsStyles()
@descr Register all styles used in VO_Graphic
LwpDocument * GetRootDocument()
@descr Get root document
void Read() override
@descr Read VO_Document from object stream
bool m_bGettingFirstDivisionWithContentsThatIsNotOLE
LwpDocument * GetPreviousInGroup()
@descr Get previous division in group, copy from lwp source code
LwpDocument(LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
LwpDocument * GetFirstDivision()
@descr Get first division
void RegisterDefaultParaStyles()
@descr Register default para styles
LwpDocument * ImplGetFirstDivisionWithContentsThatIsNotOLE()
@descr Get first division with contents that is not ole, copy from lwp-source code
LwpObjectID & GetSocket()
encapsulate XInputStream to provide SvStream like interfaces