All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.toucanpdf.model.state.StateTable Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
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