Package org.daisy.dotify.api.embosser
Interface EmbosserProperties
-
- All Known Subinterfaces:
Embosser
public interface EmbosserProperties
Provides an interface for common embosser related properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EmbosserProperties.PrintMode
Regular printing or multi-page printing
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
supports8dot()
Returns true if this embosser supports 8 dot brailleboolean
supportsAligning()
Returns true if this embosser supports aligning.boolean
supportsDuplex()
Returns true if this embosser supports duplex printingboolean
supportsPrintMode(EmbosserProperties.PrintMode mode)
Returns true if this embosser supports magazine layout.boolean
supportsVolumes()
Returns true if this embosser has some method for volume handlingboolean
supportsZFolding()
Returns true if this embosser supports z-folding.
-
-
-
Method Detail
-
supportsVolumes
boolean supportsVolumes()
Returns true if this embosser has some method for volume handling- Returns:
- returns true if this embosser supports volumes
-
supports8dot
boolean supports8dot()
Returns true if this embosser supports 8 dot braille- Returns:
- returns true if this embosser supports 8 dot braille
-
supportsDuplex
boolean supportsDuplex()
Returns true if this embosser supports duplex printing- Returns:
- returns true if this embosser supports duplex printing
-
supportsAligning
boolean supportsAligning()
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 bygetMaxWidth
. Should return true for all physical embossers, since they all have a finite row length.- Returns:
- returns true if this embosser supports aligning, false otherwise.
-
supportsZFolding
boolean supportsZFolding()
Returns true if this embosser supports z-folding. This indicates that, if tractor paper is used, the embosser can emboss every other paper upside down with the rear side up so that pages are ordered face up as they fold naturally in the output stack.- Returns:
- returns true if this embosser supports z-folding, false otherwise.
-
supportsPrintMode
boolean supportsPrintMode(EmbosserProperties.PrintMode mode)
Returns true if this embosser supports magazine layout. This indicates that the embosser can reorder pages and emboss two pages side-by-side on the same side of the paper (and two more on the other side), so that a readable document is created by stapling and folding the output stack in the middle.- Parameters:
mode
- the print mode- Returns:
- returns true if this embosser supports magazine layout, false otherwise.
-
-