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

Examples of org.pentaho.reporting.engine.classic.core.Watermark


      ExpressionWriterUtility.writeGlobalLayoutExpressions(bundle, styleFileState, writer);
      writer.writeCloseTag();
    }

    // write watermark
    final Watermark watermark = report.getWatermark();
    final BundleElementWriteHandler watermarkHandler = BundleElementRegistry.getInstance().getWriteHandler(watermark);
    watermarkHandler.writeElement(bundle, styleFileState, writer, watermark);

    // write page-header
    final PageHeader pageHeader = report.getPageHeader();
View Full Code Here


  {
    for (int i = levels.length - 1; i >= 0; i -= 1)
    {
      final LayouterLevel level = levels[i];
      final ReportDefinition def = level.getReportDefinition();
      final Watermark watermark = def.getWatermark();
      if (isPageHeaderPrinting(watermark, true))
      {
        print(level.getRuntime(), watermark);
      }
    }
View Full Code Here

    if (watermarkDefinition.getSource() == null)
    {
      return;
    }

    final Watermark watermark = definition.getWatermark();
    final Band content = AutoGeneratorUtility.findGeneratedContent(watermark);
    if (content == null)
    {
      // there is already some content, and we are not allowed to override it.
      return;
View Full Code Here

          pageFooterHandler = new BandTopLevelElementReadHandler(new PageFooter(), bandtype);
          return pageFooterHandler;
        }
        if ("WATERMARK".equals(bandtype))
        {
          watermarkHandler = new BandTopLevelElementReadHandler(new Watermark(), bandtype);
          return watermarkHandler;
        }
        if ("NO_DATA_BAND".equals(bandtype))
        {
          noDataBandHandler = new BandTopLevelElementReadHandler(new NoDataBand(), bandtype);
View Full Code Here

          pageFooterHandler = new BandTopLevelElementReadHandler(new PageFooter(), bandtype);
          return pageFooterHandler;
        }
        if ("WATERMARK".equals(bandtype))
        {
          watermarkHandler = new BandTopLevelElementReadHandler(new Watermark(), bandtype);
          return watermarkHandler;
        }
        if ("NO_DATA_BAND".equals(bandtype))
        {
          noDataBandHandler = new BandTopLevelElementReadHandler(new NoDataBand(), bandtype);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.Watermark

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.