List Info

Thread:




user name
2007-09-17 02:39:54
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.

Any idea/Clue? do I need to insert the documents by some
other method? can
we change the inserted word document style to the original
one?
please help.

thanks in advance,

Sandy
Re:
user name
2007-09-22 03:44:33
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/Gu
llFOSS
Please don't reply to "nospamformbagmx.de".
I use it for the OOo lists and only rarely read other mails
sent to it.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )