Package org.pentaho.reporting.engine.classic.core.elementfactory

Examples of org.pentaho.reporting.engine.classic.core.elementfactory.AbstractContentElementFactory


    final Stroke stroke = ReportParserUtil.parseStroke(strokeStyle, weight);

    if (stroke != null)
    {
      final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
      elementFactory.setStroke(stroke);
    }
  }
View Full Code Here


  }

  protected void handleScale(final PropertyAttributes atts) throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.SCALE_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean scale = ParserUtil.parseBoolean(booleanValue, getLocator());
    if (scale != null)
    {
      elementFactory.setScale(scale);
    }
  }
View Full Code Here

  protected void handleKeepAspectRatio(final PropertyAttributes atts)
      throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.KEEP_ASPECT_RATIO_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean keepAspectRatio = ParserUtil.parseBoolean(booleanValue, getLocator());
    if (keepAspectRatio != null)
    {
      elementFactory.setKeepAspectRatio(keepAspectRatio);
    }
  }
View Full Code Here

  }

  protected void handleFill(final PropertyAttributes atts) throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.FILL_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean fill = ParserUtil.parseBoolean(booleanValue, getLocator());
    if (fill != null)
    {
      elementFactory.setShouldFill(fill);
    }
  }
View Full Code Here

  }

  protected void handleDraw(final PropertyAttributes atts) throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.DRAW_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean draw = ParserUtil.parseBoolean(booleanValue, getLocator());
    if (draw != null)
    {
      elementFactory.setShouldDraw(draw);
    }
  }
View Full Code Here

  }

  protected void handleScale(final PropertyAttributes atts) throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractImageElementReadHandler.SCALE_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean scale = ParserUtil.parseBoolean(booleanValue, getLocator());
    elementFactory.setScale(scale);
  }
View Full Code Here

  }

  protected void handleKeepAspectRatio(final PropertyAttributes atts) throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractImageElementReadHandler.KEEP_ASPECT_RATIO_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean keepAspectRatio = ParserUtil.parseBoolean(booleanValue, getLocator());
    elementFactory.setKeepAspectRatio(keepAspectRatio);
  }
View Full Code Here

    final Stroke stroke = ReportParserUtil.parseStroke(strokeStyle, weight);

    if (stroke != null)
    {
      final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
      elementFactory.setStroke(stroke);
    }
  }
View Full Code Here

  }

  protected void handleScale(final PropertyAttributes atts) throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.SCALE_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean scale = ParserUtil.parseBoolean(booleanValue, getLocator());
    if (scale != null)
    {
      elementFactory.setScale(scale);
    }
  }
View Full Code Here

  protected void handleKeepAspectRatio(final PropertyAttributes atts)
      throws ParseException
  {
    final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.KEEP_ASPECT_RATIO_ATT);
    final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
    final Boolean keepAspectRatio = ParserUtil.parseBoolean(booleanValue, getLocator());
    if (keepAspectRatio != null)
    {
      elementFactory.setKeepAspectRatio(keepAspectRatio);
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.elementfactory.AbstractContentElementFactory

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.