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

[solved] styles & formatting

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
utm1996
General User
General User


Joined: 25 Jul 2011
Posts: 45

PostPosted: Mon Jul 16, 2012 11:16 am    Post subject: [solved] styles & formatting Reply with quote

is there a way to copy over styles (F11) from one spreadsheet to the other or do they need to be re-created in the new spreadsheet?
_________________
------------
OOo 3.3
------------


Last edited by utm1996 on Mon Jul 16, 2012 11:54 am; edited 1 time in total
Back to top
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6733
Location: Kingston ON Canada

PostPosted: Mon Jul 16, 2012 11:39 am    Post subject: Re: styles & formatting Reply with quote

utm1996 wrote:
is there a way to copy over styles (F11) from one spreadsheet to the other or do they need to be re-created in the new spreadsheet?


http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Writer_Guide/Copying_and_moving_styles
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
Back to top
View user's profile Send private message
utm1996
General User
General User


Joined: 25 Jul 2011
Posts: 45

PostPosted: Mon Jul 16, 2012 11:52 am    Post subject: Reply with quote

Thank You!
_________________
------------
OOo 3.3
------------
Back to top
View user's profile Send private message
karolus
OOo Advocate
OOo Advocate


Joined: 22 Jun 2011
Posts: 208

PostPosted: Mon Jul 16, 2012 12:04 pm    Post subject: Reply with quote

Hallo

From out the other Calcfile you can import all Styles from an existing Doc by:

Code:
Sub import_styles

doc = thisComponent

Styles_source_url = converttourl( "c:/your/path/to/doc_with_Styles.ods" )

styles = doc.getStyleFamilies()
options = styles.getStyleLoaderOptions()
styles.loadStylesFromURL( Styles_source_url , options )

End Sub


Karo
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 Calc 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