Generated by
JDiff

com.itextpdf.styledxmlparser.css.util Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.styledxmlparser.css.util as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class CssGradientUtil

Utilities class for CSS gradient functions parsing.

Class CssMappingUtils

Utilities class for CSS mapping operations. @deprecated will be removed in 7.2, use CssBackgroundUtils instead
Class CssMappingUtils, BackgroundRepeatValue parseBackgroundRepeat(String)

Parses the background repeat string value. @param value the string which stores the background repeat value @return the background repeat as a BackgroundRepeatValue instance instance @deprecated will be removed in 7.2, use CssBackgroundUtils.parseBackgroundRepeat(String) instead

Class CssUtils, int determinePositionBetweenValueAndUnit(String)

Method used in preparation of splitting a string containing a numeric value with a metric unit (e.g. 18px, 9pt, 6cm, etc).

Determines the position between digits and affiliated characters ('+','-','0-9' and '.') and all other characters.
e.g. string "16px" will return 2, string "0.5em" will return 3 and string '-8.5mm' will return 4. @param string containing a numeric value with a metric unit @return int position between the numeric value and unit or 0 if string is null or string started with a non-numeric value. @deprecated will be removed in 7.2, use CssDimensionParsingUtils.determinePositionBetweenValueAndUnit(String) instead
Class CssUtils, boolean isAngleValue(String)

Checks whether a string contains an allowed metric unit in HTML/CSS; rad, deg and grad. @param value the string that needs to be checked. checked @return boolean true if value contains an allowed angle value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isAngleValue(String) instead
Class CssUtils, boolean isBase64Data(String)

Checks if a data is base 64 encoded. @param data the data @return true, if the data is base 64 encoded encoded @deprecated will be removed in 7.2, use CssTypesValidationUtils.isBase64Data(String) method instead
Class CssUtils, boolean isColorProperty(String)

Checks if a value is a color property. @param value the value @return true, if the value contains a color property property @deprecated will be removed in 7.2, use CssTypesValidationUtils.isColorProperty(String) method instead
Class CssUtils, boolean isEmValue(String)

Checks whether a string contains an allowed value relative to parent value. @param value the string that needs to be checked. checked @return boolean true if value contains a em value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isEmValue(String) method instead
Class CssUtils, boolean isExValue(String)

Checks whether a string contains an allowed value relative to element font height. @param value the string that needs to be checked. checked @return boolean true if value contains a ex value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isExValue(String) method instead
Class CssUtils, boolean isFontRelativeValue(String)

Checks whether a string contains an allowed value relative to font. @param value the string that needs to be checked. checked @return boolean true if value contains an allowed font relative value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isRelativeValue(String) method instead
Class CssUtils, boolean isInitialOrInheritOrUnset(String)

Checks if value is initial, inherit or unset. @param value value to check. check @return true if value is initial, inherit or unset. false otherwise otherwise @deprecated will be removed in 7.2, use CssTypesValidationUtils.isInitialOrInheritOrUnset(String) method instead
Class CssUtils, boolean isMetricValue(String)

Checks whether a string contains an allowed metric unit in HTML/CSS; px, in, cm, mm, pc, Q or pt. @param value the string that needs to be checked. checked @return boolean true if value contains an allowed metric value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isMetricValue(String) instead
Class CssUtils, boolean isNumericValue(String)

Checks whether a string matches a numeric value (e.g. 123, 1.23, .123). All these metric values are allowed in HTML/CSS. @param value the string that needs to be checked. checked @return boolean true if value contains an allowed metric value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isNumericValue(String) method instead
Class CssUtils, boolean isPercentageValue(String)

Checks whether a string contains a percentage value @param value the string that needs to be checked @return boolean true if value contains an allowed percentage value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isPercentageValue(String) method instead
Class CssUtils, boolean isRelativeValue(String)

Checks whether a string contains an allowed value relative to previously set value. @param value the string that needs to be checked. checked @return boolean true if value contains an allowed metric value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isRelativeValue(String) instead
Class CssUtils, boolean isRemValue(String)

Checks whether a string contains an allowed value relative to previously set root value. @param value the string that needs to be checked. checked @return boolean true if value contains a rem value value @deprecated will be removed in 7.2, use CssTypesValidationUtils.isRemValue(String) method instead
Class CssUtils, boolean isValidNumericValue(String)

Checks if a string is in a valid format. @param value the string that needs to be checked. checked @return boolean true if value is in a valid format format @deprecated will be removed in 7.2, use CssTypesValidationUtils.isValidNumericValue(String) instead
Class CssUtils, float parseAbsoluteFontSize(String)

