|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScaledBaselineTable
The FOP specific incarnation of the XSL-FO scaled baseline table. All baseline tables are scaled to the font size of the font they apply to. This interface uses a coordinate system with its origin where the dominant baseline intersects the start edge of the box. All measurements are in mpt.
Method Summary | |
---|---|
ScaledBaselineTable |
deriveScaledBaselineTable(int baselineIdentifier)
Return a new baseline table for the given baseline based on the current baseline table. |
int |
getBaseline(int baselineIdentifier)
Return the offset measured from the dominant baseline for the given baseline identifier. |
int |
getDominantBaselineIdentifier()
Return the dominant baseline identifer for this alignment context. |
int |
getWritingMode()
Return the writing mode for this aligment context. |
void |
setBeforeAndAfterBaselines(int beforeBaseline,
int afterBaseline)
Sets the position of the before and after baselines. |
Method Detail |
---|
int getDominantBaselineIdentifier()
int getWritingMode()
int getBaseline(int baselineIdentifier)
baselineIdentifier
- the baseline identifier
void setBeforeAndAfterBaselines(int beforeBaseline, int afterBaseline)
beforeBaseline
- the offset of the before-edge baseline from the dominant baselineafterBaseline
- the offset of the after-edge baseline from the dominant baselineScaledBaselineTable deriveScaledBaselineTable(int baselineIdentifier)
baselineIdentifier
- the baseline identifer
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |