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 2013/06/27 08:53:55 UTC

[Bug 121408] Hyperlink to an Excel Spreadsheet

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

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awf.aoo@googlemail.com

--- Comment #5 from Andre <aw...@googlemail.com> ---
A click on a hyperlink is eventually forwarded to
XSystemShellExecute::execute().  On Windows this is implemented by the
CSysShExec class in main/shell/source/win32/SysShExec.cxx.  In the case at hand
the given URL is transformed by a call to
::osl::FileBase::getSystemPathFromFileURL() which removes the leading file:///
but leaves the trailing #Tabelle2.  The resulting file name is invalid because
of the #Tabelle2 suffix and therefore can not be opened.

An experiment in which the file:///... URL was fed directly to the Windows
ShellExecuteExW() function was basically successful: it starts Excel and shows
the correct document but does not jump to the second table.  This last problem
may be due to the fact that I tested this with an English localized Excel,
which may not understand the German '#Tabelle2'.

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