LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ScEEImport Class Reference

#include <eeimport.hxx>

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

Public Member Functions

 ScEEImport (ScDocument *pDoc, const ScRange &rRange)
 
virtual ~ScEEImport () override
 
virtual ErrCode Read (SvStream &rStream, const OUString &rBaseURL) override
 
virtual ScRange GetRange () override
 
virtual void WriteToDocument (bool bSizeColsRows=false, double nOutputFactor=1.0, SvNumberFormatter *pFormatter=nullptr, bool bConvertDate=true, bool bConvertScientific=true) override
 
- Public Member Functions inherited from ScEEAbsImport
virtual ~ScEEAbsImport ()
 
virtual ErrCode Read (SvStream &rStream, const OUString &rBaseURL)=0
 
virtual ScRange GetRange ()=0
 
virtual void WriteToDocument (bool bSizeColsRows=false, double nOutputFactor=1.0, SvNumberFormatter *pFormatter=nullptr, bool bConvertDate=true, bool bConvertScientific=true)=0
 

Protected Member Functions

bool GraphicSize (SCCOL nCol, SCROW nRow, ScEEParseEntry *)
 
void InsertGraphic (SCCOL nCol, SCROW nRow, SCTAB nTab, ScEEParseEntry *)
 

Protected Attributes

ScRange maRange
 
ScDocumentmpDoc
 
std::unique_ptr< ScTabEditEnginempEngine
 
std::unique_ptr< ScEEParsermpParser
 
RowHeightMap maRowHeights
 

Detailed Description

Definition at line 35 of file eeimport.hxx.

Constructor & Destructor Documentation

◆ ScEEImport()

ScEEImport::ScEEImport ( ScDocument pDoc,
const ScRange rRange 
)

◆ ~ScEEImport()

ScEEImport::~ScEEImport ( )
overridevirtual

Definition at line 72 of file eeimpars.cxx.

Member Function Documentation

◆ GetRange()

virtual ScRange ScEEImport::GetRange ( )
inlineoverridevirtual

Implements ScEEAbsImport.

Definition at line 55 of file eeimport.hxx.

References maRange.

Referenced by ScFormatFilterPluginImpl::ScImportHTML(), and ScFormatFilterPluginImpl::ScImportRTF().

◆ GraphicSize()

bool ScEEImport::GraphicSize ( SCCOL  nCol,
SCROW  nRow,
ScEEParseEntry pE 
)
protected

◆ InsertGraphic()

void ScEEImport::InsertGraphic ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScEEParseEntry pE 
)
protected

◆ Read()

ErrCode ScEEImport::Read ( SvStream rStream,
const OUString &  rBaseURL 
)
overridevirtual

◆ WriteToDocument()

void ScEEImport::WriteToDocument ( bool  bSizeColsRows = false,
double  nOutputFactor = 1.0,
SvNumberFormatter pFormatter = nullptr,
bool  bConvertDate = true,
bool  bConvertScientific = true 
)
overridevirtual

Implements ScEEAbsImport.

Reimplemented in ScHTMLImport.

Definition at line 115 of file eeimpars.cxx.

References ScRange::aEnd, ScSetStringParam::Always, ScDocument::ApplyFlagsTab(), ScRange::aStart, aStr, ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_FONT(), ATTR_FONT_COLOR(), ATTR_FONT_HEIGHT(), ATTR_FONT_POSTURE(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ATTR_HOR_JUSTIFY(), ATTR_LANGUAGE_FORMAT(), ATTR_LINEBREAK(), ATTR_SHADOW(), ATTR_VALUE_FORMAT(), ATTR_VER_JUSTIFY(), SvNumberFormatter::ChangeIntl(), SfxItemSet::ClearItem(), SfxPoolItem::CloneSetWhich(), ScAddress::Col(), SfxItemSet::Count(), EE_CHAR_END(), EE_CHAR_ESCAPEMENT(), EE_CHAR_START(), EE_FEATURE_FIELD(), EE_PARA_JUST(), ScRangeName::findByUpperName(), SfxItemSet::Get(), ScGlobal::getCharClass(), ScDocument::GetDocumentShell(), SvNumberFormatter::GetFormatForLanguageIfBuiltIn(), ScDocument::GetFormatTable(), SvNumberFormatter::GetInputLineString(), SfxItemSet::GetItemState(), SvNumberFormatter::GetLanguage(), ScDocument::GetPattern(), ScDocument::GetPool(), ScDocument::GetRangeName(), ScDocument::GetRowHeight(), ScGlobal::GetScriptedWhichID(), SvNumberFormatter::GetStandardIndex(), ScDocument::GetStringScriptType(), ScPatternAttr::GetStyleSheet(), SfxHTMLParser::GetTableDataOptionsValNum(), SvNumberFormatter::GetType(), GraphicSize(), ScDocument::HasAttrib(), Hor, i, ScRangeName::insert(), InsertGraphic(), utl::ConfigManager::IsFuzzing(), SvNumberFormatter::IsNumberFormat(), LANGUAGE_ENGLISH_US, LANGUAGE_NONE, LANGUAGE_SYSTEM, maRange, maRowHeights, ScDocument::MaxRow(), ScSetStringParam::mbCheckLinkFormula, ScSetStringParam::mbDetectNumberFormat, ScSetStringParam::mbDetectScientificNumberFormat, ScSetStringParam::mbHandleApostrophe, ScSetStringParam::meSetTextNumFormat, mpDoc, mpEngine, ScSetStringParam::mpNumFormatter, mpParser, n, nId, nIndex, ScGlobal::nLastRowHeightExtra, nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, nType, Overlapped, pData, pE, SfxItemSet::Put(), ScAddress::Row(), ScResId(), SCROW_MAX, ScDocument::SetColWidth(), ScDocument::SetEditText(), sc::RowHeightContext::setExtraHeight(), ScDocument::SetOptimalHeight(), ScDocument::SetPattern(), ScDocument::SetRowHeight(), ScDocument::SetString(), ScDocument::SetValue(), ScSetStringParam::SpecialNumberOnly, comphelper::string::strip(), ScAddress::Tab(), CharClass::uppercase(), ScDocument::ValidCol(), ValidCol(), ScDocument::ValidRow(), and Ver.

Referenced by ScFormatFilterPluginImpl::ScImportRTF(), and ScHTMLImport::WriteToDocument().

Member Data Documentation

◆ maRange

ScRange ScEEImport::maRange
protected

◆ maRowHeights

RowHeightMap ScEEImport::maRowHeights
protected

Definition at line 44 of file eeimport.hxx.

Referenced by GraphicSize(), and WriteToDocument().

◆ mpDoc

ScDocument* ScEEImport::mpDoc
protected

◆ mpEngine

std::unique_ptr<ScTabEditEngine> ScEEImport::mpEngine
protected

◆ mpParser

std::unique_ptr<ScEEParser> ScEEImport::mpParser
protected

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