Page 1 of 1

w:framePr

PostPosted: Thu Apr 14, 2011 11:08 pm
by robertw
Hi Jason,

I just had a look at my document.xml and compared with your post.

As you pointed out, the w:framePr tells me, where a table's contents are located at:

Code: Select all
<w:framePr w:w="3402" w:h="1701" w:hSpace="142" w:wrap="around" w:vAnchor="page" w:hAnchor="page" w:x="7939" w:y="12702"/>


The interesting and confusing thing with that is, that apparently each table cell's paragraph defines its own w:framePr. Wouldn't that allow to place the cells with their content all over the page? :? I'm just wondering why the position of the table is not set at the table level, but at the cell level. Am I missing something?

Cheers
Rob

Re: w:framePr

PostPosted: Fri Apr 15, 2011 12:10 am
by jason
Note that the w:framePr is actually inside w:p/w:pPr in the table cell.

If you have a read of http://www.documentinteropinitiative.or ... 3c481.aspx (which is most easily found via the special search link above), it says inter alia:
This element specifies information about the current paragraph with regard to text frames. Text frames are paragraphs of text in a document which are positioned in a separate region or frame in the document, and can be positioned with a specific size and position relative to non-frame paragraphs in the current document.


So yes, the intent is to be able to place the paragraph content elsewhere on the page (and the values of @w:vAnchor and w:hAnchor "page" specify this).