Skip to content

Commit 4d3d556

Browse files
committed
Add more Excel and Office wrapper classes
1 parent 4eb1454 commit 4d3d556

File tree

11 files changed

+1575
-0
lines changed

11 files changed

+1575
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
package com.exceljava.com4j.excel ;
2+
3+
import com4j.*;
4+
5+
@IID("{00020400-0000-0000-C000-000000000046}")
6+
public interface Author extends Com4jObject {
7+
// Methods:
8+
/**
9+
* <p>
10+
* Getter method for the COM property "Application"
11+
* </p>
12+
*/
13+
14+
@DISPID(148)
15+
@PropGet
16+
com.exceljava.com4j.excel._Application getApplication();
17+
18+
19+
/**
20+
* <p>
21+
* Getter method for the COM property "Creator"
22+
* </p>
23+
*/
24+
25+
@DISPID(149)
26+
@PropGet
27+
com.exceljava.com4j.excel.XlCreator getCreator();
28+
29+
30+
/**
31+
* <p>
32+
* Getter method for the COM property "Parent"
33+
* </p>
34+
*/
35+
36+
@DISPID(150)
37+
@PropGet
38+
com4j.Com4jObject getParent();
39+
40+
41+
/**
42+
* <p>
43+
* Getter method for the COM property "Name"
44+
* </p>
45+
*/
46+
47+
@DISPID(110)
48+
@PropGet
49+
java.lang.String getName();
50+
51+
52+
/**
53+
* <p>
54+
* Getter method for the COM property "ProviderID"
55+
* </p>
56+
*/
57+
58+
@DISPID(3286)
59+
@PropGet
60+
java.lang.String getProviderID();
61+
62+
63+
/**
64+
* <p>
65+
* Getter method for the COM property "UserID"
66+
* </p>
67+
*/
68+
69+
@DISPID(3287)
70+
@PropGet
71+
java.lang.String getUserID();
72+
73+
74+
// Properties:
75+
}
Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
package com.exceljava.com4j.excel ;
2+
3+
import com4j.*;
4+
5+
@IID("{00020400-0000-0000-C000-000000000046}")
6+
public interface CommentThreaded extends Com4jObject {
7+
// Methods:
8+
/**
9+
* <p>
10+
* Getter method for the COM property "Application"
11+
* </p>
12+
*/
13+
14+
@DISPID(148)
15+
@PropGet
16+
com.exceljava.com4j.excel._Application getApplication();
17+
18+
19+
/**
20+
* <p>
21+
* Getter method for the COM property "Creator"
22+
* </p>
23+
*/
24+
25+
@DISPID(149)
26+
@PropGet
27+
com.exceljava.com4j.excel.XlCreator getCreator();
28+
29+
30+
/**
31+
* <p>
32+
* Getter method for the COM property "Parent"
33+
* </p>
34+
*/
35+
36+
@DISPID(150)
37+
@PropGet
38+
com4j.Com4jObject getParent();
39+
40+
41+
/**
42+
* <p>
43+
* This method uses predefined default values for the following parameters:
44+
* </p>
45+
* <ul>
46+
* <li>java.lang.Object parameter text is set to com4j.Variant.getMissing()</li></ul>
47+
* <p>
48+
* Therefore, using this method is equivalent to
49+
* <code>
50+
* addReply(com4j.Variant.getMissing());
51+
* </code>
52+
* </p>
53+
*/
54+
55+
@DISPID(3283)
56+
@UseDefaultValues(paramIndexMapping = {}, optParamIndex = {0}, javaType = {java.lang.Object.class}, nativeType = {NativeType.VARIANT}, variantType = {Variant.Type.VT_ERROR}, literal = {"80020004"})
57+
@ReturnValue(index=-1)
58+
com.exceljava.com4j.excel.CommentThreaded addReply();
59+
60+
/**
61+
* @param text Optional parameter. Default value is com4j.Variant.getMissing()
62+
*/
63+
64+
@DISPID(3283)
65+
com.exceljava.com4j.excel.CommentThreaded addReply(
66+
@Optional java.lang.Object text);
67+
68+
69+
/**
70+
*/
71+
72+
@DISPID(117)
73+
void delete();
74+
75+
76+
/**
77+
* <p>
78+
* This method uses predefined default values for the following parameters:
79+
* </p>
80+
* <ul>
81+
* <li>java.lang.Object parameter text is set to com4j.Variant.getMissing()</li><li>java.lang.Object parameter start is set to com4j.Variant.getMissing()</li><li>java.lang.Object parameter overwrite is set to com4j.Variant.getMissing()</li></ul>
82+
* <p>
83+
* Therefore, using this method is equivalent to
84+
* <code>
85+
* text(com4j.Variant.getMissing(), com4j.Variant.getMissing(), com4j.Variant.getMissing());
86+
* </code>
87+
* </p>
88+
*/
89+
90+
@DISPID(138)
91+
@UseDefaultValues(paramIndexMapping = {}, optParamIndex = {0, 1, 2}, javaType = {java.lang.Object.class, java.lang.Object.class, java.lang.Object.class}, nativeType = {NativeType.VARIANT, NativeType.VARIANT, NativeType.VARIANT}, variantType = {Variant.Type.VT_ERROR, Variant.Type.VT_ERROR, Variant.Type.VT_ERROR}, literal = {"80020004", "80020004", "80020004"})
92+
@ReturnValue(index=-1)
93+
java.lang.String text();
94+
95+
/**
96+
* <p>
97+
* This method uses predefined default values for the following parameters:
98+
* </p>
99+
* <ul>
100+
* <li>java.lang.Object parameter start is set to com4j.Variant.getMissing()</li><li>java.lang.Object parameter overwrite is set to com4j.Variant.getMissing()</li></ul>
101+
* <p>
102+
* Therefore, using this method is equivalent to
103+
* <code>
104+
* text(text, com4j.Variant.getMissing(), com4j.Variant.getMissing());
105+
* </code>
106+
* </p>
107+
* @param text Optional parameter. Default value is com4j.Variant.getMissing()
108+
*/
109+
110+
@DISPID(138)
111+
@UseDefaultValues(paramIndexMapping = {0}, optParamIndex = {1, 2}, javaType = {java.lang.Object.class, java.lang.Object.class}, nativeType = {NativeType.VARIANT, NativeType.VARIANT}, variantType = {Variant.Type.VT_ERROR, Variant.Type.VT_ERROR}, literal = {"80020004", "80020004"})
112+
@ReturnValue(index=-1)
113+
java.lang.String text(
114+
@Optional java.lang.Object text);
115+
116+
/**
117+
* <p>
118+
* This method uses predefined default values for the following parameters:
119+
* </p>
120+
* <ul>
121+
* <li>java.lang.Object parameter overwrite is set to com4j.Variant.getMissing()</li></ul>
122+
* <p>
123+
* Therefore, using this method is equivalent to
124+
* <code>
125+
* text(text, start, com4j.Variant.getMissing());
126+
* </code>
127+
* </p>
128+
* @param text Optional parameter. Default value is com4j.Variant.getMissing()
129+
* @param start Optional parameter. Default value is com4j.Variant.getMissing()
130+
*/
131+
132+
@DISPID(138)
133+
@UseDefaultValues(paramIndexMapping = {0, 1}, optParamIndex = {2}, javaType = {java.lang.Object.class}, nativeType = {NativeType.VARIANT}, variantType = {Variant.Type.VT_ERROR}, literal = {"80020004"})
134+
@ReturnValue(index=-1)
135+
java.lang.String text(
136+
@Optional java.lang.Object text,
137+
@Optional java.lang.Object start);
138+
139+
/**
140+
* @param text Optional parameter. Default value is com4j.Variant.getMissing()
141+
* @param start Optional parameter. Default value is com4j.Variant.getMissing()
142+
* @param overwrite Optional parameter. Default value is com4j.Variant.getMissing()
143+
*/
144+
145+
@DISPID(138)
146+
java.lang.String text(
147+
@Optional java.lang.Object text,
148+
@Optional java.lang.Object start,
149+
@Optional java.lang.Object overwrite);
150+
151+
152+
/**
153+
* <p>
154+
* Getter method for the COM property "SupportsReplies"
155+
* </p>
156+
*/
157+
158+
@DISPID(3284)
159+
@PropGet
160+
boolean getSupportsReplies();
161+
162+
163+
/**
164+
* <p>
165+
* Getter method for the COM property "Replies"
166+
* </p>
167+
*/
168+
169+
@DISPID(3285)
170+
@PropGet
171+
com.exceljava.com4j.excel.CommentsThreaded getReplies();
172+
173+
174+
/**
175+
* <p>
176+
* Getter method for the COM property "Author"
177+
* </p>
178+
*/
179+
180+
@DISPID(574)
181+
@PropGet
182+
com.exceljava.com4j.excel.Author getAuthor();
183+
184+
185+
/**
186+
* <p>
187+
* Getter method for the COM property "Date"
188+
* </p>
189+
*/
190+
191+
@DISPID(465)
192+
@PropGet
193+
java.lang.Object getDate();
194+
195+
196+
/**
197+
*/
198+
199+
@DISPID(502)
200+
com.exceljava.com4j.excel.CommentThreaded next();
201+
202+
203+
/**
204+
*/
205+
206+
@DISPID(503)
207+
com.exceljava.com4j.excel.CommentThreaded previous();
208+
209+
210+
// Properties:
211+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
package com.exceljava.com4j.excel ;
2+
3+
import com4j.*;
4+
5+
@IID("{00020400-0000-0000-C000-000000000046}")
6+
public interface CommentsThreaded extends Com4jObject,Iterable<Com4jObject> {
7+
// Methods:
8+
/**
9+
* <p>
10+
* Getter method for the COM property "Application"
11+
* </p>
12+
*/
13+
14+
@DISPID(148)
15+
@PropGet
16+
com.exceljava.com4j.excel._Application getApplication();
17+
18+
19+
/**
20+
* <p>
21+
* Getter method for the COM property "Creator"
22+
* </p>
23+
*/
24+
25+
@DISPID(149)
26+
@PropGet
27+
com.exceljava.com4j.excel.XlCreator getCreator();
28+
29+
30+
/**
31+
* <p>
32+
* Getter method for the COM property "Parent"
33+
* </p>
34+
*/
35+
36+
@DISPID(150)
37+
@PropGet
38+
com4j.Com4jObject getParent();
39+
40+
41+
/**
42+
* <p>
43+
* Getter method for the COM property "Count"
44+
* </p>
45+
*/
46+
47+
@DISPID(118)
48+
@PropGet
49+
int getCount();
50+
51+
52+
/**
53+
* @param index Mandatory int parameter.
54+
*/
55+
56+
@DISPID(170)
57+
com.exceljava.com4j.excel.CommentThreaded item(
58+
int index);
59+
60+
61+
/**
62+
* <p>
63+
* Getter method for the COM property "_Default"
64+
* </p>
65+
* @param index Mandatory int parameter.
66+
*/
67+
68+
@DISPID(0)
69+
@PropGet
70+
@DefaultMethod
71+
com.exceljava.com4j.excel.CommentThreaded get_Default(
72+
int index);
73+
74+
75+
/**
76+
* <p>
77+
* Getter method for the COM property "_NewEnum"
78+
* </p>
79+
*/
80+
81+
@DISPID(-4)
82+
@PropGet
83+
java.util.Iterator<Com4jObject> iterator();
84+
85+
// Properties:
86+
}

0 commit comments

Comments
 (0)