|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.kebrt.html2latex.CSSStyle
class CSSStyle
Class representing CSS style definition in program configuration.
| Field Summary | |
|---|---|
private java.lang.String |
_end
Mapping between the style and LaTeX (end command). |
private java.lang.String |
_name
Style name. |
private java.util.HashMap<java.lang.String,java.lang.String> |
_properties
Style properties. |
private java.lang.String |
_start
Mapping between the style and LaTeX (start command). |
| Constructor Summary | |
|---|---|
CSSStyle(java.lang.String name)
Cstr. |
|
| Method Summary | |
|---|---|
private void |
colorProperty(Configuration conf)
Converts "color" property using "xcolor" LaTeX package. |
void |
fontFamilyProperty(Configuration conf)
Converts "font-family" property. |
java.lang.String |
getEnd()
Returns mapping between the style and LaTeX (end command). |
java.lang.String |
getName()
Returns style name. |
java.util.HashMap<java.lang.String,java.lang.String> |
getProperties()
Returns style properties. |
java.lang.String |
getStart()
Returns name of the file with configuration. |
void |
makeLaTeXCommands(Configuration conf)
Sets start and end
commands for the style on the basis of style properties and
program configuration. |
void |
setProperties(java.util.HashMap<java.lang.String,java.lang.String> prop)
Sets the style properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String _name
private java.lang.String _start
private java.lang.String _end
private java.util.HashMap<java.lang.String,java.lang.String> _properties
| Constructor Detail |
|---|
public CSSStyle(java.lang.String name)
name - style name| Method Detail |
|---|
public void setProperties(java.util.HashMap<java.lang.String,java.lang.String> prop)
prop - style propertiespublic void makeLaTeXCommands(Configuration conf)
start and end
commands for the style on the basis of style properties and
program configuration.
conf - program configurationprivate void colorProperty(Configuration conf)
conf - program configurationpublic void fontFamilyProperty(Configuration conf)
conf - program configurationpublic java.lang.String getStart()
public java.lang.String getEnd()
public java.lang.String getName()
public java.util.HashMap<java.lang.String,java.lang.String> getProperties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||