Paragraph moving unexpectedly between columns!

F

Feederman

Hi Guys,

Im currently writing an application that processes all the pictures in
a document, converting them to another format. Ive found an very
interesting problem.....

A test document I have contains a shape anchored to the top paragraph
in a column. Whenever I try to access any of the propertys of the
shape word seems to move the top paragraph and place it at the bottom
of the previous column. As the shape is anchored to that paragraph it
moves with it and is therefore displayied off the screen!

I can recreate this behavior in Word by clicking "View Header" and
then returning to the normal view. This also moves the paragraph from
the top of one column to the bottom of the previous. It cant undone
either, so it seems word doesn't even know what its doing, haha!

Has anyone ever seen such strange behavior before or am I the only one
to have found such an anomoly? Im quite experienced with the Word API
but have no idea for the life of me why word is moving this paragraph,
please help!

Thanks guys

Simon Turner
 
C

Cindy M.

Hi Simon

Yes, I've seen odd things in my time... I'm guessing it has something to
do with things like Windows/Orphans and Keep Lines together. Something
is triggering Word to recalculate the page layout, and on your machine
it finds enough room at the end of the preceding column to pull the
paragraph back. I'm guessing on the machine where this document was
created, the paragraph would probably recalculate back to somewhere
close to the original position.

How about if you set the properties of the Shape to be relative to the
page, rather than the paragraph?
Im currently writing an application that processes all the pictures in
a document, converting them to another format. Ive found an very
interesting problem.....

A test document I have contains a shape anchored to the top paragraph
in a column. Whenever I try to access any of the propertys of the
shape word seems to move the top paragraph and place it at the bottom
of the previous column. As the shape is anchored to that paragraph it
moves with it and is therefore displayied off the screen!

I can recreate this behavior in Word by clicking "View Header" and
then returning to the normal view. This also moves the paragraph from
the top of one column to the bottom of the previous. It cant undone
either, so it seems word doesn't even know what its doing, haha!

Has anyone ever seen such strange behavior before or am I the only one
to have found such an anomoly? Im quite experienced with the Word API
but have no idea for the life of me why word is moving this paragraph,
please help!

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top