Sandeep Raghuvanshi wrote: > Hi All, > I am trying to implement OpenOffice API in Visual Basic 6.0 and facing some > problems regarding styles. > I have some word documents to be inserted in between the sections of our > OpenOffice documents and I am inserting these documents using ExecuteDipatch > with 'InsertDoc' uno command. The problem I am facing is that the default > style of the word document has been lost after insertion in the openoffice > document. > > The second issue is that sometimes word document is causing page break. This > behavior is not uniform as for some docs it will work fine but for some > other there will be a page break in the final output.
I think that at least the latter is caused by the fact that Word usually has a different page layout and to keep that we have to insert a page break at the point of insertion. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
