org.pdfclown.documents.contents.objects
Class ShowSimpleText
java.lang.Object
org.pdfclown.documents.contents.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.ShowText
org.pdfclown.documents.contents.objects.ShowSimpleText
@PDF(value=PDF10)
public final class ShowSimpleText
- extends ShowText
'Show a text string' operation [PDF:1.6:5.3.2].
- Since:
- 0.0.8
- Version:
- 0.1.1, 03/22/11
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Method Summary |
byte[] |
getText()
Gets the encoded text. |
void |
setText(byte[] value)
|
Operator
public static final String Operator
- See Also:
- Constant Field Values
ShowSimpleText
public ShowSimpleText(byte[] text)
- Parameters:
text
- Text encoded using current font's encoding.
ShowSimpleText
public ShowSimpleText(List<PdfDirectObject> operands)
getText
public byte[] getText()
- Description copied from class:
ShowText
- Gets the encoded text.
Remarks
Text is expressed in native encoding: to resolve it to Unicode, pass it
to the decode method of the corresponding font.
- Specified by:
getText
in class ShowText
setText
public void setText(byte[] value)
- Specified by:
setText
in class ShowText
- See Also:
ShowText.getText()
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.