Package com.lowagie.text

Examples of com.lowagie.text.HeaderFooter


   }

   @Override
   public void encodeEnd(FacesContext context) throws IOException
   {
      HeaderFooter header;

      if (after == null)
      {
         header = new HeaderFooter(before, false);
      }
      else
      {
         header = new HeaderFooter(before, after);
      }

      alignment = (String) valueBinding(context, "alignment", alignment);
      if (alignment != null)
      {
         header.setAlignment(ITextUtils.alignmentValue(alignment));
      }

      applyRectangleProperties(context, header);

      super.encodeEnd(context);
View Full Code Here


        try {
            PdfWriter.getInstance( document,
                                   out );

            HeaderFooter footer = DroolsDocsComponentFactory.createFooter( packageData.getName() );

            document.setFooter( footer );

            document.addTitle( packageData.getName().toUpperCase() );
            document.open();
View Full Code Here


        status.setText("Writing Report");
        doc = new Document();
        doc.setMargins(50, 50, 50, 50);
        HeaderFooter header = new HeaderFooter(new Phrase("Page "), new Phrase(""));
        header.setAlignment(Element.ALIGN_RIGHT);
       

        current_figureNumber = 1;
        current_appendixNumber = 0;
View Full Code Here

            // Initialize the Document and register it with PdfWriter listener and the OutputStream
            Document document = new Document(PageSize.A4.rotate(), 60, 60, 40, 40);
            document.addCreationDate();

            HeaderFooter footer = new HeaderFooter(selector.process(TagConstants.EMPTY_STRING), true);
            footer.setBorder(Rectangle.NO_BORDER);
            footer.setAlignment(Element.ALIGN_CENTER);

            PdfWriter.getInstance(document, out);
            document.setFooter(footer);

            // Fill the virtual PDF table with the necessary data
View Full Code Here

TOP

Related Classes of com.lowagie.text.HeaderFooter

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.