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

Find out which documents are open

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





PostPosted: Fri Feb 27, 2004 4:04 pm    Post subject: Find out which documents are open Reply with quote

Hi list,

After editing a document loaded from a database in a comprehensive system, I need to close all documents that were edited. Otherwise they would remain open, and someone would be able to edit documents while the application that stores them is closed.

So, how can I loop thru all open (writer) documents (and close them)

Thanks in advance

D. Kniep
Back to top
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Sat Feb 28, 2004 9:26 am    Post subject: Reply with quote

Here is an example
http://www.oooforum.org/forum/viewtopic.php?p=14057#14057
of looping through all open documents, and picking out particular ones, and having different behavior depending on whether the document is Draw, Calc, Writer, etc., and depending on whether the document has been saved or not.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
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