LibreOffice Module sw (master) 1
|
#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>
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 Reader * | GetRTFReader () |
static Reader * | GetWW8Reader () |
static Reader * | GetDOCXReader () |
Reader * | SwGetReaderXML () |
static void | SetFltPtr (sal_uInt16 rPos, Reader *pReader) |
Reader * | SwReaderWriter::GetRtfReader () |
Reader * | SwReaderWriter::GetDOCXReader () |
void | SwReaderWriter::GetWriter (std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xWrt) |
Return writer based on the name. More... | |
Reader * | SwReaderWriter::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 | |
Reader * | ReadAscii = nullptr |
Reader * | ReadHTML = nullptr |
Reader * | ReadXML = nullptr |
static SwReaderWriterEntry | aReaderWriter [] |
#define IMPLENTRY | ( | X | ) | { RTL_TEXTENCODING_##X, #X } |
typedef sal_uInt32(* GetSaveWarning) (SfxObjectShell &) |
Definition at line 699 of file fltini.cxx.
typedef sal_uInt32(* SaveOrDel) (SfxObjectShell &, SotStorage &, sal_Bool, const OUString &) |
Definition at line 698 of file fltini.cxx.
void CalculateFlySize | ( | SfxItemSet & | rFlySet, |
const SwNode & | rAnchor, | ||
SwTwips | nPageWidth | ||
) |
Definition at line 257 of file fltini.cxx.
References SwFormatFrameSize::Clone(), SfxPoolItem::Clone(), SwNode::EndOfSectionNode(), SwTextNode::EraseText(), SwNode::FindTableNode(), SfxItemSet::Get(), SvxBoxItem::GetDistance(), SwTable::GetFrameFormat(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), editeng::SvxBorderLine::GetInWidth(), SfxItemSet::GetItemIfSet(), SvxBoxItem::GetLine(), SwTextNode::GetMinMaxSize(), SwNodeIndex::GetNode(), editeng::SvxBorderLine::GetOutWidth(), SwTableNode::GetTable(), SwNode::GetTextNode(), SvxSizeItem::GetWidth(), i, SwTextNode::InsertText(), MINFLY, MINLAY, SfxItemSet::Put(), rBoxItem, RES_BOX(), RES_CNTNT(), and RES_FRM_SIZE().
Referenced by SwWW8ImplReader::StopApo().
|
static |
Definition at line 684 of file fltini.cxx.
References SwGlobals::getFilters(), sw::Filters::GetMswordLibSymbol(), and ImportDOCX().
|
static |
Definition at line 626 of file fltini.cxx.
References SwGlobals::getFilters(), sw::Filters::GetMswordLibSymbol(), and ImportRTF().
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().
|
static |
Definition at line 656 of file fltini.cxx.
References SwGlobals::getFilters(), sw::Filters::GetMswordLibSymbol(), and ImportDOC().
void GetWW8Writer | ( | std::u16string_view | rFltName, |
const OUString & | rBaseURL, | ||
WriterRef & | xRet | ||
) |
Definition at line 670 of file fltini.cxx.
References ExportDOC(), SwGlobals::getFilters(), and sw::Filters::GetMswordLibSymbol().
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().
|
static |
Definition at line 94 of file fltini.cxx.
References aReaderWriter, and SwReaderWriterEntry::pReader.
Referenced by sw::Filters::Filters().
Reader * SwGetReaderXML | ( | ) |
|
static |
Definition at line 54 of file fltini.cxx.
Referenced by SwReaderWriter::GetDOCXReader(), SwReaderWriter::GetReader(), SwReaderWriter::GetRtfReader(), SwReaderWriter::GetWriter(), SetFltPtr(), and sw::Filters::~Filters().
Reader* ReadAscii = nullptr |
Definition at line 46 of file fltini.cxx.
Referenced by sw::Filters::Filters(), SwTransferable::PasteFileContent(), and SwDocShell::StartConvertFrom().
Reader * ReadHTML = nullptr |
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 = nullptr |
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().