Ejemplo n.º 1
0
 protected ExtRst clone() {
   ExtRst ext = new ExtRst();
   ext.reserved = reserved;
   ext.formattingFontIndex = formattingFontIndex;
   ext.formattingOptions = formattingOptions;
   ext.numberOfRuns = numberOfRuns;
   ext.phoneticText = phoneticText;
   ext.phRuns = new PhRun[phRuns.length];
   for (int i = 0; i < ext.phRuns.length; i++) {
     ext.phRuns[i] =
         new PhRun(
             phRuns[i].phoneticTextFirstCharacterOffset,
             phRuns[i].realTextFirstCharacterOffset,
             phRuns[i].realTextLength);
   }
   return ext;
 }