fr.opensagres.xdocreport.document.docx.textstyling
Class DocxDefaultStylesGenerator
java.lang.Object
fr.opensagres.xdocreport.document.textstyling.AbstractStylesGenerator<DefaultStyle>
fr.opensagres.xdocreport.document.docx.textstyling.DocxDefaultStylesGenerator
- All Implemented Interfaces:
- IDocxStylesGenerator, IStylesGenerator<DefaultStyle>
public class DocxDefaultStylesGenerator
- extends AbstractStylesGenerator<DefaultStyle>
- implements IDocxStylesGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final IDocxStylesGenerator INSTANCE
DocReport_AbstractNumId_decimal
public static final int DocReport_AbstractNumId_decimal
- See Also:
- Constant Field Values
DocReport_AbstractNumId_bullet
public static final int DocReport_AbstractNumId_bullet
- See Also:
- Constant Field Values
DocxDefaultStylesGenerator
public DocxDefaultStylesGenerator()
generateAllStyles
public String generateAllStyles(DefaultStyle defaultStyle)
- Specified by:
generateAllStyles
in interface IDocxStylesGenerator
- Specified by:
generateAllStyles
in interface IStylesGenerator<DefaultStyle>
generateAbstractNumBullet
public String generateAbstractNumBullet(DefaultStyle defaultStyle)
- Specified by:
generateAbstractNumBullet
in interface IDocxStylesGenerator
generateAbstractNumDecimal
public String generateAbstractNumDecimal(DefaultStyle defaultStyle)
- Specified by:
generateAbstractNumDecimal
in interface IDocxStylesGenerator
generateHyperlinkStyle
public void generateHyperlinkStyle(StringBuilder style,
DefaultStyle defaultStyle)
getHyperLinkStyleId
public String getHyperLinkStyleId(DefaultStyle defaultStyle)
- Specified by:
getHyperLinkStyleId
in interface IDocxStylesGenerator
generateHeadersStyle
public void generateHeadersStyle(StringBuilder styles,
DefaultStyle defaultStyle)
generateHeaderStyle
public void generateHeaderStyle(StringBuilder styles,
DefaultStyle defaultStyle,
int level)
getHeaderStyleId
public String getHeaderStyleId(int level,
DefaultStyle defaultStyle)
- Specified by:
getHeaderStyleId
in interface IDocxStylesGenerator
getHeaderStylesCount
public static int getHeaderStylesCount()
- Returns:
- number of available header styles
getAbstractNumIdForList
public Integer getAbstractNumIdForList(boolean ordered,
DefaultStyle defaultStyle)
- Specified by:
getAbstractNumIdForList
in interface IDocxStylesGenerator
Copyright © 2013. All rights reserved.