Hi,

Grover Blue wrote (4-3-2009 23:16)
I'm not sure what you mean by "on the Draw page object."

Images are placed on the Drawpage of the document. So when you import the text-content (see below), that might explain your problem.

I have found forum posts where images were imported fine:

http://www.oooforum.org/forum/viewtopic.phtml?t=45027

You can see that in this example another method is used: insertDocumentFromURL

My images are not in a header/footer, but there seems to be a frame style
associated with them.

I am so close to completing this!

You'll get there, I'm sure :-)

Succes,
Cor

On Wed, Mar 4, 2009 at 4:42 PM, Cor Nouws <[email protected]> wrote:

Hi,

Grover Blue wrote (4-3-2009 22:22)

I got everything to work, except for images and horizontal line objects.
Images are completely ignored and not imported into the document, whereas
horizontal line objects are flushing themselves at the top of the current
page.
[...]

Are you aware that those objects are on the Draw page object? Maybe that is
the cause..

        /*  Add document2 to the new section */
       xDocText.insertTextContent(xOrigDocTextCursor, xChildContent,
false);
[...]


--
Cor Nouws    -    nl.OpenOffice.org marketing contact
= "2009 - Develop OOo"   =   www.nieuwsteoffice.nl  =

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to