示例#1
0
 private void chainInit()
 {
     font = new FontRTB(true, false, false, fontSingleton.font);
     boldChangeHandler              = new BoldChangeHandler();
     italicsChangeHandler           = new ItalicsChangeHandler();
     underlineChangeHandler         = new UnderlineChangeHandler();
     boldChangeHandler.Successor    = italicsChangeHandler;
     italicsChangeHandler.Successor = underlineChangeHandler;
 }
示例#2
0
 public void handleWorker(bool bc, bool ic, bool uc)
 {
     font = new FontRTB(bc, ic, uc, fontSingleton.font);
     boldChangeHandler.Handle(font);
 }