| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DocAttributeSet | getAttributes()
Implements javax. Obtains the set of printing attributes for this doc object. |
| public DocFlavor | getDocFlavor()
Implements javax. Determines the doc flavor in which this doc object will supply its piece of print data. |
| public Object | getPrintData()
Implements javax. Obtains the print data representation object that contains this doc object's piece of print data in the format corresponding to the supported doc flavor. |
| public Reader | getReaderForText()
Implements javax. Obtains a reader for extracting character print data from this doc. |
| public InputStream | getStreamForBytes()
Implements javax. Obtains an input stream for extracting byte print data from this doc. |
| pageable | back to summary |
|---|---|
| private Pageable pageable | |
| PageableDoc | back to summary |
|---|---|
| public PageableDoc(Pageable pageable) | |
| getAttributes | back to summary |
|---|---|
| public DocAttributeSet getAttributes() Implements javax. Doc from javax. Obtains the set of printing attributes for this doc object. If the
returned attribute set includes an instance of a particular attribute
X, the printer must use that attribute value for this doc,
overriding any value of attribute X in the job's attribute set. If
the returned attribute set does not include an instance of a particular
attribute X or if | |
| getDocFlavor | back to summary |
|---|---|
| public DocFlavor getDocFlavor() Implements javax. Doc from javax. Determines the doc flavor in which this doc object will supply its piece of print data. | |
| getPrintData | back to summary |
|---|---|
| public Object getPrintData() throws IOException Implements javax. Doc from javax. Obtains the print data representation object that contains this doc
object's piece of print data in the format corresponding to the supported
doc flavor. The
| |
| getReaderForText | back to summary |
|---|---|
| public Reader getReaderForText() throws IOException Implements javax. Doc from javax. Obtains a reader for extracting character print data from this doc. The
Reader for reading the print data as a stream of
characters from the print data representation object. However, if the
print data representation object is itself a Reader, then the
print data representation object is simply returned.
| |
| getStreamForBytes | back to summary |
|---|---|
| public InputStream getStreamForBytes() throws IOException Implements javax. Doc from javax. Obtains an input stream for extracting byte print data from this doc. The
| |