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, renderAttributedCharacterIterator[] 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 August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.