summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-06-16 21:52:12 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2014-09-17 10:19:29 +0200
commit5f27596bed3bd155a321b66650d04226e6f2d1ee (patch)
tree96887f0289c37ed00cd84413307feba8e68b0bb6 /sw/inc
parent079c861f08d27aa8b6368aebc37f235979049286 (diff)
Add writer document font colors to color palettes
Change-Id: If3fedc45586eee068c40e92da87d5d550a456a64
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx3
-rw-r--r--sw/inc/docsh.hxx2
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 08e82c6e8487..2239daa0e9a8 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -50,6 +50,7 @@
#include <vector>
#include <set>
#include <memory>
+#include <algorithm>
#include <boost/scoped_ptr.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
@@ -1656,6 +1657,8 @@ public:
*/
void dumpAsXml( xmlTextWriterPtr writer = NULL );
+ std::vector<Color> GetDocColors();
+
private:
// Copies master header to left / first one, if necessary - used by ChgPageDesc().
void CopyMasterHeader(const SwPageDesc &rChged, const SwFmtHeader &rHead, SwPageDesc *pDesc, bool bLeft, bool bFirst);
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index c2ac6bb30568..a877bd9d0213 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -243,6 +243,8 @@ public:
sal_Int32 nFileFormat,
bool bTemplate = false ) const SAL_OVERRIDE;
+ virtual std::vector<Color> GetDocColors();
+
virtual void LoadStyles( SfxObjectShell& rSource ) SAL_OVERRIDE;
void _LoadStyles( SfxObjectShell& rSource, bool bPreserveCurrentDocument );