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/24 10:10:52 UTC
[Bug 124099] New: Hyperlink become normal text while importing a
document from URL using XDocumentInsertable interface
https://issues.apache.org/ooo/show_bug.cgi?id=124099
Bug ID: 124099
Issue Type: DEFECT
Summary: Hyperlink become normal text while importing a
document from URL using XDocumentInsertable interface
Product: Writer
Version: 4.0.1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: formatting
Assignee: issues@openoffice.apache.org
Reporter: jvchbabu@gmail.com
CC: issues@openoffice.apache.org
We tried to import a document(html file) from url using XDocumentInsertable
interface. The source html file has hyperlink in it.The hyper link becomes
normal text after import
The below one is the code snippet we used to import a document
XDocumentInsertable xDocumentInsertable = (XDocumentInsertable)
UnoRuntime.queryInterface(XDocumentInsertable.class, xTextCursor);
xDocumentInsertable.insertDocumentFromURL(strFileUrl, insertArgs);
It seems an bug. Please have look into this and provide a resolution. I am
ready to give any information if required.
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
Edwin Sharp <el...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |IRREPRODUCIBLE
--- Comment #6 from Edwin Sharp <el...@apache.org> ---
Irreproducible per comment 4
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hanya.runo@gmail.com
--- Comment #2 from hanya <ha...@gmail.com> ---
The following code works well on 4.0.1 and 4.1.0-dev (Xubuntu 12.04 64bit).
What arguments do you have in insertArgs variable?
Sub InsertHtmlTest
Dim args(0) as new com.sun.star.beans.PropertyValue
url = "https://issues.apache.org/ooo/attachment.cgi?id=82382"
cursor = ThisComponent.getText().createTextCursor()
cursor.insertDocumentFromURL(url, args)
End Sub
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
Edwin Sharp <el...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needmoreinfo
CC| |elish@apache.org
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
jvchbabu <jv...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
--- Comment #1 from jvchbabu <jv...@gmail.com> ---
Created attachment 82382
--> https://issues.apache.org/ooo/attachment.cgi?id=82382&action=edit
source html file
Source HTML file is attached for better understanding
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
--- Comment #4 from hanya <ha...@gmail.com> ---
Created attachment 82405
--> https://issues.apache.org/ooo/attachment.cgi?id=82405&action=edit
Test macro written in Java
I wrote the macro attached in Java but I could not reproduce the problem with
it.
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
--- Comment #3 from jvchbabu <jv...@gmail.com> ---
The arguments constructed has the below filter.
PropertyValue[] insertArgs = new PropertyValue[1];
PropertyValue args = new PropertyValue();
args.Name = "FilterName";
args.Value = "HTML (StarWriter)";
insertArgs[0]=args;
We installed the OO 4.0.1 on windows machine.
--
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 124099] Hyperlink become normal text while importing a document
from URL using XDocumentInsertable interface
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124099
--- Comment #5 from jvchbabu <jv...@gmail.com> ---
Trying with macro may not arise now. The same call to import a document(html
file) from url using XDocumentInsertable is working fine in 3.3 version of open
office. It's failed in OO4.0.1.
Implementing macro altogether requires lot of changes in our implementation.
--
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.