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 | |
sw::mark | |
com::sun::star::embed | |
o3tl | |
SwReaderWriter | |
Macros | |
#define | MAX_ASCII_PARA 10000 |
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 | SwReaderType { SwReaderType::NONE = 0x00, SwReaderType::Stream = 0x01, SwReaderType::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 10000 |
Definition at line 56 of file shellio.hxx.
typedef Reader*(* FnGetReader) () |
Definition at line 529 of file shellio.hxx.
Definition at line 530 of file shellio.hxx.
typedef std::unique_ptr<SwReader, o3tl::default_delete<SwReader> > SwReaderPtr |
Definition at line 186 of file shellio.hxx.
typedef tools::SvRef<Writer> WriterRef |
Definition at line 475 of file shellio.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Stream | |
Storage |
Definition at line 189 of file shellio.hxx.
SAL_DLLPUBLIC_EXPORT void FlushFontCache | ( | ) |
Definition at line 67 of file swfntcch.cxx.
References SwFntCache::Flush(), SwCache::Flush(), and pFntCache.
Definition at line 1641 of file wrthtml.cxx.
Referenced by SwSrcView::Load(), and SwTransferable::WriteObject().
Definition at line 656 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 727 of file fltini.cxx.
References ERRCODE_NONE, SwGlobals::getFilters(), sw::Filters::GetMswordLibSymbol(), and GetSaveWarningOfMSVBAStorage_ww8().
Referenced by SwDocShell::Save(), and SwDocShell::SaveAs().
ErrCode SaveOrDelMSVBAStorage | ( | SfxObjectShell & | , |
SotStorage & | , | ||
bool | , | ||
const OUString & | |||
) |
Definition at line 715 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 907 of file shellio.cxx.
References 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 6326 of file ww8par.cxx.
References SfxObjectShell::DoInitNew(), SwGlobals::ensure(), ERRCODE_NONE, tools::SvRef< T >::get(), SwDocShell::GetDoc(), SwNodes::GetEndOfContent(), SotStorage::GetError(), SwDoc::GetNodes(), ImportDOC(), and SwDoc::SetInReading().
Referenced by TestImportWW2(), TestImportWW6(), and TestImportWW8().
SAL_DLLPUBLIC_EXPORT bool TestImportDOCX | ( | SvStream & | rStream | ) |
Definition at line 1766 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 5592 of file swhtml.cxx.
References SfxObjectShell::DoInitNew(), SwGlobals::ensure(), ERRCODE_NONE, SwDocShell::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), Reader::m_pStream, HTMLReader::Read(), and SwDoc::SetInReading().
SAL_DLLPUBLIC_EXPORT bool TestImportRTF | ( | SvStream & | rStream | ) |
Definition at line 179 of file swparrtf.cxx.
References SfxObjectShell::DoInitNew(), SwGlobals::ensure(), SfxObjectShell::GetModel(), comphelper::getProcessServiceFactory(), and comphelper::InitPropertySequence().
Reader* ReadAscii |
Definition at line 46 of file fltini.cxx.
Referenced by SwTransferable::PasteFileContent(), and SwDocShell::StartConvertFrom().
Reader * ReadHTML |
Definition at line 46 of file fltini.cxx.
Referenced by sw::Filters::Filters(), SwTransferable::PasteFileContent(), SwReader::Read(), SwDocShell::ReloadFromHtml(), SetHTMLTemplate(), and SwHTMLWriter::WriteStream().
Reader * ReadXML |
Definition at line 46 of file fltini.cxx.
Referenced by sw::Filters::Filters(), SwXMLTextBlocks::GetDoc(), Reader::GetTemplateDoc(), SwDocShell::Load(), SwDocShell::LoadFrom(), SwDocShell::LoadStylesFromFile(), SwTransferable::PasteOLE(), and SwGetReaderXML().