ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/htmldocument.htm

69 lines
3.8 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="HTMLDocument class" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="htmldocument" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>HTMLDocument class</title>
</head>
<body id="htmldocument"><a name="htmldocument"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">HTMLDocument class</h1>
<div><p></p>
<div class="section"><div class="p">The <a href="javadoc/com/ibm/as400/util/html/HTMLDocument.html">HTMLDocument</a> class enables you to more easily use existing IBM<sup>®</sup> Toolbox
for Java™ HTML
classes to create either HTML pages or Portable Document Format (PDF) documents.
When you create an HTMLDocument, you specify whether it contains HTML tags
or Extensible Stylesheet Language (XSL) Formatting Object (FOs) tags:<ul><li>When you want to create HTML pages, the HTMLDocument class offers you
an easier way to group all the required HTML tags. However, HTML pages do
not always look the same when you print them as when you view them in a Web
browser.</li>
<li>When you want to create PDF documents, the HTMLDocument class offers you
the ability to create XSL FO source that contains all the information you
need to produce a PDF document. PDF documents retain the same graphical appearance
when you print them as when you view them electronically.</li>
</ul>
</div>
<p>To use HTMLDocument, you need to include an XML parser and an
XSLT processor in your CLASSPATH environment variable. For more information,
see the following pages:</p>
<blockquote><p><a href="jarfilelist.htm">Jar files</a></p>
<p><a href="rzahhxmlparserxslprocessor.htm">XML parser and XSLT processor</a></p>
</blockquote>
<p>You
can process the resulting HTML or XSL source data the way you want, for example,
by displaying the HTML, saving the XSL to a file, or using the streamed data
in another part of your Java program.</p>
<p>For more information
about creating HTML pages and XSL FO source data, see the following pages:</p>
<ul><li><a href="htmldocumentcreatehtml.htm">Using HTMLDocument to create HTML data</a></li>
<li><a href="htmldocumentcreatefo.htm">Using HTMLDocument to create XSL FO data</a></li>
<li><a href="htmldocumentexpls.htm">Examples: Using HTMLDocument</a></li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Javadoc reference documentation</h4><p>For more information
about the HTMLDocument class, see the following Javadoc reference documentation:</p>
<blockquote><a href="javadoc/com/ibm/as400/util/html/HTMLDocument.html">HTMLDocument</a></blockquote>
</div>
</div>
</body>
</html>