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

#include <ww8par.hxx>

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

Public Member Functions

 WW8Reader ()
 
virtual SwReaderType GetReaderType () override
 
virtual bool HasGlossaries () const override
 
virtual bool ReadGlossaries (SwTextBlocks &, 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 &rBaseURL, SwPaM &, const OUString &) override
 
ErrCode OpenMainStream (tools::SvRef< SotStorageStream > &rRef, sal_uInt16 &rBuffSize)
 
ErrCode DecryptDRMPackage ()
 

Private Attributes

std::shared_ptr< SvStreammDecodedStream
 

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

Definition at line 136 of file ww8par.hxx.

Constructor & Destructor Documentation

◆ WW8Reader()

WW8Reader::WW8Reader ( )
inline

Definition at line 143 of file ww8par.hxx.

Member Function Documentation

◆ DecryptDRMPackage()

ErrCode WW8Reader::DecryptDRMPackage ( )
private

◆ GetReaderType()

SwReaderType WW8Reader::GetReaderType ( )
overridevirtual

Reimplemented from StgReader.

Definition at line 6572 of file ww8par.cxx.

References Storage, and Stream.

◆ HasGlossaries()

bool WW8Reader::HasGlossaries ( ) const
overridevirtual

Reimplemented from Reader.

Definition at line 6577 of file ww8par.cxx.

◆ OpenMainStream()

ErrCode WW8Reader::OpenMainStream ( tools::SvRef< SotStorageStream > &  rRef,
sal_uInt16 &  rBuffSize 
)
private

◆ Read()

ErrCode WW8Reader::Read ( SwDoc rDoc,
const OUString &  rBaseURL,
SwPaM rPaM,
const OUString &   
)
overrideprivatevirtual

◆ ReadGlossaries()

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

Reimplemented from Reader.

Definition at line 6582 of file ww8par.cxx.

References tools::SvRef< typename T >::get(), WW8Glossary::Load(), Reader::m_pStorage, and OpenMainStream().

Member Data Documentation

◆ mDecodedStream

std::shared_ptr<SvStream> WW8Reader::mDecodedStream
private

Definition at line 138 of file ww8par.hxx.

Referenced by DecryptDRMPackage().


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