  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Nested continuation headings | Nested continuation headings 2006-09-05 - By Nussbaum-Jones, Nina
Back I need to put headings at the top of each page if the information continues from the previous page, with a maximum of 3 levels of sub-headings. For example:
1.0 Bulid environment (continued)
a. node name (continued)
- software environment (continued)
I have tried a few approaches, but they are all very complicated. Would columntext or a table help me? The biggest challenge I had was to find out wat the indentation (x-value) of the first line of text that WILL be printed on the top of the page.
Thanks!!
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas -microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ @(protected) l0 {mso-list-id:1678461089; mso-list-template-ids:278156728;} @(protected) l0:level1 {mso-level-text:"%1\.0"; mso-level-tab-stop:19.5pt; mso-level-number-position:left; margin-left:19.5pt; text-indent:-19.5pt;} @(protected) l0:level2 {mso-level-text:"%1\.%2"; mso-level-tab-stop:55.5pt; mso-level-number-position:left; margin-left:55.5pt; text-indent:-19.5pt;} @(protected) l0:level3 {mso-level-text:"%1\.%2\.%3"; mso-level-tab-stop:1.5in; mso-level-number-position:left; text-indent:-.5in;} @(protected) l0:level4 {mso-level-text:"%1\.%2\.%3\.%4"; mso-level-tab-stop:2.0in; mso-level-number-position:left; text-indent:-.5in;} @(protected) l0:level5 {mso-level-text:"%1\.%2\.%3\.%4\.%5"; mso-level-tab-stop:2.75in; mso-level-number-position:left; margin-left:2.75in; text-indent:-.75in;} @(protected) l0:level6 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6"; mso-level-tab-stop:3.25in; mso-level-number-position:left; margin-left:3.25in; text-indent:-.75in;} @(protected) l0:level7 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7"; mso-level-tab-stop:4.0in; mso-level-number-position:left; margin-left:4.0in; text-indent:-1.0in;} @(protected) l0:level8 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8"; mso-level-tab-stop:4.5in; mso-level-number-position:left; margin-left:4.5in; text-indent:-1.0in;} @(protected) l0:level9 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9"; mso-level-tab-stop:5.0in; mso-level-number-position:left; margin-left:5.0in; text-indent:-1.0in;} @(protected) l1 {mso-list-id:1811241651; mso-list-type:hybrid; mso-list-template-ids:-224353440 -773399110 530085858 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @(protected) l1:level1 {mso-level-number-format:alpha-lower; mso-level-tab-stop:37.5pt; mso-level-number-position:left; margin-left:37.5pt; text-indent:-.25in;} @(protected) l1:level2 {mso-level-number-format:bullet; mso-level-text:-; mso-level-tab-stop:73.5pt; mso-level-number-position:left; margin-left:73.5pt; text-indent:-.25in; font-family:Arial; mso-fareast-font-family:"Times New Roman";} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I need to put headings at the top of each page if the information continues from the previous page, with a maximum of 3 levels of sub -headings. For example:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:19.5pt;text-indent:-19.5pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span style='mso-list:Ignore'>1.0<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> </span></font></span>< /span></font><![endif]><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Bulid environment (continued)<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:37.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span style='mso-list:Ignore'>a.<font size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'> < /span></font></span></span></font><![endif]><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>node name (continued)<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:37.5pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>- software environment (continued)<o :p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:37.5pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I have tried a few approaches, but they are all very complicated. Would columntext or a table help me? The biggest challenge I had was to find out wat the indentation (x-value) of the first line of text that WILL be printed on the top of the page.<o:p></o:p></span></font>< /p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Thanks!!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|
 |