HiraokaHyperTools.iTextSharp-LGPL
0.2.5
|
Public Member Functions | |
PdfString () | |
PdfString (string value) | |
PdfString (string value, string encoding) | |
PdfString (byte[] bytes) | |
override void | ToPdf (PdfWriter writer, Stream os) |
override string | ToString () |
String | ToUnicodeString () |
override byte[] | GetBytes () |
byte[] | GetOriginalBytes () |
PdfString | SetHexWriting (bool hexWriting) |
bool | IsHexWriting () |
![]() | |
bool | CanBeInObjStm () |
override string | ToString () |
bool | IsNull () |
bool | IsBoolean () |
bool | IsNumber () |
bool | IsString () |
bool | IsName () |
bool | IsArray () |
bool | IsDictionary () |
bool | IsStream () |
bool | IsIndirect () |
Protected Attributes | |
string | value = NOTHING |
string | originalValue = null |
string | encoding = TEXT_PDFDOCENCODING |
int | objNum = 0 |
int | objGen = 0 |
bool | hexWriting = false |
![]() | |
byte[] | bytes |
int | type |
PRIndirectReference | indRef |
Properties | |
string | Encoding [get] |
![]() | |
int | Length [get] |
string | Content [set] |
int | Type [get] |
PRIndirectReference | IndRef [get, set] |
Additional Inherited Members | |
![]() | |
const int | BOOLEAN = 1 |
const int | NUMBER = 2 |
const int | STRING = 3 |
const int | NAME = 4 |
const int | ARRAY = 5 |
const int | DICTIONARY = 6 |
const int | STREAM = 7 |
const int | NULL = 8 |
const int | INDIRECT = 10 |
const string | NOTHING = "" |
const string | TEXT_PDFDOCENCODING = "PDF" |
const string | TEXT_UNICODE = "UnicodeBig" |
![]() | |
PdfObject (int type) | |
PdfObject (int type, string content) | |
PdfObject (int type, byte[] bytes) | |
A PdfString
-class is the PDF-equivalent of a JAVA-string
-object.
A string is a sequence of characters delimited by parenthesis. If a string is too long to be conveniently placed on a single line, it may be split across multiple lines by using the backslash character () at the end of a line to indicate that the string continues on the following line. Within a string, the backslash character is used as an escape to specify unbalanced parenthesis, non-printing ASCII characters, and the backslash character itself. Use of the <I>ddd escape sequence is the preferred way to represent characters outside the printable ASCII character set.
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.4 (page 37-39).
iTextSharp.text.pdf.PdfString.PdfString | ( | ) |
Constructs an empty PdfString
-object.
iTextSharp.text.pdf.PdfString.PdfString | ( | string | value | ) |
Constructs a PdfString
-object.
value | the content of the string |
iTextSharp.text.pdf.PdfString.PdfString | ( | string | value, |
string | encoding | ||
) |
Constructs a PdfString
-object.
value | the content of the string |
encoding | an encoding |
iTextSharp.text.pdf.PdfString.PdfString | ( | byte[] | bytes | ) |
Constructs a PdfString
-object.
bytes | an array of byte |
|
virtual |
Gets the presentation of this object in a byte array
Reimplemented from iTextSharp.text.pdf.PdfObject.
byte [] iTextSharp.text.pdf.PdfString.GetOriginalBytes | ( | ) |
bool iTextSharp.text.pdf.PdfString.IsHexWriting | ( | ) |
PdfString iTextSharp.text.pdf.PdfString.SetHexWriting | ( | bool | hexWriting | ) |
|
virtual |
Returns the PDF representation of this PdfString
.
byte
s Reimplemented from iTextSharp.text.pdf.PdfObject.
override string iTextSharp.text.pdf.PdfString.ToString | ( | ) |
Returns the string
value of the PdfString
-object.
string
String iTextSharp.text.pdf.PdfString.ToUnicodeString | ( | ) |
|
protected |
The encoding.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The value of this object.
|
get |
Gets the encoding of this string.
string