|
LibreOffice Module sw (master) 1
|
#include <memory>#include <com/sun/star/uno/Reference.h>#include <sot/storage.hxx>#include <tools/date.hxx>#include <tools/time.hxx>#include <tools/datetime.hxx>#include <tools/ref.hxx>#include <rtl/ref.hxx>#include <osl/thread.h>#include <o3tl/deleter.hxx>#include <o3tl/typed_flags_set.hxx>#include "swdllapi.h"#include "docfac.hxx"#include "unocrsr.hxx"Go to the source code of this file.
Classes | |
| class | SwAsciiOptions |
| class | SwgReaderOption |
| class | SwReader |
| struct | o3tl::typed_flags< SwReaderType > |
| class | Reader |
| class | AsciiReader |
| class | StgReader |
| class | SwTextBlocks |
| class | Writer |
| class | StgWriter |
| class | SwWriter |
| struct | SwReaderWriterEntry |
Namespaces | |
| namespace | sw |
| Dialog to specify the properties of date form field. | |
| namespace | sw::mark |
| namespace | com |
| namespace | com::sun |
| namespace | com::sun::star |
| namespace | com::sun::star::embed |
| namespace | o3tl |
| namespace | SwReaderWriter |
Macros | |
| #define | MAX_ASCII_PARA 250000 |
Typedefs | |
| typedef std::unique_ptr< SwReader, o3tl::default_delete< SwReader > > | SwReaderPtr |
| typedef tools::SvRef< Writer > | WriterRef |
| typedef Reader *(* | FnGetReader) () |
| typedef void(* | FnGetWriter) (std::u16string_view, const OUString &rBaseURL, WriterRef &) |
Enumerations | |
| enum class | SwReaderType { NONE = 0x00 , Stream = 0x01 , Storage = 0x02 } |
Functions | |
| SAL_DLLPUBLIC_EXPORT bool | TestImportDOC (SvStream &rStream, const OUString &rFltName) |
| SAL_DLLPUBLIC_EXPORT bool | TestImportDOCX (SvStream &rStream) |
| SAL_DLLPUBLIC_EXPORT bool | TestImportRTF (SvStream &rStream) |
| SAL_DLLPUBLIC_EXPORT bool | TestImportHTML (SvStream &rStream) |
| SAL_DLLPUBLIC_EXPORT void | FlushFontCache () |
| SW_DLLPUBLIC Reader * | SwGetReaderXML () |
| bool | SetHTMLTemplate (SwDoc &rDoc) |
| ErrCode | SaveOrDelMSVBAStorage (SfxObjectShell &, SotStorage &, bool, const OUString &) |
| ErrCode | GetSaveWarningOfMSVBAStorage (SfxObjectShell &rDocS) |
| Reader * | SwReaderWriter::GetRtfReader () |
| Reader * | SwReaderWriter::GetDOCXReader () |
| Reader * | SwReaderWriter::GetReader (const OUString &rFltName) |
| Return reader based on the name. More... | |
| void | SwReaderWriter::GetWriter (std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xWrt) |
| Return writer based on the name. More... | |
| void | GetRTFWriter (std::u16string_view, const OUString &, WriterRef &) |
| void | GetASCWriter (std::u16string_view, const OUString &, WriterRef &) |
| void | GetHTMLWriter (std::u16string_view, const OUString &, WriterRef &) |
| void | GetXMLWriter (std::u16string_view, const OUString &, WriterRef &) |
Variables | |
| Reader * | ReadAscii |
| Reader * | ReadHTML |
| Reader * | ReadXML |
| #define MAX_ASCII_PARA 250000 |
Definition at line 60 of file shellio.hxx.
| typedef Reader *(* FnGetReader) () |
Definition at line 524 of file shellio.hxx.
| typedef void(* FnGetWriter) (std::u16string_view, const OUString &rBaseURL, WriterRef &) |
Definition at line 525 of file shellio.hxx.
| typedef std::unique_ptr<SwReader, o3tl::default_delete<SwReader> > SwReaderPtr |
Definition at line 183 of file shellio.hxx.
| typedef tools::SvRef<Writer> WriterRef |
Definition at line 470 of file shellio.hxx.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| Stream | |
| Storage | |
Definition at line 186 of file shellio.hxx.
| SAL_DLLPUBLIC_EXPORT void FlushFontCache | ( | ) |
Definition at line 67 of file swfntcch.cxx.
References SwFntCache::Flush(), SwCache::Flush(), pFntCache, and pSwFontCache.
| void GetASCWriter | ( | std::u16string_view | rFltNm, |
| const OUString & | , | ||
| WriterRef & | xRet | ||
| ) |
Definition at line 224 of file wrtasc.cxx.
Referenced by SwServerObject::GetData(), and SwTransferable::WriteObject().
| void GetHTMLWriter | ( | std::u16string_view | rFilterOptions, |
| const OUString & | rBaseURL, | ||
| WriterRef & | xRet | ||
| ) |
Definition at line 1675 of file wrthtml.cxx.
Referenced by SwTranslateHelper::ExportPaMToHTML(), SwSrcView::Load(), and SwTransferable::WriteObject().
| void GetRTFWriter | ( | std::u16string_view | rFltName, |
| const OUString & | rBaseURL, | ||
| WriterRef & | xRet | ||
| ) |
Definition at line 642 of file fltini.cxx.
References ExportRTF(), SwGlobals::getFilters(), and sw::Filters::GetMswordLibSymbol().
Referenced by SwDocShell::Execute(), SwServerObject::GetData(), and SwTransferable::WriteObject().
| ErrCode GetSaveWarningOfMSVBAStorage | ( | SfxObjectShell & | rDocS | ) |
Definition at line 713 of file fltini.cxx.
References ERRCODE_NONE, SwGlobals::getFilters(), sw::Filters::GetMswordLibSymbol(), and GetSaveWarningOfMSVBAStorage_ww8().
Referenced by SwDocShell::Save(), and SwDocShell::SaveAs().
| void GetXMLWriter | ( | std::u16string_view | , |
| const OUString & | rBaseURL, | ||
| WriterRef & | xRet | ||
| ) |
Definition at line 580 of file wrtxml.cxx.
Referenced by SwXMLTextBlocks::PutBlock(), SwDocShell::Save(), and SwDocShell::SaveAs().
| ErrCode SaveOrDelMSVBAStorage | ( | SfxObjectShell & | rDoc, |
| SotStorage & | rStor, | ||
| bool | bSaveInto, | ||
| const OUString & | rStorageName | ||
| ) |
Definition at line 701 of file fltini.cxx.
References ERRCODE_NONE, SwGlobals::getFilters(), sw::Filters::GetMswordLibSymbol(), and SaveOrDelMSVBAStorage_ww8().
Referenced by SwDocShell::ConvertTo().
| bool SetHTMLTemplate | ( | SwDoc & | rDoc | ) |
Definition at line 919 of file shellio.cxx.
References SwContentNode::ChgFormatColl(), SwNodes::GetEndOfExtras(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetNodes(), IDocumentStylePoolAccess::GetPageDescFromPool(), Reader::GetTemplateDoc(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwNodes::GoNext(), Reader::MakeHTMLDummyTemplateDoc(), ReadHTML, RES_POOLCOLL_TEXT, RES_POOLPAGE_HTML, SwContentNode::SetAttr(), and Reader::SetTemplate().
Referenced by SwDocShell::InitNew(), and SwDocShell::ReloadFromHtml().
| SW_DLLPUBLIC Reader * SwGetReaderXML | ( | ) |
| SAL_DLLPUBLIC_EXPORT bool TestImportDOC | ( | SvStream & | rStream, |
| const OUString & | rFltName | ||
| ) |
Definition at line 204 of file ww8par.cxx.
Referenced by TestImportWW2(), TestImportWW6(), and TestImportWW8().
| SAL_DLLPUBLIC_EXPORT bool TestImportDOCX | ( | SvStream & | rStream | ) |
Definition at line 1877 of file xmlimp.cxx.
References SfxObjectShell::DoClose(), SfxObjectShell::DoInitNew(), SwGlobals::ensure(), SfxObjectShell::GetModel(), comphelper::getProcessServiceFactory(), comphelper::InitPropertySequence(), SfxObjectShell::SetLoading(), xModel, and xStream.
| SAL_DLLPUBLIC_EXPORT bool TestImportHTML | ( | SvStream & | rStream | ) |
Definition at line 206 of file swhtml.cxx.
| SAL_DLLPUBLIC_EXPORT bool TestImportRTF | ( | SvStream & | rStream | ) |
Definition at line 205 of file swparrtf.cxx.
|
extern |
Definition at line 46 of file fltini.cxx.
Referenced by sw::Filters::Filters(), SwTransferable::PasteFileContent(), and SwDocShell::StartConvertFrom().
| Reader * ReadHTML |
Definition at line 360 of file shellio.hxx.
| Reader * ReadXML |
Definition at line 360 of file shellio.hxx.