[Libreoffice-bugs] [Bug 138651] PDF opened with DRAW from WEBDAV LINKS are not saved back at the remote location

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 4 15:18:34 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138651

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
Saving (or exporting) to the same location is exactly pretending that the
format is considered editable and supported read-write format. This is not true
for PDF. For now the request is WONTFIX.

However, this is exactly the task for custom macros, when someone has some
specific needs, and understands that their workflow has limitations, but needs
something that is not supported by the program. Here is such a macro, which you
may put to common library for your users, and create a button for it:

Sub ExportAsSelf
    doc = ThisComponent
    If doc.hasLocation and not doc.isReadonly Then
      url = doc.getLocation
      doc.storeToURL(url, array())
      doc.setModified(false)
    End If
End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201204/45b421e7/attachment.htm>


More information about the Libreoffice-bugs mailing list