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

org.daisy.dotify.api.writer.SectionProperties Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package org.daisy.dotify.api.writer;


/**
 * Specifies the configuration properties for a section of pages
 * in a paged media.
 *
 * @author Joel Håkansson
 */
public interface SectionProperties {

    /**
     * Gets the page width.
     * An implementation must ensure that getPageWidth()=getFlowWidth()+getInnerMargin()+getOuterMargin()
     *
     * @return returns the page width
     */
    public int getPageWidth();

    /**
     * Gets the page height.
     * An implementation must ensure that getPageHeight()=getHeaderHeight()+getFlowHeight()+getFooterHeight()
     *
     * @return returns the page height
     */
    public int getPageHeight();

    /**
     * Gets row spacing, in row heights. For example, use 2.0 for double row spacing and 1.0 for normal row spacing.
     *
     * @return returns row spacing
     */
    public float getRowSpacing();

    /**
     * Returns true if output is intended on both sides of the sheets.
     *
     * @return returns true if output is intended on both sides of the sheets
     */
    public boolean duplex();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy