INTEGRATION: CWS presentationengine01 (1.2.2); FILE MERGED

2004/07/20 19:09:08 thb 1.2.2.4: #110496# Unified include statements; removed external prefix from boost includes
2004/05/27 20:51:29 thb 1.2.2.3: #110496#
Added classification code to all TODO/HACK/FIXME comments.
There are four categories:
 - code quality (C)
 - performance (P)
 - missing functionality (F)
 - and missing/incomplete error handling (E)

Furthermore, every category has a severity number between
1 and 3 associated, where 1 is lowest and 3 highest
severity
2004/05/11 15:21:03 hdu 1.2.2.2: #116716# adjust to new BiDi options
2004/04/05 15:58:55 thb 1.2.2.1: Resync with canvas01 changes
This commit is contained in:
Rüdiger Timm
2004-11-26 20:02:57 +00:00
parent f5febc6565
commit 7a5bb68607

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: impltext.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: thb $ $Date: 2004-03-18 10:41:13 $
* last change: $Author: rt $ $Date: 2004-11-26 21:02:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,7 +59,7 @@
*
************************************************************************/
#include "impltext.hxx"
#include <impltext.hxx>
#include <canvas/canvastools.hxx>
#ifndef _DRAFTS_COM_SUN_STAR_RENDERING_TEXTDIRECTION_HPP__
@@ -114,12 +114,14 @@ namespace cppcanvas
aText.StartPosition = 0;
aText.Length = maText.getLength();
// TODO: implement caching
// TODO(P1): implement caching
// TODO(F2): where to get current BiDi status?
sal_Int8 nBidiOption = rendering::TextDirection::WEAK_LEFT_TO_RIGHT;
pCanvas->getUNOCanvas()->drawText( aText,
mpFont->getUNOFont(),
pCanvas->getViewState(),
maRenderState,
rendering::TextDirection::LEFT_TO_RIGHT );
nBidiOption );
return true;
}