2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_text_Bidi__
5 #define __java_text_Bidi__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
18 class AttributedCharacterIterator
;
24 class java::text::Bidi
: public ::java::lang::Object
28 Bidi(::java::text::AttributedCharacterIterator
*);
29 Bidi(JArray
< jchar
> *, jint
, JArray
< jbyte
> *, jint
, jint
, jint
);
30 Bidi(::java::lang::String
*, jint
);
33 jint
computeParagraphEmbeddingLevel();
34 void computeExplicitLevels();
36 void resolveWeakTypes();
37 void resolveNeutralTypes();
38 void resolveImplicitLevels();
39 void reinsertFormattingCodes();
42 jboolean
baseIsLeftToRight();
43 ::java::text::Bidi
* createLineBidi(jint
, jint
);
46 jint
getLevelAt(jint
);
48 jint
getRunLevel(jint
);
49 jint
getRunLimit(jint
);
50 jint
getRunStart(jint
);
51 jboolean
isLeftToRight();
53 jboolean
isRightToLeft();
54 ::java::lang::String
* toString();
55 static void reorderVisually(JArray
< jbyte
> *, jint
, JArray
< ::java::lang::Object
* > *, jint
, jint
);
56 static jboolean
requiresBidi(JArray
< jchar
> *, jint
, jint
);
57 static const jint DIRECTION_DEFAULT_LEFT_TO_RIGHT
= -2;
58 static const jint DIRECTION_DEFAULT_RIGHT_TO_LEFT
= -1;
59 static const jint DIRECTION_LEFT_TO_RIGHT
= 0;
60 static const jint DIRECTION_RIGHT_TO_LEFT
= 1;
62 static const jint LTOR
= 1;
63 static const jint RTOL
= 2;
64 JArray
< jchar
> * __attribute__((aligned(__alignof__( ::java::lang::Object
)))) text
;
66 JArray
< jbyte
> * embeddings
;
71 JArray
< jbyte
> * types
;
72 JArray
< jbyte
> * levels
;
73 ::java::util::ArrayList
* formatterIndices
;
74 JArray
< jint
> * runs
;
77 static ::java::lang::Class
class$
;
80 #endif // __java_text_Bidi__