View Single Post
Old 12-12-2010, 12:29 PM   #190
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
Quote:
Originally Posted by Adjust View Post
I just tested this out with openoffice MAC version. And it works ok, except it didn't bring any of my premade styles across into the CSS file.
Thanks to a Luke's tip I'm using some custom style for my epubs.
You can easily force W2E to export custom styles of your choice, just go into the macro (tools-macro-organize), then in traverse sheet, where you can find the list of all supported styles, like this:

Code:
		Case "Title" , "title" 
			sStr = "<p class=""title"">" & sStr & "</p>"
you can add your own styles, like MyOwnStyle:

Code:
		Case "MyOwnStyle" , "MyOwnStyle" 
			sStr = "<p class=""MyOwnStyle"">" & sStr & "</p>"
after that add the style in the css sheet and you're good.

Just remember that after each upgrade you have to redo the stuff.
superanima is offline