LibreOffice Module sw (master) 1
|
#include <wrtxml.hxx>
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 |
SotStorage & | GetStorage () 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 SwAsciiOptions & | GetAsciiOptions () 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) |
SvStream & | Strm () |
void | SetOrganizerMode (bool bSet) |
Public Member Functions inherited from SvRefBase | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (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 |
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) |
IDocumentSettingAccess & | getIDocumentSettingAccess () |
const IDocumentSettingAccess & | getIDocumentSettingAccess () const |
IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () |
const IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () const |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
ErrCode | Write_ (const SfxItemSet *pMediumItemSet) |
bool | WriteThroughComponent (const css::uno::Reference< css::lang::XComponent > &xComponent, const char *pStreamName, const css::uno::Reference< css::uno::XComponentContext > &rFactory, const char *pServiceName, const css::uno::Sequence< css::uno::Any > &rArguments, const css::uno::Sequence< css::beans::PropertyValue > &rMediaDesc) |
virtual ErrCode | Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr) override |
virtual ErrCode | Write (SwPaM &, SotStorage &, const OUString *) override |
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 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< SwUnoCursor > | NewUnoCursor (SwDoc &rDoc, SwNodeOffset const nStartIdx, SwNodeOffset const nEndIdx) |
Public Attributes inherited from Writer | |
SwDoc * | m_pDoc |
SwPaM * | m_pOrigPam |
std::shared_ptr< SwUnoCursor > | m_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 |
Protected Attributes inherited from StgWriter | |
tools::SvRef< SotStorage > | m_pStg |
css::uno::Reference< css::embed::XStorage > | m_xStg |
Protected Attributes inherited from Writer | |
const OUString * | m_pOrigFileName |
Definition at line 40 of file wrtxml.hxx.
SwXMLWriter::SwXMLWriter | ( | const OUString & | rBaseURL | ) |
Definition at line 73 of file wrtxml.cxx.
References Writer::SetBaseURL().
|
overridevirtual |
Definition at line 78 of file wrtxml.cxx.
|
overrideprivatevirtual |
Reimplemented from StgWriter.
|
overridevirtual |
Reimplemented from Writer.
Definition at line 473 of file wrtxml.cxx.
References SfxMedium::GetOutputStorage(), SfxMedium::GetOutStream(), StgWriter::IsStgWriter(), Writer::Write(), and Write().
Referenced by Write().
|
overrideprivatevirtual |
Reimplemented from StgWriter.
Definition at line 492 of file writer.cxx.
|
private |
Definition at line 82 of file wrtxml.cxx.
References aName, Any, SvXMLEmbeddedObjectHelper::Create(), SvXMLGraphicHelper::Create(), utl::UcbStreamHelper::CreateStream(), ERR_SWG_WRITE_ERROR, ERR_WRITE_ERROR_FILE, ERRCODE_NONE, xmloff::FixZOrder(), comphelper::GenericPropertySet_CreateInstance(), cppu::UnoType< typename T >::get(), sw::proofreadingiterator::get(), Writer::GetBaseURL(), SfxObjectShell::GetCreateMode(), IDocumentLayoutAccess::GetCurrentLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::GetDocShell(), IDocumentStatistics::GetDocStat(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentStatistics(), SfxItemSet::GetItem(), SfxObjectShell::GetModel(), SwDoc::GetPersist(), comphelper::getProcessComponentContext(), IDocumentRedlineAccess::GetRedlineFlags(), SfxUnoAnyItem::GetValue(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SotStorage::GetVersion(), SwRootFrame::HasMergedParas(), docfunc::HasOutlineStyleToBeWrittenAsNormalListStyle(), SwRootFrame::IsHideRedlines(), Writer::m_bBlock, Writer::m_bOrganizerMode, Writer::m_bShowProgress, Writer::m_pDoc, Writer::m_pOrigFileName, StgWriter::m_xStg, SwDocStat::nPage, ODFVER_010_TEXT, ODFVER_011_TEXT, Writer::PutEditEngFontsInAttrPool(), Writer::PutNumFormatFontsInAttrPool(), IDocumentMarkAccess::restoreAnnotationMarks(), IDocumentRedlineAccess::SetRedlineFlags(), ShowInsert, ShowMask, SOFFICE_FILEFORMAT_60, SwResId(), Version, WARN_SWG_FEATURES_LOST, WARN_WRITE_ERROR_FILE, SwDoc::WriteLayoutCache(), and WriteThroughComponent().
Referenced by WriteMedium(), and WriteStorage().
Implements StgWriter.
Definition at line 468 of file wrtxml.cxx.
References SfxMedium::GetItemSet(), and Write_().
|
overrideprotectedvirtual |
|
staticprivate |
|
private |
Referenced by Write_().