|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagecom.itextpdf.styledxmlparser.css.util
as colored differences. Deletions are shownlike 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.
Utilities class for CSS gradient functions parsing.
Utilities class for CSS mapping operations. @deprecated will be removed in 7.2, use CssBackgroundUtils insteadClass 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 BackgroundRepeatValueinstanceinstance @deprecated will be removed in 7.2, use CssBackgroundUtils.parseBackgroundRepeat(String) instead
Method used in preparation of splitting a string containing a numeric value with a metric unit (e.g. 18px, 9pt, 6cm, etc).Class CssUtils, boolean isAngleValue(String)
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
Checks whether a string contains an allowed metric unit in HTML/CSS; rad, deg and grad. @param value the string that needs to beClass CssUtils, boolean isBase64Data(String)checked.checked @return boolean true if value contains an allowed anglevaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isAngleValue(String) instead
Checks if a data is base 64 encoded. @param data the data @return true, if the data is base 64Class CssUtils, boolean isColorProperty(String)encodedencoded @deprecated will be removed in 7.2, use CssTypesValidationUtils.isBase64Data(String) method instead
Checks if a value is a color property. @param value the value @return true, if the value contains a colorClass CssUtils, boolean isEmValue(String)propertyproperty @deprecated will be removed in 7.2, use CssTypesValidationUtils.isColorProperty(String) method instead
Checks whether a string contains an allowed value relative to parent value. @param value the string that needs to beClass CssUtils, boolean isExValue(String)checked.checked @return boolean true if value contains a emvaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isEmValue(String) method instead
Checks whether a string contains an allowed value relative to element font height. @param value the string that needs to beClass CssUtils, boolean isFontRelativeValue(String)checked.checked @return boolean true if value contains a exvaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isExValue(String) method instead
Checks whether a string contains an allowed value relative to font. @param value the string that needs to beClass CssUtils, boolean isInitialOrInheritOrUnset(String)checked.checked @return boolean true if value contains an allowed font relativevaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isRelativeValue(String) method instead
Checks if value is initial, inherit or unset. @param value value toClass CssUtils, boolean isMetricValue(String)check.check @return true if value is initial, inherit or unset. falseotherwiseotherwise @deprecated will be removed in 7.2, use CssTypesValidationUtils.isInitialOrInheritOrUnset(String) method instead
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 beClass CssUtils, boolean isNumericValue(String)checked.checked @return boolean true if value contains an allowed metricvaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isMetricValue(String) instead
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 beClass CssUtils, boolean isPercentageValue(String)checked.checked @return boolean true if value contains an allowed metricvaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isNumericValue(String) method instead
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 percentageClass CssUtils, boolean isRelativeValue(String)valuevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isPercentageValue(String) method instead
Checks whether a string contains an allowed value relative to previously set value. @param value the string that needs to beClass CssUtils, boolean isRemValue(String)checked.checked @return boolean true if value contains an allowed metricvaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isRelativeValue(String) instead
Checks whether a string contains an allowed value relative to previously set root value. @param value the string that needs to beClass CssUtils, boolean isValidNumericValue(String)checked.checked @return boolean true if value contains a remvaluevalue @deprecated will be removed in 7.2, use CssTypesValidationUtils.isRemValue(String) method instead
Checks if a string is in a valid format. @param value the string that needs to beClass CssUtils, float parseAbsoluteFontSize(String)checked.checked @return boolean true if value is in a validformatformat @deprecated will be removed in 7.2, use CssTypesValidationUtils.isValidNumericValue(String) instead
Parses the absolute font size.Class CssUtils, float parseAbsoluteFontSize(String, String)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
Parses the absolute font size.Class CssUtils, float parseAbsoluteLength(String)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
Parses the absolute length. @param length the length as a string @return the length as aClass CssUtils, float parseAbsoluteLength(String, String)floatfloat @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAbsoluteLength(String) instead
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.Class CssUtils, float parseAngle(String)
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 thelength.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 parsedvaluevalue @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAbsoluteLength(String, String) instead
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 inClass CssUtils, float parseAngle(String, String)radiansradians @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAngle(String) instead
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 inClass CssUtils, int[] parseAspectRatio(String)radiansradians @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAngle(String, String) instead
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 integerClass CssUtils, Double parseDouble(String)valuesvalues @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseAspectRatio(String) instead
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 wentClass CssUtils, Float parseFloat(String)wrongwrong @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseDouble(String) instead
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 wentClass CssUtils, Integer parseInteger(String)wrongwrong @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseFloat(String) instead
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 wentClass CssUtils, UnitValue parseLengthValueToPt(String, float, float)wrongwrong @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseInteger(String) instead
Convenience method for parsing a value to pt. Possible values are:Class CssUtils, float parseRelativeFontSize(String, float)@param value the value @param emValue the em value @param remValue the root em value @return the unit
- a numeric value in pixels (e.g. 123, 1.23, .123),
- a value with a metric unit (px, in, cm, mm, pc or pt) attached to it,
- or a value with a relative value (%, em, ex).
valuevalue @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseLengthValueToPt(String, float, float) instead
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) insteadClass 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.Class CssUtils, float parseResolution(String)
(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 orex.ex @param baseValue the value the returned float is basedon.on @return the parsed float in the metric unit of the basevaluevalue @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseRelativeValue(String, float) instead
Parses the resolution. @param resolutionStr the resolution as a string @return a value inClass CssUtils, float[] parseRgbaColor(String)dpidpi @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseResolution(String) instead
Parses the RGBA color. @param colorValue the color value @return an RGBA value expressed as an array with four floatClass CssUtils, UnitValue[] parseSpecificCornerBorderRadius(String, float, float)valuesvalues @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseRgbaColor(String) method instead
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 radiusvaluesvalues @deprecated will be removed in 7.2, use CssDimensionParsingUtils.parseSpecificCornerBorderRadius(String, float, float) instead