You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/01/07 14:45:58 UTC

[Bug 123988] New: ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

https://issues.apache.org/ooo/show_bug.cgi?id=123988

            Bug ID: 123988
        Issue Type: DEFECT
           Summary: ODF Interoperability: Hyperlink uses implicitly the
                    style Internet_20_link, but not references it
           Product: Writer
           Version: AOO410-dev
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: svante.schubert@gmail.com
                CC: issues@openoffice.apache.org

Created attachment 82236
  --> https://issues.apache.org/ooo/attachment.cgi?id=82236&action=edit
Simple test file with an Hyperlink

Opening an ODF text file with Hyperlinks in other ODF applications, such as
MSO15 does not show any hyperlinks.

Hyperlink uses implicitly the style Internet_20_link, but not references it.
Proof is, that if the style is being edited in the styles.xml e.g. the color is
set to ff0000 (red) the hyperlink changes its color as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needmoreinfo                |needhelp
         Issue Type|DEFECT                      |ENHANCEMENT

--- Comment #3 from Edwin Sharp <el...@apache.org> ---
Thanks for clarifying.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED
           Assignee|issues@openoffice.apache.or |orw@apache.org
                   |g                           |

--- Comment #6 from Oliver-Rainer Wittmann <or...@apache.org> ---
taking over to fix this issue for the next release.

Defect cause:
The character styles for an hyperlink (the one used for the unvisited state and
the one for the visited state) are not available via the UNO-API, when the
hyperlink is newly created. The ODF export works with the UNO-API to store the
document into the ODF format.

After opening and confirming the hyperlink character format dialog pane (Menu
Format - Character - Hyperlink) these character styles are available at the
UNO-API and will be stored into the ODF format.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |elish@apache.org

--- Comment #1 from Edwin Sharp <el...@apache.org> ---
Attachment hyperlink is visible in abiword 2.9.2 and Calligra Words 2.6.4.

What makes you think the problem is not with MS015 (download link?) ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

Rob Weir <ro...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|AOO410-dev                  |4.1.0-dev

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Issue 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

--- Comment #9 from svanteschubert <sv...@gmail.com> ---
Created attachment 83380
  --> https://issues.apache.org/ooo/attachment.cgi?id=83380&action=edit
A document without manual removal to see how it was created from DOC

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

--- Comment #7 from SVN Robot <sv...@dev.null.org> ---
"orw" committed SVN revision 1556797 into trunk:
123988: assure that hyperlink attribute (<SwFmtINetFmt>) always provides
char...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

svanteschubert <sv...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Issue Type|ENHANCEMENT                 |DEFECT

--- Comment #5 from svanteschubert <sv...@gmail.com> ---
During my time at Sun we had often the discussions about the differentation of
enhancement/defect/feature.
Allow me to provide an argumentation of this being an defect rather than
enhancement and according to a UNIX system no answer means good, I will already
change optimistically the type to defect. ;)

I understand your perspective that the format of the hyperlink is already
working in AOO and the change of the style is only an enhancement for AOO
users. That is correct when the created documents are only being exchanged in
an homogenous environement.
But if ODF documents should be usable by arbitrary ODF applications, the
current behavior is an interoperability issue for people exchanging ODF
documents as the ODF specification does not define the used behavior.
The ODF specification is like a blue print for applications. If an application
does not behave according to the specification, the application behaves
incorrect (defect).
In our case the specification writes that styles defined in the styles.xml and
identified by a style in the styles.xml:

<style:style style:name="Internet_20_link" style:display-name="Internet link"
style:family="text">
    <style:text-properties fo:color="#000080" fo:language="zxx"
fo:country="none" style:text-underline-style="solid"
style:text-underline-width="auto" style:text-underline-color="font-color"
style:language-asian="zxx" style:country-asian="none"
style:language-complex="zxx" style:country-complex="none"/>
</style:style>

Should be referenced from the content.xml as:
<text:p text:style-name="Standard">He<text:a text:style-name="Internet_20_link"
xlink:type="simple" xlink:href="http://www.heise.de/">llo
Wor</text:a>ld!</text:p>

So users exchanging documents within the ODF ecosystems have the same user
experience.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.1.0

--- Comment #8 from Oliver-Rainer Wittmann <or...@apache.org> ---
fixed on trunk for next release

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

--- Comment #2 from svanteschubert <sv...@gmail.com> ---
Hi Edwin, please take a look into the ODF ZIP at the content.xml file.

<text:p text:style-name="Standard">He<text:a xlink:type="simple"
xlink:href="http://www.heise.de/">llo Wor</text:a>ld!</text:p>

text:p is a paragraph and text:a is the anhor and there is not explicit style
being given via a text:style-name attribute as for the paragraph.

Still this is possible (see the text:style-name, in the ODF 1.2 XML schema from
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-schema.rng line
1985). The usage of the template style "Internet_20_link" from the styles.xml
(proofed by changing the color - e.g. I did it by using JEdit with archive
extension) should be made explicit, so every ODF application can show the
correct style.

The ODF 1.2 standard does not mention the used implicit dependency, see 
docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html


BTW MSO15 is MS Office 2013. ;)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |jsc@apache.org
     Ever confirmed|0                           |1

--- Comment #4 from jsc@apache.org ---
it would make indeed sense to reference the style automatically when a new link
is created/inserted via the hyperlink dialog.

When you apply the internet link style afterwards it is written correct to ODF.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 123988] ODF Interoperability: Hyperlink uses implicitly the style Internet_20_link, but not references it

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123988

--- Comment #10 from svanteschubert <sv...@gmail.com> ---
Created attachment 83381
  --> https://issues.apache.org/ooo/attachment.cgi?id=83381&action=edit
The original document the ODT was created from

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.