diff options
Diffstat (limited to 'writerfilter/source/dmapper/SdtHelper.hxx')
-rw-r--r-- | writerfilter/source/dmapper/SdtHelper.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/SdtHelper.hxx b/writerfilter/source/dmapper/SdtHelper.hxx index 8a2fab7fbe7d..a91b0f2fb549 100644 --- a/writerfilter/source/dmapper/SdtHelper.hxx +++ b/writerfilter/source/dmapper/SdtHelper.hxx @@ -51,6 +51,8 @@ class SdtHelper final : public virtual SvRefBase /// Items of the drop-down control. std::vector<OUString> m_aDropDownItems; + /// Indicator of a drop-down control + bool m_bInsideDropDownControl; /// Pieces of the default text -- currently used only by the dropdown control. OUStringBuffer m_aSdtTexts; /// Date ISO string contained in the w:date element, used by the date control. @@ -103,6 +105,9 @@ public: bool isOutsideAParagraph() { return m_bOutsideAParagraph; } + bool isInsideDropDownControl() const { return m_bInsideDropDownControl; } + void setInsideDropDownControl(bool bInside) { m_bInsideDropDownControl = bInside; } + /// Create drop-down control from w:sdt's w:dropDownList. void createDropDownControl(); /// Create date control from w:sdt's w:date. |