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

Delete unused custom paragraph styles.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets
View previous topic :: View next topic  
Author Message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Mon Jan 08, 2007 7:19 pm    Post subject: Reply with quote

Quote:
Now I need to guess the code also for tables.
No need for that. I have edited the code listed in my first try and now believe it will accomplish what you want. Let me know if it suits your needs or not.
Back to top
View user's profile Send private message
esperantisto
Super User
Super User


Joined: 26 Dec 2003
Posts: 779
Location: Belarus

PostPosted: Mon Jan 08, 2007 11:13 pm    Post subject: Reply with quote

I run first DeleteCustomPageStyles(), then DeletePageStyleFromAutoPageBreaks(). This does not work (and DeletePageStyleFromAutoPageBreaks() alone just changes nothing). I still have page breaks with style, not without.
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Tue Jan 09, 2007 4:04 pm    Post subject: Reply with quote

esperantisto,

Very confusing and too complicated to get into but I have once again edited my original code and believe it will work as desired. Let me know.
Back to top
View user's profile Send private message
esperantisto
Super User
Super User


Joined: 26 Dec 2003
Posts: 779
Location: Belarus

PostPosted: Wed Jan 10, 2007 3:59 am    Post subject: Reply with quote

Thank you very much! This works now! Well, I'm afraid, I've been not really clear in my explanations about the issue Sad
Back to top
View user's profile Send private message
timur_oo
General User
General User


Joined: 26 Oct 2005
Posts: 14

PostPosted: Fri May 22, 2009 8:11 am    Post subject: Reply with quote

So, what happened with the extension?
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 Code Snippets All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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