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

SvStreammpStrm
 
tools::SvRef< SotStoragempStg
 
css::uno::Reference< css::embed::XStorage > mxStg
 
SfxMediummpMedium
 
SwPaMmpCursor
 
OUString maFileName
 
OUString msBaseURL
 
bool mbSkipImages
 

Additional Inherited Members

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

Detailed Description

Definition at line 150 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 413 of file shellio.cxx.

References SetBaseURL().

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

Definition at line 420 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 77 of file shellio.cxx.

References SwIndex::Assign(), SwVectorModifyBase< Value >::clear(), SwFrameFormat::DelFrames(), ERR_SWG_FILE_FORMAT_ERROR, ERRCODE_NONE, FILTER_DOCX, FILTER_RTF, SwNode::FindFooterStartNode(), SwNode::FindHeaderStartNode(), SwNode::FindTableBoxStartNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), SwPaM::GetContentNode(), SwDocFac::GetDoc(), SfxMedium::GetFilter(), SwIndex::GetIndex(), SwPaM::GetNext(), SwPaM::GetPoint(), SwNode::GetTableBox(), SwNodes::GoPrevious(), SwModify::HasWriterListeners(), HTML_MODE, Ignore, INSDOKUMENT, 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, SwPosition::nContent, SwPosition::nNode, Reader::Read(), ReadHTML, RES_DRAWFRMFMT(), SvStream::ResetError(), SvStream::Seek(), Reader::SetBlockMode(), Reader::SetIgnoreHTMLComments(), Reader::SetOrganizerMode(), Reader::SetReadUTF8(), Reader::SetStrmStgPtr(), Reader::SetTemplate(), sRtfWH, sw_MergePortions(), and SwFormat::Which().

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

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

Definition at line 183 of file shellio.hxx.

Referenced by SwReader().

void SwReader::SetSkipImages ( bool  bSkipImages)
inlineprotected

Definition at line 184 of file shellio.hxx.

Referenced by SwReader().

Member Data Documentation

OUString SwReader::maFileName
private

Definition at line 158 of file shellio.hxx.

Referenced by Read().

bool SwReader::mbSkipImages
private

Definition at line 160 of file shellio.hxx.

Referenced by Read().

SwPaM* SwReader::mpCursor
private

Definition at line 157 of file shellio.hxx.

Referenced by Read().

SfxMedium* SwReader::mpMedium
private

Definition at line 155 of file shellio.hxx.

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

tools::SvRef<SotStorage> SwReader::mpStg
private

Definition at line 153 of file shellio.hxx.

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

SvStream* SwReader::mpStrm
private

Definition at line 152 of file shellio.hxx.

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

OUString SwReader::msBaseURL
private

Definition at line 159 of file shellio.hxx.

Referenced by Read().

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

Definition at line 154 of file shellio.hxx.

Referenced by Read().


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