Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.datatypes
Interface PercentBaseContext

All Known Subinterfaces:
  BlockLevelLayoutManager, InlineLevelLayoutManager, LayoutManager

All Known Implementing Classes:
  AbstractBaseLayoutManager, AbstractGraphicsLayoutManager, AbstractLayoutManager, AbstractPageNumberCitationLayoutManager, AbstractPageSequenceLayoutManager, BasicLinkLayoutManager, BidiLayoutManager, BlockContainerLayoutManager, BlockLayoutManager, BlockStackingLayoutManager, CharacterLayoutManager, ContentLayoutManager, DummyPercentBaseContext, ExternalDocumentLayoutManager, ExternalGraphicLayoutManager, FlowLayoutManager, FootnoteBodyLayoutManager, FootnoteLayoutManager, ICLayoutManager, InlineLayoutManager, InlineStackingLayoutManager, InstreamForeignObjectLM, LeaderLayoutManager, LeafNodeLayoutManager, LineLayoutManager, ListBlockLayoutManager, ListItemContentLayoutManager, ListItemLayoutManager, PageNumberCitationLastLayoutManager, PageNumberCitationLayoutManager, PageNumberLayoutManager, PageSequenceLayoutManager, PercentContext, 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.

Method Summary
`int` | `getBaseLength(int lengthBase, FObj fobj)` Returns the base length for the given length base.

Method Detail

### getBaseLength

    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`.

  Parameters:
    `lengthBase` - Indicates which type of the base length value is to be returned
    `fobj` - The FO object against which the percentage should be evaluated
  Returns:
    The base length value of the given kind

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.