Parses the absolute font size.

A numeric value (without px, pt, etc in the given length string) is considered to be in the px. @param fontSizeValue the font size value as a String @return the font size value as a {@code float} @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAbsoluteFontSize(String) instead

Class CssUtils, float parseAbsoluteFontSize(String, String)

Parses the absolute font size.

A numeric value (without px, pt, etc in the given length string) is considered to be in the default metric that was given. @param fontSizeValue the font size value as a String @param defaultMetric the string containing the metric if it is possible that the length string does not contain one. If null the length is considered to be in px as is default in HTML/CSS. @return the font size value as a {@code float} @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAbsoluteFontSize(String, String) instead

Class CssUtils, float parseAbsoluteLength(String)

Parses the absolute length. @param length the length as a string @return the length as a float float @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAbsoluteLength(String) instead
Class CssUtils, float parseAbsoluteLength(String, String)

Parses a length with an allowed metric unit (px, pt, in, cm, mm, pc, q) or numeric value (e.g. 123, 1.23, .123) to pt.
A numeric value (without px, pt, etc in the given length string) is considered to be in the default metric that was given. @param length the string containing the length. length @param defaultMetric the string containing the metric if it is possible that the length string does not contain one. If null the length is considered to be in px as is default in HTML/ CSS. CSS @return parsed value value @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAbsoluteLength(String, String) instead
Class CssUtils, float parseAngle(String)

Parses a angle with an allowed metric unit (deg, grad, rad) or numeric value (e.g. 123, 1.23, .123) to rad. Default metric is degrees @param angle String containing the angle to parse @return the angle in radians radians @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAngle(String) instead
Class CssUtils, float parseAngle(String, String)

Parses an angle with an allowed metric unit (deg, grad, rad) or numeric value (e.g. 123, 1.23, .123) to rad. @param angle String containing the angle to parse @param defaultMetric default metric to use in case the input string does not specify a metric @return the angle in radians radians @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAngle(String, String) instead
Class CssUtils, int[] parseAspectRatio(String)

Parses an aspect ratio into an array with two integers. @param str a string that might contain two integer values @return the aspect ratio as an array of two integer values values @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAspectRatio(String) instead
Class CssUtils, Double parseDouble(String)

Parses a double without throwing an exception if something goes wrong. @param str a string that might be a double value @return the double value, or null if something went wrong wrong @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseDouble(String) instead
Class CssUtils, Float parseFloat(String)

Parses a float without throwing an exception if something goes wrong. @param str a string that might be a float value @return the float value, or null if something went wrong wrong @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseFloat(String) instead
Class CssUtils, Integer parseInteger(String)

Parses an integer without throwing an exception if something goes wrong. @param str a string that might be an integer value @return the integer value, or null if something went wrong wrong @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseInteger(String) instead
Class CssUtils, UnitValue parseLengthValueToPt(String, float, float)

Convenience method for parsing a value to pt. Possible values are: @param value the value @param emValue the em value @param remValue the root em value @return the unit value value @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseLengthValueToPt(String, float, float) instead
Class CssUtils, float parseRelativeFontSize(String, float)

Parses the relative font size. @param relativeFontSizeValue the relative font size value as a String @param baseValue the base value @return the relative font size value as a {@code float} @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseRelativeFontSize(String, float) instead
Class CssUtils, float parseRelativeValue(String, float)

Parses an relative value based on the base value that was given, in the metric unit of the base value.
(e.g. margin=10% should be based on the page width, so if an A4 is used, the margin = 0.10*595.0 = 59.5f) @param relativeValue in %, em or ex. ex @param baseValue the value the returned float is based on. on @return the parsed float in the metric unit of the base value value @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseRelativeValue(String, float) instead
Class CssUtils, float parseResolution(String)

Parses the resolution. @param resolutionStr the resolution as a string @return a value in dpi dpi @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseResolution(String) instead
Class CssUtils, float[] parseRgbaColor(String)

Parses the RGBA color. @param colorValue the color value @return an RGBA value expressed as an array with four float values values @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseRgbaColor(String) method instead
Class CssUtils, UnitValue[] parseSpecificCornerBorderRadius(String, float, float)

Parses the border radius of specific corner. @param specificBorderRadius string that defines the border radius of specific corner. @param emValue the em value @param remValue the root em value @return an array of UnitValues that define horizontal and vertical border radius values values @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseSpecificCornerBorderRadius(String, float, float) instead