<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - PDF opened with DRAW from WEBDAV LINKS are not saved back at the remote location"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138651#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - PDF opened with DRAW from WEBDAV LINKS are not saved back at the remote location"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138651">bug 138651</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>Sorry for the incomplete macro. The one in <a href="show_bug.cgi?id=138651#c3">comment 3</a> will save the file with
PDF extension, but in ODF format. Here is the better one:
Sub ExportAsSelf
doc = ThisComponent
If doc.hasLocation And Not doc.isReadonly Then
url = doc.getLocation
args = doc.getArgs
For i = LBound(args) To UBound(args)
If args(i).Name = "FilterName" Then
If args(i).Value = "draw_pdf_import" Then args(i).Value =
"draw_pdf_Export"
End If
Next i
doc.storeToURL(url, args)
doc.setModified(false)
End If
End Sub</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>