LibreOffice Module sw (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
shellio.hxx File Reference
#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"
Include dependency graph for shellio.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


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


#define MAX_ASCII_PARA   10000


typedef std::unique_ptr< SwReader, o3tl::default_delete< SwReader > > SwReaderPtr
typedef tools::SvRef< WriterWriterRef
typedef Reader *(* FnGetReader) ()
typedef void(* FnGetWriter) (std::u16string_view, const OUString &rBaseURL, WriterRef &)


enum class  SwReaderType {
  NONE = 0x00 ,
  Stream = 0x01 ,
  Storage = 0x02


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 ReaderSwGetReaderXML ()
bool SetHTMLTemplate (SwDoc &rDoc)
ErrCode SaveOrDelMSVBAStorage (SfxObjectShell &, SotStorage &, bool, const OUString &)
ErrCode GetSaveWarningOfMSVBAStorage (SfxObjectShell &rDocS)
ReaderSwReaderWriter::GetRtfReader ()
ReaderSwReaderWriter::GetDOCXReader ()
ReaderSwReaderWriter::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 &)



Macro Definition Documentation


#define MAX_ASCII_PARA   10000

Definition at line 56 of file shellio.hxx.

Typedef Documentation

◆ FnGetReader

typedef Reader *(* FnGetReader) ()

Definition at line 529 of file shellio.hxx.

◆ FnGetWriter

typedef void(* FnGetWriter) (std::u16string_view, const OUString &rBaseURL, WriterRef &)

Definition at line 530 of file shellio.hxx.

◆ SwReaderPtr

typedef std::unique_ptr<SwReader, o3tl::default_delete<SwReader> > SwReaderPtr

Definition at line 186 of file shellio.hxx.

◆ WriterRef

Definition at line 475 of file shellio.hxx.

Enumeration Type Documentation

◆ SwReaderType

enum class SwReaderType

Definition at line 189 of file shellio.hxx.

Function Documentation

◆ FlushFontCache()

SAL_DLLPUBLIC_EXPORT void FlushFontCache ( )

Definition at line 67 of file swfntcch.cxx.

References SwFntCache::Flush(), SwCache::Flush(), pFntCache, and pSwFontCache.

◆ GetASCWriter()

void GetASCWriter ( std::u16string_view  rFltNm,
const OUString &  ,
WriterRef xRet 

Definition at line 228 of file wrtasc.cxx.

Referenced by SwServerObject::GetData(), and SwTransferable::WriteObject().

◆ GetHTMLWriter()

void GetHTMLWriter ( std::u16string_view  rFilterOptions,
const OUString &  rBaseURL,
WriterRef xRet 

Definition at line 1650 of file wrthtml.cxx.

Referenced by SwSrcView::Load(), and SwTransferable::WriteObject().

◆ GetRTFWriter()

void GetRTFWriter ( std::u16string_view  rFltName,
const OUString &  rBaseURL,
WriterRef xRet 

◆ GetSaveWarningOfMSVBAStorage()

ErrCode GetSaveWarningOfMSVBAStorage ( SfxObjectShell rDocS)

◆ GetXMLWriter()

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().

◆ SaveOrDelMSVBAStorage()

ErrCode SaveOrDelMSVBAStorage ( SfxObjectShell rDoc,
SotStorage rStor,
bool  bSaveInto,
const OUString &  rStorageName 

◆ SetHTMLTemplate()

bool SetHTMLTemplate ( SwDoc rDoc)

◆ SwGetReaderXML()

SW_DLLPUBLIC Reader * SwGetReaderXML ( )

Definition at line 89 of file fltini.cxx.

References ReadXML.

Referenced by lcl_ReadSections().

◆ TestImportDOC()

SAL_DLLPUBLIC_EXPORT bool TestImportDOC ( SvStream rStream,
const OUString &  rFltName 

Definition at line 207 of file ww8par.cxx.

References SvStream::ReadUInt32(), rStrm, and SvStream::SeekRel().

Referenced by TestImportWW2(), TestImportWW6(), and TestImportWW8().

◆ TestImportDOCX()

SAL_DLLPUBLIC_EXPORT bool TestImportDOCX ( SvStream rStream)

◆ TestImportHTML()

SAL_DLLPUBLIC_EXPORT bool TestImportHTML ( SvStream rStream)

Definition at line 209 of file swhtml.cxx.

◆ TestImportRTF()

SAL_DLLPUBLIC_EXPORT bool TestImportRTF ( SvStream rStream)

Definition at line 208 of file swparrtf.cxx.

Variable Documentation

◆ ReadAscii

Reader* ReadAscii

◆ ReadHTML

Reader * ReadHTML

Definition at line 361 of file shellio.hxx.

◆ ReadXML

Reader * ReadXML

Definition at line 361 of file shellio.hxx.