Uses of Class
com.itextpdf.layout.Style
Packages that use Style
Package
Description
-
Uses of Style in com.itextpdf.layout
Methods in com.itextpdf.layout that return StyleModifier and TypeMethodDescriptionStyle.setHeight(float height) Sets the height property the element as a point-value.Sets the height property of the element with aUnitValue.Style.setKeepTogether(boolean keepTogether) Sets whether theBlockElementshould be kept together as much as possible.Style.setMargin(float commonMargin) Sets all margins around the element to the same width.Style.setMarginBottom(float value) Sets the bottom margin width of the element.Style.setMarginLeft(float value) Sets the left margin width of the element.Style.setMarginRight(float value) Sets the right margin width of the element.Style.setMargins(float marginTop, float marginRight, float marginBottom, float marginLeft) Sets the margins around the element to a series of new widths.Style.setMarginTop(float value) Sets the top margin width of the element.Style.setMaxHeight(float maxHeight) Sets the max height of the element as point-unit value.Style.setMaxHeight(UnitValue maxHeight) Sets the max height property of the element with aUnitValue.Style.setMaxWidth(float maxWidth) Sets the max width of the element as point-unit value.Style.setMaxWidth(UnitValue maxWidth) Sets the max width property of the element with aUnitValue.Style.setMinHeight(float minHeight) Sets the min height of the element as point-unit value.Style.setMinHeight(UnitValue minHeight) Sets the min height property of the element with aUnitValue.Style.setMinWidth(float minWidth) Sets the min width of the element as point-unit value.Style.setMinWidth(UnitValue minWidth) Sets the min width property of the element with aUnitValue.Style.setPadding(float commonPadding) Sets all paddings around the element to the same width.Style.setPaddingBottom(float value) Sets the bottom padding width of the element.Style.setPaddingLeft(float value) Sets the left padding width of the element.Style.setPaddingRight(float value) Sets the right padding width of the element.Style.setPaddings(float paddingTop, float paddingRight, float paddingBottom, float paddingLeft) Sets the paddings around the element to a series of new widths.Style.setPaddingTop(float value) Sets the top padding width of the element.Style.setRotationAngle(double angle) Sets the rotation angle in this style.Style.setRotationAngle(float radAngle) Sets the rotation angle in this style.Style.setSpacingRatio(float ratio) Sets a ratio which determines in which proportion will word spacing and character spacing be applied when horizontal alignment is justified.Style.setTextRise(float textRise) Sets the text rise of the element.Style.setTransform(Transform transform) Sets a transformation to be applied during rendering.Style.setVerticalAlignment(VerticalAlignment verticalAlignment) Sets the vertical alignment of the element.Style.setWidth(float width) Sets the width property of the element, measured in points.Sets the width property of the element with aUnitValue.Constructors in com.itextpdf.layout with parameters of type Style -
Uses of Style in com.itextpdf.layout.element
Fields in com.itextpdf.layout.element with type parameters of type StyleMethods in com.itextpdf.layout.element that return types with arguments of type StyleModifier and TypeMethodDescriptionAbstractElement.getStyles()Gets the styles added to this element.Methods in com.itextpdf.layout.element with parameters of type StyleModifier and TypeMethodDescriptionAdd a new style to this element.AbstractElement.addStyleIfAbsent(Style style) Adds a new style that contains only those properties from the given style that are not already defined on this element (either directly or via previously added styles). -
Uses of Style in com.itextpdf.layout.properties.margins
Methods in com.itextpdf.layout.properties.margins that return StyleModifier and TypeMethodDescriptionstatic StyleFootnotesUtil.createDefaultFootnoteAnchorStyle(UnitValue parentFontSize) Creates the default style for a footnote anchor in the main content.FootnotesProperties.getFootnoteAnchorLabelStyle()GetsStylestoring style properties for footnote anchors that are placed inside the footnotes container.FootnotesProperties.getFootnoteAnchorStyle()GetsStylestoring style properties for footnote anchors.FootnotesProperties.getFootnotesContainerStyle()GetsStylestoring style properties for footnotes container.Methods in com.itextpdf.layout.properties.margins with parameters of type StyleModifier and TypeMethodDescriptionstatic voidFootnotesUtil.applyFootnoteAnchorStyle(FootnoteAnchor anchor, Style footnoteAnchorLabelStyle) AppliesStylestoring style properties for footnote anchor that is placed inside the footnote.FootnotesProperties.setFootnoteAnchorLabelStyle(Style footnoteAnchorLabelStyle) SetsStylestoring style properties for footnote anchors that are placed inside the footnotes container.FootnotesProperties.setFootnoteAnchorStyle(Style footnoteAnchorStyle) SetsStylestoring style properties for footnote anchors.FootnotesProperties.setFootnotesContainerStyle(Style footnotesContainerStyle) SetsStylestoring style properties for footnotes container.