Package com.itextpdf.layout.properties
Class Property
java.lang.Object
com.itextpdf.layout.properties.Property
An enum of property names that are used for graphical properties of layout elements. The
IPropertyContainer
performs the same function as an Map
, with the values of Property
as its potential keys.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Can be either destination name (id) as String or a Tuple2(String, PdfDictionary) where String is destination name (id) and PdfDictionary is a dictionary of goto PdfAction.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Font family as String or PdfFont shall be set.static final int
static final int
static final int
Shall be instance ofFontProvider
static final int
static final int
Shall be instance ofFontSet
.static final int
static final int
String value.static final int
String value.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Value of 1 is equivalent to no scalingstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Use values fromPdfCanvasConstants.TextRenderingMode
.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Value of 1 is equivalent to no scalingstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isPropertyInherited
(int property) This method checks whether a Property, in order to be picked up by the rendering engine, must be defined on the current element or renderer (return false
), or may be defined in one of its parent elements or renderers (return true
).
-
Field Details
-
ACTION
public static final int ACTION- See Also:
-
ALIGN_CONTENT
public static final int ALIGN_CONTENT- See Also:
-
ALIGN_ITEMS
public static final int ALIGN_ITEMS- See Also:
-
ALIGN_SELF
public static final int ALIGN_SELF- See Also:
-
APPEARANCE_STREAM_LAYOUT
public static final int APPEARANCE_STREAM_LAYOUT- See Also:
-
AREA_BREAK_TYPE
public static final int AREA_BREAK_TYPE- See Also:
-
AUTO_SCALE
public static final int AUTO_SCALE- See Also:
-
AUTO_SCALE_HEIGHT
public static final int AUTO_SCALE_HEIGHT- See Also:
-
AUTO_SCALE_WIDTH
public static final int AUTO_SCALE_WIDTH- See Also:
-
BACKGROUND
public static final int BACKGROUND- See Also:
-
BACKGROUND_IMAGE
public static final int BACKGROUND_IMAGE- See Also:
-
BASE_DIRECTION
public static final int BASE_DIRECTION- See Also:
-
BOLD_SIMULATION
public static final int BOLD_SIMULATION- See Also:
-
BORDER
public static final int BORDER- See Also:
-
BORDER_BOTTOM
public static final int BORDER_BOTTOM- See Also:
-
BORDER_BOTTOM_LEFT_RADIUS
public static final int BORDER_BOTTOM_LEFT_RADIUS- See Also:
-
BORDER_BOTTOM_RIGHT_RADIUS
public static final int BORDER_BOTTOM_RIGHT_RADIUS- See Also:
-
BORDER_COLLAPSE
public static final int BORDER_COLLAPSE- See Also:
-
BORDER_LEFT
public static final int BORDER_LEFT- See Also:
-
BORDER_RADIUS
public static final int BORDER_RADIUS- See Also:
-
BORDER_RIGHT
public static final int BORDER_RIGHT- See Also:
-
BORDER_TOP
public static final int BORDER_TOP- See Also:
-
BORDER_TOP_LEFT_RADIUS
public static final int BORDER_TOP_LEFT_RADIUS- See Also:
-
BORDER_TOP_RIGHT_RADIUS
public static final int BORDER_TOP_RIGHT_RADIUS- See Also:
-
BOTTOM
public static final int BOTTOM- See Also:
-
BOX_SIZING
public static final int BOX_SIZING- See Also:
-
CAPTION_SIDE
public static final int CAPTION_SIDE- See Also:
-
CHARACTER_SPACING
public static final int CHARACTER_SPACING- See Also:
-
CLEAR
public static final int CLEAR- See Also:
-
COLLAPSING_MARGINS
public static final int COLLAPSING_MARGINS- See Also:
-
COLSPAN
public static final int COLSPAN- See Also:
-
COLUMN_COUNT
public static final int COLUMN_COUNT- See Also:
-
COLUMN_WIDTH
public static final int COLUMN_WIDTH- See Also:
-
COLUMN_GAP
public static final int COLUMN_GAP- See Also:
-
COLUMN_GAP_BORDER
public static final int COLUMN_GAP_BORDER- See Also:
-
DESTINATION
public static final int DESTINATIONCan be either destination name (id) as String or a Tuple2(String, PdfDictionary) where String is destination name (id) and PdfDictionary is a dictionary of goto PdfAction. This second variant allow to create structure destination in tagged pdf.- See Also:
-
FILL_AVAILABLE_AREA
public static final int FILL_AVAILABLE_AREA- See Also:
-
FILL_AVAILABLE_AREA_ON_SPLIT
public static final int FILL_AVAILABLE_AREA_ON_SPLIT- See Also:
-
FIRST_LINE_INDENT
public static final int FIRST_LINE_INDENT- See Also:
-
FLEX_BASIS
public static final int FLEX_BASIS- See Also:
-
FLEX_GROW
public static final int FLEX_GROW- See Also:
-
FLEX_SHRINK
public static final int FLEX_SHRINK- See Also:
-
FLEX_WRAP
public static final int FLEX_WRAP- See Also:
-
FLEX_DIRECTION
public static final int FLEX_DIRECTION- See Also:
-
FLOAT
public static final int FLOAT- See Also:
-
FLUSH_ON_DRAW
public static final int FLUSH_ON_DRAW- See Also:
-
FONT
public static final int FONTFont family as String or PdfFont shall be set.- See Also:
-
FONT_COLOR
public static final int FONT_COLOR- See Also:
-
FONT_KERNING
public static final int FONT_KERNING- See Also:
-
FONT_STYLE
public static final int FONT_STYLEString value. 'normal'|'italic'|'oblique' Note, this property will be applied only ifFONT
has String[] value.- See Also:
-
FONT_WEIGHT
public static final int FONT_WEIGHTString value. 'normal'|'bold'|number Note, this property will be applied only ifFONT
has String[] value.- See Also:
-
FONT_SCRIPT
public static final int FONT_SCRIPT- See Also:
-
FONT_PROVIDER
public static final int FONT_PROVIDERShall be instance ofFontProvider
- See Also:
-
FONT_SET
public static final int FONT_SETShall be instance ofFontSet
.- See Also:
-
FONT_SIZE
public static final int FONT_SIZE- See Also:
-
FORCED_PLACEMENT
public static final int FORCED_PLACEMENT- See Also:
-
FULL
public static final int FULL- See Also:
-
GRID_COLUMN_END
public static final int GRID_COLUMN_END- See Also:
-
GRID_COLUMN_START
public static final int GRID_COLUMN_START- See Also:
-
GRID_COLUMN_SPAN
public static final int GRID_COLUMN_SPAN- See Also:
-
GRID_ROW_END
public static final int GRID_ROW_END- See Also:
-
GRID_ROW_START
public static final int GRID_ROW_START- See Also:
-
GRID_ROW_SPAN
public static final int GRID_ROW_SPAN- See Also:
-
GRID_TEMPLATE_COLUMNS
public static final int GRID_TEMPLATE_COLUMNS- See Also:
-
GRID_TEMPLATE_ROWS
public static final int GRID_TEMPLATE_ROWS- See Also:
-
GRID_AUTO_ROWS
public static final int GRID_AUTO_ROWS- See Also:
-
GRID_AUTO_COLUMNS
public static final int GRID_AUTO_COLUMNS- See Also:
-
GRID_FLOW
public static final int GRID_FLOW- See Also:
-
HEIGHT
public static final int HEIGHT- See Also:
-
HORIZONTAL_ALIGNMENT
public static final int HORIZONTAL_ALIGNMENT- See Also:
-
HORIZONTAL_BORDER_SPACING
public static final int HORIZONTAL_BORDER_SPACING- See Also:
-
HORIZONTAL_SCALING
public static final int HORIZONTAL_SCALINGValue of 1 is equivalent to no scaling- See Also:
-
HYPHENATION
public static final int HYPHENATION- See Also:
-
ID
public static final int ID- See Also:
-
IGNORE_FOOTER
public static final int IGNORE_FOOTER- See Also:
-
IGNORE_HEADER
public static final int IGNORE_HEADER- See Also:
-
ITALIC_SIMULATION
public static final int ITALIC_SIMULATION- See Also:
-
JUSTIFY_CONTENT
public static final int JUSTIFY_CONTENT- See Also:
-
KEEP_TOGETHER
public static final int KEEP_TOGETHER- See Also:
-
KEEP_WITH_NEXT
public static final int KEEP_WITH_NEXT- See Also:
-
LEADING
public static final int LEADING- See Also:
-
LEFT
public static final int LEFT- See Also:
-
LINE_DRAWER
public static final int LINE_DRAWER- See Also:
-
LINE_HEIGHT
public static final int LINE_HEIGHT- See Also:
-
LINK_ANNOTATION
public static final int LINK_ANNOTATION- See Also:
-
LIST_START
public static final int LIST_START- See Also:
-
LIST_SYMBOL
public static final int LIST_SYMBOL- See Also:
-
LIST_SYMBOL_ALIGNMENT
public static final int LIST_SYMBOL_ALIGNMENT- See Also:
-
LIST_SYMBOL_INDENT
public static final int LIST_SYMBOL_INDENT- See Also:
-
LIST_SYMBOL_ORDINAL_VALUE
public static final int LIST_SYMBOL_ORDINAL_VALUE- See Also:
-
LIST_SYMBOL_PRE_TEXT
public static final int LIST_SYMBOL_PRE_TEXT- See Also:
-
LIST_SYMBOL_POSITION
public static final int LIST_SYMBOL_POSITION- See Also:
-
LIST_SYMBOL_POST_TEXT
public static final int LIST_SYMBOL_POST_TEXT- See Also:
-
LIST_SYMBOLS_INITIALIZED
public static final int LIST_SYMBOLS_INITIALIZED- See Also:
-
MARGIN_BOTTOM
public static final int MARGIN_BOTTOM- See Also:
-
MARGIN_LEFT
public static final int MARGIN_LEFT- See Also:
-
MARGIN_RIGHT
public static final int MARGIN_RIGHT- See Also:
-
MARGIN_TOP
public static final int MARGIN_TOP- See Also:
-
MAX_HEIGHT
public static final int MAX_HEIGHT- See Also:
-
MAX_WIDTH
public static final int MAX_WIDTH- See Also:
-
META_INFO
public static final int META_INFO- See Also:
-
MIN_HEIGHT
public static final int MIN_HEIGHT- See Also:
-
MIN_WIDTH
public static final int MIN_WIDTH- See Also:
-
NO_SOFT_WRAP_INLINE
public static final int NO_SOFT_WRAP_INLINE- See Also:
-
OBJECT_FIT
public static final int OBJECT_FIT- See Also:
-
OPACITY
public static final int OPACITY- See Also:
-
ORPHANS_CONTROL
public static final int ORPHANS_CONTROL- See Also:
-
OUTLINE
public static final int OUTLINE- See Also:
-
OUTLINE_OFFSET
public static final int OUTLINE_OFFSET- See Also:
-
OVERFLOW_WRAP
public static final int OVERFLOW_WRAP- See Also:
-
OVERFLOW_X
public static final int OVERFLOW_X- See Also:
-
OVERFLOW_Y
public static final int OVERFLOW_Y- See Also:
-
PADDING_BOTTOM
public static final int PADDING_BOTTOM- See Also:
-
PADDING_LEFT
public static final int PADDING_LEFT- See Also:
-
PADDING_RIGHT
public static final int PADDING_RIGHT- See Also:
-
PADDING_TOP
public static final int PADDING_TOP- See Also:
-
PAGE_NUMBER
public static final int PAGE_NUMBER- See Also:
-
POSITION
public static final int POSITION- See Also:
-
RENDERING_MODE
public static final int RENDERING_MODE- See Also:
-
RIGHT
public static final int RIGHT- See Also:
-
ROTATION_ANGLE
public static final int ROTATION_ANGLE- See Also:
-
ROTATION_INITIAL_HEIGHT
public static final int ROTATION_INITIAL_HEIGHT- See Also:
-
ROTATION_INITIAL_WIDTH
public static final int ROTATION_INITIAL_WIDTH- See Also:
-
ROTATION_POINT_X
public static final int ROTATION_POINT_X- See Also:
-
ROTATION_POINT_Y
public static final int ROTATION_POINT_Y- See Also:
-
ROWSPAN
public static final int ROWSPAN- See Also:
-
ROW_GAP
public static final int ROW_GAP- See Also:
-
SPACING_RATIO
public static final int SPACING_RATIO- See Also:
-
SPLIT_CHARACTERS
public static final int SPLIT_CHARACTERS- See Also:
-
STROKE_COLOR
public static final int STROKE_COLOR- See Also:
-
STROKE_WIDTH
public static final int STROKE_WIDTH- See Also:
-
SKEW
public static final int SKEW- See Also:
-
TABLE_LAYOUT
public static final int TABLE_LAYOUT- See Also:
-
TAB_ANCHOR
public static final int TAB_ANCHOR- See Also:
-
TAB_DEFAULT
public static final int TAB_DEFAULT- See Also:
-
TAB_LEADER
public static final int TAB_LEADER- See Also:
-
TAB_STOPS
public static final int TAB_STOPS- See Also:
-
TAGGING_HELPER
public static final int TAGGING_HELPER- See Also:
-
TAGGING_HINT_KEY
public static final int TAGGING_HINT_KEY- See Also:
-
TEXT_ALIGNMENT
public static final int TEXT_ALIGNMENT- See Also:
-
TEXT_RENDERING_MODE
public static final int TEXT_RENDERING_MODEUse values fromPdfCanvasConstants.TextRenderingMode
.- See Also:
-
TEXT_RISE
public static final int TEXT_RISE- See Also:
-
TOP
public static final int TOP- See Also:
-
TRANSFORM
public static final int TRANSFORM- See Also:
-
TYPOGRAPHY_CONFIG
public static final int TYPOGRAPHY_CONFIG- See Also:
-
UNDERLINE
public static final int UNDERLINE- See Also:
-
VERTICAL_ALIGNMENT
public static final int VERTICAL_ALIGNMENT- See Also:
-
VERTICAL_BORDER_SPACING
public static final int VERTICAL_BORDER_SPACING- See Also:
-
INLINE_VERTICAL_ALIGNMENT
public static final int INLINE_VERTICAL_ALIGNMENT- See Also:
-
VERTICAL_SCALING
public static final int VERTICAL_SCALINGValue of 1 is equivalent to no scaling- See Also:
-
WIDOWS_CONTROL
public static final int WIDOWS_CONTROL- See Also:
-
WIDTH
public static final int WIDTH- See Also:
-
WORD_SPACING
public static final int WORD_SPACING- See Also:
-
ADD_MARKED_CONTENT_TEXT
public static final int ADD_MARKED_CONTENT_TEXT- See Also:
-
TREAT_AS_CONTINUOUS_CONTAINER
public static final int TREAT_AS_CONTINUOUS_CONTAINER- See Also:
-
TREAT_AS_CONTINUOUS_CONTAINER_RESULT
public static final int TREAT_AS_CONTINUOUS_CONTAINER_RESULT- See Also:
-
-
Method Details
-
isPropertyInherited
public static boolean isPropertyInherited(int property) This method checks whether a Property, in order to be picked up by the rendering engine, must be defined on the current element or renderer (return false
), or may be defined in one of its parent elements or renderers (return true
).- Parameters:
-
property
- the ID, defined in this class, of the property to check - Returns:
- whether the property type is inheritable
-