|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfArray
com.itextpdf.text.pdf.PdfVisibilityExpression
public class PdfVisibilityExpression
An array specifying a visibility expression, used to compute visibility of content based on a set of optional content groups.
Field Summary | |
---|---|
static int |
AND
A boolean operator. |
static int |
NOT
A boolean operator. |
static int |
OR
A boolean operator. |
Fields inherited from class com.itextpdf.text.pdf.PdfArray |
---|
arrayList |
Fields inherited from class com.itextpdf.text.pdf.PdfObject |
---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Constructor Summary | |
---|---|
PdfVisibilityExpression(int type)
Creates a visibility expression. |
Method Summary | |
---|---|
boolean |
add(float[] values)
Adds an array of float values to end of the
PdfArray . |
boolean |
add(int[] values)
Adds an array of int values to end of the PdfArray . |
void |
add(int index,
PdfObject element)
Inserts the specified element at the specified position. |
boolean |
add(PdfObject object)
Adds a PdfObject to the end of the PdfArray . |
void |
addFirst(PdfObject object)
Inserts a PdfObject at the beginning of the
PdfArray . |
Methods inherited from class com.itextpdf.text.pdf.PdfArray |
---|
contains, getArrayList, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getPdfObject, isEmpty, iterator, listIterator, remove, set, size, toPdf, toString |
Methods inherited from class com.itextpdf.text.pdf.PdfObject |
---|
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OR
public static final int AND
public static final int NOT
Constructor Detail |
---|
public PdfVisibilityExpression(int type)
type
- should be AND, OR, or NOTMethod Detail |
---|
public void add(int index, PdfObject element)
PdfArray
add
in class PdfArray
index
- The index at which the specified element is to be insertedelement
- The element to be insertedPdfArray.add(int, com.itextpdf.text.pdf.PdfObject)
public boolean add(PdfObject object)
PdfArray
PdfObject
to the end of the PdfArray
.
The PdfObject
will be the last element.
add
in class PdfArray
object
- PdfObject
to add
true
PdfArray.add(com.itextpdf.text.pdf.PdfObject)
public void addFirst(PdfObject object)
PdfArray
PdfObject
at the beginning of the
PdfArray
.
The PdfObject
will be the first element, any other elements
will be shifted to the right (adds one to their indices).
addFirst
in class PdfArray
object
- The PdfObject
to addPdfArray.addFirst(com.itextpdf.text.pdf.PdfObject)
public boolean add(float[] values)
PdfArray
float
values to end of the
PdfArray
.
The values will be the last elements.
The float
values are internally converted to
PdfNumber
objects.
add
in class PdfArray
values
- An array of float
values to add
true
PdfArray.add(float[])
public boolean add(int[] values)
PdfArray
int
values to end of the PdfArray
.
The values will be the last elements.
The int
values are internally converted to
PdfNumber
objects.
add
in class PdfArray
values
- An array of int
values to add
true
PdfArray.add(int[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |