Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 30 Sep 2008 16:44:07 +0100,    group: microsoft.public.word.tables        back       


Keeping (HTML) tables together.   
I have an application which exports its data in HTML, in multiple 
sections, each containing a header, then a table. If necessary, the 
header and table could be contained in a simple container table, so each 
section is in one table.

Will WORD try to keep these tables from splitting at page boundaries 
when the document is printed? Is there anything extra that I could add 
to the exported HTML to prevent the tables from splitting?

-- 
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
date: Tue, 30 Sep 2008 16:44:07 +0100   author:   Swifty

Re: Keeping (HTML) tables together.   
Hello Swifty

Swifty wrote:
> I have an application which exports its data in HTML, in multiple 
> sections, each containing a header, then a table. If necessary, the 
> header and table could be contained in a simple container table, so each 
> section is in one table.

just to make sure up front: you are aware of the differences between 
Header and Heading in Word, and that "Section" has a very particular 
meaning in this application, right?


> Will WORD try to keep these tables from splitting at page boundaries 
> when the document is printed? Is there anything extra that I could add 
> to the exported HTML to prevent the tables from splitting?

If you have really Word sections here, then you can tell each section to 
automatically start on a new page. Then, if any table is longer than a 
page, Word naturally has to split it. But if you can guarantee that 
tables are shorter, that'd be the ideal solution.

BTW, if you have headings and not headers here, you don't really need 
sections at all only for this task. You can simply assign a special 
paragraph property to your heading style that forces a "Page break before."

In your boots, I'd setup a short Word document in the way you want it 
and save it to (filtered) HTML. Then look at what Word does with 
sections and/or "Page break before" properties.

HTH
Robert
-- 
  /"\  ASCII Ribbon Campaign | MSFT |
  \ /                        |  MVP |     Scientific Reports
   X        Against HTML     |  for |         with Word?
  / \     in e-mail & news   | Word | http://www.masteringword.eu/
date: Wed, 01 Oct 2008 12:31:20 +0200   author:   Robert M. Franz (RMF)

Re: Keeping (HTML) tables together.   
Robert M. Franz (RMF) wrote:
> In your boots, I'd setup a short Word document in the way you want it 
> and save it to (filtered) HTML. Then look at what Word does with 
> sections and/or "Page break before" properties.

Thanks, I'll try this.

-- 
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
date: Wed, 01 Oct 2008 21:02:47 +0100   author:   Swifty

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us