Skip to content

Commit 97e0cce

Browse files
author
Jakub Petrík
committed
Javascript impl
1 parent 983367f commit 97e0cce

File tree

258 files changed

+37484
-12030
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+37484
-12030
lines changed

PDFReporterKit.xcodeproj/project.pbxproj

Lines changed: 12560 additions & 11518 deletions
Large diffs are not rendered by default.

PDFReporterKit/PDFReporterKit.h

Lines changed: 537 additions & 425 deletions
Large diffs are not rendered by default.

PDFReporterKit/Sources/CustomJavaUtilLoggingHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#include "java/util/logging/handler.h"
10+
#include "java/util/logging/Handler.h"
1111

1212
@interface CustomJavaUtilLoggingHandler : JavaUtilLoggingHandler
1313

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// Generated by the J2ObjC translator. DO NOT EDIT!
3+
// source: ../pdfreporter-core/src/org/oss/pdfreporter/annotations/properties/Property.java
4+
//
5+
6+
#include "J2ObjC_header.h"
7+
8+
#pragma push_macro("INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesProperty")
9+
#ifdef RESTRICT_OrgOssPdfreporterAnnotationsPropertiesProperty
10+
#define INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesProperty 0
11+
#else
12+
#define INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesProperty 1
13+
#endif
14+
#undef RESTRICT_OrgOssPdfreporterAnnotationsPropertiesProperty
15+
16+
#if !defined (OrgOssPdfreporterAnnotationsPropertiesProperty_) && (INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesProperty || defined(INCLUDE_OrgOssPdfreporterAnnotationsPropertiesProperty))
17+
#define OrgOssPdfreporterAnnotationsPropertiesProperty_
18+
19+
#define RESTRICT_JavaLangAnnotationAnnotation 1
20+
#define INCLUDE_JavaLangAnnotationAnnotation 1
21+
#include "java/lang/annotation/Annotation.h"
22+
23+
@class IOSClass;
24+
@class IOSObjectArray;
25+
26+
@protocol OrgOssPdfreporterAnnotationsPropertiesProperty < JavaLangAnnotationAnnotation >
27+
28+
@end
29+
30+
J2OBJC_EMPTY_STATIC_INIT(OrgOssPdfreporterAnnotationsPropertiesProperty)
31+
32+
J2OBJC_TYPE_LITERAL_HEADER(OrgOssPdfreporterAnnotationsPropertiesProperty)
33+
34+
#endif
35+
36+
#pragma pop_macro("INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesProperty")
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
//
2+
// Generated by the J2ObjC translator. DO NOT EDIT!
3+
// source: ../pdfreporter-core/src/org/oss/pdfreporter/annotations/properties/Property.java
4+
//
5+
6+
#include "IOSObjectArray.h"
7+
#include "J2ObjC_source.h"
8+
#include "java/lang/annotation/Annotation.h"
9+
#include "java/lang/annotation/ElementType.h"
10+
#include "java/lang/annotation/Retention.h"
11+
#include "java/lang/annotation/RetentionPolicy.h"
12+
#include "java/lang/annotation/Target.h"
13+
#include "org/oss/pdfreporter/annotations/properties/Property.h"
14+
#include "org/oss/pdfreporter/metadata/properties/PropertyMetadataConstants.h"
15+
16+
@interface OrgOssPdfreporterAnnotationsPropertiesProperty : NSObject
17+
18+
@end
19+
20+
@implementation OrgOssPdfreporterAnnotationsPropertiesProperty
21+
22+
+ (IOSObjectArray *)__annotations {
23+
return [IOSObjectArray newArrayWithObjects:(id[]){ create_JavaLangAnnotationRetention(JreLoadEnum(JavaLangAnnotationRetentionPolicy, SOURCE)), create_JavaLangAnnotationTarget([IOSObjectArray newArrayWithObjects:(id[]){ JreLoadEnum(JavaLangAnnotationElementType, FIELD) } count:1 type:NSObject_class_()]) } count:2 type:JavaLangAnnotationAnnotation_class_()];
24+
}
25+
26+
+ (const J2ObjcClassInfo *)__metadata {
27+
static const J2ObjcMethodInfo methods[] = {
28+
{ "name", "name", "Ljava.lang.String;", 0x401, NULL, NULL },
29+
{ "category", "category", "Ljava.lang.String;", 0x401, NULL, NULL },
30+
{ "defaultValue", "defaultValue", "Ljava.lang.String;", 0x401, NULL, NULL },
31+
{ "scopes", "scopes", "[Lorg.oss.pdfreporter.annotations.properties.PropertyScope;", 0x401, NULL, NULL },
32+
{ "sinceVersion", "sinceVersion", "Ljava.lang.String;", 0x401, NULL, NULL },
33+
{ "valueType", "valueType", "Ljava.lang.Class;", 0x401, NULL, NULL },
34+
{ "scopeQualifications", "scopeQualifications", "[Ljava.lang.String;", 0x401, NULL, NULL },
35+
};
36+
static const J2ObjcClassInfo _OrgOssPdfreporterAnnotationsPropertiesProperty = { 2, "Property", "org.oss.pdfreporter.annotations.properties", NULL, 0x2609, 7, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL };
37+
return &_OrgOssPdfreporterAnnotationsPropertiesProperty;
38+
}
39+
40+
@end
41+
42+
J2OBJC_INTERFACE_TYPE_LITERAL_SOURCE(OrgOssPdfreporterAnnotationsPropertiesProperty)
Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
//
2+
// Generated by the J2ObjC translator. DO NOT EDIT!
3+
// source: ../pdfreporter-core/src/org/oss/pdfreporter/annotations/properties/PropertyScope.java
4+
//
5+
6+
#include "J2ObjC_header.h"
7+
8+
#pragma push_macro("INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesPropertyScope")
9+
#ifdef RESTRICT_OrgOssPdfreporterAnnotationsPropertiesPropertyScope
10+
#define INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesPropertyScope 0
11+
#else
12+
#define INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesPropertyScope 1
13+
#endif
14+
#undef RESTRICT_OrgOssPdfreporterAnnotationsPropertiesPropertyScope
15+
16+
#if !defined (OrgOssPdfreporterAnnotationsPropertiesPropertyScope_) && (INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesPropertyScope || defined(INCLUDE_OrgOssPdfreporterAnnotationsPropertiesPropertyScope))
17+
#define OrgOssPdfreporterAnnotationsPropertiesPropertyScope_
18+
19+
#define RESTRICT_JavaLangEnum 1
20+
#define INCLUDE_JavaLangEnum 1
21+
#include "java/lang/Enum.h"
22+
23+
typedef NS_ENUM(NSUInteger, OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum) {
24+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_SYSTEM = 0,
25+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_GLOBAL = 1,
26+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_CONTEXT = 2,
27+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_REPORT = 3,
28+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_DATASET = 4,
29+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_SUBDATASET_RUN = 5,
30+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_BAND = 6,
31+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_PARAMETER = 7,
32+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_FIELD = 8,
33+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_ELEMENT = 9,
34+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_SUBREPORT = 10,
35+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_HYPERLINK = 11,
36+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_PART = 12,
37+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_CHART_ELEMENT = 13,
38+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_TEXT_ELEMENT = 14,
39+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_BREAK_ELEMENT = 15,
40+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_COMPONENT = 16,
41+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_CROSSTAB = 17,
42+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_CROSSTAB_CELL = 18,
43+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_IMAGE_ELEMENT = 19,
44+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_FRAME = 20,
45+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_GENERIC_ELEMENT = 21,
46+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_TABLE_COLUMN = 22,
47+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_TABLE_CELL = 23,
48+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_EXTENSION = 24,
49+
OrgOssPdfreporterAnnotationsPropertiesPropertyScope_Enum_INTERNAL = 25,
50+
};
51+
52+
@interface OrgOssPdfreporterAnnotationsPropertiesPropertyScope : JavaLangEnum < NSCopying >
53+
54+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)SYSTEM;
55+
56+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)GLOBAL;
57+
58+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)CONTEXT;
59+
60+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)REPORT;
61+
62+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)DATASET;
63+
64+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)SUBDATASET_RUN;
65+
66+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)BAND;
67+
68+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)PARAMETER;
69+
70+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)FIELD;
71+
72+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)ELEMENT;
73+
74+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)SUBREPORT;
75+
76+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)HYPERLINK;
77+
78+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)PART;
79+
80+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)CHART_ELEMENT;
81+
82+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)TEXT_ELEMENT;
83+
84+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)BREAK_ELEMENT;
85+
86+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)COMPONENT;
87+
88+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)CROSSTAB;
89+
90+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)CROSSTAB_CELL;
91+
92+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)IMAGE_ELEMENT;
93+
94+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)FRAME;
95+
96+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)GENERIC_ELEMENT;
97+
98+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)TABLE_COLUMN;
99+
100+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)TABLE_CELL;
101+
102+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)EXTENSION;
103+
104+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)INTERNAL;
105+
106+
#pragma mark Public
107+
108+
- (NSString *)description;
109+
110+
#pragma mark Package-Private
111+
112+
+ (IOSObjectArray *)values;
113+
114+
+ (OrgOssPdfreporterAnnotationsPropertiesPropertyScope *)valueOfWithNSString:(NSString *)name;
115+
116+
- (id)copyWithZone:(NSZone *)zone;
117+
118+
@end
119+
120+
J2OBJC_STATIC_INIT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope)
121+
122+
/*! INTERNAL ONLY - Use enum accessors declared below. */
123+
FOUNDATION_EXPORT OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_values_[];
124+
125+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_SYSTEM();
126+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, SYSTEM)
127+
128+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_GLOBAL();
129+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, GLOBAL)
130+
131+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_CONTEXT();
132+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, CONTEXT)
133+
134+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_REPORT();
135+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, REPORT)
136+
137+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_DATASET();
138+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, DATASET)
139+
140+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_SUBDATASET_RUN();
141+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, SUBDATASET_RUN)
142+
143+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_BAND();
144+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, BAND)
145+
146+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_PARAMETER();
147+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, PARAMETER)
148+
149+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_FIELD();
150+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, FIELD)
151+
152+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_ELEMENT();
153+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, ELEMENT)
154+
155+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_SUBREPORT();
156+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, SUBREPORT)
157+
158+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_HYPERLINK();
159+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, HYPERLINK)
160+
161+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_PART();
162+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, PART)
163+
164+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_CHART_ELEMENT();
165+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, CHART_ELEMENT)
166+
167+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_TEXT_ELEMENT();
168+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, TEXT_ELEMENT)
169+
170+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_BREAK_ELEMENT();
171+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, BREAK_ELEMENT)
172+
173+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_COMPONENT();
174+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, COMPONENT)
175+
176+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_CROSSTAB();
177+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, CROSSTAB)
178+
179+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_CROSSTAB_CELL();
180+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, CROSSTAB_CELL)
181+
182+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_IMAGE_ELEMENT();
183+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, IMAGE_ELEMENT)
184+
185+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_FRAME();
186+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, FRAME)
187+
188+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_GENERIC_ELEMENT();
189+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, GENERIC_ELEMENT)
190+
191+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_TABLE_COLUMN();
192+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, TABLE_COLUMN)
193+
194+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_TABLE_CELL();
195+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, TABLE_CELL)
196+
197+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_EXTENSION();
198+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, EXTENSION)
199+
200+
inline OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_get_INTERNAL();
201+
J2OBJC_ENUM_CONSTANT(OrgOssPdfreporterAnnotationsPropertiesPropertyScope, INTERNAL)
202+
203+
FOUNDATION_EXPORT IOSObjectArray *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_values();
204+
205+
FOUNDATION_EXPORT OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_valueOfWithNSString_(NSString *name);
206+
207+
FOUNDATION_EXPORT OrgOssPdfreporterAnnotationsPropertiesPropertyScope *OrgOssPdfreporterAnnotationsPropertiesPropertyScope_fromOrdinal(NSUInteger ordinal);
208+
209+
J2OBJC_TYPE_LITERAL_HEADER(OrgOssPdfreporterAnnotationsPropertiesPropertyScope)
210+
211+
#endif
212+
213+
#pragma pop_macro("INCLUDE_ALL_OrgOssPdfreporterAnnotationsPropertiesPropertyScope")

0 commit comments

Comments
 (0)