Package org.daisy.braille.embosser
Interface EmbosserProperties
- All Known Subinterfaces:
Embosser
,EmbosserWriter
,EmbosserWriterProperties
- All Known Implementing Classes:
AbstractEmbosser
,AbstractEmbosserWriter
,BufferedEmbosserWriter
,BufferedVolumeEmbosser
,ConfigurableEmbosser
,FileToDeviceEmbosserWriter
,SimpleEmbosserProperties
public interface EmbosserProperties
Provides an interface for common embosser related properties.
- Author:
- Joel HÃ¥kansson
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Regular printing or multi-page printing -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this embosser supports 8 dot brailleboolean
Returns true if this embosser supports aligning.boolean
Returns true if this embosser supports duplex printingboolean
Returns true if this embosser supports magazine layout.boolean
Returns true if this embosser has some method for volume handlingboolean
Returns true if this embosser supports z-folding.
-
Method Details
-
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
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.- Returns:
- returns true if this embosser supports magazine layout, false otherwise.
-