LibreOffice Module sw (master)
1
|
#include <SwXDocumentSettings.hxx>
Public Member Functions | |
SwXDocumentSettings (SwXTextDocument *pModel) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual void SAL_CALL | acquire () override throw () |
virtual void SAL_CALL | release () override throw () |
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 |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
![]() | |
MasterPropertySet (comphelper::MasterPropertySetInfo *pInfo, SolarMutex *pMutex) | |
virtual | ~MasterPropertySet () |
void | registerSlave (ChainablePropertySet *pNewSet) |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
![]() | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Member Functions | |
virtual void | _preSetValues () override |
virtual void | _setSingleValue (const comphelper::PropertyInfo &rInfo, const css::uno::Any &rValue) override |
virtual void | _postSetValues () override |
virtual void | _preGetValues () override |
virtual void | _getSingleValue (const comphelper::PropertyInfo &rInfo, css::uno::Any &rValue) override |
virtual void | _postGetValues () override |
virtual | ~SwXDocumentSettings () override throw () |
Private Attributes | |
SwXTextDocument * | mpModel |
SwDocShell * | mpDocSh |
SwDoc * | mpDoc |
VclPtr< SfxPrinter > | mpPrinter |
the printer should be set only once; since there are several printer-related properties, remember the last printer and set it in _postSetValues More... | |
bool | mbPreferPrinterPapersize |
Additional Inherited Members | |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
![]() | |
SolarMutex *const | mpMutex |
sal_uInt8 | mnLastId |
std::map< sal_uInt8, comphelper::SlaveData * > | maSlaveMap |
rtl::Reference< MasterPropertySetInfo > | mxInfo |
![]() | |
oslInterlockedCount | m_refCount |
Definition at line 33 of file SwXDocumentSettings.hxx.
|
overrideprivatevirtual |
Definition at line 286 of file SwXDocumentSettings.cxx.
SwXDocumentSettings::SwXDocumentSettings | ( | SwXTextDocument * | pModel | ) |
Definition at line 274 of file SwXDocumentSettings.cxx.
References Document, SwDocShell::GetDoc(), SwXTextDocument::GetDocShell(), mpModel, and comphelper::MasterPropertySet::registerSlave().
|
overrideprivatevirtual |
Implements comphelper::MasterPropertySet.
Definition at line 1051 of file SwXDocumentSettings.cxx.
References ADD_EXT_LEADING, ADD_FLY_OFFSETS, ADD_PARA_LINE_SPACING_TO_TABLE_CELLS, ADD_PARA_SPACING_TO_TABLE_CELLS, ADD_VERTICAL_FLY_OFFSETS, APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, AUTOUPD_FIELD_AND_CHARTS, AUTOUPD_FIELD_ONLY, BACKGROUND_PARA_OVER_DRAWINGS, CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAME, CLIPPED_PICTURES, COLLAPSE_EMPTY_CELL_PARA, CONSIDER_WRAP_ON_OBJECT_POSITION, CONTINUOUS_ENDNOTES, DISABLE_OFF_PAGE_POSITIONING, DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, EMBED_ASIAN_SCRIPT_FONTS, EMBED_COMPLEX_SCRIPT_FONTS, EMBED_FONTS, EMBED_LATIN_SCRIPT_FONTS, EMBED_SYSTEM_FONTS, EMBED_USED_FONTS, EMPTY_DB_FIELD_HIDES_PARA, FLOATTABLE_NOMARGINS, FRAME_AUTOWIDTH_WITH_MORE_PARA, IDocumentSettingAccess::get(), IDocumentSettingAccess::getCharacterCompressionType(), SwDoc::GetDBData(), SwDoc::GetDBManager(), SwDBManager::getEmbeddedName(), IDocumentSettingAccess::getFieldUpdateFlags(), SwDoc::getIDocumentDeviceAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentSettingAccess(), IDocumentSettingAccess::getLinkUpdateMode(), SfxObjectShell::GetModifyPasswordInfo(), IDocumentDeviceAccess::getPrinter(), SwXTextDocument::GetPropertyHelper(), IDocumentRedlineAccess::GetRedlinePassword(), SwDoc::getRsid(), SwDoc::getRsidRoot(), GLOBAL_DOCUMENT_SAVE_LINKS, GUTTER_AT_TOP, HEADER_SPACING_BELOW_LAST_PARA, IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, INVERT_BORDER_SPACING, SfxObjectShell::IsLoadReadonly(), SfxObjectShell::IsQueryLoadTemplate(), SfxObjectShell::IsSaveVersionOnClose(), SfxObjectShell::IsUseThumbnailSave(), SfxObjectShell::IsUseUserData(), KERN_ASIAN_PUNCTUATION, LABEL_DOCUMENT, MATH_BASELINE_ALIGNMENT, comphelper::PropertyInfo::mnHandle, mpDoc, mpDocSh, mpModel, MS_WORD_COMP_MIN_LINE_HEIGHT_BY_FLY, MS_WORD_COMP_TRAILING_BLANKS, SwDBData::nCommandType, OLD_LINE_SPACING, OLD_NUMBERING, PARA_SPACE_MAX, PARA_SPACE_MAX_AT_PAGES, PROP_LINE_SPACING_SHRINKS_FIRST_LINE, PROTECT_BOOKMARKS, PROTECT_FIELDS, PROTECT_FORM, rData, SvStream::ReadBytes(), SwDBData::sCommand, SwDBData::sDataSource, SvStream::Seek(), SMALL_CAPS_PERCENTAGE_66, SfxObjectShell::Stamp_GetPrintCancelState(), SfxPrinter::Store(), STREAM_SEEK_TO_BEGIN, STYLES_NODEFAULT, SUBTRACT_FLYS, SURROUND_TEXT_WRAP_SMALL, TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, TAB_COMPAT, TAB_OVER_MARGIN, TAB_OVERFLOW, TABLE_ROW_KEEP, TABS_RELATIVE_TO_INDENT, SvMemoryStream::TellEnd(), TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK, UNBREAKABLE_NUMBERINGS, UNIX_FORCE_ZERO_EXT_LEADING, USE_FORMER_OBJECT_POS, USE_FORMER_TEXT_WRAPPING, USE_HIRES_VIRTUAL_DEVICE, and USE_VIRTUAL_DEVICE.
|
overrideprivatevirtual |
Implements comphelper::MasterPropertySet.
Definition at line 1520 of file SwXDocumentSettings.cxx.
|
overrideprivatevirtual |
Implements comphelper::MasterPropertySet.
Definition at line 1019 of file SwXDocumentSettings.cxx.
References SwDoc::getIDocumentDeviceAccess(), SfxPrinter::GetOptions(), IDocumentDeviceAccess::getPrintData(), mbPreferPrinterPapersize, mpDoc, mpDocSh, mpPrinter, SfxPrinter::SetOptions(), and IDocumentDeviceAccess::setPrinter().
|
overrideprivatevirtual |
Implements comphelper::MasterPropertySet.
Definition at line 1041 of file SwXDocumentSettings.cxx.
References SwDocShell::GetDoc(), SwXTextDocument::GetDocShell(), mpDoc, mpDocSh, and mpModel.
|
overrideprivatevirtual |
Implements comphelper::MasterPropertySet.
Definition at line 333 of file SwXDocumentSettings.cxx.
References SwDocShell::GetDoc(), SwXTextDocument::GetDocShell(), mpDoc, mpDocSh, and mpModel.
|
overrideprivatevirtual |
Implements comphelper::MasterPropertySet.
Definition at line 344 of file SwXDocumentSettings.cxx.
References SL::aData, ADD_EXT_LEADING, ADD_FLY_OFFSETS, ADD_PARA_LINE_SPACING_TO_TABLE_CELLS, ADD_PARA_SPACING_TO_TABLE_CELLS, ADD_VERTICAL_FLY_OFFSETS, APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, assert(), AUTOMATIC, AUTOUPD_FIELD_AND_CHARTS, AUTOUPD_FIELD_ONLY, AUTOUPD_OFF, BACKGROUND_PARA_OVER_DRAWINGS, SwDoc::ChgDBData(), SwViewShell::ChgHyphenation(), CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAME, CLIPPED_PICTURES, SfxItemSet::Clone(), COLLAPSE_EMPTY_CELL_PARA, CONSIDER_WRAP_ON_OBJECT_POSITION, CONTINUOUS_ENDNOTES, SfxPrinter::Create(), DISABLE_OFF_PAGE_POSITIONING, VclPtr< reference_type >::disposeAndClear(), DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, EMBED_ASIAN_SCRIPT_FONTS, EMBED_COMPLEX_SCRIPT_FONTS, EMBED_FONTS, EMBED_LATIN_SCRIPT_FONTS, EMBED_SYSTEM_FONTS, EMBED_USED_FONTS, eMode, EMPTY_DB_FIELD_HIDES_PARA, FLOATTABLE_NOMARGINS, FN_PARAM_ADDPRINTER, FRAME_AUTOWIDTH_WITH_MORE_PARA, SwDoc::GetAttrPool(), SfxObjectShell::GetCreateMode(), SwDoc::GetDBData(), SwDoc::GetDBManager(), SwDoc::GetEditShell(), IDocumentSettingAccess::getFieldUpdateFlags(), SwDoc::getIDocumentDeviceAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentSettingAccess(), SfxPrinter::GetOptions(), IDocumentDeviceAccess::getPrinter(), IDocumentRedlineAccess::GetRedlineFlags(), GLOBAL_DOCUMENT_SAVE_LINKS, GLOBALSETTING, GUTTER_AT_TOP, HEADER_SPACING_BELOW_LAST_PARA, IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, INVERT_BORDER_SPACING, KERN_ASIAN_PUNCTUATION, LABEL_DOCUMENT, comphelper::PropertyInfo::maName, MANUAL, MATH_BASELINE_ALIGNMENT, mbPreferPrinterPapersize, comphelper::PropertyInfo::mnAttributes, comphelper::PropertyInfo::mnHandle, mpDoc, mpDocSh, mpPrinter, MS_WORD_COMP_MIN_LINE_HEIGHT_BY_FLY, MS_WORD_COMP_TRAILING_BLANKS, SwDBData::nCommandType, NEVER, OLD_LINE_SPACING, OLD_NUMBERING, On, PARA_SPACE_MAX, PARA_SPACE_MAX_AT_PAGES, PROP_LINE_SPACING_SHRINKS_FIRST_LINE, PROTECT_BOOKMARKS, PROTECT_FIELDS, PROTECT_FORM, SAL_WARN_IF, SwDBData::sCommand, SwDBData::sDataSource, SvStream::Seek(), IDocumentSettingAccess::set(), IDocumentSettingAccess::setCharacterCompressionType(), SwDBManager::setEmbeddedName(), IDocumentSettingAccess::setFieldUpdateFlags(), IDocumentSettingAccess::setLinkUpdateMode(), SfxObjectShell::SetLoadReadonly(), SfxObjectShell::SetModifyPasswordInfo(), SfxObjectShell::SetQueryLoadTemplate(), IDocumentRedlineAccess::SetRedlineFlags(), IDocumentRedlineAccess::SetRedlinePassword(), IDocumentDeviceAccess::setReferenceDeviceType(), SwDoc::setRsid(), SwDoc::setRsidRoot(), SfxObjectShell::SetSaveVersionOnClose(), SfxObjectShell::SetUseThumbnailSave(), SfxObjectShell::SetUseUserData(), SMALL_CAPS_PERCENTAGE_66, SfxObjectShell::Stamp_SetPrintCancelState(), STREAM_SEEK_TO_BEGIN, STYLES_NODEFAULT, SUBTRACT_FLYS, SURROUND_TEXT_WRAP_SMALL, TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, TAB_COMPAT, TAB_OVER_MARGIN, TAB_OVERFLOW, TABLE_ROW_KEEP, TABS_RELATIVE_TO_INDENT, TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK, UNBREAKABLE_NUMBERINGS, UNIX_FORCE_ZERO_EXT_LEADING, USE_FORMER_OBJECT_POS, and USE_FORMER_TEXT_WRAPPING.
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 304 of file SwXDocumentSettings.cxx.
|
overridevirtual |
Definition at line 328 of file SwXDocumentSettings.cxx.
|
overridevirtual |
Definition at line 1527 of file SwXDocumentSettings.cxx.
|
overridevirtual |
Definition at line 1537 of file SwXDocumentSettings.cxx.
|
overridevirtual |
Definition at line 315 of file SwXDocumentSettings.cxx.
References aTypes, and cppu::UnoType< class >::get().
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 291 of file SwXDocumentSettings.cxx.
References Any.
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 309 of file SwXDocumentSettings.cxx.
|
overridevirtual |
Definition at line 1532 of file SwXDocumentSettings.cxx.
References cppu::supportsService().
|
private |
Definition at line 47 of file SwXDocumentSettings.hxx.
Referenced by _postSetValues(), and _setSingleValue().
|
private |
Definition at line 41 of file SwXDocumentSettings.hxx.
Referenced by _getSingleValue(), _postGetValues(), _postSetValues(), _preGetValues(), _preSetValues(), and _setSingleValue().
|
private |
Definition at line 40 of file SwXDocumentSettings.hxx.
Referenced by _getSingleValue(), _postGetValues(), _postSetValues(), _preGetValues(), _preSetValues(), and _setSingleValue().
|
private |
Definition at line 39 of file SwXDocumentSettings.hxx.
Referenced by _getSingleValue(), _preGetValues(), _preSetValues(), and SwXDocumentSettings().
|
private |
the printer should be set only once; since there are several printer-related properties, remember the last printer and set it in _postSetValues
Definition at line 46 of file SwXDocumentSettings.hxx.
Referenced by _postSetValues(), and _setSingleValue().