Closed GoogleCodeExporter closed 8 years ago
Thanks for the patch, but I'm not going to integrate it sorry.
This is a case where you don't like the way OpenOffice.org does the conversion
by default and you want to customise it a little bit. There are many possible
cases like this, with different users having possible conflicting needs.
I'm not going to add code for all these special cases to JODConverter. The idea
is that JODConverter by default does whatever OpenOffice.org does, and let
users do customisations in their own code if they need to.
That's what AbstractConversionTask is for. If you look at the code in trunk it
has a modifyDocument() so you can write your own class extending
AbstractConversionTask and override modifyDocument() with your code.
Original comment by mirko.na...@gmail.com
on 7 May 2011 at 10:20
I don't have access to the OfficeContext in modifyDocument(XComponent). I need
for instance to get a service like GraphicProvider from the context.
Original comment by mariusdu...@xwiki.com
on 18 Aug 2011 at 1:37
Cannot extend AbstractConversionTask if OfficeDocumentUtils class isn't public.
If I want to implement getStoreProperties similar like in
StandardConversionTask in other package - OfficeDocumentUtils should be
public...
Original comment by klemenzi...@gmail.com
on 5 Sep 2011 at 9:13
Also another question: how can I get "OfficeContext context" - I would need it
if I should make some modifications to openDocument changes.
Original comment by klemenzi...@gmail.com
on 5 Sep 2011 at 9:26
did u solve this issue? base64 pics are not embedded in doc, odt...
Original comment by g.dilemb...@gmail.com
on 25 Feb 2015 at 6:07
Original issue reported on code.google.com by
zmeuld...@gmail.com
on 4 May 2011 at 8:37Attachments: