Class DocxParagraphHelper
- java.lang.Object
-
- net.sf.jasperreports.engine.export.ooxml.BaseHelper
-
- net.sf.jasperreports.engine.export.ooxml.DocxParagraphHelper
-
public class DocxParagraphHelper extends BaseHelper
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
LINE_SPACING_FACTOR
-
Fields inherited from class net.sf.jasperreports.engine.export.ooxml.BaseHelper
fontUtil, jasperReportsContext, writer
-
-
Constructor Summary
Constructors Constructor Description DocxParagraphHelper(JasperReportsContext jasperReportsContext, Writer writer, boolean pageBreak)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportEmptyPage(String pageAnchor, long bookmarkIndex, boolean twice)
void
exportEmptyParagraph()
void
exportEmptyParagraph(boolean startPage, long bookmarkIndex, String pageAnchor)
void
exportProps(JRPrintImage image)
void
exportProps(JRPrintText text)
void
exportProps(JRStyle style)
static String
getHorizontalImageAlign(HorizontalImageAlignEnum horizontalAlignment)
static String
getHorizontalTextAlign(HorizontalTextAlignEnum horizontalAlignment)
static String
getTabStopAlignment(TabStopAlignEnum alignment)
-
Methods inherited from class net.sf.jasperreports.engine.export.ooxml.BaseHelper
close, flush, write
-
-
-
-
Field Detail
-
LINE_SPACING_FACTOR
protected static final int LINE_SPACING_FACTOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocxParagraphHelper
public DocxParagraphHelper(JasperReportsContext jasperReportsContext, Writer writer, boolean pageBreak)
-
-
Method Detail
-
exportProps
public void exportProps(JRStyle style)
-
exportProps
public void exportProps(JRPrintText text)
-
exportProps
public void exportProps(JRPrintImage image)
-
exportEmptyParagraph
public void exportEmptyParagraph()
-
exportEmptyParagraph
public void exportEmptyParagraph(boolean startPage, long bookmarkIndex, String pageAnchor)
-
getHorizontalTextAlign
public static String getHorizontalTextAlign(HorizontalTextAlignEnum horizontalAlignment)
-
getHorizontalImageAlign
public static String getHorizontalImageAlign(HorizontalImageAlignEnum horizontalAlignment)
-
getTabStopAlignment
public static String getTabStopAlignment(TabStopAlignEnum alignment)
-
exportEmptyPage
public void exportEmptyPage(String pageAnchor, long bookmarkIndex, boolean twice)
-
-