/// <summary> /// Initializes a new instance of the <see cref="OpenOfficeDrawShapeManipulator"/> class. /// </summary> /// <param name="drawConnection">A connection to the Draw application. ATTENTION: doen not be null.</param> /// <param name="fbReciever">The fb reciever.</param> public OpenOfficeDrawShapeManipulator(IOoDrawConnection drawConnection, IZoomProvider zommable, IFeedbackReceiver fbReciever = null) : base(10) { feedbackReciever = fbReciever; Zoomable = zommable; if (drawConnection == null) { throw new ArgumentNullException("drawConnection", "Without any connection to the Draw application no Manipulation is possible."); } OoConnection = drawConnection; initializePatters(); loadConfiguration(); }
/// <summary> /// Initializes a new instance of the <see cref="OpenOfficeDrawShapeManipulator"/> class. /// </summary> /// <param name="drawConnection">A connection to the Draw application. ATTENTION: doen not be null.</param> /// <param name="fbReciever">The fb reciever.</param> public OpenOfficeDrawShapeManipulator(IOoDrawConnection drawConnection, IZoomProvider zommable, IFeedbackReceiver fbReciever = null) : base(10) { feedbackReciever = fbReciever; Zoomable = zommable; if (drawConnection == null) { throw new ArgumentNullException("drawConnection", "Without any connection to the Draw application no Manipulation is possible."); } OoConnection = drawConnection; initializePatters(); }