xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psan...@apache.org
Subject svn commit: r955955 [3/8] - in /xmlgraphics/site/deploy/fop: ./ dev/ trunk/
Date Fri, 18 Jun 2010 11:52:38 GMT
Modified: xmlgraphics/site/deploy/fop/compliance.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/site/deploy/fop/compliance.pdf?rev=955955&r1=955954&r2=955955&view=diff
==============================================================================
Files xmlgraphics/site/deploy/fop/compliance.pdf (original) and xmlgraphics/site/deploy/fop/compliance.pdf
Fri Jun 18 11:52:37 2010 differ

Modified: xmlgraphics/site/deploy/fop/compliance.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/site/deploy/fop/compliance.xml?rev=955955&r1=955954&r2=955955&view=diff
==============================================================================
--- xmlgraphics/site/deploy/fop/compliance.xml (original)
+++ xmlgraphics/site/deploy/fop/compliance.xml Fri Jun 18 11:52:37 2010
@@ -1,2 +1,2 @@
 <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE document PUBLIC "-//APACHE//DTD
Documentation V1.3//EN" "document-v13.dtd">

[... 4 lines stripped ...]
Modified: xmlgraphics/site/deploy/fop/dev/extensions.html
URL: http://svn.apache.org/viewvc/xmlgraphics/site/deploy/fop/dev/extensions.html?rev=955955&r1=955954&r2=955955&view=diff
==============================================================================
--- xmlgraphics/site/deploy/fop/dev/extensions.html (original)
+++ xmlgraphics/site/deploy/fop/dev/extensions.html Fri Jun 18 11:52:37 2010
@@ -1,352 +1,352 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.9-dev">
-<meta name="Forrest-skin-name" content="pelt">
-<title>FOP Development: Adding an Extension</title>
-<link type="text/css" href="../skin/basic.css" rel="stylesheet">
-<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
-<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
-<link type="text/css" href="../skin/profile.css" rel="stylesheet">
-<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
-<link rel="shortcut icon" href="../">
-</head>
-<body onload="init()">
-<script type="text/javascript">ndeSetTextSize();</script>
-<div id="top">
-<!--+
-    |header
-    +-->
-<div class="header">
-<!--+
-    |start group logo
-    +-->
-<div class="grouplogo">
-<a href="http://xmlgraphics.apache.org/"><img class="logoImage" alt="Apache XML
Graphics" src="../images/group-logo.gif" title="Apache XML Graphics is responsible for the
creation and maintenance of software for managing the conversion of XML formats to graphical
output, and the creation and maintenance of related software components, based on software
licensed to the Foundation"></a>
-</div>
-<!--+
-    |end group logo
-    +-->
-<!--+
-    |start Project Logo
-    +-->
-<div class="projectlogo">
-<a href="http://xmlgraphics.apache.org/fop/"><img class="logoImage" alt="Apache
FOP" src="../images/logo.jpg" title="Apache FOP (Formatting Objects Processor) is the world's
first output independent formatter. Output formats currently supported include PDF, PCL, PS,
SVG, XML (area tree representation), Print, AWT, MIF and TXT. The primary output target is
PDF."></a>
-</div>
-<!--+
-    |end Project Logo
-    +-->
-<!--+
-    |start Search
-    +-->
-<div class="searchbox">
-<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="xmlgraphics.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank
(this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search
the site with google">&nbsp; 
-                    <input name="Search" value="Search" type="submit">
-</form>
-</div>
-<!--+
-    |end search
-    +-->
-<!--+
-    |start Tabs
-    +-->
-<ul id="tabs">
-<li>
-<a class="unselected" href="../index.html">Home</a>
-</li>
-<li>
-<a class="unselected" href="../0.94/index.html">Version 0.94</a>
-</li>
-<li>
-<a class="unselected" href="../0.95/index.html">Version 0.95</a>
-</li>
-<li>
-<a class="unselected" href="../trunk/index.html">FOP Trunk</a>
-</li>
-<li class="current">
-<a class="selected" href="../dev/index.html">Development</a>
-</li>
-</ul>
-<!--+
-    |end Tabs
-    +-->
-</div>
-</div>
-<div id="main">
-<div id="publishedStrip">
-<!--+
-    |start Subtabs
-    +-->
-<div id="level2tabs"></div>
-<!--+
-    |end Endtabs
-    +-->
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-//  --></script>
-</div>
-<!--+
-    |breadtrail
-    +-->
-<div class="breadtrail">
-<a href="http://www.apache.org/">apache.org</a> &gt; <a href="http://xml.apache.org/">XML
Federation</a> &gt; <a href="http://xmlgraphics.apache.org/">xmlgraphics.apache.org</a><script
src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
-</div>
-<!--+
-    |start Menu, mainarea
-    +-->
-<!--+
-    |start Menu
-    +-->
-<div id="menu">
-<div onclick="SwitchMenu('menu_1.1', '../skin/')" id="menu_1.1Title" class="menutitle">About</div>
-<div id="menu_1.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/index.html">Basics</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_selected_1.2', '../skin/')" id="menu_selected_1.2Title"
class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Design</div>
-<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
-<div onclick="SwitchMenu('menu_1.2.1', '../skin/')" id="menu_1.2.1Title" class="menutitle">About</div>
-<div id="menu_1.2.1" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/design/index.html">Introduction</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2.2', '../skin/')" id="menu_1.2.2Title" class="menutitle">Core
Process</div>
-<div id="menu_1.2.2" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/design/startup.html">Startup</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/parsing.html">XML Parsing</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/fotree.html">FO Tree</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/properties.html">Properties</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/layout.html">Layout</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/breakpos.html">Break Possibility</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/areas.html">Area Tree</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/renderers.html">Renderers</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.2.3', '../skin/')" id="menu_1.2.3Title" class="menutitle">Miscellaneous</div>
-<div id="menu_1.2.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/design/images.html">Images</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/pdf-library.html">PDF Library</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/svg.html">SVG</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/embedding.html">Embedding</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/extending.html">Extending</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/optimise.html">Optimisations</a>
-</div>
-<div class="menuitem">
-<a href="../dev/design/useragent.html">User Agent</a>
-</div>
-</div>
-<div class="menuitem">
-<a href="http://wiki.apache.org/xmlgraphics-fop/FOPProjectPages">Unresolved (Wiki)</a>
-</div>
-<div class="menuitem">
-<a href="../dev/svg.html">SVG</a>
-</div>
-<div class="menupage">
-<div class="menupagetitle">Extensions</div>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.3', '../skin/')" id="menu_1.3Title" class="menutitle">Develop</div>
-<div id="menu_1.3" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/api-doc.html">API Doc</a>
-</div>
-<div class="menuitem">
-<a href="../dev/implement.html">Walk-Thru</a>
-</div>
-<div class="menuitem">
-<a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Fop&short_desc=%5BPATCH%5D&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&namedcmd=Fop+all&newqueryname=fop+patch+queue&tofooter=1&order=Reuse+same+sort+as+last+time">Patch
Queue</a>
-</div>
-<div class="menuitem">
-<a href="../dev/conventions.html">Conventions</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.4', '../skin/')" id="menu_1.4Title" class="menutitle">Test</div>
-<div id="menu_1.4" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/testing.html">Testing</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.5', '../skin/')" id="menu_1.5Title" class="menutitle">Deploy</div>
-<div id="menu_1.5" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/doc.html">Doc Mgmt</a>
-</div>
-<div class="menuitem">
-<a href="../dev/release.html">Release</a>
-</div>
-<div class="menuitem">
-<a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Fop&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&order=bugs.component">Bugs</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.6', '../skin/')" id="menu_1.6Title" class="menutitle">Resources</div>
-<div id="menu_1.6" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/faq.html">FAQs</a>
-</div>
-<div class="menuitem">
-<a href="../dev/tools.html">Tools</a>
-</div>
-<div class="menuitem">
-<a href="http://svn.apache.org/viewvc/xmlgraphics/fop">ViewVC</a>
-</div>
-</div>
-<div onclick="SwitchMenu('menu_1.7', '../skin/')" id="menu_1.7Title" class="menutitle">SubPackages</div>
-<div id="menu_1.7" class="menuitemgroup">
-<div class="menuitem">
-<a href="../dev/rtflib.html">RTFlib</a>
-</div>
-</div>
-<div id="credit"></div>
-<div id="roundbottom">
-<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
-<!--+
-  |alternative credits
-  +-->
-<div id="credit2">
-<a href="http://us.apachecon.com/"><img border="0" title="ApacheCon US 2009" alt="ApacheCon
US 2009 - logo" src="http://apache.org/ads/ApacheCon/2009-usa-125x125.png" style="width: 125px;height:
125px;"></a>
-</div>
-</div>
-<!--+
-    |end Menu
-    +-->
-<!--+
-    |start content
-    +-->
-<div id="content">
-<div title="raw XML" class="xmllink">
-<a class="dida" href="extensions.xml"><img alt="XML - icon" src="../skin/images/xmldoc.gif"
class="skin"><br>
-        XML</a>
-</div>
-<div title="Portable Document Format" class="pdflink">
-<a class="dida" href="extensions.pdf"><img alt="PDF -icon" src="../skin/images/pdfdoc.gif"
class="skin"><br>
-        PDF</a>
-</div>
-<div class="trail">Font size: 
-	          &nbsp;<input value="Reset" class="resetfont" title="Reset text" onclick="ndeSetTextSize('reset');
return false;" type="button">      
-	          &nbsp;<input value="-a" class="smallerfont" title="Shrink text" onclick="ndeSetTextSize('decr');
return false;" type="button">
-	          &nbsp;<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr');
return false;" type="button">
-</div>
-<h1>FOP Development: Adding an Extension</h1>
-<div id="front-matter">
-<div id="minitoc-area">
-<ul class="minitoc">
-<li>
-<a href="#overview">Overview</a>
-</li>
-<li>
-<a href="#adding">Adding Your Own</a>
-</li>
-</ul>
-</div>
-</div>
-    
-<a name="N10011"></a><a name="overview"></a>
-<h2 class="underlined_10">Overview</h2>
-<div class="section">
-<p>For documentation of standard FOP extensions, see the <a href="../trunk/extensions.html">User
FOP Extensions</a> document.</p>
-<p>
-If the default funtionality of FOP needs to be extended for
-some reason then you can write an extension.
-            </p>
-<p>There are three types of extensions possible:</p>
-<ul>
-              
-<li>An output document extension such as the PDF bookmarks</li>
-              
-<li>an instream-foreign-object extensions such as SVG</li>
-              
-<li>an fo extension that creates an area in the area tree where normal xsl:fo is not
possible</li>
-            
-</ul>
-</div>
-          
-<a name="N10031"></a><a name="adding"></a>
-<h2 class="underlined_10">Adding Your Own</h2>
-<div class="section">
-<p>
-To add your own extension you need to do the following things.
-</p>
-<ol>
-          
-<li>Write code that implements your extension functionality. The easiest place to
-start is by looking at the code in org.apache.fop.extension, and by looking at the examples
in the <span class="codefrag">examples</span> directory.</li>
-          
-<li>Create a class that implements the org.apache.fop.fo.ElementMapping interface.
ElementMapping is a hashmap of all of the elements in a particular namespace, which makes
it easier for FOP to create a different object for each element.
-ElementMapping objects are static to save on memory.
-They are loaded by FOP when parsing starts to validate input.</li>
-          
-<li>Create the following file: "/META-INF/services/org.apache.fop.fo.ElementMapping",
which should contain the fully qualified classname of your ElementMapping implementation class.</li>
-          
-<li>Create a jar file containing all of the above files.</li>
-          
-<li>Create your XSL-FO file with the extra XML data embedded in the file with the
-correct name space.
-The examples for SVG and pdfoutline.fo show how this can be done.
-The pdf documents on the FOP site use this extension.
-See also <a href="../examples.html">Examples</a> for more examples.</li>
-          
-<li>Put your jar file in the classpath</li>
-          
-<li>Run FOP using your XSL-FO file as input.</li>
-        
-</ol>
-</div>
-  
-<span class="version">
-          version 911792</span>
-</div>
-<!--+
-    |end content
-    +-->
-<div class="clearboth">&nbsp;</div>
-</div>
-<div id="footer">
-<!--+
-    |start bottomstrip
-    +-->
-<div class="lastmodified">
-<script type="text/javascript"><!--
-document.write("Last Published: " + document.lastModified);
-//  --></script>
-</div>
-<div class="copyright">
-        Copyright &copy;
-         1999-2009 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
-</div>
-<!--+
-    |end bottomstrip
-    +-->
-</div>
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.9-dev">
+<meta name="Forrest-skin-name" content="pelt">
+<title>FOP Development: Adding an Extension</title>
+<link type="text/css" href="../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../skin/profile.css" rel="stylesheet">
+<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script
src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script
src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+    |header
+    +-->
+<div class="header">
+<!--+
+    |start group logo
+    +-->
+<div class="grouplogo">
+<a href="http://xmlgraphics.apache.org/"><img class="logoImage" alt="Apache XML
Graphics" src="../images/group-logo.gif" title="Apache XML Graphics is responsible for the
creation and maintenance of software for managing the conversion of XML formats to graphical
output, and the creation and maintenance of related software components, based on software
licensed to the Foundation"></a>
+</div>
+<!--+
+    |end group logo
+    +-->
+<!--+
+    |start Project Logo
+    +-->
+<div class="projectlogo">
+<a href="http://xmlgraphics.apache.org/fop/"><img class="logoImage" alt="Apache
FOP" src="../images/logo.jpg" title="Apache FOP (Formatting Objects Processor) is the world's
first output independent formatter. Output formats currently supported include PDF, PCL, PS,
SVG, XML (area tree representation), Print, AWT, MIF and TXT. The primary output target is
PDF."></a>
+</div>
+<!--+
+    |end Project Logo
+    +-->
+<!--+
+    |start Search
+    +-->
+<div class="searchbox">
+<form action="http://www.google.com/search" method="get" class="roundtopsmall">
+<input value="xmlgraphics.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank
(this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search
the site with google">&nbsp; 
+                    <input name="Search" value="Search" type="submit">
+</form>
+</div>
+<!--+
+    |end search
+    +-->
+<!--+
+    |start Tabs
+    +-->
+<ul id="tabs">
+<li>
+<a class="unselected" href="../index.html">Home</a>
+</li>
+<li>
+<a class="unselected" href="../0.94/index.html">Version 0.94</a>
+</li>
+<li>
+<a class="unselected" href="../0.95/index.html">Version 0.95</a>
+</li>
+<li>
+<a class="unselected" href="../trunk/index.html">FOP Trunk</a>
+</li>
+<li class="current">
+<a class="selected" href="../dev/index.html">Development</a>
+</li>
+</ul>
+<!--+
+    |end Tabs
+    +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+    |start Subtabs
+    +-->
+<div id="level2tabs"></div>
+<!--+
+    |end Endtabs
+    +-->
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">apache.org</a> &gt; <a href="http://xml.apache.org/">XML
Federation</a> &gt; <a href="http://xmlgraphics.apache.org/">xmlgraphics.apache.org</a><script
src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+    |start Menu, mainarea
+    +-->
+<!--+
+    |start Menu
+    +-->
+<div id="menu">
+<div onclick="SwitchMenu('menu_1.1', '../skin/')" id="menu_1.1Title" class="menutitle">About</div>
+<div id="menu_1.1" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/index.html">Basics</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_selected_1.2', '../skin/')" id="menu_selected_1.2Title"
class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Design</div>
+<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
+<div onclick="SwitchMenu('menu_1.2.1', '../skin/')" id="menu_1.2.1Title" class="menutitle">About</div>
+<div id="menu_1.2.1" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/design/index.html">Introduction</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.2.2', '../skin/')" id="menu_1.2.2Title" class="menutitle">Core
Process</div>
+<div id="menu_1.2.2" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/design/startup.html">Startup</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/parsing.html">XML Parsing</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/fotree.html">FO Tree</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/properties.html">Properties</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/layout.html">Layout</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/breakpos.html">Break Possibility</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/areas.html">Area Tree</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/renderers.html">Renderers</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.2.3', '../skin/')" id="menu_1.2.3Title" class="menutitle">Miscellaneous</div>
+<div id="menu_1.2.3" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/design/images.html">Images</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/pdf-library.html">PDF Library</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/svg.html">SVG</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/embedding.html">Embedding</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/extending.html">Extending</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/optimise.html">Optimisations</a>
+</div>
+<div class="menuitem">
+<a href="../dev/design/useragent.html">User Agent</a>
+</div>
+</div>
+<div class="menuitem">
+<a href="http://wiki.apache.org/xmlgraphics-fop/FOPProjectPages">Unresolved (Wiki)</a>
+</div>
+<div class="menuitem">
+<a href="../dev/svg.html">SVG</a>
+</div>
+<div class="menupage">
+<div class="menupagetitle">Extensions</div>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.3', '../skin/')" id="menu_1.3Title" class="menutitle">Develop</div>
+<div id="menu_1.3" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/api-doc.html">API Doc</a>
+</div>
+<div class="menuitem">
+<a href="../dev/implement.html">Walk-Thru</a>
+</div>
+<div class="menuitem">
+<a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Fop&short_desc=%5BPATCH%5D&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&namedcmd=Fop+all&newqueryname=fop+patch+queue&tofooter=1&order=Reuse+same+sort+as+last+time">Patch
Queue</a>
+</div>
+<div class="menuitem">
+<a href="../dev/conventions.html">Conventions</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.4', '../skin/')" id="menu_1.4Title" class="menutitle">Test</div>
+<div id="menu_1.4" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/testing.html">Testing</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.5', '../skin/')" id="menu_1.5Title" class="menutitle">Deploy</div>
+<div id="menu_1.5" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/doc.html">Doc Mgmt</a>
+</div>
+<div class="menuitem">
+<a href="../dev/release.html">Release</a>
+</div>
+<div class="menuitem">
+<a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Fop&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&order=bugs.component">Bugs</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.6', '../skin/')" id="menu_1.6Title" class="menutitle">Resources</div>
+<div id="menu_1.6" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/faq.html">FAQs</a>
+</div>
+<div class="menuitem">
+<a href="../dev/tools.html">Tools</a>
+</div>
+<div class="menuitem">
+<a href="http://svn.apache.org/viewvc/xmlgraphics/fop">ViewVC</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.7', '../skin/')" id="menu_1.7Title" class="menutitle">SubPackages</div>
+<div id="menu_1.7" class="menuitemgroup">
+<div class="menuitem">
+<a href="../dev/rtflib.html">RTFlib</a>
+</div>
+</div>
+<div id="credit"></div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+  |alternative credits
+  +-->
+<div id="credit2">
+<a href="http://us.apachecon.com/"><img border="0" title="ApacheCon US 2009" alt="ApacheCon
US 2009 - logo" src="http://apache.org/ads/ApacheCon/2009-usa-125x125.png" style="width: 125px;height:
125px;"></a>
+</div>
+</div>
+<!--+
+    |end Menu
+    +-->
+<!--+
+    |start content
+    +-->
+<div id="content">
+<div title="raw XML" class="xmllink">
+<a class="dida" href="extensions.xml"><img alt="XML - icon" src="../skin/images/xmldoc.gif"
class="skin"><br>
+        XML</a>
+</div>
+<div title="Portable Document Format" class="pdflink">
+<a class="dida" href="extensions.pdf"><img alt="PDF -icon" src="../skin/images/pdfdoc.gif"
class="skin"><br>
+        PDF</a>
+</div>
+<div class="trail">Font size: 
+	          &nbsp;<input value="Reset" class="resetfont" title="Reset text" onclick="ndeSetTextSize('reset');
return false;" type="button">      
+	          &nbsp;<input value="-a" class="smallerfont" title="Shrink text" onclick="ndeSetTextSize('decr');
return false;" type="button">
+	          &nbsp;<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr');
return false;" type="button">
+</div>
+<h1>FOP Development: Adding an Extension</h1>
+<div id="front-matter">
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#overview">Overview</a>
+</li>
+<li>
+<a href="#adding">Adding Your Own</a>
+</li>
+</ul>
+</div>
+</div>
+    
+<a name="N10011"></a><a name="overview"></a>
+<h2 class="underlined_10">Overview</h2>
+<div class="section">
+<p>For documentation of standard FOP extensions, see the <a href="../trunk/extensions.html">User
FOP Extensions</a> document.</p>
+<p>
+If the default funtionality of FOP needs to be extended for
+some reason then you can write an extension.
+            </p>
+<p>There are three types of extensions possible:</p>
+<ul>
+              
+<li>An output document extension such as the PDF bookmarks</li>
+              
+<li>an instream-foreign-object extensions such as SVG</li>
+              
+<li>an fo extension that creates an area in the area tree where normal xsl:fo is not
possible</li>
+            
+</ul>
+</div>
+          
+<a name="N10031"></a><a name="adding"></a>
+<h2 class="underlined_10">Adding Your Own</h2>
+<div class="section">
+<p>
+To add your own extension you need to do the following things.
+</p>
+<ol>
+          
+<li>Write code that implements your extension functionality. The easiest place to
+start is by looking at the code in org.apache.fop.fo.extensions, and by looking at the examples
in the <span class="codefrag">examples</span> directory.</li>
+          
+<li>Create a class that extends the abstract org.apache.fop.fo.ElementMapping class.
ElementMapping is a hashmap of all of the elements in a particular namespace, which makes
it easier for FOP to create a different object for each element.
+ElementMapping objects are static to save on memory.
+They are loaded by FOP when parsing starts to validate input.</li>
+          
+<li>Create the following file: "/META-INF/services/org.apache.fop.fo.ElementMapping",
which should contain the fully qualified classname of your ElementMapping implementation class.</li>
+          
+<li>Create a jar file containing all of the above files.</li>
+          
+<li>Create your XSL-FO file with the extra XML data embedded in the file with the
+correct name space.
+The examples for SVG and pdfoutline.fo show how this can be done.
+The pdf documents on the FOP site use this extension.
+See also <a href="../examples.html">Examples</a> for more examples.</li>
+          
+<li>Put your jar file in the classpath</li>
+          
+<li>Run FOP using your XSL-FO file as input.</li>
+        
+</ol>
+</div>
+  
+<span class="version">
+          version 955915</span>
+</div>
+<!--+
+    |end content
+    +-->
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+<!--+
+    |start bottomstrip
+    +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<div class="copyright">
+        Copyright &copy;
+         1999-2009 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
+</div>
+<!--+
+    |end bottomstrip
+    +-->
+</div>
+</body>
+</html>

Modified: xmlgraphics/site/deploy/fop/dev/extensions.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/site/deploy/fop/dev/extensions.pdf?rev=955955&r1=955954&r2=955955&view=diff
==============================================================================
Files xmlgraphics/site/deploy/fop/dev/extensions.pdf (original) and xmlgraphics/site/deploy/fop/dev/extensions.pdf
Fri Jun 18 11:52:37 2010 differ

Modified: xmlgraphics/site/deploy/fop/dev/extensions.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/site/deploy/fop/dev/extensions.xml?rev=955955&r1=955954&r2=955955&view=diff
==============================================================================
--- xmlgraphics/site/deploy/fop/dev/extensions.xml (original)
+++ xmlgraphics/site/deploy/fop/dev/extensions.xml Fri Jun 18 11:52:37 2010
@@ -17,7 +17,7 @@
 <document>
   <header>
     <title>FOP Development: Adding an Extension</title>
-    <version>$Revision: 911792 $</version>
+    <version>$Revision: 955915 $</version>
   </header>
   <body>
     <section id="overview">
@@ -41,8 +41,8 @@ To add your own extension you need to do
 </p>
         <ol>
           <li>Write code that implements your extension functionality. The easiest
place to
-start is by looking at the code in org.apache.fop.extension, and by looking at the examples
in the <code>examples</code> directory.</li>
-          <li>Create a class that implements the org.apache.fop.fo.ElementMapping interface.
ElementMapping is a hashmap of all of the elements in a particular namespace, which makes
it easier for FOP to create a different object for each element.
+start is by looking at the code in org.apache.fop.fo.extensions, and by looking at the examples
in the <code>examples</code> directory.</li>
+          <li>Create a class that extends the abstract org.apache.fop.fo.ElementMapping
class. ElementMapping is a hashmap of all of the elements in a particular namespace, which
makes it easier for FOP to create a different object for each element.
 ElementMapping objects are static to save on memory.
 They are loaded by FOP when parsing starts to validate input.</li>
           <li>Create the following file: "/META-INF/services/org.apache.fop.fo.ElementMapping",
which should contain the fully qualified classname of your ElementMapping implementation class.</li>
@@ -57,4 +57,4 @@ See also <link href="../examples.html">E
         </ol>
     </section>
   </body>
-</document>
+</document>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message