|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.documents.contents.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.ShowText
org.pdfclown.documents.contents.objects.ShowTextToNextLine
@PDF(value=PDF10) public final class ShowTextToNextLine
'Move to the next line and show a text string' operation [PDF:1.6:5.3.2].
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.pdfclown.documents.contents.objects.ShowText |
|---|
ShowText.IScanner |
| Field Summary | |
|---|---|
static String |
SimpleOperator
Specifies no text state parameter (just uses the current settings). |
static String |
SpaceOperator
Specifies the word spacing and the character spacing (setting the corresponding parameters in the text state). |
| Fields inherited from class org.pdfclown.documents.contents.objects.Operation |
|---|
operands, operator |
| Constructor Summary | |
|---|---|
ShowTextToNextLine(byte[] text)
|
|
ShowTextToNextLine(byte[] text,
double wordSpace,
double charSpace)
|
|
ShowTextToNextLine(String operator,
List<PdfDirectObject> operands)
|
|
| Method Summary | |
|---|---|
Double |
getCharSpace()
Gets the character spacing. |
byte[] |
getText()
Gets the encoded text. |
Double |
getWordSpace()
Gets the word spacing. |
void |
setCharSpace(Double value)
|
void |
setText(byte[] value)
|
void |
setWordSpace(Double value)
|
| Methods inherited from class org.pdfclown.documents.contents.objects.ShowText |
|---|
getValue, scan, scan, setValue |
| Methods inherited from class org.pdfclown.documents.contents.objects.Operation |
|---|
get, getOperands, getOperator, toString, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SimpleOperator
public static final String SpaceOperator
| Constructor Detail |
|---|
public ShowTextToNextLine(byte[] text)
text - Text encoded using current font's encoding.
public ShowTextToNextLine(byte[] text,
double wordSpace,
double charSpace)
text - Text encoded using current font's encoding.wordSpace - Word spacing.charSpace - Character spacing.
public ShowTextToNextLine(String operator,
List<PdfDirectObject> operands)
| Method Detail |
|---|
public Double getCharSpace()
public byte[] getText()
ShowTextText is expressed in native encoding: to resolve it to Unicode, pass it to the decode method of the corresponding font.
getText in class ShowTextpublic Double getWordSpace()
public void setCharSpace(Double value)
getCharSpace()public void setText(byte[] value)
setText in class ShowTextShowText.getText()public void setWordSpace(Double value)
getWordSpace()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||