Page 1 of 1

Rich Text in SVG Export

Posted: Thu Jan 16, 2014 8:26 am
by FDS
Hi,

I have a report which loads an rtf file at runtime, it also concatonates some text with a field value (for example "Total Qty: {QtyField}").
When I export to SVG, the Rich Text Component and the concatonated field lose their text attributes, so they export as image components.

Is there anyway to rectify this - my client needs to send the SVG to a printer who needs the text attributes preserved?

regards,

Jon.

Re: Rich Text in SVG Export

Posted: Thu Jan 16, 2014 10:04 am
by HighAley
Hello.

Sorry, but we couldn't reproduce your issue.
Please, send us more detailed information about your issue as described in the next article.

Thank you.

Re: Rich Text in SVG Export

Posted: Fri Jan 17, 2014 8:28 am
by FDS
I have sent an email to support with the appropriate files attached. Thanks.

Jon.

Re: Rich Text in SVG Export

Posted: Fri Jan 17, 2014 10:46 am
by Andrew
Dear Jon,

Currently, we cannot identify the letter you sent us. Please give us either the e-mail subject or ticket number, if you already have it.

Thank you.

Re: Rich Text in SVG Export

Posted: Sun Apr 27, 2014 1:19 pm
by FDS
Hi,

I still would like to know if you can make it possible to preserve the text formatting in an svg export.
I have attached a zip with 2 files - TestSVG.svg & TestSVG.xml

TestSVG.xml is just the SVG file with the extension changed. AS you can see from the below, it stores text formatting information, which if I open in an SVG editor (I am using DRawPLus) the test is treated as such, and not as an image so I can still change it's properties. I have a customer who exports their reports to SVG to send to a printer who needs to be able to edit the text object. Can you make the export to SVG preserve the text formatting from a RTF object?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="132" height="31">
<g id="dp_dp001" transform="matrix(1,0,0,1,0.196,23.676)">
<text id="dp_text001" xml:space="preserve" fill="black" font-family="Times New Roman" font-size="16" font-weight="400" x="0" y="0">This is </text>
<text id="dp_text002" xml:space="preserve" fill="black" font-family="Times New Roman" font-size="27" font-weight="700" font-style="italic" x="47.1467" y="0">some</text>
<text id="dp_text003" xml:space="preserve" fill="black" font-family="Times New Roman" font-size="16" font-weight="400" x="103.468" y="0"> text</text>
</g>
</svg>

Thanks,

Jon.

Re: Rich Text in SVG Export

Posted: Mon Apr 28, 2014 9:11 am
by HighAley
Hello.

Here is a svg file that is exported from our product. Do you need such SVG file?
Report001.zip
(560 Bytes) Downloaded 346 times
Thank you.

Re: Rich Text in SVG Export

Posted: Tue Apr 29, 2014 4:41 am
by FDS
That is exactly what I need. If I open that file I can still edit the text objects. However in my report, I have a formatted RTF file which I load at runtime. When I export the report to SVG the RTF object gets converted to image data. I need the RTF object to be preserved as text, just like your Report001 example.

Re: Rich Text in SVG Export

Posted: Fri May 02, 2014 11:21 am
by HighAley
Hello.

Unfortunately, it's impossible to export RichText to SVG now. We are working in this direction.
We have in plans to add this feature during a year.

Thank you.

Re: Rich Text in SVG Export

Posted: Thu Oct 16, 2014 4:19 am
by FDS
Hi,

Is this still something you guys are working on?

Thanks.

Re: Rich Text in SVG Export

Posted: Thu Oct 16, 2014 1:06 pm
by HighAley
Hello.
FDS wrote:Is this still something you guys are working on?
This task turned into a big problem. The Rich Text and SVG are completely different formats. And we don't see easy solution of this problem now.

Thank you.