Adobe Framemaker/linker

Advertisement


Question
1. if i click the page then will show me that page
2. after create Table of Contents & index then can do the arrangement by automatically ?

Answer
Hoo -

I don't understand your question.  It sounds like you want to make a list
or table of web pages, display the pages, and then create a table of contents
and index?

Part 1 is not hard.  You can use the Swing component javax.swing.JTextPane
to display a web page.   You can use the javax.swing.JList or javax.swing.JList
to display a list of pages.  You can see tutorials for these Swing components
here:
http://docs.oracle.com/javase/tutorial/uiswing/components/index.html

Part 2 may be hard.  If you want to create a table of contents and index
from a web page, you need to be able to parse the web page.  That is
very hard.  You will need to get a Java HTML parser, such as
http://htmlparser.sourceforge.net/, and use it to dissect the structure
of the web page and extract all links.  

Sorry, I cannot help any more with this, because I do not understand your
question.

...nz

Adobe Framemaker

All Answers


Answers by Expert:


Ask Experts

Volunteer


Neal Ziring

Expertise

I`ve been using Frame to write and edit technical documents since 1990. Experienced with versions 4, 5, and 5.5 on both Unix and Windows.

©2012 About.com, a part of The New York Times Company. All rights reserved.