xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Schulz <Proppe...@gmx.net>
Subject Re: Use SVG group/element-id values as labels in pdf; SVG to PDF; FOP 0.95
Date Thu, 26 Nov 2009 11:07:21 GMT
Hi Jeremias,

thanks for your help.

here are the requested Illustrator AI/PDF samples.

Tobias


>> i dont know what you mean with named destinations. it's difficult to 
>> translate the german words to matching english words....
>>
>> so, i try again.
>>
>> i use a fo-document to include a external svg-file:
>>
>> <fo:external-graphic src="'url(test.svg)'" content-height="100%"/>
>>
>> svg sample:
>>
>> <g id="i_need_this_id_in_pdf">
>>        <rect id="i_need_this_id_in_pdf_too" x="56.589" y="83.25" 
>> fill="#F9F342" width="10.236" height="56.693"/>
>>     <rect id="i_need_this_id_in_pdf_too2" x="80.589" y="100" 
>> fill="#F9F342" width="10.236" height="56.693"/>
>> </g>
>>
>>
>> if you open the svg file in illustrator you are able to see the named 
>> elements / layers or how it named in english... (watch screen-ai-svg.gif)
>>
>> but if i create the pdf with: fop -fo test.fo -pdf test.pdf and open the 
>> resulting pdf in illustrator  all names are gone. (watch 
>> screen-resulting-pdf.gif)
>>
>> i tried to add some more attributes like "label" , "desc" and "title" 
>> but - no luck...
>>
>> thanks
>> tobias
>>
>>
>> Jeremias Maerki schrieb:
>>     
>>> Do you mean named destinations? If yes, that's not supported from within
>>> SVG. I don't have Illustrator, so I can't find out what exactly it would
>>> look for. Maybe you can post a small Illustrator example so I can find
>>> out what it is you're looking for. I might be able to give some pointers.
>>> But at any rate, the functionality you're looking for is most probably
>>> not available.
>>>
>>> On 24.11.2009 20:17:58 Tobias Schulz wrote:
>>>   
>>>       
>>>> hi,
>>>> i use "fo:external-graphic" in xsl documents to include and render 
>>>> svg-files to pdf.
>>>> in the resulting pdf file all elements are labeled like "<path x>"
or 
>>>> "<group>".
>>>>
>>>> is it possible to use the orininal group/element id-values  in svg as 
>>>> labels in pdf instead? it would be much easier to edit the pdf file in 
>>>> AdobeIllustrator.
>>>>
>>>> i tried to add "desc" and "title" tags/attributes in my svg-file, but 
>>>> without any results.
>>>>
>>>> btw. really, realy nice tool! thanks!
>>>>
>>>> Versions:
>>>> FOP release 0.95
>>>> Windows 7 64bit / Windows Vista 64bit
>>>> JRE 1.6.0.16
>>>>
>>>>
>>>> i hope i did not miss a similar question...
>>>> thanks for your help!
>>>> tobias
>>>>
>>>>     
>>>>         
>>>
>>>
>>> Jeremias Maerki
>>>
>>>
>>>   
>>>       
>> -- 
>> **** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****
>>
>> Tobias Schulz >>> In der Kirchtanne 27 >>> 64297 Darmstadt-Eberstadt
>> PropperDX@gmx.net >>> http://www.propperdx.de
>> ____________________________________________________________________________
>> Diese Nachricht ist mit einer elektronischen Signatur versehen
>>
>>     
>
>
>
>
> Viele Grüsse
> Jeremias Märki
> _________________________________________________________
> Jeremias Märki, Software-Development and Consulting
> Contact Information: http://www.jeremias-maerki.ch/contact.html
> Blog: http://www.jeremias-maerki.ch/blog/
>
>   

-- 
**** ACHTUNG! Ab dem 01.09.2009 neue Adresse! ****

Tobias Schulz >>> In der Kirchtanne 27 >>> 64297 Darmstadt-Eberstadt
PropperDX@gmx.net >>> http://www.propperdx.de
____________________________________________________________________________
Diese Nachricht ist mit einer elektronischen Signatur versehen


Mime
View raw message