LibreOffice Module sw (master) 1
|
#include <envimg.hxx>
Public Member Functions | |
SwEnvItem () | |
SwEnvItem & | operator= (const SwEnvItem &rItem) |
SwEnvItem (SwEnvItem const &)=default | |
virtual bool | operator== (const SfxPoolItem &rItem) const override |
virtual SwEnvItem * | Clone (SfxItemPool *=nullptr) 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 |
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 |
Static Public Member Functions | |
static SfxPoolItem * | CreateDefault () |
Public Attributes | |
OUString | m_aAddrText |
bool | m_bSend |
OUString | m_aSendText |
sal_Int32 | m_nAddrFromLeft |
sal_Int32 | m_nAddrFromTop |
sal_Int32 | m_nSendFromLeft |
sal_Int32 | m_nSendFromTop |
sal_Int32 | m_nWidth |
sal_Int32 | m_nHeight |
SwEnvAlign | m_eAlign |
bool | m_bPrintFromAbove |
sal_Int32 | m_nShiftRight |
sal_Int32 | m_nShiftDown |
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 38 of file envimg.hxx.
SwEnvItem::SwEnvItem | ( | ) |
Definition at line 90 of file envimg.cxx.
References ENV_HOR_LEFT, SvxPaperInfo::GetPaperSize(), Size::Height(), m_aSendText, m_bPrintFromAbove, m_bSend, m_eAlign, m_nAddrFromLeft, m_nAddrFromTop, m_nHeight, m_nSendFromLeft, m_nSendFromTop, m_nShiftDown, m_nShiftRight, m_nWidth, MakeSender(), min(), PAPER_ENV_C65, and Size::Width().
Referenced by Clone(), and CreateDefault().
|
default |
|
overridevirtual |
|
static |
Definition at line 43 of file envimg.cxx.
References SwEnvItem().
Definition at line 109 of file envimg.cxx.
References m_aAddrText, m_aSendText, m_bPrintFromAbove, m_bSend, m_eAlign, m_nAddrFromLeft, m_nAddrFromTop, m_nHeight, m_nSendFromLeft, m_nSendFromTop, m_nShiftDown, m_nShiftRight, and m_nWidth.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 127 of file envimg.cxx.
References m_aAddrText, m_aSendText, m_bPrintFromAbove, m_bSend, m_eAlign, m_nAddrFromLeft, m_nAddrFromTop, m_nHeight, m_nSendFromLeft, m_nSendFromTop, m_nShiftDown, m_nShiftRight, and m_nWidth.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 302 of file envimg.cxx.
References CONVERT_TWIPS, m_aAddrText, m_aSendText, m_bPrintFromAbove, m_bSend, m_eAlign, m_nAddrFromLeft, m_nAddrFromTop, m_nHeight, m_nSendFromLeft, m_nSendFromTop, m_nShiftDown, m_nShiftRight, m_nWidth, MID_ENV_ADDR_FROM_LEFT, MID_ENV_ADDR_FROM_TOP, MID_ENV_ADDR_TEXT, MID_ENV_ALIGN, MID_ENV_HEIGHT, MID_ENV_PRINT_FROM_ABOVE, MID_ENV_SEND, MID_ENV_SEND_FROM_LEFT, MID_ENV_SEND_FROM_TOP, MID_ENV_SHIFT_DOWN, MID_ENV_SHIFT_RIGHT, MID_ENV_WIDTH, and MID_SEND_TEXT.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 277 of file envimg.cxx.
References CONVERT_TWIPS, m_aAddrText, m_aSendText, m_bPrintFromAbove, m_bSend, m_eAlign, m_nAddrFromLeft, m_nAddrFromTop, m_nHeight, m_nSendFromLeft, m_nSendFromTop, m_nShiftDown, m_nShiftRight, m_nWidth, MID_ENV_ADDR_FROM_LEFT, MID_ENV_ADDR_FROM_TOP, MID_ENV_ADDR_TEXT, MID_ENV_ALIGN, MID_ENV_HEIGHT, MID_ENV_PRINT_FROM_ABOVE, MID_ENV_SEND, MID_ENV_SEND_FROM_LEFT, MID_ENV_SEND_FROM_TOP, MID_ENV_SHIFT_DOWN, MID_ENV_SHIFT_RIGHT, MID_ENV_WIDTH, and MID_SEND_TEXT.
OUString SwEnvItem::m_aAddrText |
Definition at line 42 of file envimg.hxx.
Referenced by SwEnvPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), PutValue(), QueryValue(), SwEnvPage::Reset(), and SwEnvCfgItem::SwEnvCfgItem().
OUString SwEnvItem::m_aSendText |
Definition at line 44 of file envimg.hxx.
Referenced by SwEnvPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), PutValue(), QueryValue(), SwEnvPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
bool SwEnvItem::m_bPrintFromAbove |
Definition at line 52 of file envimg.hxx.
Referenced by SwEnvPrtPage::FillItem(), SwEnvCfgItem::ImplCommit(), operator=(), operator==(), PutValue(), QueryValue(), SwEnvPrtPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
bool SwEnvItem::m_bSend |
Definition at line 43 of file envimg.hxx.
Referenced by SwEnvPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
SwEnvAlign SwEnvItem::m_eAlign |
Definition at line 51 of file envimg.hxx.
Referenced by SwEnvPrtPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), PutValue(), QueryValue(), SwEnvPrtPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nAddrFromLeft |
Definition at line 45 of file envimg.hxx.
Referenced by SwEnvFormatPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvFormatPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nAddrFromTop |
Definition at line 46 of file envimg.hxx.
Referenced by SwEnvFormatPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvFormatPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nHeight |
Definition at line 50 of file envimg.hxx.
Referenced by SwEnvFormatPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvFormatPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nSendFromLeft |
Definition at line 47 of file envimg.hxx.
Referenced by SwEnvFormatPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvFormatPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nSendFromTop |
Definition at line 48 of file envimg.hxx.
Referenced by SwEnvFormatPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvFormatPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nShiftDown |
Definition at line 54 of file envimg.hxx.
Referenced by SwEnvPrtPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), PutValue(), QueryValue(), SwEnvPrtPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nShiftRight |
Definition at line 53 of file envimg.hxx.
Referenced by SwEnvPrtPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), PutValue(), QueryValue(), SwEnvPrtPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().
sal_Int32 SwEnvItem::m_nWidth |
Definition at line 49 of file envimg.hxx.
Referenced by SwEnvFormatPage::FillItem(), SwEnvCfgItem::ImplCommit(), SwModule::InsertEnv(), operator=(), operator==(), SwEnvPreview::Paint(), PutValue(), QueryValue(), SwEnvFormatPage::Reset(), SwEnvCfgItem::SwEnvCfgItem(), and SwEnvItem().