Package org.pentaho.reporting.engine.classic.core.util.beans

Examples of org.pentaho.reporting.engine.classic.core.util.beans.ElementAlignmentValueConverter


      final Integer fontSize = rootBandDefinition.getFontSize();
      if (fontSize != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "font-size", String.valueOf(fontSize));
      }
      final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
      final ElementAlignment horizontalAlignment = rootBandDefinition.getHorizontalAlignment();
      if (horizontalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "horizontal-align",
            elementAlignmentValueConverter.toAttributeValue(horizontalAlignment));
      }
      final ElementAlignment verticalAlignment = rootBandDefinition.getVerticalAlignment();
      if (verticalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "vertical-align",
            elementAlignmentValueConverter.toAttributeValue(verticalAlignment));
      }
      final Boolean repeat = rootBandDefinition.getRepeat();
      if (repeat != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "repeat", String.valueOf(repeat));
View Full Code Here


  {
    try
    {
      final AttributeList attList = new AttributeList();

      final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
      final ElementAlignment totalsHorizontalAlignment = definition.getTotalsHorizontalAlignment();
      if (totalsHorizontalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "totals-alignment",
            elementAlignmentValueConverter.toAttributeValue(totalsHorizontalAlignment));
      }
      final String nullString = definition.getNullString();
      if (nullString != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "null-string", String.valueOf(nullString));
View Full Code Here

      final Integer fontSize = definition.getFontSize();
      if (fontSize != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "font-size", String.valueOf(fontSize));
      }
      final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
      final ElementAlignment horizontalAlignment = definition.getHorizontalAlignment();
      if (horizontalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "horizontal-align",
            elementAlignmentValueConverter.toAttributeValue(horizontalAlignment));
      }
      final ElementAlignment verticalAlignment = definition.getVerticalAlignment();
      if (verticalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "vertical-align",
            elementAlignmentValueConverter.toAttributeValue(verticalAlignment));
      }

      final Boolean distinctValues = definition.getOnlyShowChangingValues();
      if (distinctValues != null)
      {
View Full Code Here

{
  private ElementAlignmentValueConverter alignmentValueConverter;

  public AlignmentConceptMapper()
  {
    alignmentValueConverter = new ElementAlignmentValueConverter();
  }
View Full Code Here

      final Integer fontSize = definition.getFontSize();
      if (fontSize != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "font-size", String.valueOf(fontSize));
      }
      final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
      final ElementAlignment horizontalAlignment = definition.getHorizontalAlignment();
      if (horizontalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "horizontal-align",
            elementAlignmentValueConverter.toAttributeValue(horizontalAlignment));
      }
      final ElementAlignment verticalAlignment = definition.getVerticalAlignment();
      if (verticalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "vertical-align",
            elementAlignmentValueConverter.toAttributeValue(verticalAlignment));
      }

      final Boolean distinctValues = definition.getOnlyShowChangingValues();
      if (distinctValues != null)
      {
View Full Code Here

      final Integer fontSize = rootBandDefinition.getFontSize();
      if (fontSize != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "font-size", String.valueOf(fontSize));
      }
      final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
      final ElementAlignment horizontalAlignment = rootBandDefinition.getHorizontalAlignment();
      if (horizontalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "horizontal-align",
            elementAlignmentValueConverter.toAttributeValue(horizontalAlignment));
      }
      final ElementAlignment verticalAlignment = rootBandDefinition.getVerticalAlignment();
      if (verticalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "vertical-align",
            elementAlignmentValueConverter.toAttributeValue(verticalAlignment));
      }
      final Boolean repeat = rootBandDefinition.getRepeat();
      if (repeat != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "repeat", String.valueOf(repeat));
View Full Code Here

  {
    try
    {
      final AttributeList attList = new AttributeList();

      final ElementAlignmentValueConverter elementAlignmentValueConverter = new ElementAlignmentValueConverter();
      final ElementAlignment totalsHorizontalAlignment = definition.getTotalsHorizontalAlignment();
      if (totalsHorizontalAlignment != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "totals-alignment",
            elementAlignmentValueConverter.toAttributeValue(totalsHorizontalAlignment));
      }
      final String nullString = definition.getNullString();
      if (nullString != null)
      {
        attList.setAttribute(WizardCoreModule.NAMESPACE, "null-string", String.valueOf(nullString));
View Full Code Here

{
  private ElementAlignmentValueConverter alignmentValueConverter;

  public AlignmentConceptMapper()
  {
    alignmentValueConverter = new ElementAlignmentValueConverter();
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.util.beans.ElementAlignmentValueConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.