Pages

Search

Open Office - [discuss] Who is William W Austin?

Open Office - [discuss] Who is William W Austin?


[discuss] Who is William W Austin?

Posted: 19 Dec 2009 07:33 PM PST

On 19/12/2009 16:37, bill austin wrote: 
Bill

Thanks for clearing the matter up.

May I suggest a clear out of these old e-mails from your machine and
then there can be no recurrence of the problem

Thanks

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: org
For additional commands, e-mail: org

[discuss] security

Posted: 15 Dec 2009 08:16 AM PST

Uwe Fischer wrote: 

Elisa (com) does not seem to be subscribed to the list and
probably did not see this response.

---------------------------------------------------------------------
To unsubscribe, e-mail: org
For additional commands, e-mail: org

[discuss] Moderator-Forced Unsubscribes

Posted: 08 Dec 2009 03:06 PM PST

Barbara Duprey wrote: 
 
Barbara - been busy with work since we last discussed the unsubbed issue
and testing but thought I would jump in on this again.

The only commonality I see in the unsubbed "unsubscribe me" requests is
that several appear to ocome via Gmane. With that in mind, I posted a
reply to this message via an unsubbed address (which is unfortunately
going to cause a duplicate reply). Posting this way, there is no
indication to the poster that they are subscribing to a mailing list
vice posting to a newslist/forum.
be no

From the reply screen:

Compose a message to send to gmane.comp.openoffice.general

Your email address below has to be valid. An authorization email
will be sent to you after posting. You have to reply to that message
to confirm that you exist.

After you've confirmed your existence, the message will then be
forwarded to the mailing list.

After posting:

You've now posted to gmane.comp.openoffice.general. If this
is the first time you've posted to this group, expect to get a
confirmation email.

From the "confirmation email":

You have sent a message to be posted on the
gmane.comp.openoffice.general newsgroup.

Before the message is posted on the newsgroup, you have
to confirm that you exist. Just reply to this message, and
the message will be posted.

You have to respond within one week.

And from replying to the confirmation email:

You are now authorized to post to the
gmane.comp.openoffice.general newsgroup.

The original message you sent to the newsgroup will be
posted within ten minutes.

If you have any questions, they are most likely answered
in the FAQ: <URL: http://gmane.org/faq.php>.

Hopefully this will help shed some light on the issue..

PatrickG


---------------------------------------------------------------------
To unsubscribe, e-mail: org
For additional commands, e-mail: org

[discuss] Automated PDF export

Posted: 06 Dec 2009 02:47 PM PST

Zak McKracken wrote: 


Almost what you want, but in OOo basic I'm afraid. The error checking is
poor (truthfully, non-existent) because I use this from a web php
script, not interactively.

To use from command line, you'll need something like

/usr/local/bin/openoffice.org-2.3.0-swriter -headless
"macro:///Standard.conversions.SaveAsPDF(\"$1\", \"$2\")"

Give or take a quote or three (all on one line, of course).



Just don't ask me what it all means - please!!! :-)



' from http://www.xml.com/pub/a/2006/01/11/from-microsoft-to-openoffice.html

' Save document as an Acrobat PDF file.
Sub SaveAsPDF( cFile )
cURL = ConvertToURL( cFile )
' Open the document. Just blindly assume that the document
' is of a type that OOo will correctly recognize and open
' without specifying an import filter.
oDoc = StarDesktop.loadComponentFromURL( cURL, "_blank", 0, _
Array(MakePropertyValue( "Hidden", True ),))

cFile = Left( cFile, Len( cFile ) - 4 ) + ".pdf"
cURL = ConvertToURL( cFile )

' Save the document using a filter.
oDoc.storeToURL( cURL, Array(_
MakePropertyValue( "FilterName", "writer_pdf_Export" ),)

oDoc.close( True )
End Sub

' Save document as a Microsoft Word file.
Sub SaveAsDoc( cFile )
' mostly a copy of SaveAsPDF
cURL = ConvertToURL( cFile )
oDoc = StarDesktop.loadComponentFromURL( cURL, "_blank", 0, (_
Array(MakePropertyValue( "Hidden", True ),))


cFile = Left( cFile, Len( cFile ) - 4 ) + ".doc"
cURL = ConvertToURL( cFile )

oDoc.storeToURL( cURL, Array(_
MakePropertyValue( "FilterName", "MS WinWord 6.0" ),)
oDoc.close( True )

End Sub

' Save document as an OpenOffice 2 file.
Sub SaveAsOOO( cFile )
' mostly a copy of SaveAsPDF. Save as an OpenOffice file.
cURL = ConvertToURL( cFile )
oDoc = StarDesktop.loadComponentFromURL( cURL, "_blank", 0, _
Array(MakePropertyValue( "Hidden", True ),))

' Set output file extension based on lower-case
' version of input extension.
Select Case LCase(Right(cFile,3))
Case "ppt" ' PowerPoint file.
cFileExt = "odp"
Case "doc" ' Word file.
cFileExt = "odt"
Case "xls" ' Excel file.
cFileExt = "ods"
Case Else
cFileExt = "xxx"
End Select

cFile = Left( cFile, Len( cFile ) - 3 ) + cFileExt
cURL = ConvertToURL( cFile )

oDoc.storeAsURL( cURL, Array() )
oDoc.close( True )

End Sub

Function MakePropertyValue( Optional cName As String, Optional uValue ) _
As com.sun.star.beans.PropertyValue
Dim oPropertyValue As New com.sun.star.beans.PropertyValue
If Not IsMissing( cName ) Then
oPropertyValue.Name = cName
EndIf
If Not IsMissing( uValue ) Then
oPropertyValue.Value = uValue
EndIf
MakePropertyValue() = oPropertyValue
End Function





--
Mike Scott Harlow Essex England.(mike -a-t- [deletethis]
scottsonline.org.uk)
(Processing of this email by 3rd parties in relation to advertising
services is forbidden.)

---------------------------------------------------------------------
To unsubscribe, e-mail: org
For additional commands, e-mail: org