LibreOffice Module sw (master) 1
|
#include <fltini.hxx>
Public Member Functions | |
HTMLReader () | |
virtual ErrCode | Read (SwDoc &, const OUString &rBaseURL, SwPaM &, const OUString &) 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 bool | SetStrmStgPtr () override |
virtual OUString | GetTemplateName (SwDoc &rDoc) const override |
void | SetupFilterOptions () |
Parse FilterOptions passed to the importer. More... | |
Private Attributes | |
OUString | m_aNamespace |
Additional Inherited Members | |
Static Public Member Functions inherited from Reader | |
static void | ResetFrameFormatAttrs (SfxItemSet &rFrameSet) |
static void | ResetFrameFormats (SwDoc &rDoc) |
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 32 of file fltini.hxx.
HTMLReader::HTMLReader | ( | ) |
Definition at line 161 of file swhtml.cxx.
References Reader::m_bTemplateBrowseMode.
|
overrideprivatevirtual |
Reimplemented from Reader.
Definition at line 166 of file swhtml.cxx.
References IDocumentSettingAccess::get(), SwDoc::getIDocumentSettingAccess(), HTML_MODE, SvtPathOptions::SearchFile(), SvtPathOptions::Template, and u.
|
overridevirtual |
Implements Reader.
Definition at line 206 of file swhtml.cxx.
References ERR_FORMAT_ROWCOL, ERR_SWG_READ_ERROR, ERRCODE_NONE, IDocumentSettingAccess::get(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentSettingAccess(), SwDoc::getIDocumentStylePoolAccess(), IDocumentStylePoolAccess::GetPageDescFromPool(), HTML_MODE, IDocumentContentOperations::InsertPoolItem(), Reader::IsReadUTF8(), m_aNamespace, Reader::m_bIgnoreHTMLComments, Reader::m_bInsertMode, Reader::m_pMedium, Reader::m_pStream, RES_POOLPAGE_HTML, SvStream::ResetError(), Reader::ResetFrameFormats(), and SetupFilterOptions().
|
overrideprivatevirtual |
Reimplemented from Reader.
Definition at line 192 of file swhtml.cxx.
References SfxMedium::GetInStream(), SfxMedium::IsRemote(), SfxMedium::IsStorage(), Reader::m_pMedium, and Reader::m_pStream.
|
private |
Parse FilterOptions passed to the importer.
Definition at line 5591 of file swhtml.cxx.
References SfxItemSet::GetItem(), SfxMedium::GetItemSet(), m_aNamespace, Reader::m_pMedium, and u.
Referenced by Read().
|
private |
Definition at line 41 of file fltini.hxx.
Referenced by Read(), and SetupFilterOptions().