net.sf.jasperreports.engine.export.oasis
Class ParagraphStyle

java.lang.Object
  extended by net.sf.jasperreports.engine.export.oasis.Style
      extended by net.sf.jasperreports.engine.export.oasis.ParagraphStyle

public class ParagraphStyle
extends Style

Version:
$Id: ParagraphStyle.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
protected static String HORIZONTAL_ALIGN_CENTER
           
protected static String HORIZONTAL_ALIGN_JUSTIFY
           
protected static String HORIZONTAL_ALIGN_LEFT
           
protected static String HORIZONTAL_ALIGN_RIGHT
           
protected static String ROTATION_ALIGN_BOTTOM
           
protected static String ROTATION_ALIGN_CENTER
           
protected static String ROTATION_ALIGN_NONE
           
protected static String ROTATION_ALIGN_TOP
           
protected static String TAB_STOP_ALIGN_CENTER
           
protected static String TAB_STOP_ALIGN_LEFT
           
protected static String TAB_STOP_ALIGN_RIGHT
           
 
Fields inherited from class net.sf.jasperreports.engine.export.oasis.Style
styleWriter
 
Constructor Summary
ParagraphStyle(Writer styleWriter, JRPrintText text)
           
 
Method Summary
static String getHorizontalAlignment(HorizontalAlignEnum horizontalAlignment, VerticalAlignEnum verticalAlignment, RotationEnum rotation)
           
 String getId()
           
static String getTabStopAlignment(TabStopAlignEnum tabStopAlignment)
           
static String getVerticalAlignment(HorizontalAlignEnum horizontalAlignment, VerticalAlignEnum verticalAlignment, RotationEnum rotation)
           
 void write(String paragraphStyleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HORIZONTAL_ALIGN_LEFT

protected static final String HORIZONTAL_ALIGN_LEFT
See Also:
Constant Field Values

HORIZONTAL_ALIGN_RIGHT

protected static final String HORIZONTAL_ALIGN_RIGHT
See Also:
Constant Field Values

HORIZONTAL_ALIGN_CENTER

protected static final String HORIZONTAL_ALIGN_CENTER
See Also:
Constant Field Values

HORIZONTAL_ALIGN_JUSTIFY

protected static final String HORIZONTAL_ALIGN_JUSTIFY
See Also:
Constant Field Values

TAB_STOP_ALIGN_LEFT

protected static final String TAB_STOP_ALIGN_LEFT
See Also:
Constant Field Values

TAB_STOP_ALIGN_RIGHT

protected static final String TAB_STOP_ALIGN_RIGHT
See Also:
Constant Field Values

TAB_STOP_ALIGN_CENTER

protected static final String TAB_STOP_ALIGN_CENTER
See Also:
Constant Field Values

ROTATION_ALIGN_NONE

protected static final String ROTATION_ALIGN_NONE
See Also:
Constant Field Values

ROTATION_ALIGN_TOP

protected static final String ROTATION_ALIGN_TOP
See Also:
Constant Field Values

ROTATION_ALIGN_CENTER

protected static final String ROTATION_ALIGN_CENTER
See Also:
Constant Field Values

ROTATION_ALIGN_BOTTOM

protected static final String ROTATION_ALIGN_BOTTOM
See Also:
Constant Field Values
Constructor Detail

ParagraphStyle

public ParagraphStyle(Writer styleWriter,
                      JRPrintText text)
Method Detail

getVerticalAlignment

public static String getVerticalAlignment(HorizontalAlignEnum horizontalAlignment,
                                          VerticalAlignEnum verticalAlignment,
                                          RotationEnum rotation)

getHorizontalAlignment

public static String getHorizontalAlignment(HorizontalAlignEnum horizontalAlignment,
                                            VerticalAlignEnum verticalAlignment,
                                            RotationEnum rotation)

getTabStopAlignment

public static String getTabStopAlignment(TabStopAlignEnum tabStopAlignment)

getId

public String getId()
Specified by:
getId in class Style

write

public void write(String paragraphStyleName)
           throws IOException
Specified by:
write in class Style
Throws:
IOException


Copyright © 2012. All Rights Reserved.