LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
SwDOCXReader Class Reference

Wrapper for the UNO DOCX import filter (in writerfilter) for autotext purposes. More...

#include <swdocxreader.hxx>

Inheritance diagram for SwDOCXReader:
[legend]
Collaboration diagram for SwDOCXReader:
[legend]

Public Member Functions

virtual SwReaderType GetReaderType () override
 
virtual bool HasGlossaries () const override
 
virtual bool ReadGlossaries (SwTextBlocks &rBlocks, bool bSaveRelFiles) const override
 
- Public Member Functions inherited from StgReader
virtual SwReaderType GetReaderType () override
 
const OUString & GetFltName () const
 
virtual void SetFltName (const OUString &r) override
 
- Public Member Functions inherited from Reader
 Reader ()
 
virtual ~Reader ()
 
virtual SwReaderType GetReaderType ()
 
SwgReaderOptionGetReaderOpt ()
 
virtual void SetFltName (const OUString &rFltNm)
 
SwDocGetTemplateDoc (SwDoc &rDoc)
 
bool SetTemplate (SwDoc &rDoc)
 
void ClearTemplate ()
 
void SetTemplateName (const OUString &rDir)
 
void MakeHTMLDummyTemplateDoc ()
 
bool IsReadUTF8 () const
 
void SetReadUTF8 (bool bSet)
 
bool IsBlockMode () const
 
void SetBlockMode (bool bSet)
 
bool IsOrganizerMode () const
 
void SetOrganizerMode (bool bSet)
 
void SetIgnoreHTMLComments (bool bSet)
 
virtual bool HasGlossaries () const
 
virtual bool ReadGlossaries (SwTextBlocks &, bool bSaveRelFiles) const
 
virtual size_t GetSectionList (SfxMedium &rMedium, std::vector< OUString > &rStrings) const
 
const tools::SvRef< SotStorage > & getSotStorageRef () const
 
void setSotStorageRef (const tools::SvRef< SotStorage > &pStgRef)
 

Private Member Functions

virtual ErrCode Read (SwDoc &, const OUString &, SwPaM &, const OUString &) override
 

Static Private Member Functions

static bool MakeEntries (SwDoc *pD, SwTextBlocks &rBlocks)
 

Additional Inherited Members

- Static Public Member Functions inherited from Reader
static void ResetFrameFormatAttrs (SfxItemSet &rFrameSet)
 
static void ResetFrameFormats (SwDoc &rDoc)
 
- Protected Member Functions inherited from Reader
virtual OUString GetTemplateName (SwDoc &rDoc) const
 
- Protected Attributes inherited from Reader
SvStreamm_pStream
 
tools::SvRef< SotStoragem_pStorage
 
css::uno::Reference< css::embed::XStorage > m_xStorage
 
SfxMediumm_pMedium
 
SwgReaderOption m_aOption
 
bool m_bInsertMode: 1
 
bool m_bTemplateBrowseMode: 1
 
bool m_bReadUTF8: 1
 
bool m_bBlockMode: 1
 
bool m_bOrganizerMode: 1
 
bool m_bHasAskTemplateName: 1
 
bool m_bIgnoreHTMLComments: 1
 
bool m_bSkipImages: 1
 

Detailed Description

Wrapper for the UNO DOCX import filter (in writerfilter) for autotext purposes.

Definition at line 26 of file swdocxreader.hxx.

Member Function Documentation

◆ GetReaderType()

SwReaderType SwDOCXReader::GetReaderType ( )
overridevirtual

Reimplemented from StgReader.

Definition at line 98 of file swdocxreader.cxx.

References Storage, and Stream.

◆ HasGlossaries()

bool SwDOCXReader::HasGlossaries ( ) const
overridevirtual

Reimplemented from Reader.

Definition at line 103 of file swdocxreader.cxx.

◆ MakeEntries()

bool SwDOCXReader::MakeEntries ( SwDoc pD,
SwTextBlocks rBlocks 
)
staticprivate

◆ Read()

ErrCode SwDOCXReader::Read ( SwDoc rDoc,
const OUString &  ,
SwPaM rPam,
const OUString &   
)
overrideprivatevirtual

◆ ReadGlossaries()

bool SwDOCXReader::ReadGlossaries ( SwTextBlocks rBlocks,
bool  bSaveRelFiles 
) const
overridevirtual

The documentation for this class was generated from the following files: