Hello Mikhail, thank you for explanation. Later I also found relevant page in dev. guide which describes filter flags in more detail. Now I can see differences between saving and exporting.
Best regards Pavel On Monday 01 of December 2008 17:53:07 Mikhail Voitenko wrote: > Hi Pavel, > > On 12/01/08 09:01, Pavel Lastovicka wrote: > > Hello, > > > > I need to add MS Office 2007 export capability to oo.o. oo.o includes > > import only filters for these formats. I tried to add another, > > export-only filter for e.g. type "writer_MS_Word_2007". But openoffice > > seems to ignore it (does not list it as an available type in "save as" > > dialog) unless it is given the import flag also. I have attached my > > filter definition to this mail. I install it as an oo.o extension. > > "File/SaveAs" UI-action means that the document should be stored and let > be based on the new location. It is possible only for filters supporting > import, since "based" means here that the document can be reloaded from > there. > > If a filter supports export only, it is a pure export filter, so it can > be used only by "File/Export" UI-action. > > > Another unpleasant thing with my filter is the following: If I open a > > .docx file, change it and then try to save, instead of saving of the > > document I am presented with save dialog with file type changed to .odt. > > I have to manually choose .docx format to save the file. > > The OOo .docx filter ( I assume that it is used to open the document ), > is import-only filter. Thus it can not be used for saving/exporting. In > this case the office preselects the default filter on "File/SaveAs" action. > > Best regards, > Mikhail. > > > Does somebody has experience in this area? > > > > > > ------------------------------------------------------------------------ > > > > --------------------------------------------------------------------- > > 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] -- Pavel Lastovicka, Developer & OpenOffice.org Specialist blue.point Solutions, s. r. o. tel: +420 412 510 182 fax: +420 412 510 182 ICQ: 273897896 http://www.blue-point.cz suseportal.cz - suseserver.cz - susedesktop.cz - softportal.cz - 602office.cz - kyberpunk.org - os2.cz - oooSupport.com IBM Business Partner - Novell Business Partner - Software602 Business Partner --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
