LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | List of all members
SwXMLWriter Class Reference

#include <wrtxml.hxx>

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

Public Member Functions

 SwXMLWriter (const OUString &rBaseURL)
 
virtual ~SwXMLWriter () override
 
virtual ErrCode Write (SwPaM &, SfxMedium &, const OUString *) override
 
- Public Member Functions inherited from StgWriter
 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
 
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 WriteStorage () override
 
virtual ErrCode WriteMedium (SfxMedium &aTargetMedium) override
 
- Protected Member Functions inherited from StgWriter
virtual ErrCode WriteStream () override
 
- 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
 

Private Member Functions

ErrCode Write_ (const css::uno::Reference< css::task::XStatusIndicator > &, const OUString &)
 
bool WriteThroughComponent (const css::uno::Reference< css::lang::XComponent > &xComponent, const sal_Char *pStreamName, const css::uno::Reference< css::uno::XComponentContext > &rFactory, const sal_Char *pServiceName, const css::uno::Sequence< css::uno::Any > &rArguments, const css::uno::Sequence< css::beans::PropertyValue > &rMediaDesc)
 

Static Private Member Functions

static bool WriteThroughComponent (const css::uno::Reference< css::io::XOutputStream > &xOutputStream, const css::uno::Reference< css::lang::XComponent > &xComponent, const css::uno::Reference< css::uno::XComponentContext > &rFactory, const sal_Char *pServiceName, const css::uno::Sequence< css::uno::Any > &rArguments, const css::uno::Sequence< css::beans::PropertyValue > &rMediaDesc)
 

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
 
- Protected Attributes inherited from StgWriter
tools::SvRef< SotStoragepStg
 
css::uno::Reference< css::embed::XStorage > xStg
 
- Protected Attributes inherited from Writer
const OUString * m_pOrigFileName
 

Detailed Description

Definition at line 41 of file wrtxml.hxx.

Constructor & Destructor Documentation

SwXMLWriter::SwXMLWriter ( const OUString &  rBaseURL)

Definition at line 72 of file wrtxml.cxx.

References Writer::SetBaseURL().

SwXMLWriter::~SwXMLWriter ( )
overridevirtual

Definition at line 77 of file wrtxml.cxx.

Member Function Documentation

ErrCode SwXMLWriter::Write ( SwPaM rPaM,
SfxMedium rMed,
const OUString *  pFileName 
)
overridevirtual

Reimplemented from Writer.

Definition at line 462 of file wrtxml.cxx.

References SfxMedium::GetOutputStorage(), SfxMedium::GetOutStream(), and StgWriter::IsStgWriter().

ErrCode SwXMLWriter::Write_ ( const css::uno::Reference< css::task::XStatusIndicator > &  ,
const OUString &   
)
private
ErrCode SwXMLWriter::WriteMedium ( SfxMedium aTargetMedium)
overrideprotectedvirtual
ErrCode SwXMLWriter::WriteStorage ( )
overrideprotectedvirtual

Implements StgWriter.

Definition at line 441 of file wrtxml.cxx.

References Write_().

bool SwXMLWriter::WriteThroughComponent ( const css::uno::Reference< css::lang::XComponent > &  xComponent,
const sal_Char pStreamName,
const css::uno::Reference< css::uno::XComponentContext > &  rFactory,
const sal_Char pServiceName,
const css::uno::Sequence< css::uno::Any > &  rArguments,
const css::uno::Sequence< css::beans::PropertyValue > &  rMediaDesc 
)
private

Referenced by Write_().

static bool SwXMLWriter::WriteThroughComponent ( const css::uno::Reference< css::io::XOutputStream > &  xOutputStream,
const css::uno::Reference< css::lang::XComponent > &  xComponent,
const css::uno::Reference< css::uno::XComponentContext > &  rFactory,
const sal_Char pServiceName,
const css::uno::Sequence< css::uno::Any > &  rArguments,
const css::uno::Sequence< css::beans::PropertyValue > &  rMediaDesc 
)
staticprivate

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