
org.toucanpdf.model.state.StateTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toucanpdf Show documentation
Show all versions of toucanpdf Show documentation
Java library for the creation of PDF files
package org.toucanpdf.model.state;
import java.util.List;
import org.toucanpdf.model.PlaceableFixedSizeDocumentPart;
import org.toucanpdf.model.Table;
import org.toucanpdf.state.Table.StateTableRow;
public interface StateTable extends Table, StatePlaceableDocumentPart, PlaceableFixedSizeDocumentPart {
List getStateCellCollection();
void updateHeight(StatePage page);
/**
* Processes the size of the part and positions it accordingly.
* @param page The page to add the part to.
* @return returns a table object containing the content that does not fit, null if everything fits
*/
StateTable processContentSize(StatePage page);
/**
* Processes the size of the part and positions it accordingly.
* @param page The page to add the part to.
* @param wrapping Whether wrapping around the part should be allowed.
* @param processAlignment Whether alignment should be applied.
* @param fixed Whether the object has a fixed position.
* @return returns a table object containing the content that does not fit, null if everything fits
*/
StateTable processContentSize(StatePage page, boolean wrapping, boolean processAlignment, boolean fixed);
void setOriginal(boolean original);
boolean isOriginal();
double[] getOriginalWidths();
void setHeader(StateTableRow header);
StateTableRow getHeader();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy