summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorTomofumi Yagi <yagit@mknada.sakura.ne.jp>2015-02-28 17:43:00 +0900
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 09:42:13 +0000
commit7660e4dcecfb19ad8e9e21e5fe53637bd1b9dc6c (patch)
tree8e7ad943f635763507c3461fa86d5913c251c7c8 /offapi
parent5378963b262ade09f5a55ecb185164b2eac8c782 (diff)
tdf#89694 Password dialog for opening OOXML shows url-encoded path
We need to convert a path string to decoded it for OOXML with a password as ODF is so. This patch adds the converting process for OOXML. In addition, this patch moves the decoded-point of URL into css.task.Document[MS]PasswordRequest ctor from the outside. This decoded-point of URL into ctor is common for OOXML and ODF. (notes: Strange to say, css.task.Document[MS]PasswordRequest ctor needs "aDocURL", but methods in interaction-handler use "aDocumentName" as the parameter. Probably this will be fixed in near future.) Change-Id: I0ecfddf0f70ea5810df52d9ca8637f483a26df2f Reviewed-on: https://gerrit.libreoffice.org/14677 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/task/DocumentMSPasswordRequest.idl2
-rw-r--r--offapi/com/sun/star/task/DocumentPasswordRequest.idl2
2 files changed, 2 insertions, 2 deletions
diff --git a/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl b/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
index 9df88fab0f3b..a7a95a9afc26 100644
--- a/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
+++ b/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
@@ -37,7 +37,7 @@ module com { module sun { module star { module task {
*/
published exception DocumentMSPasswordRequest: PasswordRequest
{
- /** the name of the document
+ /** the name of the document (more properly, the URL of the document)
*/
string Name;
diff --git a/offapi/com/sun/star/task/DocumentPasswordRequest.idl b/offapi/com/sun/star/task/DocumentPasswordRequest.idl
index 762dd4a9cfbb..0829d24ab6e1 100644
--- a/offapi/com/sun/star/task/DocumentPasswordRequest.idl
+++ b/offapi/com/sun/star/task/DocumentPasswordRequest.idl
@@ -37,7 +37,7 @@ module com { module sun { module star { module task {
*/
published exception DocumentPasswordRequest: PasswordRequest
{
- /** the name of the document
+ /** the name of the document (more properly, the URL of the document)
*/
string Name;