LibreOffice Module sc (master) 1
|
#include <eeimport.hxx>
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 |
ScDocument * | mpDoc |
std::unique_ptr< ScTabEditEngine > | mpEngine |
std::unique_ptr< ScEEParser > | mpParser |
RowHeightMap | maRowHeights |
Definition at line 35 of file eeimport.hxx.
ScEEImport::ScEEImport | ( | ScDocument * | pDoc, |
const ScRange & | rRange | ||
) |
Definition at line 61 of file eeimpars.cxx.
References ScRange::aStart, ScAddress::Col(), ScDocument::GetEditPool(), ScDocument::GetPattern(), maRange, maRange, mpDoc, mpEngine, ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
Definition at line 72 of file eeimpars.cxx.
|
inlineoverridevirtual |
Implements ScEEAbsImport.
Definition at line 55 of file eeimport.hxx.
References maRange.
Referenced by ScFormatFilterPluginImpl::ScImportHTML(), and ScFormatFilterPluginImpl::ScImportRTF().
|
protected |
Definition at line 488 of file eeimpars.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), ScHTMLImage::aSize, ScHTMLImage::aSpace, Application::GetDefaultDevice(), Size::Height(), maRowHeights, mpParser, ScHTMLImage::nDir, nHorizontal, nVertical, ScHTMLImage::oGraphic, pE, OutputDevice::PixelToLogic(), Size::Width(), Point::X(), and Point::Y().
Referenced by WriteToDocument().
|
protected |
Definition at line 557 of file eeimpars.cxx.
References Point::AdjustX(), Point::AdjustY(), ScHTMLImage::aSize, ScHTMLImage::aSpace, ScHTMLImage::aURL, o3tl::convert(), ScDocument::GetColOffset(), Application::GetDefaultDevice(), ScDocument::GetDrawLayer(), SdrModel::GetPage(), ScDocument::GetRowOffset(), SdrPage::GetSize(), Size::Height(), ScDocument::InitDrawLayer(), SdrObjList::InsertObject(), o3tl::mm100, mpDoc, ScHTMLImage::nDir, nHorizontal, ScHTMLImage::oGraphic, pE, OutputDevice::PixelToLogic(), ScLimitSizeOnDrawPage(), Point::setX(), Point::setY(), o3tl::twip, Size::Width(), Point::X(), and Point::Y().
Referenced by WriteToDocument().
Implements ScEEAbsImport.
Definition at line 78 of file eeimpars.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), maRange, ScDocument::MaxCol(), ScDocument::MaxRow(), mpDoc, mpParser, ScAddress::Row(), ScAddress::Set(), and ScAddress::Tab().
Referenced by ScFormatFilterPluginImpl::ScImportHTML(), and ScFormatFilterPluginImpl::ScImportRTF().
|
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().
|
protected |
Definition at line 38 of file eeimport.hxx.
Referenced by GetRange(), Read(), ScEEImport(), WriteToDocument(), and ScHTMLImport::WriteToDocument().
|
protected |
Definition at line 44 of file eeimport.hxx.
Referenced by GraphicSize(), and WriteToDocument().
|
protected |
Definition at line 39 of file eeimport.hxx.
Referenced by InsertGraphic(), Read(), ScEEImport(), ScHTMLImport::ScHTMLImport(), WriteToDocument(), and ScHTMLImport::WriteToDocument().
|
protected |
Definition at line 41 of file eeimport.hxx.
Referenced by ScEEImport(), ScHTMLImport::ScHTMLImport(), ScRTFImport::ScRTFImport(), and WriteToDocument().
|
protected |
Definition at line 43 of file eeimport.hxx.
Referenced by GraphicSize(), Read(), ScHTMLImport::ScHTMLImport(), ScRTFImport::ScRTFImport(), WriteToDocument(), and ScHTMLImport::WriteToDocument().