LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
iodetect.hxx File Reference
#include <memory>
#include <rtl/ustring.hxx>
#include <tools/lineend.hxx>
#include <tools/solar.h>
#include "swdllapi.h"
Include dependency graph for iodetect.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  com::sun::star::uno::Reference< class >
 
struct  SwIoDetect
 
class  SwIoSystem
 The following class is a wrapper for basic i/o functions of Writer 3.0. More...
 

Namespaces

 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::embed
 
 com::sun::star::uno
 

Macros

#define FILTER_RTF   "RTF"
 RTF filter. More...
 
#define sRtfWH   "WH_RTF"
 
#define FILTER_TEXT   "TEXT"
 text filter with default codeset More...
 
#define FILTER_BAS   "BAS"
 StarBasic (identical to ANSI) More...
 
#define FILTER_WW8   "CWW8"
 WinWord 97 filter. More...
 
#define FILTER_TEXT_DLG   "TEXT_DLG"
 text filter with encoding dialog More...
 
#define FILTER_XML   "CXML"
 XML filter. More...
 
#define FILTER_XMLV   "CXMLV"
 XML filter. More...
 
#define FILTER_XMLVW   "CXMLVWEB"
 XML filter. More...
 
#define FILTER_DOCX   "OXML"
 
#define sHTML   "HTML"
 
#define sWW5   "WW6"
 
#define sWW6   "CWW6"
 
#define sSWRITER   "swriter"
 
#define sSWRITERWEB   "swriter/web"
 

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)
 

Variables

SwIoDetect aFilterDetect []
 

Macro Definition Documentation

#define FILTER_BAS   "BAS"

StarBasic (identical to ANSI)

Definition at line 32 of file iodetect.hxx.

#define FILTER_DOCX   "OXML"

Definition at line 38 of file iodetect.hxx.

Referenced by IMPL_LINK().

#define FILTER_RTF   "RTF"

RTF filter.

Definition at line 29 of file iodetect.hxx.

#define FILTER_TEXT   "TEXT"

text filter with default codeset

Definition at line 31 of file iodetect.hxx.

Referenced by SwIoSystem::GetFileFilter(), and SwEditShell::GetSelectedText().

#define FILTER_TEXT_DLG   "TEXT_DLG"

text filter with encoding dialog

Definition at line 34 of file iodetect.hxx.

Referenced by SwDocShell::ConvertTo(), SwUnoCursorHelper::GetTextFromPam(), and SwDocShell::StartConvertFrom().

#define FILTER_WW8   "CWW8"
#define FILTER_XML   "CXML"
#define FILTER_XMLV   "CXMLV"

XML filter.

Definition at line 36 of file iodetect.hxx.

Referenced by SwDocShell::ConvertTo(), and SwIoSystem::GetSubStorageName().

#define FILTER_XMLVW   "CXMLVWEB"

XML filter.

Definition at line 37 of file iodetect.hxx.

Referenced by SwDocShell::ConvertTo(), and SwIoSystem::GetSubStorageName().

#define sHTML   "HTML"

Definition at line 39 of file iodetect.hxx.

#define sRtfWH   "WH_RTF"

Definition at line 30 of file iodetect.hxx.

#define sSWRITER   "swriter"

Definition at line 43 of file iodetect.hxx.

Referenced by SwIoSystem::GetFileFilter(), and SwIoSystem::GetFilterOfFormat().

#define sSWRITERWEB   "swriter/web"

Definition at line 44 of file iodetect.hxx.

Referenced by SwIoSystem::GetFileFilter(), and SwIoSystem::GetFilterOfFormat().

#define sWW5   "WW6"

Definition at line 40 of file iodetect.hxx.

#define sWW6   "CWW6"

Definition at line 41 of file iodetect.hxx.

Referenced by SwIoSystem::GetSubStorageName(), and SwIoSystem::IsValidStgFilter().

Enumeration Type Documentation

Enumerator
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 

Definition at line 68 of file iodetect.hxx.

Function Documentation

SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportFODT ( SvStream rStream)

Variable Documentation

SwIoDetect aFilterDetect[]

Definition at line 40 of file iodetect.cxx.

Referenced by SwReaderWriter::GetReader(), and SwReaderWriter::GetWriter().