Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
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, BlockStackingLayoutManager, ContentLayoutManager, DummyPercentBaseContext, FlowLayoutManager, InlineStackingLayoutManager, LeafNodeLayoutManager, LineLayoutManager, PercentContext, SimplePercentBaseContext, TableCellLayoutManager, TableContentLayoutManager, ValidationPercentBaseContext

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

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

  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.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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