Results 1 to 4 of 4
Thread: addTab() missing
- 11-11-2014, 08:37 AM #1
Member
- Join Date
- Nov 2014
- Posts
- 2
- Rep Power
- 0
addTab() missing
Hello everyone,
I'm using the Apache POI (poi-3.10.1) in order to generate a docx-document. The documentation says that there is a method, called addTab().
But when I'm trying to call this method during a XWPFRun, a get an error, because the method is missing (see my attachment).
Probably I make a mistake, do you have any idea?
Best regards and thanks in advance,
zitb
- 11-11-2014, 10:08 AM #2
Re: addTab() missing
I see two possibilities: either the type declaration of cRun isn't XWPFRun or your IDE is not using the same version as the documentation you linked.
What happens if you type the method call and try to compile the class? The compiler messages may provide a clue about what's wrong.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
- 11-11-2014, 10:16 AM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: addTab() missing
Looking at grepCode that method only appears in 3.11, which is in beta.
I'm sure I've encountered this before, where Apache puts up the latest code as the JavaDoc, even if it's in Beta, rather than the latest stable release, which is what I would expect.Please do not ask for code as refusal often offends.
** This space for rent **
- 11-11-2014, 10:32 AM #4
Member
- Join Date
- Nov 2014
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
What am I missing?
By jean28 in forum New To JavaReplies: 4Last Post: 10-28-2012, 06:31 PM -
org.j3d is missing...
By LinuxDev@Flanders in forum Java GamingReplies: 3Last Post: 07-23-2012, 01:31 PM -
What am I missing here?
By PuppetJacks in forum New To JavaReplies: 4Last Post: 07-01-2012, 12:16 PM -
What am I missing here..?
By andrew_smiley in forum New To JavaReplies: 5Last Post: 02-22-2012, 02:47 PM -
missing info
By java-noob in forum New To JavaReplies: 2Last Post: 04-20-2010, 10:55 AM
Bookmarks