public static interface NbDocument.Printable extends Document
AttributedCharacterIterator
specifying colors, fonts, etc.StreamDescriptionProperty, TitleProperty
Modifier and Type | Method and Description |
---|---|
AttributedCharacterIterator[] |
createPrintIterators()
Get an attributed character iterator for the document, so that it may be printed.
|
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render
AttributedCharacterIterator[] createPrintIterators()
For a convenient way to do this, you may use a simple implementation
of an
attributed character list.
AttributedCharacterIterator
s to be used for printingNbDocument.findPageable(javax.swing.text.StyledDocument)