need borders guidance please

D

David Thielen

Hi;

For the file swiss.docx in
http://www.windwardreports.com/temp/borders.zip can you please tell me
the following:

1) Int row[1] why is the red vertical border red and not blue (the
right border for cell[1] is red while the left border of cell[2] is
blue)?

2) In row [2] the vertical border between cell [1] & cell[2] as well
as between cell[3] & cell[4] is white. But that white cell does not
draw into the black horizontal cell. What are the rules for where a
cell border draws because logically it would go into the corner that
joins the borders.

Also, what is the rule for when borders are drawn over each other like
in item (1) above and when do they draw next to each other? It appears
that if the width is different borders are drawn adjoining but
otherwise they are on top of each other. Is this correct?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Colbert Zhou

Hi Dave,

Please refer the document to see if it explain all confilicting situations
clearly.
http://msdn.microsoft.com/en-us/lib...rdprocessing.tablecellborders(office.14).aspx

Quote from there
"
5.If the borders have an identical style, than each border color shall be
assigned a brightness value as follows:
Brightness=R+B+2*G
The color with the smaller brightness value shall win.
6.If the borders have an identical brightness value above, than each border
color shall be assigned a new brightness value as follows:
Brightness=B+2*G
The color with the smaller brightness value shall win.
7.If the borders have an identical brightness value above, than each border
color shall be assigned a brightness value as follows:
Brightness=G
The color with the smaller brightness value shall win.
8.If the borders have an identical brightness value above, then they are
functionally identical, and the first border in reading order should be
displayed.
"

Because this is a Open XML Format specified question, I would recommend this
official forum for it,
http://social.msdn.microsoft.com/forums/en-US/oxmlsdk/threads/


Best regards,
Colbert Zhou
 
D

David Thielen

Hi Dave,

Please refer the document to see if it explain all confilicting situations
clearly.
http://msdn.microsoft.com/en-us/lib...rdprocessing.tablecellborders(office.14).aspx

Quote from there
"
5.If the borders have an identical style, than each border color shall be
assigned a brightness value as follows:
Brightness=R+B+2*G
The color with the smaller brightness value shall win.
6.If the borders have an identical brightness value above, than each border
color shall be assigned a new brightness value as follows:
Brightness=B+2*G
The color with the smaller brightness value shall win.
7.If the borders have an identical brightness value above, than each border
color shall be assigned a brightness value as follows:
Brightness=G
The color with the smaller brightness value shall win.
8.If the borders have an identical brightness value above, then they are
functionally identical, and the first border in reading order should be
displayed.
"

Because this is a Open XML Format specified question, I would recommend this
official forum for it,
http://social.msdn.microsoft.com/forums/en-US/oxmlsdk/threads/

Thank you - that doc url is really useful - I did not know about it.

thanks - dave


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

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