LibreOffice Module sc (master) 1
|
#include <orcusinterface.hxx>
Public Member Functions | |
ScOrcusStyles (ScOrcusFactory &rFactory, bool bSkipDefaultStyles=false) | |
void | applyXfToItemSet (SfxItemSet &rSet, const ScOrcusXf &rXf) |
void | applyXfToItemSet (SfxItemSet &rSet, std::size_t xfId) |
virtual orcus::spreadsheet::iface::import_font_style * | start_font_style () override |
virtual orcus::spreadsheet::iface::import_fill_style * | start_fill_style () override |
virtual orcus::spreadsheet::iface::import_border_style * | start_border_style () override |
virtual orcus::spreadsheet::iface::import_cell_protection * | start_cell_protection () override |
virtual orcus::spreadsheet::iface::import_number_format * | start_number_format () override |
virtual orcus::spreadsheet::iface::import_xf * | start_xf (orcus::spreadsheet::xf_category_t cat) override |
virtual orcus::spreadsheet::iface::import_cell_style * | start_cell_style () override |
virtual void | set_font_count (size_t n) override |
virtual void | set_fill_count (size_t n) override |
virtual void | set_border_count (size_t n) override |
virtual void | set_number_format_count (size_t n) override |
virtual void | set_xf_count (orcus::spreadsheet::xf_category_t cat, size_t n) override |
virtual void | set_cell_style_count (size_t n) override |
Private Attributes | |
ScOrcusFactory & | mrFactory |
std::vector< ScOrcusFont > | maFonts |
std::vector< ScOrcusFill > | maFills |
std::vector< ScOrcusBorder > | maBorders |
std::vector< ScOrcusProtection > | maProtections |
std::vector< ScOrcusNumberFormat > | maNumberFormats |
std::vector< ScOrcusXf > | maCellXfs |
std::vector< ScOrcusXf > | maCellStyleXfs |
std::vector< ScOrcusXf > | maCellDiffXfs |
ScOrcusImportFontStyle | maFontStyle |
ScOrcusImportFillStyle | maFillStyle |
ScOrcusImportBorderStyle | maBorderStyle |
ScOrcusImportCellProtection | maCellProtection |
ScOrcusImportNumberFormat | maNumberFormat |
ScOrucsImportCellStyle | maCellStyle |
ScOrcusImportXf | maXf |
Definition at line 620 of file orcusinterface.hxx.
ScOrcusStyles::ScOrcusStyles | ( | ScOrcusFactory & | rFactory, |
bool | bSkipDefaultStyles = false |
||
) |
Definition at line 2202 of file interface.cxx.
References ScStyleSheetPool::CreateStandardStyles(), ScDocumentImport::getDoc(), ScOrcusFactory::getDoc(), ScDocument::GetStyleSheetPool(), and ScStyleSheetPool::HasStandardStyles().
void ScOrcusStyles::applyXfToItemSet | ( | SfxItemSet & | rSet, |
const ScOrcusXf & | rXf | ||
) |
Definition at line 2228 of file interface.cxx.
References ScOrcusNumberFormat::applyToItemSet(), ATTR_HOR_JUSTIFY(), ATTR_HOR_JUSTIFY_METHOD(), ATTR_VER_JUSTIFY(), ATTR_VER_JUSTIFY_METHOD(), ScDocumentImport::getDoc(), ScOrcusFactory::getDoc(), maBorders, maFills, maFonts, maNumberFormats, maProtections, ScOrcusXf::mbApplyAlignment, ScOrcusXf::mbShrinkToFit, ScOrcusXf::mbWrapText, ScOrcusXf::meHorAlignment, ScOrcusXf::meHorAlignMethod, ScOrcusXf::meVerAlignment, ScOrcusXf::meVerAlignMethod, ScOrcusXf::mnBorderId, ScOrcusXf::mnFillId, ScOrcusXf::mnFontId, ScOrcusXf::mnNumberFormatId, ScOrcusXf::mnProtectionId, mrFactory, SfxItemSet::Put(), rSet, and SAL_WARN.
Referenced by applyXfToItemSet(), ScOrucsImportCellStyle::commit(), ScOrcusSheet::set_column_format(), and ScOrcusSheet::set_row_format().
void ScOrcusStyles::applyXfToItemSet | ( | SfxItemSet & | rSet, |
std::size_t | xfId | ||
) |
Definition at line 2289 of file interface.cxx.
References applyXfToItemSet(), maCellXfs, rSet, SAL_INFO, and SAL_WARN.
|
overridevirtual |
Definition at line 2366 of file interface.cxx.
|
overridevirtual |
Definition at line 2378 of file interface.cxx.
|
overridevirtual |
Definition at line 2362 of file interface.cxx.
|
overridevirtual |
Definition at line 2358 of file interface.cxx.
|
overridevirtual |
Definition at line 2370 of file interface.cxx.
|
overridevirtual |
Definition at line 2374 of file interface.cxx.
|
overridevirtual |
Definition at line 2313 of file interface.cxx.
References maBorderStyle, and ScOrcusImportBorderStyle::reset().
|
overridevirtual |
Definition at line 2319 of file interface.cxx.
References maCellProtection, and ScOrcusImportCellProtection::reset().
|
overridevirtual |
Definition at line 2352 of file interface.cxx.
References maCellStyle, and ScOrucsImportCellStyle::reset().
|
overridevirtual |
Definition at line 2307 of file interface.cxx.
References maFillStyle, and ScOrcusImportFillStyle::reset().
|
overridevirtual |
Definition at line 2301 of file interface.cxx.
References maFontStyle, and ScOrcusImportFontStyle::reset().
|
overridevirtual |
Definition at line 2325 of file interface.cxx.
References maNumberFormat, and ScOrcusImportNumberFormat::reset().
|
overridevirtual |
Definition at line 2331 of file interface.cxx.
References maCellDiffXfs, maCellStyleXfs, maCellXfs, maXf, ScOrcusImportXf::reset(), and SAL_WARN.
|
private |
Definition at line 627 of file orcusinterface.hxx.
Referenced by applyXfToItemSet().
|
private |
Definition at line 636 of file orcusinterface.hxx.
Referenced by start_border_style().
|
private |
Definition at line 632 of file orcusinterface.hxx.
Referenced by start_xf().
|
private |
Definition at line 637 of file orcusinterface.hxx.
Referenced by start_cell_protection().
|
private |
Definition at line 639 of file orcusinterface.hxx.
Referenced by start_cell_style().
|
private |
Definition at line 631 of file orcusinterface.hxx.
Referenced by start_xf().
|
private |
Definition at line 630 of file orcusinterface.hxx.
Referenced by applyXfToItemSet(), and start_xf().
|
private |
Definition at line 626 of file orcusinterface.hxx.
Referenced by applyXfToItemSet().
|
private |
Definition at line 635 of file orcusinterface.hxx.
Referenced by start_fill_style().
|
private |
Definition at line 625 of file orcusinterface.hxx.
Referenced by applyXfToItemSet().
|
private |
Definition at line 634 of file orcusinterface.hxx.
Referenced by start_font_style().
|
private |
Definition at line 638 of file orcusinterface.hxx.
Referenced by start_number_format().
|
private |
Definition at line 629 of file orcusinterface.hxx.
Referenced by applyXfToItemSet().
|
private |
Definition at line 628 of file orcusinterface.hxx.
Referenced by applyXfToItemSet().
|
private |
Definition at line 640 of file orcusinterface.hxx.
Referenced by start_xf().
|
private |
Definition at line 623 of file orcusinterface.hxx.
Referenced by applyXfToItemSet().