public XMLCharacterRunModel(List <CT_RElt> runs, int startIndex, int length, XMLPaletteModel palette)
 {
     this._runs       = runs;
     this._startIndex = startIndex;
     this._length     = length;
     this._interface  = new CharacterRun(this);
     this._font       = new XMLFontRunModel(palette);
     foreach (CT_RElt run in runs)
     {
         if (run.RPr == null)
         {
             run.RPr = new CT_RPrElt();
         }
         this._font.Add(run.RPr);
     }
 }
示例#2
0
 public XMLCharacterRunManager(CT_Rst inlineString, XMLPaletteModel palette)
 {
     _inlineString = inlineString;
     _palette      = palette;
 }
示例#3
0
 public XMLFontRunModel(XMLPaletteModel palette)
 {
     _interface = new Font(this);
     _props     = new List <CT_RPrElt>();
     _palette   = palette;
 }