Issue 21931 - powerpoint (ppt) source to svg export splits hypertext links (URLs) into separate <text> tags
Summary: powerpoint (ppt) source to svg export splits hypertext links (URLs) into sepa...
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-30 20:45 UTC by Unknown
Modified: 2017-05-20 11:08 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
ppt source file with 4 slides: svg from slide 2 is ok, bad for slides 3-4 (35.00 KB, application/powerpnt)
2003-10-30 20:48 UTC, Unknown
no flags Details
contains the 4 svg files produced wtih svg export: page2.svg ok, page[3-4].svg bad (5.85 KB, application/zip)
2003-10-30 20:50 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-10-30 20:45:57 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
Comment 1 Unknown 2003-10-30 20:48:13 UTC
Created attachment 10807 [details]
ppt source file with 4 slides: svg from slide 2 is ok, bad for slides 3-4
Comment 2 Unknown 2003-10-30 20:50:38 UTC
Created attachment 10808 [details]
contains the 4 svg files produced wtih svg export: page2.svg ok, page[3-4].svg bad
Comment 3 wolframgarten 2003-10-31 08:04:33 UTC
Reproducible in a current internal version.
Comment 4 wolframgarten 2003-10-31 08:05:00 UTC
Reassigned to Sven. Please have a look.
Comment 5 Unknown 2003-11-12 12:33:50 UTC
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?
Comment 6 sven.jacobi 2003-11-12 12:52:15 UTC
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

Comment 7 ooo 2003-11-24 11:09:38 UTC
.
Comment 8 ooo 2004-04-20 10:03:47 UTC
KA: changed priority to Prio3
Comment 9 ooo 2004-11-05 09:58:44 UTC
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?
Comment 10 wolframgarten 2004-11-05 10:06:32 UTC
Reassigned to Sven...
Comment 11 sven.jacobi 2004-11-05 10:17:36 UTC
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.
Comment 12 sven.jacobi 2004-11-05 11:35:47 UTC
sj: in case of the document bug179.ppt the hyperlinks are splitted into two
portions because the part behind the 'http://' is red underlined.
Comment 13 ooo 2004-11-05 13:57:51 UTC
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.
Comment 14 Marcus 2017-05-20 11:08:37 UTC
Reset assigne to the default "issues@openoffice.apache.org".