org.apache.fop.datatypes
Interface PercentBaseContext
- BlockLevelLayoutManager, InlineLevelLayoutManager, LayoutManager
- AbstractBaseLayoutManager, AbstractGraphicsLayoutManager, AbstractLayoutManager, AbstractPageNumberCitationLayoutManager, AbstractPageSequenceLayoutManager, BasicLinkLayoutManager, BidiLayoutManager, BlockContainerLayoutManager, BlockLayoutManager, BlockStackingLayoutManager, CharacterLayoutManager, ContentLayoutManager, ExternalDocumentLayoutManager, ExternalGraphicLayoutManager, FlowLayoutManager, FootnoteBodyLayoutManager, FootnoteLayoutManager, ICLayoutManager, InlineLayoutManager, InlineStackingLayoutManager, InstreamForeignObjectLM, LeaderLayoutManager, LeafNodeLayoutManager, LineLayoutManager, ListBlockLayoutManager, ListItemContentLayoutManager, ListItemLayoutManager, PageNumberCitationLastLayoutManager, PageNumberCitationLayoutManager, PageNumberLayoutManager, PageSequenceLayoutManager, SimplePercentBaseContext, StaticContentLayoutManager, TableAndCaptionLayoutManager, TableCaptionLayoutManager, TableCellLayoutManager, TableContentLayoutManager, TableLayoutManager, TextLayoutManager, ValidationPercentBaseContext, WrapperLayoutManager
public interface PercentBaseContext
This interface is used by the layout managers to provide relevant information
back to the property percentage resolution logic, that is
the percentages based property getValue() functions expect an object implementing
this interface as an argument.
int | getBaseLength(int lengthBase, FObj fobj) - Returns the base length for the given length base.
|
getBaseLength
public int getBaseLength(int lengthBase,
FObj fobj)
Returns the base length for the given length base.
Length base should be one of the constants defined in
LengthBase
.
lengthBase
- Indicates which type of the base length value is to be returnedfobj
- The FO object against which the percentage should be evaluated
- The base length value of the given kind
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.