Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 28/02/2013 23:27, Berengar Lehr wrote:
So thank you for your answeres!

What I do is automatically produce PDF reports using xml-templates, I'll
just write down, what I do:

1. ODT --extract--> multiple XML files
2. content.xml --via python-script--> content.xml.template
3. content.xml.template --via go-binary--> parsed content.xml
4. multiple XML files --compress--> ODT
5. ODT --via libreoffice--> PDF

Diagrams are generate from data and templates…
a) graphic.svg.template --via go-binary--> graphic.svg
b) graphic.svg --via inkscape--> graphic.pdf
c) graphic.pdf --via libreoffice--> graphic.odg
…and odg-files are included

this have no sence anymore, just place your SVG (after opening and resaving in InScape) in your ODT and export tot PDF

Having a working process, I now try to speed up PDF generation by
canceling out the most time consuming process: c) libreoffice pdf2odg
So yeah, I could probably convert svg2png which would cost either space
or image details. But I was looking (perhaps just for the sake of
"doing-it-right") for better, more universial usable graphics format.

But I'll probalby just wait for LO 4.0.
trie to open the SVG first in Draw, then copy the Shape not as Picture) into the ODT and you will have also Vector output in your PDF
Thanks and I'd still be happy to share experience combining vector
graphics in ODT and PDF


Am 28.02.2013 22:08, schrieb Doug:
On 02/28/2013 02:44 PM, webmaster-Kracked_P_P wrote:
On 02/28/2013 02:24 PM, Berengar Lehr wrote:
Hy,

I'm asking if anyone could provide me with a list of vector graphics
formats that can be used in ODT _and_ that will be exported as vector
graphic.
SVG e.g. is not a valid example: while it can be used in ODT, SVG
will be
rasterized during conversion to PDF. ODG on the other hand works for
both.
WMF/EMF work for both but I could not find *nix libs for these microsoft
formats.
Any other ideas?

Thank you,
waiting patiently,
Ber

The problem, it seems to me, is that Word Processor packages are not
really built to handle "vector" graphics.

Could you tell us why you need the PDF file to not have any
"conversion" to "raster. . ." when creating a PDF file?

I tend to have the vector graphics opened in Inkscape [or similar] and
export the image to PNG, GIF, or JPG, that LO can use.  I almost never
try to include vector graphics in a text document. It just never works
out.

I assume you can save your vector graphics file that you made in a cad
program in some format like .dwg or .dxf, so why not just attach it to
your LO/OO message?

--doug



--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.