summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/rtf
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/text/rtf')
-rw-r--r--libjava/javax/swing/text/rtf/ControlWordToken.h38
-rw-r--r--libjava/javax/swing/text/rtf/RTFEditorKit.h39
-rw-r--r--libjava/javax/swing/text/rtf/RTFParseException.h36
-rw-r--r--libjava/javax/swing/text/rtf/RTFParser.h49
-rw-r--r--libjava/javax/swing/text/rtf/RTFScanner.h50
-rw-r--r--libjava/javax/swing/text/rtf/TextToken.h36
-rw-r--r--libjava/javax/swing/text/rtf/Token.h41
7 files changed, 289 insertions, 0 deletions
diff --git a/libjava/javax/swing/text/rtf/ControlWordToken.h b/libjava/javax/swing/text/rtf/ControlWordToken.h
new file mode 100644
index 000000000..aa6a352a4
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/ControlWordToken.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_ControlWordToken__
+#define __javax_swing_text_rtf_ControlWordToken__
+
+#pragma interface
+
+#include <javax/swing/text/rtf/Token.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ namespace rtf
+ {
+ class ControlWordToken;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::ControlWordToken : public ::javax::swing::text::rtf::Token
+{
+
+public:
+ ControlWordToken(::java::lang::String *);
+ ControlWordToken(::java::lang::String *, jint);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::rtf::Token)))) name;
+ jint param;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_ControlWordToken__
diff --git a/libjava/javax/swing/text/rtf/RTFEditorKit.h b/libjava/javax/swing/text/rtf/RTFEditorKit.h
new file mode 100644
index 000000000..789bec142
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/RTFEditorKit.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_RTFEditorKit__
+#define __javax_swing_text_rtf_RTFEditorKit__
+
+#pragma interface
+
+#include <javax/swing/text/StyledEditorKit.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ class Document;
+ namespace rtf
+ {
+ class RTFEditorKit;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::RTFEditorKit : public ::javax::swing::text::StyledEditorKit
+{
+
+public:
+ RTFEditorKit();
+ virtual ::java::lang::String * getContentType();
+ virtual void read(::java::io::InputStream *, ::javax::swing::text::Document *, jint);
+ virtual void read(::java::io::Reader *, ::javax::swing::text::Document *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_RTFEditorKit__
diff --git a/libjava/javax/swing/text/rtf/RTFParseException.h b/libjava/javax/swing/text/rtf/RTFParseException.h
new file mode 100644
index 000000000..4c5e2b81a
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/RTFParseException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_RTFParseException__
+#define __javax_swing_text_rtf_RTFParseException__
+
+#pragma interface
+
+#include <java/lang/RuntimeException.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ namespace rtf
+ {
+ class RTFParseException;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::RTFParseException : public ::java::lang::RuntimeException
+{
+
+public:
+ RTFParseException();
+ RTFParseException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_RTFParseException__
diff --git a/libjava/javax/swing/text/rtf/RTFParser.h b/libjava/javax/swing/text/rtf/RTFParser.h
new file mode 100644
index 000000000..5de9f5920
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/RTFParser.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_RTFParser__
+#define __javax_swing_text_rtf_RTFParser__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ class Document;
+ namespace rtf
+ {
+ class RTFParser;
+ class RTFScanner;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::RTFParser : public ::java::lang::Object
+{
+
+ RTFParser(::javax::swing::text::Document *, jint);
+public:
+ RTFParser(::java::io::InputStream *, ::javax::swing::text::Document *, jint);
+ RTFParser(::java::io::Reader *, ::javax::swing::text::Document *, jint);
+ virtual ::javax::swing::text::Document * getDocument();
+ virtual void parse();
+private:
+ void parseFile();
+ void parseHeader();
+ void parseDocument();
+ ::javax::swing::text::rtf::RTFScanner * __attribute__((aligned(__alignof__( ::java::lang::Object)))) scanner;
+ ::javax::swing::text::Document * doc;
+ jint pos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_RTFParser__
diff --git a/libjava/javax/swing/text/rtf/RTFScanner.h b/libjava/javax/swing/text/rtf/RTFScanner.h
new file mode 100644
index 000000000..ebfd9108a
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/RTFScanner.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_RTFScanner__
+#define __javax_swing_text_rtf_RTFScanner__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ namespace rtf
+ {
+ class RTFScanner;
+ class Token;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::RTFScanner : public ::java::lang::Object
+{
+
+ RTFScanner();
+public:
+ RTFScanner(::java::io::InputStream *);
+ RTFScanner(::java::io::Reader *);
+private:
+ ::javax::swing::text::rtf::Token * readTokenImpl();
+public: // actually package-private
+ virtual ::javax::swing::text::rtf::Token * peekToken();
+ virtual ::javax::swing::text::rtf::Token * readToken();
+private:
+ ::javax::swing::text::rtf::Token * readControlWord();
+ ::javax::swing::text::rtf::Token * readText();
+ ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in;
+ ::java::lang::StringBuffer * buffer;
+ ::javax::swing::text::rtf::Token * lastToken;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_RTFScanner__
diff --git a/libjava/javax/swing/text/rtf/TextToken.h b/libjava/javax/swing/text/rtf/TextToken.h
new file mode 100644
index 000000000..189d22994
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/TextToken.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_TextToken__
+#define __javax_swing_text_rtf_TextToken__
+
+#pragma interface
+
+#include <javax/swing/text/rtf/Token.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ namespace rtf
+ {
+ class TextToken;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::TextToken : public ::javax::swing::text::rtf::Token
+{
+
+public:
+ TextToken(::java::lang::String *);
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::rtf::Token)))) text;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_TextToken__
diff --git a/libjava/javax/swing/text/rtf/Token.h b/libjava/javax/swing/text/rtf/Token.h
new file mode 100644
index 000000000..bd32666bf
--- /dev/null
+++ b/libjava/javax/swing/text/rtf/Token.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_rtf_Token__
+#define __javax_swing_text_rtf_Token__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace text
+ {
+ namespace rtf
+ {
+ class Token;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::text::rtf::Token : public ::java::lang::Object
+{
+
+public:
+ Token(jint);
+ static const jint EOF = -1;
+ static const jint LCURLY = 1;
+ static const jint RCURLY = 2;
+ static const jint CONTROL_WORD = 3;
+ static const jint TEXT = 4;
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_rtf_Token__