From f9af0abce2c266a53f536a207a62bc691213f6a0 Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Sat, 15 Apr 2017 01:44:46 +0200 Subject: 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 Reviewed-by: Bartosz Kosiorek --- cppcanvas/source/inc/implrenderer.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cppcanvas/source/inc') 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 #include +#include +#include + #include #include @@ -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. -- cgit