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.

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< WriterWriterRef
 
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 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 &)
 

Variables

ReaderReadAscii
 
ReaderReadHTML
 
ReaderReadXML
 

Macro Definition Documentation

◆ MAX_ASCII_PARA

#define MAX_ASCII_PARA   250000

Definition at line 60 of file shellio.hxx.

Typedef Documentation

◆ FnGetReader

typedef Reader *(* FnGetReader) ()

Definition at line 524 of file shellio.hxx.

◆ FnGetWriter

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

Definition at line 525 of file shellio.hxx.

◆ SwReaderPtr

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

Definition at line 183 of file shellio.hxx.

◆ WriterRef

Definition at line 470 of file shellio.hxx.

Enumeration Type Documentation

◆ SwReaderType

enum class SwReaderType
strong
Enumerator
NONE 
Stream 
Storage 

Definition at line 186 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 224 of file wrtasc.cxx.

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

◆ GetHTMLWriter()

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

◆ 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 204 of file ww8par.cxx.

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 206 of file swhtml.cxx.

◆ TestImportRTF()

SAL_DLLPUBLIC_EXPORT bool TestImportRTF ( SvStream rStream)

Definition at line 205 of file swparrtf.cxx.

Variable Documentation

◆ ReadAscii

Reader* ReadAscii
extern

◆ ReadHTML

Reader * ReadHTML

Definition at line 360 of file shellio.hxx.

◆ ReadXML

Reader * ReadXML

Definition at line 360 of file shellio.hxx.