LibreOffice Module sc (master) 1
|
#include <stlpool.hxx>
Private Member Functions | |
virtual | ~ScStyleSheetPool () override |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const OUString &rName, SfxStyleFamily eFamily, SfxStyleSearchBits nMask) override |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const SfxStyleSheetBase &rStyle) override |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const OUString &, SfxStyleFamily, SfxStyleSearchBits mask) override |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const OUString &, SfxStyleFamily, SfxStyleSearchBits) |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const SfxStyleSheetBase &) |
Private Attributes | |
SfxStyleSheetBase * | pActualStyleSheet |
ScDocument * | pDoc |
bool | bHasStandardStyles |
Definition at line 28 of file stlpool.hxx.
ScStyleSheetPool::ScStyleSheetPool | ( | const SfxItemPool & | rPool, |
ScDocument * | pDocument | ||
) |
Definition at line 54 of file stlpool.cxx.
|
overrideprivatevirtual |
Definition at line 63 of file stlpool.cxx.
void ScStyleSheetPool::CopyStdStylesFrom | ( | ScStyleSheetPool * | pSrcPool | ) |
Definition at line 218 of file stlpool.cxx.
References CopyStyleFrom(), and ScResId().
void ScStyleSheetPool::CopyStyleFrom | ( | SfxStyleSheetBasePool * | pSrcPool, |
const OUString & | rName, | ||
SfxStyleFamily | eFamily, | ||
bool | bNewStyleHierarchy = false |
||
) |
Definition at line 128 of file stlpool.cxx.
References ATTR_PAGE_FOOTERSET(), ATTR_PAGE_HEADERSET(), ATTR_VALUE_FORMAT(), CopyStyleFrom(), SfxStyleSheetBasePool::Find(), ScDocument::GetFormatExchangeList(), SfxItemSet::GetItemIfSet(), SfxStyleSheetBase::GetItemSet(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::GetParent(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), CntUInt32Item::GetValue(), Make(), pDoc, SfxItemSet::Put(), SfxItemSet::PutExtended(), and SfxStyleSheetBase::SetParent().
Referenced by ScTable::CopyConditionalFormat(), ScDrawLayer::CopyFromClip(), CopyStdStylesFrom(), CopyStyleFrom(), ScPostIt::CreateCaption(), ScDrawTransferObj::InitDocShell(), ScTransferObj::InitDocShell(), and ScDocument::TransferDrawPage().
void ScStyleSheetPool::CopyUsedGraphicStylesFrom | ( | SfxStyleSheetBasePool * | pSrcPool | ) |
Definition at line 191 of file stlpool.cxx.
References SfxStyleSheetBasePool::Find(), SfxStyleSheetBasePool::First(), Make(), SfxStyleSheetBasePool::Next(), SfxItemSet::Put(), and SfxStyleSheetBase::SetParent().
Referenced by ScDrawLayer::AllocModel(), and ScViewFunc::PasteDraw().
|
privatevirtual |
Reimplemented from SfxStyleSheetPool.
|
privatevirtual |
Reimplemented from SfxStyleSheetPool.
|
overrideprivatevirtual |
Reimplemented from SfxStyleSheetPool.
Definition at line 99 of file stlpool.cxx.
References ScResId().
|
privatevirtual |
Reimplemented from SfxStyleSheetPool.
|
overrideprivatevirtual |
Reimplemented from SfxStyleSheetPool.
Definition at line 110 of file stlpool.cxx.
References SfxStyleSheetBase::isScStyleSheet().
void ScStyleSheetPool::CreateStandardStyles | ( | ) |
Definition at line 243 of file stlpool.cxx.
References aStr, ATTR_BACKGROUND(), ATTR_BORDER(), ATTR_BORDER_INNER(), ATTR_CJK_FONT(), ATTR_CTL_FONT(), ATTR_FONT(), ATTR_PAGE_FOOTERRIGHT(), ATTR_PAGE_FOOTERSET(), ATTR_PAGE_HEADERRIGHT(), ATTR_PAGE_HEADERSET(), bHasStandardStyles, COL_BLACK(), COL_LIGHTGRAY(), EditEngine::CreatePool(), EditEngine::CreateTextObject(), EE_FEATURE_FIELD(), get(), SfxItemSet::Get(), ScStyleSheet::GetItemSet(), ScDocument::GetLanguage(), LanguageTag::getLanguageType(), Application::GetSettings(), AllSettings::GetUILanguageTag(), MsLangId::isKorean(), lcl_CheckFont(), Make(), SvxBorderLineWidth::Medium, pDoc, SfxItemSet::Put(), EditEngine::QuickInsertField(), ScResId(), SvxBoxItem::SetAllDistances(), ScPageHFItem::SetCenterArea(), SvxBoxInfoItem::SetDist(), SfxStyleSheetBase::SetHelpId(), ScPageHFItem::SetLeftArea(), SvxBoxItem::SetLine(), ScPageHFItem::SetRightArea(), SvxBoxInfoItem::SetTable(), ScEditEngineDefaulter::SetTextCurrentDefaults(), EditEngine::SetUpdateLayout(), SvxBoxInfoItem::SetValid(), and Date::SYSTEM.
Referenced by ScOrcusStyles::ScOrcusStyles().
ScStyleSheet * ScStyleSheetPool::FindAutoStyle | ( | const OUString & | rName | ) |
Definition at line 463 of file stlpool.cxx.
References SfxStyleSheetBasePool::Find(), FindCaseIns(), and ScResId().
Referenced by ScDocShell::DoAutoStyle().
ScStyleSheet * ScStyleSheetPool::FindCaseIns | ( | const OUString & | rName, |
SfxStyleFamily | eFam | ||
) |
Definition at line 442 of file stlpool.cxx.
References svl::IndexedStyleSheets::FindPositionsByPredicate(), first, SfxStyleSheetBasePool::GetIndexedStyleSheets(), SfxStyleSheetBase::GetName(), SfxStyleSheetBasePool::GetStyleSheetByPositionInIndex(), and SfxStyleSheetBase::isScStyleSheet().
Referenced by FindAutoStyle().
|
inline |
Definition at line 42 of file stlpool.hxx.
Referenced by FuSelection::MouseButtonUp(), and ScGridWindow::MouseButtonUp().
|
inline |
Definition at line 35 of file stlpool.hxx.
Referenced by ScStyleSheet::GetItemSet().
|
inline |
Definition at line 53 of file stlpool.hxx.
Referenced by ScOrcusStyles::ScOrcusStyles().
|
overridevirtual |
Reimplemented from SfxStyleSheetBasePool.
Definition at line 72 of file stlpool.cxx.
References SfxStyleSheetBasePool::Find(), SfxStyleSheetBasePool::GetIndexedStyleSheets(), svl::IndexedStyleSheets::GetNumberOfStyleSheets(), SfxStyleSheetBasePool::Make(), nCount, ScStyleNameConversion::ProgrammaticToDisplayName(), ScResId(), and STRING_STANDARD.
Referenced by ScOrucsImportCellStyle::commit(), CopyStyleFrom(), CopyUsedGraphicStylesFrom(), oox::xls::CellStyle::createCellStyle(), CreateStandardStyles(), XclImpStyle::CreateStyleSheet(), ScUndoModifyStyle::DoChange(), ScStyleFamilyObj::insertByName(), and ScDocShell::LoadStylesArgs().
|
overridevirtual |
Reimplemented from SfxStyleSheetBasePool.
Definition at line 116 of file stlpool.cxx.
References SfxStyleSheetBase::GetMask(), SfxStyleSheetBasePool::Remove(), and SfxStyleSheetBasePool::rPool.
Referenced by ScUndoModifyStyle::DoChange(), and ScStyleFamilyObj::removeByName().
|
inline |
Definition at line 39 of file stlpool.hxx.
void ScStyleSheetPool::setAllParaStandard | ( | ) |
Definition at line 473 of file stlpool.cxx.
References SfxStyleSheetBasePool::First(), SfxStyleSheetBasePool::Next(), and SfxStyleSheetBase::SetMask().
void ScStyleSheetPool::SetDocument | ( | ScDocument * | pDocument | ) |
Definition at line 67 of file stlpool.cxx.
References pDoc.
|
private |
Definition at line 76 of file stlpool.hxx.
Referenced by CreateStandardStyles().
|
private |
Definition at line 74 of file stlpool.hxx.
|
private |
Definition at line 75 of file stlpool.hxx.
Referenced by CopyStyleFrom(), CreateStandardStyles(), and SetDocument().