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) override |
![]() | |
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 |
ScDocument * | mpDoc |
std::unique_ptr< ScTabEditEngine > | mpEngine |
std::unique_ptr< ScEEParser > | mpParser |
RowHeightMap | maRowHeights |
Definition at line 36 of file eeimport.hxx.
ScEEImport::ScEEImport | ( | ScDocument * | pDoc, |
const ScRange & | rRange | ||
) |
Definition at line 58 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 69 of file eeimpars.cxx.
|
inlineoverridevirtual |
Implements ScEEAbsImport.
Definition at line 56 of file eeimport.hxx.
References maRange.
Referenced by ScFormatFilterPluginImpl::ScImportHTML(), and ScFormatFilterPluginImpl::ScImportRTF().
|
protected |
Definition at line 482 of file eeimpars.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), ScHTMLImage::aSize, ScHTMLImage::aSpace, for(), Application::GetDefaultDevice(), Size::Height(), ScEEParseEntry::maImageList, maRowHeights, mpParser, ScEEParseEntry::nColOverlap, ScHTMLImage::nDir, nHorizontal, ScEEParseEntry::nRowOverlap, nVertical, ScHTMLImage::pGraphic, OutputDevice::PixelToLogic(), and Size::Width().
Referenced by WriteToDocument().
|
protected |
Definition at line 545 of file eeimpars.cxx.
References 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(), ScEEParseEntry::maImageList, o3tl::mm100, mpDoc, ScHTMLImage::nDir, nHorizontal, ScHTMLImage::pGraphic, OutputDevice::PixelToLogic(), Point, ScLimitSizeOnDrawPage(), SdrGrafObj::SetGraphicLink(), SdrObject::SetLogicRect(), SdrObject::SetName(), o3tl::twip, and Size::Width().
Referenced by WriteToDocument().
Implements ScEEAbsImport.
Definition at line 75 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 112 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().
|
protected |
Definition at line 39 of file eeimport.hxx.
Referenced by GetRange(), Read(), ScEEImport(), ScHTMLImport::WriteToDocument(), and WriteToDocument().
|
protected |
Definition at line 45 of file eeimport.hxx.
Referenced by GraphicSize(), and WriteToDocument().
|
protected |
Definition at line 40 of file eeimport.hxx.
Referenced by InsertGraphic(), Read(), ScEEImport(), ScHTMLImport::ScHTMLImport(), ScHTMLImport::WriteToDocument(), and WriteToDocument().
|
protected |
Definition at line 42 of file eeimport.hxx.
Referenced by ScEEImport(), ScHTMLImport::ScHTMLImport(), ScRTFImport::ScRTFImport(), and WriteToDocument().
|
protected |
Definition at line 44 of file eeimport.hxx.
Referenced by GraphicSize(), Read(), ScHTMLImport::ScHTMLImport(), ScRTFImport::ScRTFImport(), ScHTMLImport::WriteToDocument(), and WriteToDocument().