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

org.daisy.dotify.api.embosser.EmbosserWriterProperties Maven / Gradle / Ivy

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

/**
 * Provides information about the embosser.
 *
 * @author Joel Håkansson
 */
public interface EmbosserWriterProperties {

    /**
     * Gets the maximum row width in the current configuration.
     *
     * @return returns the maximum row width, in characters
     */
    public int getMaxWidth();

    /**
     * Returns true if this embosser supports aligning. This indicates
     * that rows can be padded with whitespace to move the text block
     * horizontally using the value returned by getMaxWidth.
     * Should return true for all physical embossers, since they all have
     * a finite row length.
     *
     * @return returns true if this embosser supports aligning, false otherwise.
     */
    public boolean supportsAligning();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy