LibreOffice Module editeng (master) 1
|
#include <unonrule.hxx>
Public Member Functions | |
SvxUnoNumberingRules (SvxNumRule aRule) | |
virtual | ~SvxUnoNumberingRules () noexcept override |
virtual void SAL_CALL | replaceByIndex (sal_Int32 Index, const css::uno::Any &Element) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual sal_Int16 SAL_CALL | compare (const css::uno::Any &Any1, const css::uno::Any &Any2) override |
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
css::uno::Sequence< css::beans::PropertyValue > | getNumberingRuleByIndex (sal_Int32 nIndex) const |
void | setNumberingRuleByIndex (const css::uno::Sequence< css::beans::PropertyValue > &rProperties, sal_Int32 nIndex) |
const SvxNumRule & | getNumRule () const |
Public Member Functions inherited from cppu::WeakAggImplHelper4< css::container::XIndexReplace, css::ucb::XAnyCompare, css::util::XCloneable, css::lang::XServiceInfo > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakAggObject | |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Static Public Member Functions | |
static sal_Int16 | Compare (const css::uno::Any &rAny1, const css::uno::Any &rAny2) |
Private Attributes | |
SvxNumRule | maRule |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::OWeakAggObject | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 39 of file unonrule.hxx.
SvxUnoNumberingRules::SvxUnoNumberingRules | ( | SvxNumRule | aRule | ) |
Definition at line 91 of file unonrule.cxx.
Referenced by createClone().
|
overridevirtualnoexcept |
Definition at line 96 of file unonrule.cxx.
|
overridevirtual |
Definition at line 145 of file unonrule.cxx.
References Compare().
|
static |
Definition at line 501 of file unonrule.cxx.
References SvxNumRule::GetLevel(), SvxNumRule::GetLevelCount(), getNumRule(), and i.
Referenced by compare().
|
overridevirtual |
Definition at line 151 of file unonrule.cxx.
References maRule, and SvxUnoNumberingRules().
|
overridevirtual |
Definition at line 123 of file unonrule.cxx.
References Any, SvxNumRule::GetLevelCount(), getNumberingRuleByIndex(), and maRule.
|
overridevirtual |
Definition at line 116 of file unonrule.cxx.
References SvxNumRule::GetLevelCount(), and maRule.
|
overridevirtual |
Definition at line 134 of file unonrule.cxx.
|
overridevirtual |
Definition at line 156 of file unonrule.cxx.
Sequence< beans::PropertyValue > SvxUnoNumberingRules::getNumberingRuleByIndex | ( | sal_Int32 | nIndex | ) | const |
css::uno::RuntimeException |
Definition at line 171 of file unonrule.cxx.
References Any, aSeq, aStr, SvxUnoFontDescriptor::ConvertFromFont(), ConvertUnoAdjust(), DBG_ASSERT, SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletColor(), SvxNumberFormat::GetBulletFont(), SvxNumberFormat::GetBulletRelSize(), SvxNumberFormat::GetFirstLineOffset(), SvxBrushItem::GetGraphic(), SvxNumberFormat::GetGraphicSize(), SvxNumRule::GetLevel(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetStart(), SvxNumberFormat::GetSuffix(), Graphic::GetXGraphic(), Size::Height(), maRule, nIndex, SVX_NUM_CHAR_SPECIAL, UNO_NAME_NRULE_ADJUST, UNO_NAME_NRULE_BULLET_COLOR, UNO_NAME_NRULE_BULLET_FONT, UNO_NAME_NRULE_BULLET_RELSIZE, UNO_NAME_NRULE_FIRST_LINE_OFFSET, UNO_NAME_NRULE_LEFT_MARGIN, UNO_NAME_NRULE_NUMBERINGTYPE, UNO_NAME_NRULE_PREFIX, UNO_NAME_NRULE_START_WITH, UNO_NAME_NRULE_SUFFIX, and Size::Width().
Referenced by getByIndex().
|
inline |
Definition at line 79 of file unonrule.hxx.
Referenced by Compare(), and SvxGetNumRule().
|
overridevirtual |
Definition at line 166 of file unonrule.cxx.
|
overridevirtual |
Definition at line 139 of file unonrule.cxx.
|
overridevirtual |
Definition at line 101 of file unonrule.cxx.
References aSeq, SvxNumRule::GetLevelCount(), maRule, and setNumberingRuleByIndex().
void SvxUnoNumberingRules::setNumberingRuleByIndex | ( | const css::uno::Sequence< css::beans::PropertyValue > & | rProperties, |
sal_Int32 | nIndex | ||
) |
css::uno::RuntimeException | |
css::lang::IllegalArgumentException |
Definition at line 268 of file unonrule.cxx.
References Any, aStr, aURL, SvxUnoFontDescriptor::ConvertToFont(), ConvertUnoAdjust(), SvxNumberFormat::GetBrush(), SvxNumRule::GetLevel(), SvxNumberType::GetNumberingType(), GPOS_AREA, Graphic::IsNone(), vcl::graphic::loadFromURL(), maRule, nAdjust, nIndex, SvxNumberFormat::SetAbsLSpace(), SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletColor(), SvxNumberFormat::SetBulletFont(), SvxNumberFormat::SetBulletRelSize(), SvxNumberFormat::SetCharTextDistance(), SvxNumberFormat::SetFirstLineOffset(), SvxNumberFormat::SetGraphicBrush(), SvxNumberFormat::SetGraphicSize(), SvxNumRule::SetLevel(), SvxNumberFormat::SetNumAdjust(), SvxNumberType::SetNumberingType(), SvxNumberFormat::SetPrefix(), SvxNumberFormat::SetStart(), SvxNumberFormat::SetSuffix(), SVX_NUM_BITMAP, o3tl::temporary(), UNO_NAME_NRULE_ADJUST, UNO_NAME_NRULE_BULLET_COLOR, UNO_NAME_NRULE_BULLET_FONT, UNO_NAME_NRULE_BULLET_RELSIZE, UNO_NAME_NRULE_BULLETID, UNO_NAME_NRULE_FIRST_LINE_OFFSET, UNO_NAME_NRULE_LEFT_MARGIN, UNO_NAME_NRULE_NUMBERINGTYPE, UNO_NAME_NRULE_PREFIX, UNO_NAME_NRULE_START_WITH, and UNO_NAME_NRULE_SUFFIX.
Referenced by replaceByIndex().
|
overridevirtual |
Definition at line 161 of file unonrule.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 43 of file unonrule.hxx.
Referenced by createClone(), getByIndex(), getCount(), getNumberingRuleByIndex(), replaceByIndex(), and setNumberingRuleByIndex().