Package org.odftoolkit.odfdom.dom.element.form

Examples of org.odftoolkit.odfdom.dom.element.form.FormFixedTextElement


  }


  public FormControl createLabel(ControlContainer parent,
      FrameRectangle rectangle, String name, String text) {
    FormFixedTextElement fixedTElement = mElement
        .newFormFixedTextElement(generateFormId());
    // set default control properties
    Label labelForm = new Label(fixedTElement);
    Component.registerComponent(labelForm, fixedTElement);
    labelForm.setId(fixedTElement.getXmlIdAttribute());
    labelForm
        .setControlImplementation(OOFormProvider.OO_CONTROL_IMPLEMENTATION_FIXEDTEXT);
    labelForm.setName(name);
    labelForm.setLabel(text);
    // bond to drawing shape
View Full Code Here


      nextElement.remove();

    }

    private Label findNext(Label thisLabel) {
      FormFixedTextElement nextLabel = null;
      if (thisLabel == null) {
        nextLabel = OdfElement.findFirstChildNode(
            FormFixedTextElement.class, containerElement);
      } else {
        nextLabel = OdfElement.findNextChildNode(
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.form.FormFixedTextElement

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.