summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-08-10 09:16:22 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-08-10 09:17:13 +0200
commit31937624e359803d2db8c12a805ec1a5c9d0fe30 (patch)
tree7d0147ecfffdda8b7ae4dd7a1a7dbf25bee3bfc6 /sw
parentd48d0e81971266ff4625721b0f069a62ec7014e2 (diff)
sw: make these available outside sw core
Change-Id: Id5c4c65369c713d8fd7ba45acf55a65c0a05bb0e
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/swmodule.hxx5
-rw-r--r--sw/source/core/inc/drawfont.hxx2
-rw-r--r--sw/source/core/inc/frame.hxx2
-rw-r--r--sw/source/core/inc/swfont.hxx2
-rw-r--r--sw/source/core/layout/paintfrm.cxx8
5 files changed, 16 insertions, 3 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index f6bdea0d22d9..35d58c62c98b 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -258,6 +258,11 @@ inline ::com::sun::star::uno::Reference<
SW_DLLPUBLIC SwView* GetActiveView();
SW_DLLPUBLIC SwWrtShell* GetActiveWrtShell();
+namespace sw
+{
+SW_DLLPUBLIC Color* GetActiveRetoucheColor();
+}
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx
index 7d36258c8a50..b751fc101b13 100644
--- a/sw/source/core/inc/drawfont.hxx
+++ b/sw/source/core/inc/drawfont.hxx
@@ -40,7 +40,7 @@ namespace vcl {
class SwUnderlineFont;
// encapsulates information for drawing text
-class SwDrawTextInfo
+class SW_DLLPUBLIC SwDrawTextInfo
{
const SwTextFrm* pFrm;
VclPtr<OutputDevice> pOut;
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 58df49f40f11..bdfb9a62b7ac 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -213,7 +213,7 @@ namespace drawinglayer { namespace attribute {
* level: pages, headers, footers, etc. (Inside a paragraph SwLinePortion
* instances are used.)
*/
-class SwFrm: public SwClient, public SfxBroadcaster
+class SW_DLLPUBLIC SwFrm: public SwClient, public SfxBroadcaster
{
// the hidden Frm
friend class SwFlowFrm;
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index e9c96e137bb3..70a0acabc743 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -123,7 +123,7 @@ public:
#define SW_CTL 2
#define SW_SCRIPTS 3
-class SwFont
+class SW_DLLPUBLIC SwFont
{
// CJK == Chinese, Japanese, Korean
// CTL == Complex text layout ( Hebrew, Arabic )
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index e4482e878c1b..748fe0ae47b9 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -235,6 +235,14 @@ const static double aEdgeScale = 0.5;
//To optimize the expensive RetouchColor determination
Color aGlobalRetoucheColor;
+namespace sw
+{
+Color* GetActiveRetoucheColor()
+{
+ return &aGlobalRetoucheColor;
+}
+}
+
/**
* Container for static properties
*/