OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [text/] [Bidi.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_text_Bidi__
5
#define __java_text_Bidi__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace text
17
    {
18
        class AttributedCharacterIterator;
19
        class Bidi;
20
    }
21
  }
22
}
23
 
24
class java::text::Bidi : public ::java::lang::Object
25
{
26
 
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$;
78
};
79
 
80
#endif // __java_text_Bidi__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.