To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64555


User beppec56 changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'mmp'                     |'beppec56,mmp'
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Dec 18 11:52:03 -0800 
2006 -------
I don't know if someone is working on this, anyway the patch I'm going to attach
can be used to add the functionality requested in this issue.

The PDF functionality is not detailed in the e-mail specification available 
here:
http://specs.openoffice.org/appwide/desktop_integration/send_as_email.sxw

The only reference I found in the spec is in the following sentence (row 23):

quote

When choosing File -> Send -> Document as PDF Attachment, the currently active
document is converted to PDF before it gets passed to the e-mail client.

/quote

I think that what this issue requests should be added there by expanding the
former phrase into:

quote

When choosing File -> Send -> Document as PDF Attachment, the currently active
document is converted to PDF before it gets passed to the e-mail client.
The task is carried out by showing the PDF Options window and then sending the
PDF file when the user presses the “Send” pushbutton.
The  "Send"  pushbutton  is the "Export" one with the text changed during this
service.
If  the "Cancel" pushbutton if pressed then the e-mail send process is
terminated without sending the attachment (no e-mail sent).

The PDF Options window is not brought up if the “File > Send > Document as PDF
Attachment” operation is called through scripting.

/quote

A call through scripting can have the form:

 rem get access to the document
 document   = ThisComponent.CurrentController.Frame
 dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
 dispatcher.executeDispatch(document, ".uno:SendMailDocAsPDF", "", 0, Array())

A good idea would be to add the capability to set the PDF Options through
scripting (e.g. using somehow the Array() parameter above), but this requires a
deeper change in the code. I'm willing to give it a try if you think this could
be useful.

Of course the patch needs be verified, because I'm not sure I got correctly the
export filter functionality.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to