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 void SetupFilterOptions (SfxMedium &rMedium)
 
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
 
- Protected Member Functions inherited from Writer
void ResetWriter ()
 
bool CopyNextPam (SwPaM **)
 
void PutNumFormatFontsInAttrPool ()
 
void PutEditEngFontsInAttrPool ()
 
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< SotStoragepStg
 
css::uno::Reference< css::embed::XStorage > 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, sal_uLong const nStartIdx, sal_uLong const nEndIdx)
 
static SvStreamOutLong (SvStream &rStrm, long nVal)
 
static SvStreamOutULong (SvStream &rStrm, sal_uLong nVal)
 
- 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_bExportPargraphNumbering: 1
 
bool m_bBlock: 1
 
bool m_bOrganizerMode: 1
 
bool m_bHideDeleteRedlines: 1
 

Detailed Description

Definition at line 471 of file shellio.hxx.

Constructor & Destructor Documentation

StgWriter::StgWriter ( )
inline

Definition at line 485 of file shellio.hxx.

Member Function Documentation

SotStorage& StgWriter::GetStorage ( ) const
inline
bool StgWriter::IsStgWriter ( ) const
overridevirtual

Reimplemented from Writer.

Definition at line 208 of file fltini.cxx.

Referenced by SwXMLWriter::Write().

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

Reimplemented from Writer.

Referenced by SwWW8Writer::Write().

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

Implemented in SwWW8Writer, and SwXMLWriter.

virtual ErrCode StgWriter::WriteStorage ( )
protectedpure virtual

Implemented in SwWW8Writer, and SwXMLWriter.

Referenced by Write().

ErrCode StgWriter::WriteStream ( )
overrideprotectedvirtual

Implements Writer.

Definition at line 490 of file writer.cxx.

References ERR_SWG_WRITE_ERROR.

Member Data Documentation

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

Definition at line 474 of file shellio.hxx.

Referenced by Write().

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

Definition at line 475 of file shellio.hxx.

Referenced by SwXMLWriter::Write_().


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