Class StyleTracker
java.lang.Object
com.openhtmltopdf.layout.StyleTracker
A managed list of
IMPORTANT: Immutable after constructor.
CalculatedStyle objects. It is used when keeping
track of the styles which apply to a :first-line or :first-letter pseudo
element.
IMPORTANT: Immutable after constructor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<CascadedStyle> private static final StyleTracker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderiveAll(CalculatedStyle start) booleanprivate List<CascadedStyle> booleanstatic StyleTrackerwithStyle(CascadedStyle style)
-
Field Details
-
_styles
-
EMPTY_INSTANCE
-
-
Constructor Details
-
StyleTracker
public StyleTracker(int size)
-
-
Method Details
-
equals
-
withStyle
-
withOutLast
-
hasStyles
public boolean hasStyles() -
withNoStyles
-
deriveAll
-
getStyles
-