javax.swing.text.Documentpublic static interface NbDocument.Printable
extends javax.swing.text.Document
AttributedCharacterIterator
specifying colors, fonts, etc.| Modifier and Type | Method | Description |
|---|---|---|
java.text.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, renderjava.text.AttributedCharacterIterator[] createPrintIterators()
For a convenient way to do this, you may use a simple implementation
of an
attributed character list.
AttributedCharacterIterators to be used for printingNbDocument.findPageable(javax.swing.text.StyledDocument)Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.