Tabnine Logo
CTTextField.getT
Code IndexAdd Tabnine to your IDE (free)

How to use
getT
method
in
org.openxmlformats.schemas.drawingml.x2006.main.CTTextField

Best Java code snippets using org.openxmlformats.schemas.drawingml.x2006.main.CTTextField.getT (Showing top 7 results out of 315)

origin: org.apache.poi/poi-ooxml

@Override
public String getRawText(){
  if (_r instanceof CTTextField) {
    return ((CTTextField)_r).getT();
  } else if (_r instanceof CTTextLineBreak) {
    return "\n";
  }
  return ((CTRegularTextRun)_r).getT();
}
origin: org.apache.poi/poi-ooxml

public String getText() {
  if (isLineBreak()) {
    return "\n";
  } else if (isField()) {
    return _tf.getT();
  } else {
    return _rtr.getT();
  }
}
origin: org.apache.poi/poi-ooxml

XSSFTextParagraph(CTTextParagraph p, CTShape ctShape){
  _p = p;
  _shape = ctShape;
  _runs = new ArrayList<>();
  for(XmlObject ch : _p.selectPath("*")){
    if(ch instanceof CTRegularTextRun){
      CTRegularTextRun r = (CTRegularTextRun)ch;
      _runs.add(new XSSFTextRun(r, this));
    } else if (ch instanceof CTTextLineBreak){
      CTTextLineBreak br = (CTTextLineBreak)ch;
      CTRegularTextRun r = CTRegularTextRun.Factory.newInstance();
      r.setRPr(br.getRPr());
      r.setT("\n");
      _runs.add(new XSSFTextRun(r, this));
    } else if (ch instanceof CTTextField){
      CTTextField f = (CTTextField)ch;
      CTRegularTextRun r = CTRegularTextRun.Factory.newInstance();
      r.setRPr(f.getRPr());
      r.setT(f.getT());
      _runs.add(new XSSFTextRun(r, this));
    }
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

@Override
public String getRawText(){
  if (_r instanceof CTTextField) {
    return ((CTTextField)_r).getT();
  } else if (_r instanceof CTTextLineBreak) {
    return "\n";
  }
  return ((CTRegularTextRun)_r).getT();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

public String getText() {
  if (isLineBreak()) {
    return "\n";
  } else if (isField()) {
    return _tf.getT();
  } else {
    return _rtr.getT();
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

XSSFTextParagraph(CTTextParagraph p, CTShape ctShape){
  _p = p;
  _shape = ctShape;
  _runs = new ArrayList<>();
  for(XmlObject ch : _p.selectPath("*")){
    if(ch instanceof CTRegularTextRun){
      CTRegularTextRun r = (CTRegularTextRun)ch;
      _runs.add(new XSSFTextRun(r, this));
    } else if (ch instanceof CTTextLineBreak){
      CTTextLineBreak br = (CTTextLineBreak)ch;
      CTRegularTextRun r = CTRegularTextRun.Factory.newInstance();
      r.setRPr(br.getRPr());
      r.setT("\n");
      _runs.add(new XSSFTextRun(r, this));
    } else if (ch instanceof CTTextField){
      CTTextField f = (CTTextField)ch;
      CTRegularTextRun r = CTRegularTextRun.Factory.newInstance();
      r.setRPr(f.getRPr());
      r.setT(f.getT());
      _runs.add(new XSSFTextRun(r, this));
    }
  }
}
origin: org.openl.rules/org.openl.lib.poi.dev

XSLFTextParagraph(CTTextParagraph p, XSLFTextShape shape){
  _p = p;
  _runs = new ArrayList<XSLFTextRun>();
  _shape = shape;
  for(XmlObject ch : _p.selectPath("*")){
    if(ch instanceof CTRegularTextRun){
      CTRegularTextRun r = (CTRegularTextRun)ch;
      _runs.add(new XSLFTextRun(r, this));
    } else if (ch instanceof CTTextLineBreak){
      CTTextLineBreak br = (CTTextLineBreak)ch;
      CTRegularTextRun r = CTRegularTextRun.Factory.newInstance();
      r.setRPr(br.getRPr());
      r.setT("\n");
      _runs.add(new XSLFTextRun(r, this));
    } else if (ch instanceof CTTextField){
      CTTextField f = (CTTextField)ch;
      CTRegularTextRun r = CTRegularTextRun.Factory.newInstance();
      r.setRPr(f.getRPr());
      r.setT(f.getT());
      _runs.add(new XSLFTextRun(r, this));
    }
  }
}
org.openxmlformats.schemas.drawingml.x2006.mainCTTextFieldgetT

Popular methods of CTTextField

  • getRPr
  • addNewRPr
  • getType
  • isSetRPr
  • setId
  • setT
  • setType

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now