summaryrefslogtreecommitdiff
path: root/sw/inc/unotxdoc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r--sw/inc/unotxdoc.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 47e29addbb9e..36ef233e1301 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -577,6 +577,10 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
};
+enum class SwCreateDrawTable {
+ Dash = 1, Gradient, Hatch, Bitmap, TransGradient, Marker, Defaults
+};
+
class SwXDocumentPropertyHelper : public SvxUnoForbiddenCharsTable
{
css::uno::Reference < css::uno::XInterface > xDashTable;
@@ -591,7 +595,7 @@ class SwXDocumentPropertyHelper : public SvxUnoForbiddenCharsTable
public:
SwXDocumentPropertyHelper(SwDoc& rDoc);
virtual ~SwXDocumentPropertyHelper() override;
- css::uno::Reference<css::uno::XInterface> GetDrawTable(short nWhich);
+ css::uno::Reference<css::uno::XInterface> GetDrawTable(SwCreateDrawTable nWhich);
void Invalidate();
virtual void onChange() override;