Update contrib.
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
21 class TBidiLogicalToVisual
23 This class is a low-level class for bi-directionally reordering text. It
24 allows the re-ordering of text using no leaving functions at all, and provides
25 a finer degree of control than TBidiText. However, it should not be used
26 without understanding the basics of the Unicode Bi-directional Reordering
33 enum {KMinCharAvailable = 4};
35 IMPORT_C TBidiLogicalToVisual(const TDesC& aText, TBool aRightToLeft,
36 TBidirectionalState::TRunInfo* aRunInfoArray, TInt aRunInfoLength);
37 IMPORT_C TBidiLogicalToVisual(const TDesC& aText,
38 TBidirectionalState::TRunInfo* aRunInfoArray, TInt aRunInfoLength);
39 IMPORT_C TInt Reorder();
40 IMPORT_C void GetVisualLine(TDes& aLine, TInt aStart, TInt aEnd,
41 TChar aTruncationChar);
45 TBidirectionalState::TRunInfo* iRunInfoArray;
46 TInt iRunInfoArrayLength;