diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2016-06-28 00:30:29 +1000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-28 07:06:04 +0000 |
commit | 3f9acf02b0a45deb258c96b638c6fddd9af31ff9 (patch) | |
tree | 6c856a388a32dfda98c47a37c0226b25a1904590 /include/svx/svdmodel.hxx | |
parent | d37e39081328e94b7106c8f3ca1dbc629ecb9a80 (diff) |
tdf#99729 prerequisite: model-level user data r/w
This commit introduces a system for reading/writing common
model-level user data (like compatibility flags from settings.xml).
It is designed to reduce code duplication in cases where an option
is applicable to any type of document.
Change-Id: Id4e31df14f49cbb673f4a6df943ccec6d98eb9aa
Reviewed-on: https://gerrit.libreoffice.org/26719
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r-- | include/svx/svdmodel.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 3f617c2fe48e..fa24d554d893 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -550,6 +550,10 @@ public: bool IsWriter() const { return !bMyPool; } + // Used as a fallback in *::ReadUserDataSequence() to process common properties + void ReadUserDataSequenceValue(const css::beans::PropertyValue *pValue); + void WriteUserDataSequence(css::uno::Sequence < css::beans::PropertyValue >& rValues, bool bBrowse = false); + /** returns the numbering type that is used to format page fields in drawing shapes */ virtual SvxNumType GetPageNumType() const; |