|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 21034
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1 (x2), Kobo Glo, Various Android Apps on JellyBean Tablet
|
OpenOffice Styles
Other standard styles such as Preformatted Text W2E warned me it couldn't handle and would treat as Plain Text. Using LO 3.4.5 an W2E 1.1.15 Is there a list of what styles W2E will handle (other than Headers). BobC |
|
|
|
|
|
#2 | |
|
Ebook Museum Curator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 299
Karma: 106851
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
I'm working to improve style handling in W2E. In the 1.1.15, the styles supported are: Code:
SupportedStylesList(0) = "Standard" SupportedStylesList(1) = "Text body" SupportedStylesList(2) = "Heading" SupportedStylesList(3) = "Heading 1" SupportedStylesList(4) = "Heading 2" SupportedStylesList(5) = "Heading 3" SupportedStylesList(6) = "Heading 4" SupportedStylesList(7) = "Heading 5" SupportedStylesList(8) = "Heading 6" SupportedStylesList(9) = "Title" SupportedStylesList(10) = "Subtitle" SupportedStylesList(11) = "Caption" SupportedStylesList(12) = "Quotations" SupportedStylesList(13) = "Marginalia" SupportedStylesList(14) = "Illustration" SupportedStylesList(15) = "Horizontal Line" SupportedStylesList(16) = "Footnote" What happens in the next release? In the next release will be support more styles (included Preformatted Text, and you can create your own style calling it w2e_something. All styles which name starts with w2e_ will be added to the CSS respecting: – font height – paragraph's top, left, right, bottom margins – first line indent Moreover the 1.1.16 has a better image export quality, many bugs corrected, optional export to Mobipocket format. You can test the beta by downloading it here Finally, the user manual is here, I need translators in other languages as soon as will be update… Thanks Luke
__________________
Last edited by eBookLuke; 01-22-2012 at 02:54 AM. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 21034
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1 (x2), Kobo Glo, Various Android Apps on JellyBean Tablet
|
Luke,
Thanks for the info - I looked further into my problem and have found that the paragraphs with the extra text at the beginning as well as being formatted as "Quotations" style were in a Bullet List so it appears that was upsetting your conversion routine. Now I have understood what the underlying problem is I can simply change the style to Default where the paragraph in in a List. That's what comes of importing someone else's HTML into Writer as a basis for a conversion ! BobC |
|
|
|
|
|
#4 |
|
Ebook Museum Curator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 299
Karma: 106851
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Hi,
can you send your text to writer2epub[at]gmail.com ? thanks Luke
__________________
|
|
|
|
|
|
#5 | |
|
Connoisseur
![]() Posts: 58
Karma: 10
Join Date: Dec 2008
Location: Paris, France
Device: Nook Color
|
Quote:
Something's wrong, there is nothing at this URL ?
__________________
Windows Seven SP1 64 bits |
|
|
|
|
|
|
#6 |
|
Member
![]() Posts: 18
Karma: 12
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
The link says http://lukesblog/wiki
but it should be http://lukesblog.IT/wiki ![]() @ Luke: You should definitely take actions against changing the main page by some unregistered users. I've just restored the "Pagina principale" a minute ago. See page history. BTW - I'm sitting on the German translation of the Wiki. |
|
|
|
|
|
#7 | |||
|
Ebook Museum Curator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 299
Karma: 106851
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
Thanks! Quote:
Quote:
Do you have idea how to implement multilanguage switch like these?
__________________
|
|||
|
|
|
|
|
#8 | |
|
Member
![]() Posts: 18
Karma: 12
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
![]() MediaWiki Language Template Documentation |
|
|
|
|
|
|
#9 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2012
Device: Kobo Touch
|
Personal style handling in W2E is a great improvement I think (BTW the whole W2E is great, thx a lot Luke!)
Even (text) color is transformed to CSS. Font-sizes are treated relative. Good. Though in my experiments bold and italic style declarations do not appear in my CSS-classes (font-weight / font-style). Instead I still get explicite HTML markup inside my <p>'s. Do I miss something at this point? (W2E 1.1.20, LO 3.4.6) |
|
|
|
|
|
#10 | |
|
Ebook Museum Curator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 299
Karma: 106851
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
Luke
__________________
|
|
|
|
|
|
|
#11 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2012
Device: Kobo Touch
|
sent to the writer2epub gmail address. Hope this is fine.
I looked to the source again: - (regular) headings also get an additional <strong> inside (no css definition for font-weight in <h1> etc). - CSS: the 'text-decoration' definition for <a> misses a trailing semicolon. Seems to happen in all my w2e epubs. Last edited by minipunk; 11-15-2012 at 04:17 AM. Reason: more precise |
|
|
|
|
|
#12 | |
|
Ebook Museum Curator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 299
Karma: 106851
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
I will send to you the next 2.0 beta as soon will be stable Luke
__________________
|
|
|
|
|
|
|
#13 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2012
Device: Kobo Touch
|
Thx, that's great! Looking forward to it
![]() Found some other usecase, where different types of styling techniques unluckily mix together: A standard heading in LO typically is defined left-aligned, though the resulting epub will have it centered. This is due to the hardcoded text-align: center; for h1 etc.. (Macro: writer2epub.CSS.CreateCSSFile). But when the heading's style is defined right-aligned in LO, the resulting epub <h1> gets some additional class="right" overruling the css h1.text-align. The heading now gets aligned to the right as supposed. For an ordinary, non-technical user this behaviour might be confusing - or magic ![]() (pls tell me if you need example odt's) |
|
|
|
|
|
#14 | |
|
Ebook Museum Curator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 299
Karma: 106851
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
Now the styles are "imposed" by W2E regardless the style displayed in OOo/LibO. In my first mind this is to help "dummy" authors to create a good book. But now I change my mind, and I wish to make a CSS/Style editor for all styles. If you have suggestions about the user interface please contact me… Luke
__________________
|
|
|
|
|
|
|
#15 | ||
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2012
Device: Kobo Touch
|
Quote:
Quote:
|
||
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Libreoffice or OPenoffice? | PJinNH | General Discussions | 14 | 05-20-2011 06:13 AM |
| OpenOffice 3 and SmashWords | spaze | Writers' Corner | 10 | 03-29-2011 06:03 PM |
| Openoffice formatting | grssynoel | Calibre | 4 | 11-28-2010 09:16 PM |
| An OpenOffice book template | The Straven | Workshop | 14 | 05-16-2010 08:06 PM |
| Mac Software and Openoffice | alphaomega | Sony Reader | 8 | 08-31-2007 09:50 AM |