hi , i have a small program to make a PDF file.
set the ViewerPreferences contains outlines:
PdfWriter writer=PdfWriter.getInstance(document, new
FileOutputStream(path));
writer.setViewerPreferences(PdfWriter.PageModeUseOutlines);
add some Chapters:
Paragraph cTitle = new Paragraph(titles[i], chapterFont);
Chapter chapter = new Chapter(cTitle, i+1);
chapter.setNumberDepth(0);
document.add(chapter);
open the PDF file after created PDF file, there is outlines at left,and
page info at right. but in the page,there is a chapter's title same as
outline's title, if i want to hidden the chapter'title but show the
outline's title,how ?
thanks your answer !
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/How-to-hidden-the-Chapter-title-but-show-the-outline-s-title-tp3920697p3920697.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php