Fix typo in the last changelog entry.
[official-gcc.git] / libjava / java / text / Bidi.h
blob59b80ed5a71817dc312fe310a7929fc2c8dcfa95
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_text_Bidi__
5 #define __java_text_Bidi__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace text
18 class AttributedCharacterIterator;
19 class Bidi;
24 class java::text::Bidi : public ::java::lang::Object
27 public:
28 Bidi(::java::text::AttributedCharacterIterator *);
29 Bidi(JArray< jchar > *, jint, JArray< jbyte > *, jint, jint, jint);
30 Bidi(::java::lang::String *, jint);
31 private:
32 void computeTypes();
33 jint computeParagraphEmbeddingLevel();
34 void computeExplicitLevels();
35 void computeRuns();
36 void resolveWeakTypes();
37 void resolveNeutralTypes();
38 void resolveImplicitLevels();
39 void reinsertFormattingCodes();
40 void runBidi();
41 public:
42 jboolean baseIsLeftToRight();
43 ::java::text::Bidi * createLineBidi(jint, jint);
44 jint getBaseLevel();
45 jint getLength();
46 jint getLevelAt(jint);
47 jint getRunCount();
48 jint getRunLevel(jint);
49 jint getRunLimit(jint);
50 jint getRunStart(jint);
51 jboolean isLeftToRight();
52 jboolean isMixed();
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;
61 private:
62 static const jint LTOR = 1;
63 static const jint RTOL = 2;
64 JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
65 jint textOffset;
66 JArray< jbyte > * embeddings;
67 jint embeddingOffset;
68 jint length;
69 jint flags;
70 jint baseEmbedding;
71 JArray< jbyte > * types;
72 JArray< jbyte > * levels;
73 ::java::util::ArrayList * formatterIndices;
74 JArray< jint > * runs;
75 jint resultFlags;
76 public:
77 static ::java::lang::Class class$;
80 #endif // __java_text_Bidi__