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; }
public void handleWorker(bool bc, bool ic, bool uc) { font = new FontRTB(bc, ic, uc, fontSingleton.font); boldChangeHandler.Handle(font); }