de.betabeans.scroogexhtml.converter
Class ParagraphProperties

java.lang.Object
  extended by de.betabeans.scroogexhtml.converter.ParagraphProperties
All Implemented Interfaces:
java.io.Serializable

public final class ParagraphProperties
extends java.lang.Object
implements java.io.Serializable

A class which stores paragraph properties.

Author:
Michael Justin
See Also:
Serialized Form

Constructor Summary
ParagraphProperties()
           
 
Method Summary
 ParagraphProperties cloneAll()
          Get a clone of the object.
 void copyFrom(ParagraphProperties app)
          Copy all neccessary paragraph properties.
 int getAlign()
          Gets the align attribute of the ParagraphProperties object.
 int getFirstIndent()
          Gets the firstIndent attribute of the ParagraphProperties object.
 int getLeftIndent()
          Gets the leftIndent attribute of the ParagraphProperties object.
 int getNumberingLevel()
          Gets the numberingLevel attribute of the ParagraphProperties object.
 int getRightIndent()
          Gets the rightIndent attribute of the ParagraphProperties object.
 boolean isBullet()
          Checks if this is a paragraph with a 'bullet'.
 boolean isListEnd()
          Gets the listEnd attribute of the ParagraphProperties object.
 boolean isListStart()
          Gets the listStart attribute of the ParagraphProperties object.
 boolean isNumbered()
          Gets the numbered attribute of the ParagraphProperties object.
 boolean isRightToLeftPar()
          Get the right to left attribute value.
 void setAlign(int a)
          Sets the align attribute of the ParagraphProperties object.
 void setFirstIndent(int i)
          Sets the firstIndent attribute of the ParagraphProperties object.
 void setLeftIndent(int i)
          Sets the leftIndent attribute of the ParagraphProperties object.
 void setListEnd(boolean v)
          Sets the listEnd attribute of the ParagraphProperties object.
 void setListStart(boolean v)
          Sets the listStart attribute of the ParagraphProperties object.
 void setNumbered(boolean n)
          Sets the numbered attribute of the ParagraphProperties object.
 void setNumberingLevel(int l)
          Sets the numberingLevel attribute of the ParagraphProperties object.
 void setRightIndent(int i)
          Sets the rightIndent attribute of the ParagraphProperties object.
 void setRightToLeftPar(boolean newValue)
          Set the right to left attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParagraphProperties

public ParagraphProperties()
Method Detail

setAlign

public void setAlign(int a)
Sets the align attribute of the ParagraphProperties object.

Parameters:
a - The new align value
See Also:
getAlign()

setNumbered

public void setNumbered(boolean n)
Sets the numbered attribute of the ParagraphProperties object.

Parameters:
n - The new numbered value

setNumberingLevel

public void setNumberingLevel(int l)
Sets the numberingLevel attribute of the ParagraphProperties object.

Parameters:
l - The new numberingLevel value
See Also:
getNumberingLevel()

setLeftIndent

public void setLeftIndent(int i)
Sets the leftIndent attribute of the ParagraphProperties object.

Parameters:
i - The new leftIndent value
See Also:
getLeftIndent()

setRightIndent

public void setRightIndent(int i)
Sets the rightIndent attribute of the ParagraphProperties object.

Parameters:
i - The new rightIndent value
See Also:
getRightIndent()

setFirstIndent

public void setFirstIndent(int i)
Sets the firstIndent attribute of the ParagraphProperties object.

Parameters:
i - The new firstIndent value
See Also:
getFirstIndent()

setListStart

public void setListStart(boolean v)
Sets the listStart attribute of the ParagraphProperties object.

Parameters:
v - The new listStart value

setListEnd

public void setListEnd(boolean v)
Sets the listEnd attribute of the ParagraphProperties object.

Parameters:
v - The new listEnd value

getAlign

public int getAlign()
Gets the align attribute of the ParagraphProperties object.

Returns:
The align value
See Also:
setAlign(int)

isNumbered

public boolean isNumbered()
Gets the numbered attribute of the ParagraphProperties object.

Returns:
The numbered value

getNumberingLevel

public int getNumberingLevel()
Gets the numberingLevel attribute of the ParagraphProperties object.

Returns:
The numberingLevel value
See Also:
setNumberingLevel(int)

isBullet

public boolean isBullet()
Checks if this is a paragraph with a 'bullet'.

Returns:
boolean

getLeftIndent

public int getLeftIndent()
Gets the leftIndent attribute of the ParagraphProperties object.

Returns:
The leftIndent value
See Also:
setLeftIndent(int)

getRightIndent

public int getRightIndent()
Gets the rightIndent attribute of the ParagraphProperties object.

Returns:
The rightIndent value
See Also:
setRightIndent(int)

getFirstIndent

public int getFirstIndent()
Gets the firstIndent attribute of the ParagraphProperties object.

Returns:
The firstIndent value
See Also:
setFirstIndent(int)

isListStart

public boolean isListStart()
Gets the listStart attribute of the ParagraphProperties object.

Returns:
The listStart value

isListEnd

public boolean isListEnd()
Gets the listEnd attribute of the ParagraphProperties object.

Returns:
The listEnd value

isRightToLeftPar

public boolean isRightToLeftPar()
Get the right to left attribute value.

Returns:
boolean True if it is a right to left text paragraph.

setRightToLeftPar

public void setRightToLeftPar(boolean newValue)
Set the right to left attribute value.

Parameters:
newValue - boolean The new attribute value.

copyFrom

public void copyFrom(ParagraphProperties app)
Copy all neccessary paragraph properties.

Parameters:
app - ParagraphProperties

cloneAll

public ParagraphProperties cloneAll()
Get a clone of the object.

Returns:
ParagraphProperties the cloned paragraph properties


Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.