11-12-2022, 05:37 AM | #1 |
Groupie
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
|
Property or Method not found: ParaStyleName
Hello, I get this error (Property or Method not found: ParaStyleName) when converting the attached file from ODT to EPUB with Open Office and Writer2Epub. I know both programs are old and discontinued, but I'm used to working with them.
Anyone knows what the issue is? Thank you in advance EDIT: Fixed. W2E's temporary window got stuck on a line that says if oTextElement.ParaStyleName = "Table Heading" then, so I figured it had something to do with tables, and after some trial and error I located the issue in some tables that seemed to be one inside the other - Open Office's navigator showed two tables, but there was only one. I fixed those and all went smoothly. Last edited by 1v4n0; 11-12-2022 at 11:40 AM. |
11-12-2022, 07:24 AM | #2 |
the rook, bossing Never.
Posts: 11,166
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
1) Open Office is dead. Upgrade to LibreOffice (Versions 5.x, 6.x or 7.x are OK depending on PC and OS)
2) Writer2Epub is also on older Libre Office, but now LO Writer has epub built in. It's still rubbish compared to docx to Calibre from an ODT with Save As. Last 32 bit Calibre is 5.44 and is fine for docx to epub. Even Calibre 3.44 and LO 5.x (extra docx Save As) is far better than OOWriter and Writer2Epub (XP or ancient 32 bit Linux) 3) Do edit in odt, but an extra Save As on docx format. Converting docx in Calibre works far better than odt. 4) If Calibre is on a different Computer without the same fonts, then before Save As in docx go Properties and embed the fonts. I did use Writer2Epub on Open Office and one version of Libre Office Writer. It's rubbish compared to Sigil or Calibre (even from odt to Calibre, but an extra Save As in docx to Calibre is best). There is a good reason both are discontinued. Don't flog a dead horse! I've used Word (2.0a, 95, XP, 2003 & 2007), Open Office and Libre Office on Windows. Used Calibre since before 3.48 on XP. Switched entirely to LO + Calibre on Windows, then on Linux. Maybe over 900 conversions from odt via extra docx Save As to epub, azw3 & mobi, and over 5000 conversions to epub from mobi or azw3. Last edited by Quoth; 11-12-2022 at 07:28 AM. |
11-12-2022, 08:36 AM | #3 | |
A Hairy Wizard
Posts: 3,097
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
11-12-2022, 12:04 PM | #4 |
Groupie
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
|
Thanks both, I fixed it. See edit.
MASSIVE OT As for @Quoth's lengthy answer, I totally saw that coming and I respectfully disagree. I don't think there is much need to update to newer techniques (or technologies). Books are extremely simple objects, and they have remained basically the same since the 1500s - and so has the way people interact with them. I have found a routine for making ebooks that works for me, and the final product is perfectly fine - I know because I have read many of "my" books, many retail ebooks, and many printed books (back when), and they all were just that - books. Lots of words and little else, and code-wise a bunch of <p>s with some <h1>s. I guess at some point the tools I use will become so obsolete that they won't even run on any computer, but until then the only reason I see for upgrading is to make some mental stretching, as it were. And if all this makes me sound like a grumpy old guy, it's probably because I am |
11-12-2022, 07:50 PM | #5 |
the rook, bossing Never.
Posts: 11,166
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
That's fine. I don't usually use "latest versions". Let other people be the guinea pigs on the bleeding edge.
I did use OO Writer. I have used Writer2epub and found too much CSS was poor match to the original styles. Glad it's working for you. |
11-14-2022, 03:06 AM | #6 | ||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Yes. OpenOffice has been abandoned for over 12 years. LibreOffice has been getting:
and there's been TONS of:
For example, just within the past few years, there's been major improvements to the:
(There's been thousands of features + bugs fixed since the OpenOffice days.) Quote:
Calibre's DOCX->EPUB conversion is better/cleaner than ODT->EPUB. The #1 most important thing you can learn though:
A clean source document will mean a much cleaner converted document, saving you lots and lots of future headaches. - - - If you want to learn more, see my:
and, most recently, all the posts/tips/tutorials I wrote in:
(The past year, nearly every single day, I've been over in the LibreOffice subreddit writing lots of helpful tips.) - - - Quote:
Stick with the times, old man!!! Put down that tablet and chisel, wipe the dust off the ol' fingers, and join us in our flying cars!!! (Okay, okay, maybe that last one was a little too far. ) Quote:
Seriously though, start using LibreOffice + more modern conversion methods. I promise, it's not scary. And if you use Styles consistently... bing, bang, boom, your LibreOffice -> Ebook files will be a piece of cake. Last edited by Tex2002ans; 11-14-2022 at 03:17 AM. |
||||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Has anyone found a good method of adding a note to an author? | LadyKate | Library Management | 2 | 11-15-2014 01:11 PM |
Epub meta property | curiousgeorge | ePub | 3 | 10-03-2012 03:20 PM |
Cybook not found in linux, found in win XP | fjf | Bookeen | 15 | 01-18-2008 06:57 PM |