This seems like an import-export problem. The custom properties are presumably recorded in the appropriate places in the .odt ODF document.
So, either they are not being exported into their equivalent in the .doc or they are not being imported during the re-import of the .doc. A way to narrow the cases is to set the costume properties on a .doc and see if they are retained when that file is opened in LibreOffice. Then, I suppose a bug report is appropriate depending on the circumstances that are revealed. - Dennis PS: I created a document by OOo-dev 3.4.0 (m0 Build:9583) by mistake. However, in that document I created 3 custom properties, One Typist (my name), One QA (orcmid), and one QA confirmed (date defaulted to today). The .doc opened in Word 2003 had the two text ones but not the date one. When I added the date one to the .doc and then re-opened the .doc in OOo-dev 3.4.0 all three custom properties were present and correct. (When I opened the .doc in OO.o 2.4.1 Novell edition, the program got lost trying to bring up the File | Properties dialog.) However, LibreOffice 3.3.3 neither saves custom properties into .doc files nor does it retrieve them. The retrieval shows the usual empty "Info 1" through "Info 4" list. This is true when the retrieved .doc has good custom properties in it, some of which were created by a version of OpenOffice.org. -----Original Message----- From: libreoffice-bounces+dennis.hamilton=acm....@lists.freedesktop.org [mailto:libreoffice-bounces+dennis.hamilton=acm....@lists.freedesktop.org] On Behalf Of Christoph Noack Sent: Thursday, July 21, 2011 13:14 To: swagat sharma Cc: [email protected]; [email protected] Subject: Re: [Libreoffice] LO Custom properties Hi Swagat, sorry, no code help - but the hint that there is a specification that describes what kinds of properties can be added. Unfortunately, the spec doesn't cover file handling or migration issues :-\ http://specs.openoffice.org/appwide/fileIO/Custom_Document_Properties.odt Maybe it helps ... but I fear it doesn't. Cheers, Christoph Am Donnerstag, den 21.07.2011, 09:15 +0530 schrieb swagat sharma: > Hi Michael, > > > Thanks for your valuable time. > I'll explain the problem in more details. > > > I create a new Document (.odt file). I add some custom properties, Say > a text and a number, by going into File->Properties->Custom > Properties. > I save the file (as .odt) and close it. When I open the file, I go to > custom properties and they are there. > > > Now I save the same file as Microsoft 97/2000/XP format, using 'Save > As' option. > I close and reopen the .doc file again.. All the Custom properties are > vanished. > > > So I just want to know how libre office handles the Custom properties, > which all files are involved. > I just need a little start up. Its really bottleneck for me. > > > Your help will be highly appreciated. > Regards > -- > Swagat > > > > On Wed, Jul 20, 2011 at 4:05 PM, Michael Meeks > <[email protected]> wrote: > Hi Swagat, > > On Wed, 2011-07-20 at 15:14 +0530, swagat sharma wrote: > > I am working on fixing the custom properties in libre > office, which > > are not preserved in MS format. > > > Sounds good - can you be more precise as to exactly > which properties > you're talking about though ? :-) > > > I need little help as I have never worked on LO or OO > before. > > Can I know which all files are involved, or deals with > custom > > properties. > > > So - more details apprecicated. > > > Also how do we convert an .odt into a MS .doc. > > > On the command-line; ./soffice --help will help you > wrt. --convert-to > etc. > > The core code for the binary .doc filters is in > sw/source/filter/ww8/ > > HTH, > > Michael. > > -- > [email protected] <><, Pseudo Engineer, itinerant > idiot > > > > > _______________________________________________ > LibreOffice mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/libreoffice _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
