Jo,

I did in the paste a lot of work in this area and used always "VertOrient = com.sun.star.text.VertOrientation.NONE " plus in my old notyes i found "'for unkwon reasons the only way to get the values of the "Actualsize" of the graphic we needed to get all the GrapicElements and ther name and ther total ' and then been publiched in a messageBox ????? "

What means that i now always "place" the Graphics at an non-defined postion, then enumerate al the graphics, need some "^pause" (msgbox) and then do the positioning, sizing achoring.... A dev-gui explaned in a recent thread that this ellements are "layout-based" and therefore only can be found after the grahic is actual placen in the WriterDoc

Hope it helps to understand
Btw. did you read my Insert Graphic quenstions ?
Fernand



the

Mathias Supp schreef:
Hi Jo,

it seems (to me) somehow logical that orientation and absolute positioning conflict with each other.

But what exactly did you mean with "nothing happens anymore"?

bye

Mathias

Jo schrieb:
Mathias Supp wrote:
Hi Jo,

you have to set the Property AnchorPageNo for the inserted graphic after setting anchor type, for example
oGraph.AnchorPageNo = 2

Hope that helped...
Hi Mathias,

Thanks for your answer. When I do that, nothing happens anymore. I did discover the following though:

.HoriOrient = com.sun.star.text.HoriOrientation.NONE ' This is necessary to override the default settings for the positioning
   .VertOrient = com.sun.star.text.VertOrientation.NONE

When I add those lines, the graphic does get positioned where I want it.

Very odd, if you ask me, but I'm glad I found something that seems to work now.

Jo

---------------------------------------------------------------------
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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to