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

#include <shellio.hxx>

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

Public Member Functions

 SwReader (SfxMedium &, const OUString &rFilename, SwDoc *pDoc=nullptr)
 
 SwReader (SvStream &, const OUString &rFilename, const OUString &rBaseURL, SwPaM &)
 
 SwReader (SfxMedium &, const OUString &rFilename, SwPaM &)
 
 SwReader (const css::uno::Reference< css::embed::XStorage > &, const OUString &rFilename, 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
 
SwDocGetDoc ()
 Document is created after calling Read(...). More...
 

Protected Member Functions

void SetBaseURL (const OUString &rURL)
 
void SetSkipImages (bool bSkipImages)
 

Private Attributes

SvStreampStrm
 
tools::SvRef< SotStorage > const pStg
 
css::uno::Reference< css::embed::XStorage > xStg
 
SfxMedium *const pMedium
 
SwPaM *const pCursor
 
OUString const aFileName
 
OUString sBaseURL
 
bool mbSkipImages
 

Additional Inherited Members

- Protected Attributes inherited from SwDocFac
rtl::Reference< SwDocmxDoc
 

Detailed Description

Definition at line 142 of file shellio.hxx.

Constructor & Destructor Documentation

SwReader::SwReader ( SfxMedium rMedium,
const OUString &  rFilename,
SwDoc pDoc = nullptr 
)
SwReader::SwReader ( SvStream rStrm,
const OUString &  rFilename,
const OUString &  rBaseURL,
SwPaM rPam 
)

Definition at line 426 of file shellio.cxx.

References SetBaseURL().

SwReader::SwReader ( SfxMedium rMedium,
const OUString &  rFilename,
SwPaM rPam 
)

Definition at line 433 of file shellio.cxx.

References SfxMedium::GetBaseURL(), and SetBaseURL().

SwReader::SwReader ( const css::uno::Reference< css::embed::XStorage > &  ,
const OUString &  rFilename,
SwPaM  
)

Member Function Documentation

bool SwReader::HasGlossaries ( const Reader rOptions)
ErrCode SwReader::Read ( const Reader rOptions)

Definition at line 76 of file shellio.cxx.

References aFileName, SwIndex::Assign(), SwVectorModifyBase< Value >::clear(), SwFrameFormat::DelFrames(), ERR_SWG_FILE_FORMAT_ERROR, ERRCODE_NONE, SwNode::FindFooterStartNode(), SwNode::FindHeaderStartNode(), SwNode::FindTableBoxStartNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), SwPaM::GetContentNode(), SwDocFac::GetDoc(), SwIndex::GetIndex(), SwPaM::GetNext(), SwPaM::GetPoint(), SwNode::GetTableBox(), SwNodes::GoPrevious(), SwModify::HasWriterListeners(), HTML_MODE, Ignore, INSDOKUMENT, Insert, SwVectorModifyBase< Value >::IsAlive(), SwNode::IsContentNode(), IsDestroyFrameAnchoredAtChar(), 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, SwFrameFormat::MakeFrames(), mbSkipImages, SwDocFac::mxDoc, Reader::mxTemplate, SwPosition::nContent, SwPosition::nNode, pCursor, pMedium, pStg, pStrm, Reader::Read(), ReadHTML, RES_DRAWFRMFMT, SvStream::ResetError(), sBaseURL, SvStream::Seek(), Reader::SetBlockMode(), Reader::SetIgnoreHTMLComments(), Reader::SetOrganizerMode(), Reader::SetReadUTF8(), Reader::SetStrmStgPtr(), Reader::SetTemplate(), sw_MergePortions(), SwFormat::Which(), and xStg.

Referenced by Reader::GetTemplateDoc(), SwTransferable::PasteOLE(), and SwDocShell::ReloadFromHtml().

bool SwReader::ReadGlossaries ( const Reader rOptions,
SwTextBlocks rBlocks,
bool  bSaveRelFiles 
)
void SwReader::SetBaseURL ( const OUString &  rURL)
inlineprotected

Definition at line 175 of file shellio.hxx.

Referenced by SwReader().

void SwReader::SetSkipImages ( bool  bSkipImages)
inlineprotected

Definition at line 176 of file shellio.hxx.

Referenced by SwReader().

Member Data Documentation

OUString const SwReader::aFileName
private

Definition at line 150 of file shellio.hxx.

Referenced by Read().

bool SwReader::mbSkipImages
private

Definition at line 152 of file shellio.hxx.

Referenced by Read().

SwPaM* const SwReader::pCursor
private

Definition at line 149 of file shellio.hxx.

Referenced by Read().

SfxMedium* const SwReader::pMedium
private

Definition at line 147 of file shellio.hxx.

Referenced by HasGlossaries(), Read(), and ReadGlossaries().

tools::SvRef<SotStorage> const SwReader::pStg
private

Definition at line 145 of file shellio.hxx.

Referenced by HasGlossaries(), Read(), and ReadGlossaries().

SvStream* SwReader::pStrm
private

Definition at line 144 of file shellio.hxx.

Referenced by HasGlossaries(), Read(), and ReadGlossaries().

OUString SwReader::sBaseURL
private

Definition at line 151 of file shellio.hxx.

Referenced by Read().

css::uno::Reference< css::embed::XStorage > SwReader::xStg
private

Definition at line 146 of file shellio.hxx.

Referenced by Read().


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