Examples of font()


Examples of com.googlecode.jatl.Html.font()

     */
    protected String genNodeHtml(P2jLogicalRelationalOperator oper) {
        StringWriter writer = new StringWriter();
        Html html = new Html(writer);

        html.font().attr("point-size", "12").table().border("0").attr("cellborder", "1").cellspacing("0");
        genOperationRow(html, oper);
        genMiscRow(html, oper);
        genAliasRow(html, oper);
        genJoinExpressions(html, oper);
        genSchema(html, oper);
View Full Code Here

Examples of com.lowagie.text.Paragraph.font()

  protected void buildPdfDocument(Map model, Document document, PdfWriter writer, HttpServletRequest request, HttpServletResponse response) throws Exception {
    Product product = (Product) model.get("product");
    if (product == null) throw new NullPointerException("Product not present in the model");

    Paragraph header = new Paragraph("Product details");
    header.font().setSize(20);
    document.add(header);
   
    Paragraph content = new Paragraph(product.getName());
    document.add(content);
   
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.