OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Detecting all fields from Calc or Writer Template

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
synyx
Guest





PostPosted: Wed Apr 14, 2004 10:18 am    Post subject: Detecting all fields from Calc or Writer Template Reply with quote

Hi,

is there any possibility to get an enumeration over all fillable fields from a calc or writer document? I want to do this with the Java SDK from OO..

I don`t know anything about the document structure so i need this informations... If this isn`t possible, is there anyone who has experiences with parsing this informations via Java?

Any help is strongly appreciated!

Kind Regards

Joachim Arrasz

Synyx oHG

PD : sorry for this bad english!
sry for crosspost this article but i saw this thread too late!
Back to top
dfrench
Moderator
Moderator


Joined: 03 Mar 2003
Posts: 1605
Location: Wellington, New Zealand

PostPosted: Wed Apr 14, 2004 11:56 am    Post subject: Reply with quote

There are several different types of fields see the API documentation for detail
An example of enumerating over textfields is shown here http://www.oooforum.org/forum/viewtopic.php?t=7786
Back to top
View user's profile Send private message
Synyx
Guest





PostPosted: Thu Apr 15, 2004 12:44 am    Post subject: Reply with quote

Hi dfrench,

thanks a lot for this fast answer. I believed that this should work, it seems to be quite easy to translate this code into Java. So we`ll try this. But i found no way to do this with calc documents. Is there any difference between cells which are predefined and fillable cells?

The getTextFields() Method isn`t available with calc-templates as i`ve seen.

Best Regards

Joachim Arrasz

Synyx oHG Karlsruhe, Germany
Back to top
Synyx
Guest





PostPosted: Thu Apr 15, 2004 12:47 am    Post subject: Reply with quote

After a bit more reading in the API i found fields in calc so this is hopefully what i need.

I will post our results later on after some test !!

Thanks a lot

Best Regards

Joachim Arrasz

Synyx oHG Karlsruhe
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group