LibreOffice Module sw (master) 1
|
#include <ww8par.hxx>
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 () |
SwgReaderOption & | GetReaderOpt () |
virtual void | SetFltName (const OUString &rFltNm) |
SwDoc * | GetTemplateDoc (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< SvStream > | mDecodedStream |
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 | |
SvStream * | m_pStream |
tools::SvRef< SotStorage > | m_pStorage |
css::uno::Reference< css::embed::XStorage > | m_xStorage |
SfxMedium * | m_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 |
Definition at line 136 of file ww8par.hxx.
|
inline |
Definition at line 143 of file ww8par.hxx.
|
private |
Definition at line 6433 of file ww8par.cxx.
References aArguments, ERRCODE_IO_ACCESSDENIED, ERRCODE_IO_NOTEXISTS, ERRCODE_NONE, tools::SvRef< typename T >::get(), comphelper::SequenceAsHashMap::getAsConstNamedValueList(), SfxMedium::GetItemSet(), comphelper::getProcessComponentContext(), tools::SvRef< typename T >::is(), lcl_getListOfStreams(), Reader::m_pMedium, Reader::m_pStorage, mDecodedStream, SfxItemSet::Put(), and u.
Referenced by Read().
|
overridevirtual |
Reimplemented from StgReader.
Definition at line 6572 of file ww8par.cxx.
|
overridevirtual |
Reimplemented from Reader.
Definition at line 6577 of file ww8par.cxx.
|
private |
Definition at line 6383 of file ww8par.cxx.
References ERR_SWG_READ_ERROR, ERRCODE_NONE, tools::SvRef< typename T >::is(), and Reader::m_pStorage.
Referenced by Read(), and ReadGlossaries().
|
overrideprivatevirtual |
Implements Reader.
Definition at line 6493 of file ww8par.cxx.
References SwContentIndex::Assign(), tools::SvRef< typename T >::clear(), DecryptDRMPackage(), ERR_SWG_READ_ERROR, ERR_WW8_NO_WW8_FILE_ERR, ERRCODE_NONE, tools::SvRef< typename T >::get(), SwPaM::GetBound(), StgReader::GetFltName(), SwPaM::GetPoint(), tools::SvRef< typename T >::is(), Reader::m_bInsertMode, Reader::m_bSkipImages, Reader::m_pStorage, Reader::m_pStream, SwPosition::nContent, nVersion, OpenMainStream(), and SvStream::ResetError().
|
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().
|
private |
Definition at line 138 of file ww8par.hxx.
Referenced by DecryptDRMPackage().