LibreOffice Module sw (master) 1
|
#include <fmtruby.hxx>
Public Member Functions | |
SwFormatRuby (OUString aRubyText) | |
SwFormatRuby (const SwFormatRuby &rAttr) | |
virtual | ~SwFormatRuby () override |
SwFormatRuby & | operator= (const SwFormatRuby &rAttr) |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual SwFormatRuby * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override |
const SwTextRuby * | GetTextRuby () const |
const OUString & | GetText () const |
void | SetText (const OUString &rText) |
const OUString & | GetCharFormatName () const |
void | SetCharFormatName (const OUString &rNm) |
sal_uInt16 | GetCharFormatId () const |
void | SetCharFormatId (sal_uInt16 nNew) |
sal_uInt16 | GetPosition () const |
void | SetPosition (sal_uInt16 nNew) |
css::text::RubyAdjust | GetAdjustment () const |
void | SetAdjustment (css::text::RubyAdjust nNew) |
Public Member Functions inherited from SfxPoolItem | |
void | AddRef (sal_uInt32 n=1) const |
virtual | ~SfxPoolItem () |
void | SetWhich (sal_uInt16 nId) |
sal_uInt16 | Which () const |
T & | StaticWhichCast (TypedWhichId< T > nId) |
const T & | StaticWhichCast (TypedWhichId< T > nId) const |
T * | DynamicWhichCast (TypedWhichId< T > nId) |
const T * | DynamicWhichCast (TypedWhichId< T > nId) const |
virtual bool | operator== (const SfxPoolItem &) const=0 |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual bool | operator< (const SfxPoolItem &) const |
virtual bool | IsSortable () const |
virtual bool | HasLookup () const |
virtual lookup_iterator | Lookup (lookup_iterator, lookup_iterator end) const |
virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const |
virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
virtual bool | HasMetrics () const |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) |
virtual SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (sal_uInt16 nNewWhich) const |
std::unique_ptr< T > | CloneSetWhich (TypedWhichId< T > nId) const |
sal_uInt32 | GetRefCount () const |
SfxItemKind | GetKind () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
virtual boost::property_tree::ptree | dumpAsJSON () const |
virtual bool | IsVoidItem () const |
Private Attributes | |
OUString | m_sRubyText |
The ruby text. More... | |
OUString | m_sCharFormatName |
Name of the charformat. More... | |
SwTextRuby * | m_pTextAttr |
The TextAttribute. More... | |
sal_uInt16 | m_nCharFormatId |
PoolId of the charformat. More... | |
sal_uInt16 | m_nPosition |
Position of the Ruby-character. More... | |
css::text::RubyAdjust | m_eAdjustment |
Specific adjustment of the Ruby-ch. More... | |
Friends | |
class | SwTextRuby |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxPoolItem | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Definition at line 28 of file fmtruby.hxx.
SwFormatRuby::SwFormatRuby | ( | OUString | aRubyText | ) |
Definition at line 401 of file fmtatr2.cxx.
References m_nPosition, m_sRubyText, and text().
Referenced by Clone().
SwFormatRuby::SwFormatRuby | ( | const SwFormatRuby & | rAttr | ) |
Definition at line 411 of file fmtatr2.cxx.
References m_nPosition, and m_sRubyText.
|
overridevirtual |
Definition at line 422 of file fmtatr2.cxx.
|
overridevirtual |
|
inline |
Definition at line 73 of file fmtruby.hxx.
Referenced by SwXTextView::getRubyList(), SwRubyPortion::SwRubyPortion(), and WW8Ruby::WW8Ruby().
|
inline |
Definition at line 67 of file fmtruby.hxx.
Referenced by SwTextRuby::GetCharFormat().
|
inline |
Definition at line 64 of file fmtruby.hxx.
Referenced by SwTextRuby::GetCharFormat(), and SwXTextView::getRubyList().
|
inline |
Definition at line 70 of file fmtruby.hxx.
References m_nPosition.
Referenced by SwXTextView::getRubyList(), SwRubyPortion::SwRubyPortion(), and WW8Ruby::WW8Ruby().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 134 of file attrdesc.cxx.
|
inline |
Definition at line 61 of file fmtruby.hxx.
References m_sRubyText.
Referenced by SwTextAttr::dumpAsXml(), SwTextRuby::GetCharFormat(), SwXTextView::getRubyList(), SwDoc::SetRubyList(), DocxAttributeOutput::StartRuby(), RtfAttributeOutput::StartRuby(), WW8AttributeOutput::StartRuby(), SwRubyPortion::SwRubyPortion(), and WW8Ruby::WW8Ruby().
|
inline |
Definition at line 59 of file fmtruby.hxx.
Referenced by DocxAttributeOutput::StartRuby(), and WW8Ruby::WW8Ruby().
SwFormatRuby & SwFormatRuby::operator= | ( | const SwFormatRuby & | rAttr | ) |
Definition at line 426 of file fmtatr2.cxx.
References m_eAdjustment, m_nCharFormatId, m_nPosition, m_pTextAttr, m_sCharFormatName, and m_sRubyText.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 440 of file fmtatr2.cxx.
References m_eAdjustment, m_nCharFormatId, m_nPosition, m_sCharFormatName, and m_sRubyText.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 486 of file fmtatr2.cxx.
References ChrFmt, cppu::UnoType< typename T >::get(), SwStyleNameMapper::GetUIName(), uno::Any::hasValue(), m_eAdjustment, m_nPosition, m_sCharFormatName, m_sRubyText, MID_RUBY_ABOVE, MID_RUBY_ADJUST, MID_RUBY_CHARSTYLE, MID_RUBY_POSITION, and MID_RUBY_TEXT.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 455 of file fmtatr2.cxx.
References ChrFmt, SwStyleNameMapper::FillProgName(), m_eAdjustment, m_nPosition, m_sCharFormatName, m_sRubyText, MID_RUBY_ABOVE, MID_RUBY_ADJUST, MID_RUBY_CHARSTYLE, MID_RUBY_POSITION, and MID_RUBY_TEXT.
|
inline |
Definition at line 74 of file fmtruby.hxx.
Referenced by SwWW8ImplReader::Read_SubF_Ruby().
|
inline |
Definition at line 68 of file fmtruby.hxx.
Referenced by SwWW8ImplReader::Read_SubF_Ruby().
|
inline |
Definition at line 65 of file fmtruby.hxx.
Referenced by SwWW8ImplReader::Read_SubF_Ruby().
|
inline |
Definition at line 71 of file fmtruby.hxx.
References m_nPosition.
|
inline |
Definition at line 62 of file fmtruby.hxx.
References m_sRubyText.
|
friend |
Definition at line 30 of file fmtruby.hxx.
|
private |
Specific adjustment of the Ruby-ch.
Definition at line 37 of file fmtruby.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().
|
private |
PoolId of the charformat.
Definition at line 35 of file fmtruby.hxx.
Referenced by operator=(), and operator==().
|
private |
Position of the Ruby-character.
Definition at line 36 of file fmtruby.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().
|
private |
The TextAttribute.
Definition at line 34 of file fmtruby.hxx.
Referenced by operator=(), and SwTextRuby::SwTextRuby().
|
private |
Name of the charformat.
Definition at line 33 of file fmtruby.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().
|
private |
The ruby text.
Definition at line 32 of file fmtruby.hxx.
Referenced by operator=(), operator==(), PutValue(), and QueryValue().