|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.betabeans.scroogexhtml.translator.Stylesheet
public abstract class Stylesheet
CSS support class (abstract).
Method Summary | |
---|---|
static java.lang.String |
getCharacterStyles(ParagraphProperties pp,
CharacterProperties cp,
boolean transitional,
byte fontSizeUnit)
Returns the character styles value. |
static java.lang.String |
getFontSizeStyle(int pt,
byte fontSizeUnit)
Returns the font size style value. |
static java.lang.String |
getIndentAndDirectionStyle(ParagraphProperties pp)
Builds a CSS style string which represents the margins and text direction of the paragraph object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getIndentAndDirectionStyle(ParagraphProperties pp)
pp
- The paragraph object.
public static final java.lang.String getFontSizeStyle(int pt, byte fontSizeUnit)
pt
- int The font size in point.fontSizeUnit
- byte The font size unit.
public static java.lang.String getCharacterStyles(ParagraphProperties pp, CharacterProperties cp, boolean transitional, byte fontSizeUnit)
pp
- ParagraphPropertiescp
- CharacterPropertiestransitional
- booleanfontSizeUnit
- byte
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |