Warning: tough question *** Word to HTML - Allow row to break across pages issue

J

Jason Gerek

Hi folks,

Been wrangling with this one for some time, and found this
link:
http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q2
20/4/86.asp&NoWebContent=1

Anyone know a way around it?
So far my thoughts have been:
- saving an embedded macro on the Document.Open event that
sets the property (works fine, but I don't want macros)
- trying to hack MSO/XML bits to force it to work (total
failure thus far)
- tinkering with paragraph settings (fruitless)

If someone at MS would be able to give me a Word-specific
(MSO, or XML) snippet to toss in my HTML table, I'd be
more than grateful. How about a Word MVP?

This would work prefectly, assuming Word is just missing
the code that writes this setting out, and not the bit
that reads it in and sets it.

The overall idea is to autogen a Word-friendly HTML doc,
set content-type, serve via web, and have Word load it in
a browser. I would try RTF, but I don't think it has the
formatting capabilities I'm looking for.


Thanks,
Jason

Remove spamno
 
B

Bob Buckland ?:-\)

Hi Jason,

I'm not sure there's much that you can do with
this one without automation if you're using Word 2000
as mentioned in that MSKB article.

In some cases Word 2000 fails to
write the correct <tr...> entry to include the
code to not break the table on a page break, but
even when the code is present, Word 2000 will still
turn the [x] Allow Rows to break across tables when
you open the HTML file in Word 2000 as mentioned in
http://support.microsoft.com/?fr=1&kbid=220486
basically, it looks like a bug where Word 2000 doesn't
recognize that particular content of the document.

Word 2002 and 2003 can do something similar, but they
have the added feature of Word table styles and you
can set that property as part of the Table style (it
won't appear in the style listing in the HTML file but
Word does apply it in the <TR..> entries based on the
style.

The <TR entry will include, as part of a Style= definition
page-break-inside:avoid , for example:
<tr style='page-break-inside:avoid'>
in the first row of a table.


===============

Hi folks,

Been wrangling with this one for some time, and found this
link:
http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q2
20/4/86.asp&NoWebContent=1

Anyone know a way around it?
So far my thoughts have been:
- saving an embedded macro on the Document.Open event that
sets the property (works fine, but I don't want macros)
- trying to hack MSO/XML bits to force it to work (total
failure thus far)
- tinkering with paragraph settings (fruitless)

If someone at MS would be able to give me a Word-specific
(MSO, or XML) snippet to toss in my HTML table, I'd be
more than grateful. How about a Word MVP?

This would work prefectly, assuming Word is just missing
the code that writes this setting out, and not the bit
that reads it in and sets it.

The overall idea is to autogen a Word-friendly HTML doc,
set content-type, serve via web, and have Word load it in
a browser. I would try RTF, but I don't think it has the
formatting capabilities I'm looking for.


Thanks,
Jason>>

--
Hope that helps,

Bob Buckland ?:) MS Office Products family MVP
*Courtesy is not expensive and can pay big dividends*

http://go.CompuServe.com/MSOfficeForum?loc=us


Have a little fun with Office
http://microsoft.com/uk/office/xtra/

Get a Microsoft Certification of your Office App Skills:
http://microsoft.com/traincert/mcp/mous/requirements.asp

Try the new MS Knowledge Base Help and Support Search Tools & FAQ:
http://support.microsoft.com

Choose the newsgroups focused on your MS Office applications:
via Browser:
http://communities.microsoft.com/newsgroups/default.asp?icp=prod_office
by Newsreader: (Outlook Express)
news://msnews.microsoft.com
 
Top