Examples of showBreak()


Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

    blockComposer.showText("Since version 0.0.6 it has supported ");
    composer.beginLocalState();
    composer.setFillColor(TextColor_Highlight);
    blockComposer.showText("Unicode");
    composer.end();
    blockComposer.showText(" for OpenFont/TrueType fonts."); blockComposer.showBreak(breakSize);
    composer.setFont(font,8);
    blockComposer.showText("This page was crafted with the nice");
    composer.beginLocalState();
    composer.setFont(font,10);
    blockComposer.showText(" LazyDog font");
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

      new Rectangle2D.Double(0,0,300,50),
      AlignmentXEnum.Left,
      AlignmentYEnum.Middle
      );
    blockComposer.showText("Generated by PDF Clown on " + creationDate);
    blockComposer.showBreak();
    blockComposer.showText("For more info, visit http://www.pdfclown.org");
    blockComposer.end();
    composer.end();

    // End the graphics state!
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

        StandardType1Font.FamilyEnum.Courier,
        true,
        false
        );
      composer.setFont(bodyFont,32);
      blockComposer.showText("Transformation sample"); blockComposer.showBreak();
      composer.setFont(bodyFont,16);
      blockComposer.showText("Showing the GNU logo placed on the page center, rotated by 25 degrees clockwise.");
      blockComposer.end();
    }
    // Showing the 'GNU' image...
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

        StandardType1Font.FamilyEnum.Courier,
        true,
        false
        );
      composer.setFont(bodyFont,32);
      blockComposer.showText("Inline image sample"); blockComposer.showBreak();
      composer.setFont(bodyFont,16);
      blockComposer.showText("Showing the GNU logo as an inline image within the page content stream.");
      blockComposer.end();
    }
    // Showing the 'GNU' image...
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

      index++
      )
    {
      composer.setFont(font,12);
      blockComposer.showText(titles[index]);
      blockComposer.showBreak();

      composer.setFont(font,11);
      blockComposer.showText(bodies[index]);
      blockComposer.showBreak(AlignmentXEnum.Right);
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

      blockComposer.showText(titles[index]);
      blockComposer.showBreak();

      composer.setFont(font,11);
      blockComposer.showText(bodies[index]);
      blockComposer.showBreak(AlignmentXEnum.Right);

      composer.setFont(font,8);
      blockComposer.showText("[Source: " + sources[index] + "]");
      blockComposer.showBreak(breakSize,AlignmentXEnum.Justify);
    }
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

      blockComposer.showText(bodies[index]);
      blockComposer.showBreak(AlignmentXEnum.Right);

      composer.setFont(font,8);
      blockComposer.showText("[Source: " + sources[index] + "]");
      blockComposer.showBreak(breakSize,AlignmentXEnum.Justify);
    }
    // End the content block!
    blockComposer.end();

    // 4. Flush the contents into the page!
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

      );
    blockComposer.begin(frame,AlignmentXEnum.Left,AlignmentYEnum.Top);
    composer.setFont(ResourceName_DefaultFont,24);
    blockComposer.showText("Page coordinates sample");
    Dimension2D breakSize = new Dimension(8,4);
    blockComposer.showBreak(breakSize);
    composer.setFont(ResourceName_DefaultFont,8);
    blockComposer.showText(
      "This sample shows the effects of the manipulation of the CTM (Current Transformation Matrix), "
        + "that is the mathematical device which affects the page coordinate system used to place "
        + "graphic contents onto the canvas."
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

    blockComposer.showText(
      "This sample shows the effects of the manipulation of the CTM (Current Transformation Matrix), "
        + "that is the mathematical device which affects the page coordinate system used to place "
        + "graphic contents onto the canvas."
      );
    blockComposer.showBreak(breakSize);
    blockComposer.showText(
      "The following steps represent the operations applied to this page's CTM in order to alter it. "
        + "Each step writes the word \"Step\" at the lower-left corner of the current page frame:"
      );
    blockComposer.showBreak(breakSize);
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.BlockComposer.showBreak()

    blockComposer.showBreak(breakSize);
    blockComposer.showText(
      "The following steps represent the operations applied to this page's CTM in order to alter it. "
        + "Each step writes the word \"Step\" at the lower-left corner of the current page frame:"
      );
    blockComposer.showBreak(breakSize);
    for(int i = 0; i < steps.length; i++)
    {
      composer.setFillColor(colors[i]);
      blockComposer.showText("Step " + i + ")");
      composer.setFillColor(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.