org.apache.fop.layout
Class BlockArea

org.apache.fop.layout.Box
  |
  +--org.apache.fop.layout.Area
        |
        +--org.apache.fop.layout.BlockArea

public class BlockArea
extends Area


Fields inherited from class org.apache.fop.layout.Area
borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderStyleBottom, borderStyleLeft, borderStyleRight, borderStyleTop, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop

Constructor Summary
BlockArea(FontState fontState, int allocationWidth, int maxHeight, int startIndent, int endIndent, int textIndent, int align, int alignLastLine, int lineHeight)
           

Method Summary
 voidaddCharacter(FontState fontState, float red, float green, float blue, int wrapOption, LinkSet ls, int whiteSpaceCollapse, char data, boolean ul)
           
 intaddLeader(FontState fontState, float red, float green, float blue, int leaderPattern, int leaderLengthMinimum, int leaderLengthOptimum, int leaderLengthMaximum, int ruleThickness, int ruleStyle, int leaderPatternWidth, int leaderAlignment)
          adds a leader to current line area of containing block area the actual leader area is created in the line area
 voidaddLineArea(LineArea la)
           
 intaddPageNumberCitation(FontState fontState, float red, float green, float blue, int wrapOption, LinkSet ls, int whiteSpaceCollapse, String refid)
           
 intaddText(FontState fontState, float red, float green, float blue, int wrapOption, LinkSet ls, int whiteSpaceCollapse, char[] data, int start, int end, boolean ul)
           
 voidend()
           
 intgetEndIndent()
           
 intgetHalfLeading()
           
 intgetStartIndent()
           
 voidrender(Renderer renderer)
           
 voidsetHyphenation(String language, String country, int hyphenate, char hyphenationChar, int hyphenationPushCharacterCount, int hyphenationRemainCharacterCount)
           
 voidsetIndents(int startIndent, int endIndent)
           
 intspaceLeft()
           
 voidstart()
           

Methods inherited from class org.apache.fop.layout.Area
addChild, addChildAtStart, addDisplaySpace, getAbsoluteHeight, getAllocationWidth, getBackgroundColor, getChildren, getContentHeight, getContentWidth, getFontInfo, getFontState, getHeight, getIDReferences, getMaxHeight, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, increaseAbsoluteHeight, increaseHeight, remove, removeChild, removeChild, setAbsoluteHeight, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setHeight, setIDReferences, setMaxHeight, setPadding, setPage, setTableCellXOffset

Constructor Detail

BlockArea

public BlockArea(FontState fontState, int allocationWidth, int maxHeight, int startIndent, int endIndent, int textIndent, int align, int alignLastLine, int lineHeight)
Method Detail

addCharacter

public void addCharacter(FontState fontState, float red, float green, float blue, int wrapOption, LinkSet ls, int whiteSpaceCollapse, char data, boolean ul)

addLeader

public int addLeader(FontState fontState, float red, float green, float blue, int leaderPattern, int leaderLengthMinimum, int leaderLengthOptimum, int leaderLengthMaximum, int ruleThickness, int ruleStyle, int leaderPatternWidth, int leaderAlignment)
adds a leader to current line area of containing block area the actual leader area is created in the line area
Returns: int +1 for success and -1 for none

addLineArea

public void addLineArea(LineArea la)

addPageNumberCitation

public int addPageNumberCitation(FontState fontState, float red, float green, float blue, int wrapOption, LinkSet ls, int whiteSpaceCollapse, String refid)

addText

public int addText(FontState fontState, float red, float green, float blue, int wrapOption, LinkSet ls, int whiteSpaceCollapse, char[] data, int start, int end, boolean ul)

end

public void end()

getEndIndent

public int getEndIndent()

getHalfLeading

public int getHalfLeading()

getStartIndent

public int getStartIndent()

render

public void render(Renderer renderer)

setHyphenation

public void setHyphenation(String language, String country, int hyphenate, char hyphenationChar, int hyphenationPushCharacterCount, int hyphenationRemainCharacterCount)

setIndents

public void setIndents(int startIndent, int endIndent)

spaceLeft

public int spaceLeft()

start

public void start()

Association Links

to Class org.apache.fop.layout.LineArea

to Class org.apache.fop.layout.LinkSet

to Class java.lang.String

to Class java.lang.String