Re: [discuss] saving files

2005-12-26 Thread Mathias Bauer
Hi,

to save CPH from doing his usual work. ;-)

Hi whoever (I don't expect "wakeupcallca2005-web" to be a name),

because you are not subscribed to the list you might have missed the
following answer:

[EMAIL PROTECTED] wrote:
> For years now, I've had trouble saving a  copy of a file to a second
> location, such as a floppy drive or a memory  stick. If you use file,
> save as, that becomes your master file. The  recent file list will go
> to that location if it's there. (I could save  as again) I usually go
> to explore and use the send to, copy/paste or drag and drop. I just
> found a way to do it in ms office but it's confusing and slow. What
> we need is a File, "Copy to" command. I remember years ago, you could
> add this feature to your file menu, but now I don't see it.   Jordan

OOo can do this but it's not in the menu. It's more or less what happens
when you use the "Export" functions, but there the necessary filters are
not in the listbox.

You can get what you want by using the following macro:

Sub StoreCopy

  document   = ThisComponent.CurrentController.Frame
  dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
  dim args(0) as new com.sun.star.beans.PropertyValue
  args(0).Name = "SaveTo"
  args(0).Value = true
  Thisdispatcher.executeDispatch(document, ".uno:SaveAs", "", 0, args())

End sub

This will store your document to another place without making the new
location what you called "master file".

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

-
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]



[discuss] A cursory examination of MS Office OpenXML

2005-12-26 Thread Wesley Parish
courtesy of Brian Jones, http://blogs.msdn.com/brian_jones/default.aspx and 
http://www.ecma-international.org/activities/Office Open XML 
Formats/TC45_FD_XML_docform.zip

I discovered that Microsoft considers ActiveX a sufficiently valuable part of 
the DOC and PPT etc, file formats that it has provided room in its draft MS 
Office OpenXML standard.

ActiveX is best known for its role as "Malware's Little Helper" and is part of 
the reason why Microsoft Windows networks spend an inordinate amount of time 
doing malware-scans, etc.

Wesley Parish
-- 
Clinersterton beademung, with all of love - RIP James Blish
-
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.

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