/** @see org.apache.fop.render.Renderer */
- public void renderCharacter(Character ch) {
+ protected void renderCharacter(Character ch) {
currentBlockIPPosition += ch.getWidth();
}
/** @see org.apache.fop.render.Renderer */
- public void renderInlineSpace(Space space) {
+ protected void renderInlineSpace(Space space) {
// an inline space moves the inline progression position
// for the current block by the width or height of the space
// it may also have styling (only on this object) that needs
}
/** @see org.apache.fop.render.Renderer */
- public void renderLeader(Leader area) {
+ protected void renderLeader(Leader area) {
currentBlockIPPosition += area.getWidth();
}
/** @see org.apache.fop.render.Renderer */
- public void renderText(TextArea text) {
+ protected void renderText(TextArea text) {
currentBlockIPPosition += text.getWidth();
}
/** @see org.apache.fop.render.Renderer */
- public void renderInlineParent(InlineParent ip) {
+ protected void renderInlineParent(InlineParent ip) {
int saveIP = currentBlockIPPosition;
Iterator iter = ip.getChildAreas().iterator();
while (iter.hasNext()) {
}
/** @see org.apache.fop.render.Renderer */
- public void renderViewport(Viewport viewport) {
+ protected void renderViewport(Viewport viewport) {
Area content = viewport.getContent();
int saveBP = currentBPPosition;
currentBPPosition += viewport.getOffset();
void renderPage(PageViewport page)
throws IOException, FOPException;
- /**
- * Tells the renderer to render an inline viewport. It sets up clipping as
- * necessary.
- *
- * @param viewport The viewport area
- */
- void renderViewport(Viewport viewport);
-
/**
* Tells the renderer to render an inline container.
*
*/
void renderContainer(Container cont);
- /**
- * Tells the renderer to render an inline text area
- *
- * @param area The text area
- */
- void renderText(TextArea area);
-
- /**
- * Tells the renderer to render an inline parent area.
- *
- * @param ip The inline parent area
- */
- void renderInlineParent(InlineParent ip);
-
- /**
- * Tells the renderer to render an inline character.
- *
- * @param ch The inline character
- */
- void renderCharacter(
- org.apache.fop.area.inline.Character ch);
-
- /**
- * Tells the renderer to render an inline space.
- *
- * @param space The inline space
- */
- void renderInlineSpace(Space space);
-
- /**
- * Tells the renderer to render an inline leader area.
- *
- * @param area The inline leader area.
- */
- void renderLeader(Leader area);
-
}
/**
* @see org.apache.fop.render.Renderer#renderViewport(Viewport)
*/
- public void renderViewport(Viewport viewport) {
+ protected void renderViewport(Viewport viewport) {
writeStartTag("<viewport>");
super.renderViewport(viewport);
writeEndTag("</viewport>");
/**
* @see org.apache.fop.render.Renderer#renderCharacter(Character)
*/
- public void renderCharacter(org.apache.fop.area.inline.Character ch) {
+ protected void renderCharacter(org.apache.fop.area.inline.Character ch) {
String prop = "";
Map map = ch.getTraits();
if (map != null) {
/**
* @see org.apache.fop.render.Renderer#renderInlineSpace(Space)
*/
- public void renderInlineSpace(Space space) {
+ protected void renderInlineSpace(Space space) {
writeElement("<space width=\"" + space.getWidth() + "\"/>");
}
/**
* @see org.apache.fop.render.Renderer#renderText(TextArea)
*/
- public void renderText(TextArea text) {
+ protected void renderText(TextArea text) {
String prop = "";
Map map = text.getTraits();
if (map != null) {
/**
* @see org.apache.fop.render.Renderer#renderInlineParent(InlineParent)
*/
- public void renderInlineParent(InlineParent ip) {
+ protected void renderInlineParent(InlineParent ip) {
String prop = "";
Map map = ip.getTraits();
if (map != null) {
/**
* @see org.apache.fop.render.Renderer#renderLeader(Leader)
*/
- public void renderLeader(Leader area) {
+ protected void renderLeader(Leader area) {
String style = "solid";
switch (area.getRuleStyle()) {
case RuleStyle.DOTTED: