fi.hut.tml.xsmiles.mlfc.xslfo.render.jdk11
Class XSmilesAWTRenderer11

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xslfo.render.jdk11.AWTRenderer2
      extended byfi.hut.tml.xsmiles.mlfc.xslfo.render.jdk11.XSmilesAWTRenderer11
All Implemented Interfaces:
AWTRendererInterface, org.apache.fop.render.Renderer

public class XSmilesAWTRenderer11
extends AWTRenderer2
implements org.apache.fop.render.Renderer, AWTRendererInterface

XSMiles extensions to the org.apache.fop.awt.AWTRenderer. - Form components - Links - Embedded SVG & SMIL

Version:
$Revision: 6514 $
Author:
Mikko Honkala

Nested Class Summary
 
Nested classes inherited from class fi.hut.tml.xsmiles.mlfc.xslfo.render.jdk11.AWTRenderer2
AWTRenderer2.XCanvas
 
Field Summary
protected  CommonExtensions common
           
protected static java.awt.Container container
           
protected static int PADX
           
protected static int PADY
           
protected  org.apache.fop.viewer.Translator res
           
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.xslfo.render.jdk11.AWTRenderer2
currentBlue, currentFontName, currentFontSize, currentGreen, currentRed, currentXPosition, currentYPosition, fontNames, fontStyles, idReferences, JAVA_FONT_NAMES, options, pageHeight, pageList, pageNumber, pageWidth, parent, progressListener, saveColor, scaleFactor, tree
 
Constructor Summary
XSmilesAWTRenderer11(org.apache.fop.viewer.Translator aRes, MLFCListener ml, XMLDocument doc)
          Constructor.
 
Method Summary
 void followActiveLink()
          Navigates to the page pointed by the link that is active
protected  java.awt.Rectangle getRectangle(org.apache.fop.layout.Area a)
           
 java.awt.Component getRenderedComponent()
           
 void moveActiveLinkDown()
          Moves the "active" link down
 void moveActiveLinkUp()
          Moves the "active" link up
 void render(int aPageNumber)
          Retrieve the number of pages in this document.
 void renderFormArea(FormWidgetArea area)
           
 void renderImageArea(org.apache.fop.image.ImageArea area)
          XSmiles extension: External SVG images using SVGMLFC
 void setAreaTree(org.apache.fop.layout.AreaTree atree)
           
 void setParentComponent(java.awt.Container cont)
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.xslfo.render.jdk11.AWTRenderer2
addLine, addRect, addRect, colorType2Color, drawFrame, getBounds, getJavaFontName, getLastRenderedPage, getNumberOfPages, getPageCount, getPageNumber, getScaleFactor, render, render, renderAreaContainer, renderBlockArea, renderBodyAreaContainer, renderDisplaySpace, renderForeignObjectArea, renderImage, renderInlineSpace, renderLeaderArea, renderLineArea, renderPage, renderSpanArea, renderSVGArea, renderWordArea, setOptions, setPageNumber, setParent, setProducer, setProgressListener, setScaleFactor, setupFontInfo, startRenderer, stopRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.fop.render.Renderer
render, renderAreaContainer, renderBlockArea, renderBodyAreaContainer, renderDisplaySpace, renderForeignObjectArea, renderInlineSpace, renderLeaderArea, renderLineArea, renderPage, renderSpanArea, renderSVGArea, renderWordArea, setOptions, setProducer, setupFontInfo, startRenderer, stopRenderer
 
Methods inherited from interface fi.hut.tml.xsmiles.mlfc.xslfo.render.AWTRendererInterface
getPageCount, setPageNumber, setScaleFactor
 

Field Detail

res

protected org.apache.fop.viewer.Translator res

container

protected static java.awt.Container container

common

protected CommonExtensions common

PADX

protected static final int PADX
See Also:
Constant Field Values

PADY

protected static final int PADY
See Also:
Constant Field Values
Constructor Detail

XSmilesAWTRenderer11

public XSmilesAWTRenderer11(org.apache.fop.viewer.Translator aRes,
                            MLFCListener ml,
                            XMLDocument doc)
Constructor.

Method Detail

setParentComponent

public void setParentComponent(java.awt.Container cont)
Specified by:
setParentComponent in interface AWTRendererInterface

render

public void render(int aPageNumber)
Description copied from class: AWTRenderer2
Retrieve the number of pages in this document.

Specified by:
render in interface AWTRendererInterface
Overrides:
render in class AWTRenderer2
Returns:
the number of pages

moveActiveLinkDown

public void moveActiveLinkDown()
Moves the "active" link down

Specified by:
moveActiveLinkDown in interface AWTRendererInterface

moveActiveLinkUp

public void moveActiveLinkUp()
Moves the "active" link up

Specified by:
moveActiveLinkUp in interface AWTRendererInterface

followActiveLink

public void followActiveLink()
Navigates to the page pointed by the link that is active

Specified by:
followActiveLink in interface AWTRendererInterface

renderFormArea

public void renderFormArea(FormWidgetArea area)
Specified by:
renderFormArea in interface AWTRendererInterface

setAreaTree

public void setAreaTree(org.apache.fop.layout.AreaTree atree)
Specified by:
setAreaTree in interface AWTRendererInterface

renderImageArea

public void renderImageArea(org.apache.fop.image.ImageArea area)
XSmiles extension: External SVG images using SVGMLFC

Specified by:
renderImageArea in interface org.apache.fop.render.Renderer
Overrides:
renderImageArea in class AWTRenderer2

getRenderedComponent

public java.awt.Component getRenderedComponent()
Specified by:
getRenderedComponent in interface AWTRendererInterface
Overrides:
getRenderedComponent in class AWTRenderer2

getRectangle

protected java.awt.Rectangle getRectangle(org.apache.fop.layout.Area a)


X-Smiles 1.2