path: root/cppcanvas/source/inc/implrenderer.hxx
diff options
authorBartosz Kosiorek <>2017-04-15 01:44:46 +0200
committerBartosz Kosiorek <>2017-04-24 09:52:17 +0200
commitf9af0abce2c266a53f536a207a62bc691213f6a0 (patch)
treeb358d783a6ec11cbf1ca94f81cab372447d44484 /cppcanvas/source/inc/implrenderer.hxx
parentbf286d12502688e63acebf381123ef05c750b852 (diff)
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: Tested-by: Jenkins <> Reviewed-by: Bartosz Kosiorek <>
Diffstat (limited to 'cppcanvas/source/inc/implrenderer.hxx')
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.