LibreOffice Module forms (master) 1
|
#include <rtattributehandler.hxx>
Public Member Functions | |
AttributeHandler (AttributeId _nAttributeId, WhichId _nWhichId) | |
AttributeId | getAttributeId () const |
virtual AttributeState | getState (const SfxItemSet &_rAttribs) const |
virtual void | executeAttribute (const SfxItemSet &_rCurrentAttribs, SfxItemSet &_rNewAttribs, const SfxPoolItem *_pAdditionalArg, SvtScriptType _nForScriptType) const =0 |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
AttributeId | getAttribute () const |
WhichId | getWhich () const |
AttributeCheckState | getCheckState (const SfxItemSet &_rAttribs) const |
helper method calling implGetCheckState More... | |
void | putItemForScript (SfxItemSet &_rAttribs, const SfxPoolItem &_rItem, SvtScriptType _nForScriptType) const |
helper method putting an item into a set, respecting a script type More... | |
virtual AttributeCheckState | implGetCheckState (const SfxPoolItem &_rItem) const |
virtual | ~AttributeHandler () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Attributes | |
AttributeId | m_nAttribute |
WhichId | m_nWhich |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 36 of file rtattributehandler.hxx.
frm::AttributeHandler::AttributeHandler | ( | AttributeId | _nAttributeId, |
WhichId | _nWhichId | ||
) |
Definition at line 43 of file rtattributehandler.cxx.
|
overrideprotectedvirtual |
Definition at line 50 of file rtattributehandler.cxx.
|
pure virtual |
|
inlineprotected |
Definition at line 43 of file rtattributehandler.hxx.
References m_nAttribute.
Referenced by frm::EscapementHandler::EscapementHandler(), getAttributeId(), frm::LineSpacingHandler::LineSpacingHandler(), and frm::ParaAlignmentHandler::ParaAlignmentHandler().
AttributeId frm::AttributeHandler::getAttributeId | ( | ) | const |
Definition at line 55 of file rtattributehandler.cxx.
References getAttribute().
Referenced by frm::FontSizeHandler::executeAttribute(), frm::ParagraphDirectionHandler::ParagraphDirectionHandler(), and putItemForScript().
|
protected |
helper method calling implGetCheckState
Definition at line 76 of file rtattributehandler.cxx.
References frm::eIndetermined, SfxItemSet::GetItem(), getWhich(), and implGetCheckState().
Referenced by frm::EscapementHandler::executeAttribute(), and getState().
|
virtual |
Reimplemented in frm::SlotHandler, and frm::FontSizeHandler.
Definition at line 86 of file rtattributehandler.cxx.
References frm::eIndetermined, frm::AttributeState::eSimpleState, and getCheckState().
|
inlineprotected |
Definition at line 44 of file rtattributehandler.hxx.
References m_nWhich.
Referenced by frm::ParaAlignmentHandler::executeAttribute(), frm::LineSpacingHandler::executeAttribute(), frm::EscapementHandler::executeAttribute(), frm::SlotHandler::executeAttribute(), frm::BooleanHandler::executeAttribute(), frm::FontSizeHandler::executeAttribute(), frm::ParagraphDirectionHandler::executeAttribute(), getCheckState(), frm::SlotHandler::getState(), and frm::FontSizeHandler::getState().
|
protectedvirtual |
Reimplemented in frm::ParaAlignmentHandler, frm::LineSpacingHandler, frm::EscapementHandler, frm::BooleanHandler, and frm::ParagraphDirectionHandler.
Definition at line 61 of file rtattributehandler.cxx.
References frm::eIndetermined.
Referenced by getCheckState().
|
protected |
helper method putting an item into a set, respecting a script type
Definition at line 68 of file rtattributehandler.cxx.
References getAttributeId(), SfxItemSet::GetPool(), SfxItemSet::Put(), and SvxScriptSetItem::PutItemForScriptType().
Referenced by frm::SlotHandler::executeAttribute(), and frm::FontSizeHandler::executeAttribute().
|
private |
Definition at line 39 of file rtattributehandler.hxx.
Referenced by getAttribute().
|
private |
Definition at line 40 of file rtattributehandler.hxx.
Referenced by getWhich().