Class QCPLCBit.Type12

Enclosing class:
QCPLCBit

public static class QCPLCBit.Type12 extends QCPLCBit
Type 12 holds hyperlinks, and is very complex. There is normally one of these for each text area that contains at least one hyperlinks. The character offsets are relative to the start of the text area that this applies to.
  • Method Details

    • getNumberOfHyperlinks

      public int getNumberOfHyperlinks()
      Returns the number of hyperlinks, which should either be zero, or the number of PLC bits
    • getHyperlink

      public String getHyperlink(int number)
      Returns the URL of the hyperlink at the given index.
      Parameters:
      number - The hyperlink number, zero based
    • getTextStartAt

      public int getTextStartAt(int number)
      Returns where in the text (in characters) the hyperlink at the given index starts applying to. This position is relative to the text area that this PLCBit applies to.
      Parameters:
      number - The hyperlink number, zero based
    • getAllTextEndAt

      public int getAllTextEndAt()
      Returns where in the text that this block of hyperlinks stops applying to. Normally, but not always the end of the text. This position is relative to the text area that this PLCBit applies to.