Package com.adobe.xfa.text
Class TextContext
java.lang.Object
com.adobe.xfa.text.TextContext
The text context exists to allow multiple text displays to share
instances of formatting-related objects. Many of these objects are
expensive to create and destroy, but are serially reusable. By
sharing them amongst text displays, we can amortize the cost of their
creation over many such displays. Note that this sharing is not
thread-safe; there must be a separate text context for each thread.
The text context is opaque; it has no client-callable methods other than constructor and destructor. The client simply has to create one and pass it to each displayable stream through the stream's SetContext() method.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TextContext
public TextContext()Constructor.Create an initially unassociated text context. The caller can then associate this context with text streams.
-
-
Method Details
-
detach
public void detach()
-