Class XWPFFieldRun

java.lang.Object
org.apache.poi.xwpf.usermodel.XWPFRun
org.apache.poi.xwpf.usermodel.XWPFFieldRun
All Implemented Interfaces:
CharacterRun, IRunElement, ISDTContents

public class XWPFFieldRun extends XWPFRun
A run of text which is part of a field, such as Title of Page number or Author. Any given Field may be made up of multiple of these.
  • Constructor Details

    • XWPFFieldRun

      public XWPFFieldRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSimpleField field, org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR run, IRunBody p)
  • Method Details

    • getCTField

      @Internal public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSimpleField getCTField()
    • getFieldInstruction

      public String getFieldInstruction()
    • setFieldInstruction

      public void setFieldInstruction(String instruction)