public class

TextDocumentUtil

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.output.text.TextDocumentUtil

Class Overview

Utility methods for ITextDocument and ITextDocumentPart.

Summary

Public Constructors
TextDocumentUtil()
Public Methods
static StringBuilder buildText(ITextDocument doc)
Build the text buffer held in a text document.
static StringBuilder buildText(ITextDocumentPart part)
Build the text buffer held in a document part.
static StringBuilder buildText(ITextDocumentPart part, int maxLineCount)
Build the text buffer held in a document part.
static StringBuilder buildText(ITextDocument doc, int maxLineCount)
Build the text buffer held in a text document.
static String getText(ITextDocument doc)
Get the text buffer of a text document.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TextDocumentUtil ()

Public Methods

public static StringBuilder buildText (ITextDocument doc)

Build the text buffer held in a text document.

public static StringBuilder buildText (ITextDocumentPart part)

Build the text buffer held in a document part.

public static StringBuilder buildText (ITextDocumentPart part, int maxLineCount)

Build the text buffer held in a document part.

public static StringBuilder buildText (ITextDocument doc, int maxLineCount)

Build the text buffer held in a text document.

public static String getText (ITextDocument doc)

Get the text buffer of a text document.