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

Examples of org.pentaho.reporting.engine.classic.core.layout.process.ParagraphLineBreakStep


    this.paranoidChecks = "true".equals
        (metaData.getConfiguration().getConfigProperty
            ("org.pentaho.reporting.engine.classic.core.layout.ParanoidChecks"));
    this.validateModelStep = new ValidateModelStep();
    this.staticPropertiesStep = new ComputeStaticPropertiesProcessStep(metaData);
    this.paragraphLineBreakStep = new ParagraphLineBreakStep();
    this.minorAxisLayoutStep = new InfiniteMinorAxisLayoutStep(metaData);
    this.majorAxisLayoutStep = new InfiniteMajorAxisLayoutStep();
    this.canvasMajorAxisLayoutStep = new CanvasMajorAxisLayoutStep();
    this.revalidateAllAxisLayoutStep = new RevalidateAllAxisLayoutStep(metaData);
    this.validateSafeToStoreStateStep = new ValidateSafeToStoreStateStep();
View Full Code Here


    final DefaultProcessingContext processingContext = new DefaultProcessingContext(report);

    final LogicalPageBox pageBox = DebugReportRunner.layoutSingleBand(report, createTable());
    assertTrue(new ValidateModelStep().isLayoutable(pageBox));
    new TableValidationStep().validate(pageBox);
    new ParagraphLineBreakStep().compute(pageBox);
   
    final ComputeStaticPropertiesProcessStep computeStaticPropertiesProcessStep = new ComputeStaticPropertiesProcessStep();
    computeStaticPropertiesProcessStep.initialize(processingContext.getOutputProcessorMetaData(), processingContext);
    computeStaticPropertiesProcessStep.compute(pageBox);
View Full Code Here

    RenderNode second = MatchFactory.findElementByName(logicalPageBox, "second");
    assertTrue(second instanceof ParagraphRenderBox);
    ParagraphRenderBox p = (ParagraphRenderBox) second;
    assertTrue(p.getPool().getFirstChild().getNext() instanceof RenderableReplacedContentBox);

    ParagraphLineBreakStep step = new ParagraphLineBreakStep();
    step.compute(logicalPageBox);

    RenderNode[] elementsByNodeType = MatchFactory.findElementsByNodeType(p, LayoutNodeTypes.TYPE_NODE_COMPLEX_TEXT);
    assertContainsImage(elementsByNodeType);
    RenderableComplexText t = (RenderableComplexText) elementsByNodeType[0];
    AttributedString attributedString = t.getRichText().getAttributedString();
View Full Code Here

  private void translateToRenderableElements(final Band b)
      throws ReportProcessingException, ContentProcessingException
  {
    final LogicalPageBox logicalPageBox = DebugReportRunner.layoutSingleBand(new MasterReport(), b);

    final ParagraphLineBreakStep step = new ParagraphLineBreakStep();
    step.compute(logicalPageBox);
    System.out.println();
  }
View Full Code Here

  {
    this.outputProcessor = outputProcessor;

    this.validateModelStep = new ValidateModelStep();
    this.staticPropertiesStep = new ComputeStaticPropertiesProcessStep();
    this.paragraphLineBreakStep = new ParagraphLineBreakStep();
    this.minorAxisLayoutStep = new InfiniteMinorAxisLayoutStep();
    this.canvasMinorAxisLayoutStep = new CanvasMinorAxisLayoutStep();
    this.majorAxisLayoutStep = new InfiniteMajorAxisLayoutStep();
    this.canvasMajorAxisLayoutStep = new CanvasMajorAxisLayoutStep();
    this.validateSafeToStoreStateStep = new ValidateSafeToStoreStateStep();
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.layout.process.ParagraphLineBreakStep

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.