com.openhtmltopdf.css.parser.CSSPrimitiveValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openhtmltopdf-core Show documentation
Show all versions of openhtmltopdf-core Show documentation
Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.
package com.openhtmltopdf.css.parser;
public interface CSSPrimitiveValue extends CSSValue {
public static final short CSS_UNKNOWN = 0;
public static final short CSS_NUMBER = 1;
public static final short CSS_PERCENTAGE = 2;
public static final short CSS_EMS = 3;
public static final short CSS_EXS = 4;
public static final short CSS_PX = 5;
public static final short CSS_CM = 6;
public static final short CSS_MM = 7;
public static final short CSS_IN = 8;
public static final short CSS_PT = 9;
public static final short CSS_PC = 10;
public static final short CSS_DEG = 11;
public static final short CSS_RAD = 12;
public static final short CSS_GRAD = 13;
public static final short CSS_MS = 14;
public static final short CSS_S = 15;
public static final short CSS_HZ = 16;
public static final short CSS_KHZ = 17;
public static final short CSS_DIMENSION = 18;
public static final short CSS_STRING = 19;
public static final short CSS_URI = 20;
public static final short CSS_IDENT = 21;
public static final short CSS_ATTR = 22;
public static final short CSS_COUNTER = 23;
public static final short CSS_RECT = 24;
public static final short CSS_RGBCOLOR = 25;
/** rems unit, not official, added by danfickle. */
public static final short CSS_REMS = 26;
public short getPrimitiveType();
public float getFloatValue(short unitType);
public String getStringValue();
}