object HTMLParser
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HTMLParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extractFontSize(style: String, baseEmPx: Int = 16, baseRemPx: Int = 16, parentPx: Int = 16): Int
Extracts font size from a CSS style string, supporting 'px', 'pt', 'em', 'rem', and '%'.
Extracts font size from a CSS style string, supporting 'px', 'pt', 'em', 'rem', and '%'. Returns pixel size as integer.
- style
CSS style string (e.g., "font-size: 1.2em; ...")
- baseEmPx
Base pixel size for 1em (default 16)
- baseRemPx
Base pixel size for 1rem (default 16)
- parentPx
Parent font size for '%' (default 16)
- returns
Font size in pixels, or 0 if not found
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isFormattedAsTitle(style: String, titleFontSize: Int): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTitleElement(tag: String, style: String, role: String, titleFontSize: Int): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()