summaryrefslogtreecommitdiffstats
path: root/cppcanvas/source/inc
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2017-04-15 01:44:46 +0200
committerBartosz Kosiorek <gang65@poczta.onet.pl>2017-04-24 09:52:17 +0200
commitf9af0abce2c266a53f536a207a62bc691213f6a0 (patch)
treeb358d783a6ec11cbf1ca94f81cab372447d44484 /cppcanvas/source/inc
parentIndentation fixes (diff)
downloadcore-f9af0abce2c266a53f536a207a62bc691213f6a0.tar.gz
core-f9af0abce2c266a53f536a207a62bc691213f6a0.zip
EMF+ Add initial support for EmfPlusStringFormat Object
The EmfPlusStringFormat object specifies text layout, display manipulations, and language identification. With this commit the support for font language and country was added. Also Bold style is applied, for strings which needs that. Change-Id: Id9735a9ddb959aebd20d6d4d1bb5da0fa9c1fb85 Reviewed-on: https://gerrit.libreoffice.org/36555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'cppcanvas/source/inc')
-rw-r--r--cppcanvas/source/inc/implrenderer.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index 033882d15620..75b091d3f6c4 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -28,6 +28,9 @@
#include <action.hxx>
#include <outdevstate.hxx>
+#include <com/sun/star/rendering/FontRequest.hpp>
+#include <com/sun/star/rendering/StrokeAttributes.hpp>
+
#include <osl/endian.h>
#include <vector>
@@ -274,7 +277,7 @@ static float GetSwapFloat( SvStream& rSt )
/* EMF+ */
void processEMFPlus( MetaCommentAction* pAct, const ActionFactoryParameters& rFactoryParms, OutDevState& rState, const CanvasSharedPtr& rCanvas );
- double setFont( sal_uInt8 objectId, const ActionFactoryParameters& rParms, OutDevState& rState );
+ double setFont(css::rendering::FontRequest& aFontRequest, sal_uInt8 fontObjectId, const ActionFactoryParameters& rParms, OutDevState& rState );
/// Render LineCap, like the start or end arrow of a polygon.
/// @return how much we should shorten the original polygon.