W
werD
Hello,
Ive got a word doc that is basically in this format with no page breaks
Page Title(Heading 2)
Page Data(Table)
Page Title(Heading 2)
Page Data(Table)
Page Title(Heading 2)
Page Data(Table)
etc...
Im using .net to loop through the doc by Paragraph and Table and Im able to
get to the plain text of the objects via a paragraph loop but i cant seem to
narrow down the data formatted as Heading 2 and just get the next table as
html or similar so that I can create some pages based on them.
Id like to do something similar to this although it's obviously not right (
i have 40 items marked with heading 2 but the headers loop only runs 3 times.)
For Each h As Word.HeaderFooter In s.Headers
'?PageTitle=h.range.Text
'?BodyText = '?Table and Text
Next
Ive seen this type of functionalty in tools like robohelp(split document
into web pages based on defined formatting) before but im not sure what the
proper logic would be do get to these pieces of data
I appreciate any insight you have and would be glad to clarify further.
Thanks in Advance
DrewG
Ive got a word doc that is basically in this format with no page breaks
Page Title(Heading 2)
Page Data(Table)
Page Title(Heading 2)
Page Data(Table)
Page Title(Heading 2)
Page Data(Table)
etc...
Im using .net to loop through the doc by Paragraph and Table and Im able to
get to the plain text of the objects via a paragraph loop but i cant seem to
narrow down the data formatted as Heading 2 and just get the next table as
html or similar so that I can create some pages based on them.
Id like to do something similar to this although it's obviously not right (
i have 40 items marked with heading 2 but the headers loop only runs 3 times.)
For Each h As Word.HeaderFooter In s.Headers
'?PageTitle=h.range.Text
'?BodyText = '?Table and Text
Next
Ive seen this type of functionalty in tools like robohelp(split document
into web pages based on defined formatting) before but im not sure what the
proper logic would be do get to these pieces of data
I appreciate any insight you have and would be glad to clarify further.
Thanks in Advance
DrewG