summaryrefslogtreecommitdiff
path: root/libjava/java/text/Bidi.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/text/Bidi.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/text/Bidi.h')
-rw-r--r--libjava/java/text/Bidi.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/libjava/java/text/Bidi.h b/libjava/java/text/Bidi.h
new file mode 100644
index 000000000..59b80ed5a
--- /dev/null
+++ b/libjava/java/text/Bidi.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_Bidi__
+#define __java_text_Bidi__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class AttributedCharacterIterator;
+ class Bidi;
+ }
+ }
+}
+
+class java::text::Bidi : public ::java::lang::Object
+{
+
+public:
+ Bidi(::java::text::AttributedCharacterIterator *);
+ Bidi(JArray< jchar > *, jint, JArray< jbyte > *, jint, jint, jint);
+ Bidi(::java::lang::String *, jint);
+private:
+ void computeTypes();
+ jint computeParagraphEmbeddingLevel();
+ void computeExplicitLevels();
+ void computeRuns();
+ void resolveWeakTypes();
+ void resolveNeutralTypes();
+ void resolveImplicitLevels();
+ void reinsertFormattingCodes();
+ void runBidi();
+public:
+ jboolean baseIsLeftToRight();
+ ::java::text::Bidi * createLineBidi(jint, jint);
+ jint getBaseLevel();
+ jint getLength();
+ jint getLevelAt(jint);
+ jint getRunCount();
+ jint getRunLevel(jint);
+ jint getRunLimit(jint);
+ jint getRunStart(jint);
+ jboolean isLeftToRight();
+ jboolean isMixed();
+ jboolean isRightToLeft();
+ ::java::lang::String * toString();
+ static void reorderVisually(JArray< jbyte > *, jint, JArray< ::java::lang::Object * > *, jint, jint);
+ static jboolean requiresBidi(JArray< jchar > *, jint, jint);
+ static const jint DIRECTION_DEFAULT_LEFT_TO_RIGHT = -2;
+ static const jint DIRECTION_DEFAULT_RIGHT_TO_LEFT = -1;
+ static const jint DIRECTION_LEFT_TO_RIGHT = 0;
+ static const jint DIRECTION_RIGHT_TO_LEFT = 1;
+private:
+ static const jint LTOR = 1;
+ static const jint RTOL = 2;
+ JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
+ jint textOffset;
+ JArray< jbyte > * embeddings;
+ jint embeddingOffset;
+ jint length;
+ jint flags;
+ jint baseEmbedding;
+ JArray< jbyte > * types;
+ JArray< jbyte > * levels;
+ ::java::util::ArrayList * formatterIndices;
+ JArray< jint > * runs;
+ jint resultFlags;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_Bidi__