Apache OpenOffice (AOO) Bugzilla – Issue 21931
powerpoint (ppt) source to svg export splits hypertext links (URLs) into separate <text> tags
Last modified: 2017-05-20 11:08:37 UTC
some (not all) hypertext links in files originating from powerpoint (ppt) cause problems with the OOo/UNO svg export facility (i say OOo/UNO since our servlet talks to OOo via port 8100 to execute the svg export). the problem is that the svg produced splits the URLs of the ppt hypertext link into more than one <text> tag thereby causing downstream use of the svg in our application not to recognize the text in its original URL format. here is some excerpted svg produced using the OOo/UNO (openoffice server mode) svg export with the source ppt file (which i will attach): i think there are 2 problems (not sure if both problems have the same root cause): 1. URL text is split 2. the x-y coord attributes in the <text> are positioned badly (i.e. when viewing the resulting svg text is not positioned the same as in the original ppt rendering). here's the svg exerpts: page2.svg has a good, clickable URL (sometimes it works): <text x="2794" y="6350">http://elearning.rutgers.edu/ </text> page3.svg has problems: <text x="2794" y="7851">http:// </text> <text x="4851" y="7851">www.rutgers.edu </text> page4.svg also has problems: <text x="2794" y="9352">http:// </text> <text x="4851" y="9352">www.google.com </text> <text x="11074" y="9352">/ </text> i will attach the ppt file along with a zip of page[2-4].svg
Created attachment 10807 [details] ppt source file with 4 slides: svg from slide 2 is ok, bad for slides 3-4
Created attachment 10808 [details] contains the 4 svg files produced wtih svg export: page2.svg ok, page[3-4].svg bad
Reproducible in a current internal version.
Reassigned to Sven. Please have a look.
any progress on this? will the enhanced svg export that kai spoke of in http://www.openoffice.org/issues/show_bug.cgi?id=21582 help this problem?
Then we should reassign this Issue to Kai, he will even better know if this feature is planned or not, but I am sure we will support hyerlinks in OOo2.0
.
KA: changed priority to Prio3
Malte took a look at the bugdoc and found out that the mentioned URL is composed of two fields. Sven, is this a bug in your PPt importer or does the PPt file contain two fields also?
Reassigned to Sven...
sj->ka: yes, sometimes we are creating more than one field, the reason for this is, that in PowerPoint a field is a text range and in a text range each character can be formatted on its own, whereas our text fields can have only one formatting, thus means if the text range of a field in ppt is having different attribute sets, than we are creating a field for each single portion. In PPT it is possible to have fields over multiple paragraphs, this will also lead to multiple text fields in OOo. In other words: we need to improve our fields before the import will stop to create multiple of them.
sj: in case of the document bug179.ppt the hyperlinks are splitted into two portions because the part behind the 'http://' is red underlined.
So, it's not possible to fix this at the moment. Setting target to 'not determined' since I'm not sure if and when the TextRange Hyperlink feature will be available. Workaround would be to modify the source document, so that no redlining is applied.
Reset assigne to the default "issues@openoffice.apache.org".