summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/GraphicHelpers.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/GraphicHelpers.hxx')
-rw-r--r--writerfilter/source/dmapper/GraphicHelpers.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/GraphicHelpers.hxx b/writerfilter/source/dmapper/GraphicHelpers.hxx
index 95c33b416c6e..ba16d46d4bc0 100644
--- a/writerfilter/source/dmapper/GraphicHelpers.hxx
+++ b/writerfilter/source/dmapper/GraphicHelpers.hxx
@@ -66,6 +66,17 @@ public:
};
typedef std::shared_ptr<WrapHandler> WrapHandlerPtr;
+/// Keeps track of the next available unique automatic name.
+class GraphicNamingHelper
+{
+ int m_nCounter;
+
+public:
+ GraphicNamingHelper();
+ /// Name a graphic based on rTemplate.
+ OUString NameGraphic(const OUString& rTemplate);
+};
+
} }
#endif