LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StgWriter Class Referenceabstract

#include <shellio.hxx>

Inheritance diagram for StgWriter:
[legend]
Collaboration diagram for StgWriter:
[legend]

Public Member Functions

 StgWriter ()
 
virtual bool IsStgWriter () const override
 
virtual ErrCode Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr) override
 
virtual ErrCode Write (SwPaM &, SotStorage &, const OUString *) override
 
SotStorageGetStorage () const
 
- Public Member Functions inherited from Writer
 Writer ()
 
virtual ~Writer () override
 
virtual ErrCode Write (SwPaM &, SfxMedium &, const OUString *)
 
ErrCode Write (SwPaM &, SvStream &, const OUString *)
 
virtual ErrCode Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr)
 
virtual ErrCode Write (SwPaM &, SotStorage &, const OUString *)
 
virtual void SetupFilterOptions (SfxMedium &rMedium)
 
virtual bool IsStgWriter () const
 
void SetShowProgress (bool bFlag)
 
const OUString * GetOrigFileName () const
 
const SwAsciiOptionsGetAsciiOptions () const
 
void SetAsciiOptions (const SwAsciiOptions &rOpt)
 
const OUString & GetBaseURL () const
 
sal_Int32 FindPos_Bkmk (const SwPosition &rPos) const
 
void CreateBookmarkTable ()
 
bool GetBookmarks (const SwContentNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, std::vector< const ::sw::mark::IMark * > &rArr)
 
bool CopyLocalFileToINet (OUString &rFileNm)
 
void SetStream (SvStream *const pStream)
 
SvStreamStrm ()
 
void SetOrganizerMode (bool bSet)
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Protected Member Functions

virtual ErrCode WriteStream () override
 
virtual ErrCode WriteStorage ()=0
 
virtual ErrCode WriteMedium (SfxMedium &)=0
 
virtual ErrCode Write (SwPaM &, SfxMedium &, const OUString *)
 
ErrCode Write (SwPaM &, SvStream &, const OUString *)
 
virtual ErrCode Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr)
 
virtual ErrCode Write (SwPaM &, SotStorage &, const OUString *)
 
- Protected Member Functions inherited from Writer
void ResetWriter ()
 
bool CopyNextPam (SwPaM **)
 
void PutNumFormatFontsInAttrPool ()
 
void PutEditEngFontsInAttrPool ()
 
virtual ErrCode WriteStream ()=0
 
void SetBaseURL (const OUString &rURL)
 
IDocumentSettingAccessgetIDocumentSettingAccess ()
 
const IDocumentSettingAccessgetIDocumentSettingAccess () const
 
IDocumentStylePoolAccessgetIDocumentStylePoolAccess ()
 
const IDocumentStylePoolAccessgetIDocumentStylePoolAccess () const
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Protected Attributes

tools::SvRef< SotStoragem_pStg
 
css::uno::Reference< css::embed::XStorage > m_xStg
 
- Protected Attributes inherited from Writer
const OUString * m_pOrigFileName
 

Additional Inherited Members

- Static Public Member Functions inherited from Writer
static std::shared_ptr< SwUnoCursorNewUnoCursor (SwDoc &rDoc, SwNodeOffset const nStartIdx, SwNodeOffset const nEndIdx)
 
- Public Attributes inherited from Writer
SwDocm_pDoc
 
SwPaMm_pOrigPam
 
std::shared_ptr< SwUnoCursorm_pCurrentPam
 
bool m_bWriteAll: 1
 
bool m_bShowProgress: 1
 
bool m_bWriteClipboardDoc: 1
 
bool m_bWriteOnlyFirstTable: 1
 
bool m_bASCII_ParaAsCR: 1
 
bool m_bASCII_ParaAsBlank: 1
 
bool m_bASCII_NoLastLineEnd: 1
 
bool m_bUCS2_WithStartChar: 1
 
bool m_bExportParagraphNumbering: 1
 
bool m_bBlock: 1
 
bool m_bOrganizerMode: 1
 
bool m_bHideDeleteRedlines: 1
 

Detailed Description

Definition at line 473 of file shellio.hxx.

Constructor & Destructor Documentation

◆ StgWriter()

StgWriter::StgWriter ( )
inline

Definition at line 487 of file shellio.hxx.

Member Function Documentation

◆ GetStorage()

SotStorage & StgWriter::GetStorage ( ) const
inline

◆ IsStgWriter()

bool StgWriter::IsStgWriter ( ) const
overridevirtual

Reimplemented from Writer.

Definition at line 190 of file fltini.cxx.

Referenced by SwXMLWriter::Write().

◆ Write() [1/6]

virtual ErrCode Writer::Write ( SwPaM ,
const css::uno::Reference< css::embed::XStorage > &  ,
const OUString *  ,
SfxMedium = nullptr 
)
protectedvirtual

Reimplemented from Writer.

◆ Write() [2/6]

virtual ErrCode StgWriter::Write ( SwPaM ,
const css::uno::Reference< css::embed::XStorage > &  ,
const OUString *  ,
SfxMedium = nullptr 
)
overridevirtual

Reimplemented from Writer.

Reimplemented in SwWW8Writer, and SwXMLWriter.

References Write.

Referenced by SwWW8Writer::Write().

◆ Write() [3/6]

ErrCode Writer::Write ( SwPaM rPam,
SfxMedium rMedium,
const OUString *  pFileName 
)
protectedvirtual

Reimplemented from Writer.

Definition at line 427 of file writer.cxx.

◆ Write() [4/6]

ErrCode Writer::Write ( SwPaM ,
SotStorage ,
const OUString *   
)
protectedvirtual

Reimplemented from Writer.

Definition at line 430 of file writer.cxx.

◆ Write() [5/6]

ErrCode StgWriter::Write ( SwPaM rPaM,
SotStorage rStg,
const OUString *  pFName 
)
overridevirtual

◆ Write() [6/6]

ErrCode Writer::Write ( SwPaM rPaM,
SvStream rStrm,
const OUString *  pFName 
)
protected

Definition at line 428 of file writer.cxx.

◆ WriteMedium()

virtual ErrCode StgWriter::WriteMedium ( SfxMedium )
protectedpure virtual

Implemented in SwWW8Writer, and SwXMLWriter.

◆ WriteStorage()

virtual ErrCode StgWriter::WriteStorage ( )
protectedpure virtual

Implemented in SwWW8Writer, and SwXMLWriter.

Referenced by Write().

◆ WriteStream()

ErrCode StgWriter::WriteStream ( )
overrideprotectedvirtual

Implements Writer.

Definition at line 450 of file writer.cxx.

References ERR_SWG_WRITE_ERROR.

Member Data Documentation

◆ m_pStg

tools::SvRef<SotStorage> StgWriter::m_pStg
protected

Definition at line 476 of file shellio.hxx.

Referenced by Write(), and SwWW8Writer::WriteStorage().

◆ m_xStg

css::uno::Reference< css::embed::XStorage > StgWriter::m_xStg
protected

Definition at line 477 of file shellio.hxx.

Referenced by SwXMLWriter::Write_().


The documentation for this class was generated from the following files: