LibreOffice Module sw (master) 1
|
#include <shellio.hxx>
Public Member Functions | |
SwReader (SfxMedium &, OUString aFilename, SwDoc *pDoc=nullptr) | |
SwReader (SvStream &, OUString aFilename, const OUString &rBaseURL, SwPaM &) | |
SwReader (SfxMedium &, OUString aFilename, SwPaM &) | |
SwReader (css::uno::Reference< css::embed::XStorage >, OUString aFilename, SwPaM &) | |
ErrCode | Read (const Reader &) |
bool | HasGlossaries (const Reader &) |
bool | ReadGlossaries (const Reader &, SwTextBlocks &, bool bSaveRelFiles) |
Public Member Functions inherited from SwDocFac | |
SwDocFac (SwDoc *pDoc=nullptr) | |
~SwDocFac () COVERITY_NOEXCEPT_FALSE | |
SwDoc & | GetDoc () |
Document is created after calling Read(...). More... | |
Protected Member Functions | |
void | SetBaseURL (const OUString &rURL) |
void | SetSkipImages (bool bSkipImages) |
Private Attributes | |
SvStream * | mpStrm |
tools::SvRef< SotStorage > | mpStg |
css::uno::Reference< css::embed::XStorage > | mxStg |
SfxMedium * | mpMedium |
SwPaM * | mpCursor |
OUString | maFileName |
OUString | msBaseURL |
bool | mbSkipImages |
Additional Inherited Members | |
Protected Attributes inherited from SwDocFac | |
rtl::Reference< SwDoc > | mxDoc |
Definition at line 146 of file shellio.hxx.
Definition at line 412 of file shellio.cxx.
References SfxMedium::GetBaseURL(), SfxMedium::IsSkipImages(), SetBaseURL(), and SetSkipImages().
SwReader::SwReader | ( | SvStream & | rStrm, |
OUString | aFilename, | ||
const OUString & | rBaseURL, | ||
SwPaM & | rPam | ||
) |
Definition at line 422 of file shellio.cxx.
References rStrm, and SetBaseURL().
Definition at line 429 of file shellio.cxx.
References SfxMedium::GetBaseURL(), and SetBaseURL().
SwReader::SwReader | ( | css::uno::Reference< css::embed::XStorage > | , |
OUString | aFilename, | ||
SwPaM & | |||
) |
References Read.
bool SwReader::HasGlossaries | ( | const Reader & | rOptions | ) |
Definition at line 650 of file shellio.cxx.
References Reader::HasGlossaries(), Reader::m_bInsertMode, Reader::m_pMedium, Reader::m_pStorage, Reader::m_pStream, mpMedium, mpStg, mpStrm, and Reader::SetStrmStgPtr().
Referenced by SwGlossaryHdl::ImportGlossaries().
Definition at line 91 of file shellio.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), SwVectorModifyBase< Value >::clear(), SwFrameFormat::DelFrames(), SwVectorModifyBase< Value >::end(), ERR_SWG_FILE_FORMAT_ERROR, ERRCODE_NONE, FILTER_DOCX, FILTER_RTF, SwNode::FindFooterStartNode(), SwNode::FindHeaderStartNode(), SwNode::FindTableBoxStartNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwDocFac::GetDoc(), SfxMedium::GetFilter(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwNode::GetTableBox(), SwNodes::GoPrevious(), HTML_MODE, Ignore, INSDOKUMENT, SwVectorModifyBase< Value >::insert(), SwVectorModifyBase< Value >::IsAlive(), SwNode::IsContentNode(), SwUndoInserts::IsCreateUndoForNewFly(), ErrCode::IsError(), SwgReaderOption::IsFormatsOnly(), SwgReaderOption::IsPageDescs(), SwContentNode::Len(), Reader::m_aOption, Reader::m_bInsertMode, Reader::m_bSkipImages, Reader::m_pMedium, Reader::m_pStorage, Reader::m_pStream, Reader::m_xStorage, maFileName, SwFrameFormat::MakeFrames(), mbSkipImages, mpCursor, mpMedium, mpStg, mpStrm, msBaseURL, SwDocFac::mxDoc, mxStg, Reader::mxTemplate, n, Reader::Read(), ReadHTML, RES_DRAWFRMFMT(), SvStream::ResetError(), SvStream::Seek(), Reader::SetBlockMode(), Reader::SetIgnoreHTMLComments(), Reader::SetOrganizerMode(), Reader::SetReadUTF8(), Reader::SetStrmStgPtr(), Reader::SetTemplate(), size, sRtfWH, sw_MergePortions(), and SwFormat::Which().
Referenced by SwXMLTextBlocks::GetDoc(), Reader::GetTemplateDoc(), SwDocShell::Load(), SwDocShell::LoadFrom(), SwTransferable::PasteFileContent(), and SwTransferable::PasteOLE().
bool SwReader::ReadGlossaries | ( | const Reader & | rOptions, |
SwTextBlocks & | rBlocks, | ||
bool | bSaveRelFiles | ||
) |
Definition at line 665 of file shellio.cxx.
References Reader::m_bInsertMode, Reader::m_pMedium, Reader::m_pStorage, Reader::m_pStream, mpMedium, mpStg, mpStrm, Reader::ReadGlossaries(), and Reader::SetStrmStgPtr().
Referenced by SwGlossaryHdl::ImportGlossaries().
|
inlineprotected |
Definition at line 179 of file shellio.hxx.
Referenced by SwReader().
|
inlineprotected |
Definition at line 180 of file shellio.hxx.
Referenced by SwReader().
|
private |
Definition at line 154 of file shellio.hxx.
Referenced by Read().
|
private |
Definition at line 156 of file shellio.hxx.
Referenced by Read().
|
private |
Definition at line 153 of file shellio.hxx.
Referenced by Read().
|
private |
Definition at line 151 of file shellio.hxx.
Referenced by HasGlossaries(), Read(), and ReadGlossaries().
|
private |
Definition at line 149 of file shellio.hxx.
Referenced by HasGlossaries(), Read(), and ReadGlossaries().
|
private |
Definition at line 148 of file shellio.hxx.
Referenced by HasGlossaries(), Read(), and ReadGlossaries().
|
private |
Definition at line 155 of file shellio.hxx.
Referenced by Read().
|
private |
Definition at line 150 of file shellio.hxx.
Referenced by Read().