Rich Text in SVG Export
Rich Text in SVG Export
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.
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
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.
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
I have sent an email to support with the appropriate files attached. Thanks.
Jon.
Jon.
Re: Rich Text in SVG Export
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.
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
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.
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.
- Attachments
-
- TestSVG.zip
- Sample File
- (952 Bytes) Downloaded 355 times
Re: Rich Text in SVG Export
Hello.
Here is a svg file that is exported from our product. Do you need such SVG file? Thank you.
Here is a svg file that is exported from our product. Do you need such SVG file? Thank you.
Re: Rich Text in SVG Export
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
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.
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
Hi,
Is this still something you guys are working on?
Thanks.
Is this still something you guys are working on?
Thanks.
Re: Rich Text in SVG Export
Hello.
Thank you.
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.FDS wrote:Is this still something you guys are working on?
Thank you.