Exemple #1
0
        /**
         * Gets the string representation of this column range
         *
         * @param buf the string buffer to append to
         */
        public override void getString(StringBuilder buf)
        {
            buf.Append('\'');
            buf.Append(workbook.getExternalSheetName(sheet));
            buf.Append('\'');
            buf.Append('!');

            CellReferenceHelper.getColumnReference(getFirstColumn(), buf);
            buf.Append(':');
            CellReferenceHelper.getColumnReference(getLastColumn(), buf);
        }
Exemple #2
0
 /**
  * Gets the string representation of this item
  *
  * @param buf the string buffer
  */
 public override void getString(StringBuilder buf)
 {
     CellReferenceHelper.getColumnReference(getFirstColumn(), buf);
     buf.Append(':');
     CellReferenceHelper.getColumnReference(getLastColumn(), buf);
 }