LibreOffice Module sw (master) 1
|
#include <memory>
#include <string_view>
#include <o3tl/string_view.hxx>
#include <rtl/ustring.hxx>
#include <tools/lineend.hxx>
#include <utility>
#include <tools/solar.h>
#include "swdllapi.h"
Go to the source code of this file.
Classes | |
struct | SwIoDetect |
class | SwIoSystem |
The following class is a wrapper for basic i/o functions of Writer 3.0. More... | |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::embed |
namespace | com::sun::star::uno |
Macros | |
#define | FILTER_XMLV "CXMLV" |
XML filter. More... | |
#define | FILTER_XMLVW "CXMLVWEB" |
XML filter. More... | |
Enumerations | |
enum | ReaderWriterEnum { READER_WRITER_RTF , READER_WRITER_BAS , READER_WRITER_WW6 , READER_WRITER_WW8 , READER_WRITER_RTF_WH , READER_WRITER_HTML , READER_WRITER_WW5 , READER_WRITER_XML , READER_WRITER_TEXT_DLG , READER_WRITER_TEXT , READER_WRITER_DOCX , MAXFILTER } |
Functions | |
SAL_DLLPUBLIC_EXPORT bool SAL_CALL | TestImportFODT (SvStream &rStream) |
SAL_DLLPUBLIC_EXPORT bool SAL_CALL | TestPDFExportFODT (SvStream &rStream) |
Variables | |
constexpr OUStringLiteral | FILTER_RTF = u"RTF" |
RTF filter. More... | |
constexpr OUStringLiteral | sRtfWH = u"WH_RTF" |
constexpr OUStringLiteral | FILTER_TEXT = u"TEXT" |
text filter with default codeset More... | |
constexpr OUStringLiteral | FILTER_BAS = u"BAS" |
StarBasic (identical to ANSI) More... | |
constexpr OUStringLiteral | FILTER_WW8 = u"CWW8" |
WinWord 97 filter. More... | |
constexpr OUStringLiteral | FILTER_TEXT_DLG = u"TEXT_DLG" |
text filter with encoding dialog More... | |
constexpr OUStringLiteral | FILTER_XML = u"CXML" |
XML filter. More... | |
constexpr OUStringLiteral | FILTER_DOCX = u"OXML" |
constexpr OUStringLiteral | sHTML = u"HTML" |
constexpr OUStringLiteral | sWW5 = u"WW6" |
constexpr OUStringLiteral | sWW6 = u"CWW6" |
constexpr OUStringLiteral | sSWRITER = u"swriter" |
constexpr OUStringLiteral | sSWRITERWEB = u"swriter/web" |
SwIoDetect | aFilterDetect [] |
#define FILTER_XMLV "CXMLV" |
XML filter.
Definition at line 39 of file iodetect.hxx.
#define FILTER_XMLVW "CXMLVWEB" |
XML filter.
Definition at line 40 of file iodetect.hxx.
enum ReaderWriterEnum |
Definition at line 71 of file iodetect.hxx.
SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportFODT | ( | SvStream & | rStream | ) |
Definition at line 1733 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 SAL_CALL TestPDFExportFODT | ( | SvStream & | rStream | ) |
Definition at line 1786 of file xmlimp.cxx.
References SvFileStream::Close(), utl::ConnectFrameControllerModel(), utl::TempFileNamed::EnableKillingFile(), comphelper::getProcessComponentContext(), comphelper::getProcessServiceFactory(), utl::TempFileNamed::GetURL(), comphelper::InitPropertySequence(), read_uInt8s_ToOString(), SvStream::Seek(), STREAM_SEEK_TO_BEGIN, xController, xModel, and xStream.
|
extern |
Definition at line 40 of file iodetect.cxx.
Referenced by SwReaderWriter::GetReader(), and SwReaderWriter::GetWriter().
|
inlineconstexpr |
StarBasic (identical to ANSI)
Definition at line 35 of file iodetect.hxx.
|
inlineconstexpr |
Definition at line 41 of file iodetect.hxx.
Referenced by IMPL_LINK(), and SwReader::Read().
|
inlineconstexpr |
|
inlineconstexpr |
text filter with default codeset
Definition at line 34 of file iodetect.hxx.
Referenced by SwIoSystem::GetFileFilter(), and SwEditShell::GetSelectedText().
|
inlineconstexpr |
text filter with encoding dialog
Definition at line 37 of file iodetect.hxx.
Referenced by SwDocShell::ConvertTo(), SwUnoCursorHelper::GetTextFromPam(), and SwDocShell::StartConvertFrom().
|
inlineconstexpr |
WinWord 97 filter.
Definition at line 36 of file iodetect.hxx.
Referenced by SwIoSystem::GetSubStorageName(), IMPL_LINK(), IMPL_LINK_NOARG(), SwIoSystem::IsValidStgFilter(), SwDocShell::SaveAs(), and SwWW8Writer::SwWW8Writer().
|
inlineconstexpr |
XML filter.
Definition at line 38 of file iodetect.hxx.
Referenced by SwDocShell::ConvertTo(), SwXMailMerge::execute(), SwIoSystem::GetSubStorageName(), IMPL_LINK_NOARG(), and SwDoc::SplitDoc().
|
inlineconstexpr |
Definition at line 42 of file iodetect.hxx.
|
inlineconstexpr |
Definition at line 33 of file iodetect.hxx.
Referenced by SwReader::Read().
|
inlineconstexpr |
Definition at line 46 of file iodetect.hxx.
Referenced by SwIoSystem::GetFileFilter(), and SwIoSystem::GetFilterOfFormat().
|
inlineconstexpr |
Definition at line 47 of file iodetect.hxx.
Referenced by SwIoSystem::GetFileFilter(), and SwIoSystem::GetFilterOfFormat().
|
inlineconstexpr |
Definition at line 43 of file iodetect.hxx.
|
inlineconstexpr |
Definition at line 44 of file iodetect.hxx.
Referenced by SwIoSystem::GetSubStorageName(), and SwIoSystem::IsValidStgFilter().