org.apache.fop.layoutmgr.inline

Class HyphContext


public class HyphContext
extends java.lang.Object

This class is used to pass information to the getNextBreakPoss() method concerning hyphenation. A reference to an instance of the class is contained in the LayoutContext object passed to each LayoutManager. It contains information concerning the hyphenation points in a word and the how many of those have previously been processed by a Layout Manager to generate size information.

Constructor Summary

HyphContext(int[] hyphPoints)

Method Summary

int
getNextHyphPoint()
boolean
hasMoreHyphPoints()
void
updateOffset(int iCharsProcessed)

Constructor Details

HyphContext

public HyphContext(int[] hyphPoints)

Method Details

getNextHyphPoint

public int getNextHyphPoint()

hasMoreHyphPoints

public boolean hasMoreHyphPoints()

updateOffset

public void updateOffset(int iCharsProcessed)

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