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) override
 
- Public Member Functions inherited from ScEEAbsImport
virtual ~ScEEAbsImport ()
 

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 36 of file eeimport.hxx.

Constructor & Destructor Documentation

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

Definition at line 68 of file eeimpars.cxx.

Member Function Documentation

virtual ScRange ScEEImport::GetRange ( )
inlineoverridevirtual

Implements ScEEAbsImport.

Definition at line 56 of file eeimport.hxx.

References maRange.

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

bool ScEEImport::GraphicSize ( SCCOL  nCol,
SCROW  nRow,
ScEEParseEntry pE 
)
protected
void ScEEImport::InsertGraphic ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScEEParseEntry pE 
)
protected
ErrCode ScEEImport::Read ( SvStream rStream,
const OUString &  rBaseURL 
)
overridevirtual
void ScEEImport::WriteToDocument ( bool  bSizeColsRows = false,
double  nOutputFactor = 1.0,
SvNumberFormatter pFormatter = nullptr,
bool  bConvertDate = true 
)
overridevirtual

Implements ScEEAbsImport.

Reimplemented in ScHTMLImport.

Definition at line 111 of file eeimpars.cxx.

References ScEEParseEntry::aAltText, ScRange::aEnd, ScEEParseEntry::aItemSet, ScSetStringParam::Always, ScDocument::ApplyFlagsTab(), ScEEParseEntry::aSel, 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(), ScEEParseEntry::bEntirePara, 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::getCharClassPtr(), 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(), GetValue, GraphicSize(), ScDocument::HasAttrib(), ESelection::HasRange(), Hor, i, if(), ScRangeName::insert(), InsertGraphic(), SvNumberFormatter::IsNumberFormat(), SvxHtmlOptions::IsNumbersEnglishUS(), LANGUAGE_ENGLISH_US, LANGUAGE_NONE, LANGUAGE_SYSTEM, ScEEParseEntry::maImageList, maRange, maRowHeights, ScDocument::MaxRow(), ScSetStringParam::mbCheckLinkFormula, ScSetStringParam::mbDetectNumberFormat, ScSetStringParam::mbHandleApostrophe, ScSetStringParam::meSetTextNumFormat, mpDoc, mpEngine, ScSetStringParam::mpNumFormatter, mpParser, n, ScEEParseEntry::nCol, ScEEParseEntry::nColOverlap, ESelection::nEndPara, nId, nIndex, ScGlobal::nLastRowHeightExtra, nPPTX, nPPTY, ScEEParseEntry::nRow, ScEEParseEntry::nRowOverlap, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, ESelection::nStartPara, nType, Overlapped, pData, pE, ScEEParseEntry::pName, ScEEParseEntry::pNumStr, SfxItemSet::Put(), ScEEParseEntry::pValStr, 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(), ValidCol(), ScDocument::ValidCol(), ScDocument::ValidRow(), and Ver.

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

Member Data Documentation

ScRange ScEEImport::maRange
protected
RowHeightMap ScEEImport::maRowHeights
protected

Definition at line 45 of file eeimport.hxx.

Referenced by GraphicSize(), and WriteToDocument().

ScDocument* ScEEImport::mpDoc
protected
std::unique_ptr<ScTabEditEngine> ScEEImport::mpEngine
protected
std::unique_ptr<ScEEParser> ScEEImport::mpParser
protected

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