LibreOffice Module sw (master) 1
Namespaces | Macros | Typedefs | Functions | Variables
fltini.cxx File Reference
#include <hintids.hxx>
#include <i18nlangtag/lang.h>
#include <i18nlangtag/languagetag.hxx>
#include <o3tl/any.hxx>
#include <tools/svlibrary.h>
#include <sot/storage.hxx>
#include <shellio.hxx>
#include <fltini.hxx>
#include <init.hxx>
#include <fmtfsize.hxx>
#include <swtable.hxx>
#include <fmtcntnt.hxx>
#include <editeng/boxitem.hxx>
#include <ndtxt.hxx>
#include <swfltopt.hxx>
#include <swdll.hxx>
#include <iodetect.hxx>
#include <osl/module.hxx>
#include <rtl/bootstrap.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
Include dependency graph for fltini.cxx:

Go to the source code of this file.

Namespaces

namespace  sw
 Dialog to specify the properties of date form field.
 
namespace  SwReaderWriter
 

Macros

#define IMPLENTRY(X)   { RTL_TEXTENCODING_##X, #X }
 

Typedefs

typedef sal_uInt32(* SaveOrDel) (SfxObjectShell &, SotStorage &, sal_Bool, const OUString &)
 
typedef sal_uInt32(* GetSaveWarning) (SfxObjectShell &)
 

Functions

static ReaderGetRTFReader ()
 
static ReaderGetWW8Reader ()
 
static ReaderGetDOCXReader ()
 
ReaderSwGetReaderXML ()
 
static void SetFltPtr (sal_uInt16 rPos, Reader *pReader)
 
ReaderSwReaderWriter::GetRtfReader ()
 
ReaderSwReaderWriter::GetDOCXReader ()
 
void SwReaderWriter::GetWriter (std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xWrt)
 Return writer based on the name. More...
 
ReaderSwReaderWriter::GetReader (const OUString &rFltName)
 Return reader based on the name. More...
 
void CalculateFlySize (SfxItemSet &rFlySet, const SwNode &rAnchor, SwTwips nPageWidth)
 
void GetRTFWriter (std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet)
 
void GetWW8Writer (std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet)
 
ErrCode SaveOrDelMSVBAStorage (SfxObjectShell &rDoc, SotStorage &rStor, bool bSaveInto, const OUString &rStorageName)
 
ErrCode GetSaveWarningOfMSVBAStorage (SfxObjectShell &rDocS)
 

Variables

ReaderReadAscii = nullptr
 
ReaderReadHTML = nullptr
 
ReaderReadXML = nullptr
 
static SwReaderWriterEntry aReaderWriter []
 

Macro Definition Documentation

◆ IMPLENTRY

#define IMPLENTRY (   X)    { RTL_TEXTENCODING_##X, #X }

Typedef Documentation

◆ GetSaveWarning

typedef sal_uInt32(* GetSaveWarning) (SfxObjectShell &)

Definition at line 713 of file fltini.cxx.

◆ SaveOrDel

typedef sal_uInt32(* SaveOrDel) (SfxObjectShell &, SotStorage &, sal_Bool, const OUString &)

Definition at line 712 of file fltini.cxx.

Function Documentation

◆ CalculateFlySize()

void CalculateFlySize ( SfxItemSet rFlySet,
const SwNode rAnchor,
SwTwips  nPageWidth 
)

◆ GetDOCXReader()

Reader * GetDOCXReader ( )
static

◆ GetRTFReader()

Reader * GetRTFReader ( )
static

◆ GetRTFWriter()

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

◆ GetSaveWarningOfMSVBAStorage()

ErrCode GetSaveWarningOfMSVBAStorage ( SfxObjectShell rDocS)

◆ GetWW8Reader()

Reader * GetWW8Reader ( )
static

◆ GetWW8Writer()

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

◆ SaveOrDelMSVBAStorage()

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

◆ SetFltPtr()

static void SetFltPtr ( sal_uInt16  rPos,
Reader pReader 
)
static

Definition at line 94 of file fltini.cxx.

References aReaderWriter, and SwReaderWriterEntry::pReader.

Referenced by sw::Filters::Filters().

◆ SwGetReaderXML()

Reader * SwGetReaderXML ( )

Definition at line 89 of file fltini.cxx.

References ReadXML.

Referenced by lcl_ReadSections().

Variable Documentation

◆ aReaderWriter

SwReaderWriterEntry aReaderWriter[]
static
Initial value:
=
{
SwReaderWriterEntry( nullptr, &::GetASCWriter, false ),
SwReaderWriterEntry( &::GetWW8Reader, nullptr, true ),
SwReaderWriterEntry( &::GetWW8Reader, nullptr, true ),
SwReaderWriterEntry( nullptr, &::GetXMLWriter, true ),
SwReaderWriterEntry( nullptr, &::GetASCWriter, false ),
SwReaderWriterEntry( nullptr, &::GetASCWriter, true ),
}
static Reader * GetDOCXReader()
Definition: fltini.cxx:698
static Reader * GetWW8Reader()
Definition: fltini.cxx:670
void GetRTFWriter(std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet)
Definition: fltini.cxx:656
void GetWW8Writer(std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet)
Definition: fltini.cxx:684
static Reader * GetRTFReader()
Definition: fltini.cxx:640
void GetASCWriter(std::u16string_view rFltNm, const OUString &, WriterRef &xRet)
Definition: wrtasc.cxx:228
void GetHTMLWriter(std::u16string_view rFilterOptions, const OUString &rBaseURL, WriterRef &xRet)
Definition: wrthtml.cxx:1659
void GetXMLWriter(std::u16string_view, const OUString &rBaseURL, WriterRef &xRet)
Definition: wrtxml.cxx:580

Definition at line 54 of file fltini.cxx.

Referenced by SwReaderWriter::GetDOCXReader(), SwReaderWriter::GetReader(), SwReaderWriter::GetRtfReader(), SwReaderWriter::GetWriter(), SetFltPtr(), and sw::Filters::~Filters().

◆ ReadAscii

Reader* ReadAscii = nullptr

◆ ReadHTML

Reader * ReadHTML = nullptr

◆ ReadXML

Reader * ReadXML = nullptr