Examples of addTemplate()


Examples of com.lowagie.text.pdf.PdfContentByte.addTemplate()

            t.showText("Template text upside down");
            t.endText();
            t.rectangle(0, 0, 499, 499);
            t.stroke();
            t.sanityCheck();
            cb.addTemplate(t, -1.0f, 0.00f, 0.00f, -1.0f, 550f, 550f);
           
            cb.sanityCheck();
        }
        catch(Exception de) {
            de.printStackTrace();
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.addTemplate()

            template.moveTo(0, 13);
            template.lineTo(50, 13);
            template.stroke();
           
            // we add the template on different positions
            cb.addTemplate(template, 287, 787);
            cb.addTemplate(template, 187, 487);
            cb.addTemplate(template, 487, 287);
            cb.addTemplate(template, 87, 87);
           
            // we define the destinations
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.addTemplate()

            template.lineTo(50, 13);
            template.stroke();
           
            // we add the template on different positions
            cb.addTemplate(template, 287, 787);
            cb.addTemplate(template, 187, 487);
            cb.addTemplate(template, 487, 287);
            cb.addTemplate(template, 87, 87);
           
            // we define the destinations
            PdfDestination d1 = new PdfDestination(PdfDestination.XYZ, 300, 800, 0);
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.addTemplate()

            template.stroke();
           
            // we add the template on different positions
            cb.addTemplate(template, 287, 787);
            cb.addTemplate(template, 187, 487);
            cb.addTemplate(template, 487, 287);
            cb.addTemplate(template, 87, 87);
           
            // we define the destinations
            PdfDestination d1 = new PdfDestination(PdfDestination.XYZ, 300, 800, 0);
            PdfDestination d2 = new PdfDestination(PdfDestination.FITH, 500);
View Full Code Here

Examples of com.mxgraph.examples.swing.editor.EditorPalette.addTemplate()

                GraphEditor.class
                    .getResource("/com/mxgraph/examples/swing/images/wrench.png")),
            "roundImage;image=/com/mxgraph/examples/swing/images/wrench.png",
            50, 50, "Wrench");

    symbolsPalette
        .addTemplate(
            "Cancel",
            new ImageIcon(
                GraphEditor.class
                    .getResource("/com/mxgraph/examples/swing/images/cancel_end.png")),
View Full Code Here

Examples of net.sourceforge.processdash.hier.HierarchyAlterer.addTemplate()

        PropertyKey key = dash.props.findExistingKey(prefix);
        String actualID = dash.props.getID(key);
        if (oldID == actualID || // handles "null == null" case
            (oldID != null && oldID.equals(actualID))) try {
            HierarchyAlterer a = new HierarchyAlterer(dash);
            a.addTemplate(prefix, newID);
            return true;
        } catch (Exception e) {}

        return false;
    }
View Full Code Here

Examples of org.drools.decisiontable.parser.ActionType.addTemplate()

                                   " does not contain any code specification. It should!";
            this._conversionResult.addMessage( message,
                                               ConversionMessageType.ERROR );
        }

        actionType.addTemplate( row,
                                column,
                                value );
    }

    private void doLabelCell(final int row,
View Full Code Here

Examples of org.jbpm.pvm.internal.email.impl.MailTemplateRegistry.addTemplate()

    }

    // create the mail template and add it to the registry
    MailTemplate mailTemplate = parseMailTemplate(element, parse);
    String templateName = XmlUtil.attribute(element, "name", true, parse);
    templateRegistry.addTemplate(templateName, mailTemplate);

    return templateRegistryDescriptor;
  }

  public static MailTemplate parseMailTemplate(Element element, Parse parse) {
View Full Code Here

Examples of org.objectstyle.wolips.templateengine.TemplateEngine.addTemplate()

    bin.mkdirs();
    // project.close(nullProgressMonitor);
    TemplateEngine templateEngine = new TemplateEngine();
    templateEngine.init();
    templateEngine.getWolipsContext().setProjectName(projectName);
    templateEngine.addTemplate(new TemplateDefinition("jarproject/.classpath.vm", path, ".classpath", ".classpath"));
    templateEngine.addTemplate(new TemplateDefinition("jarproject/.project.vm", path, ".project", ".project"));
    templateEngine.addTemplate(new TemplateDefinition("jarproject/build.xml.vm", path, "build.xml", "build.xml"));
    templateEngine.addTemplate(new TemplateDefinition("jarproject/build.properties.vm", path, "build.properties", "build.properties"));
    templateEngine.run(progressMonitor);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.templates.TemplateCollection.addTemplate()

            (ReportDefinitionReadHandler.TEMPLATE_FACTORY_KEY);
    for (int i = 0; i < templateList.size(); i++)
    {
      final TemplateReadHandler readHandler =
          (TemplateReadHandler) templateList.get(i);
      templateCollection.addTemplate
          ((TemplateDescription) readHandler.getObjectDescription());
    }
  }

  /**
 
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.