1 // actionmodifyexplodetext.cpp
3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
8 // JLH = James L. Hammons <jlhamm@acm.org>
11 // --- ---------- -----------------------------------------------------------
12 // JLH 06/04/2010 Added this text. :-)
15 #include "actionmodifyexplodetext.h"
17 #include "rs_modification.h"
22 ActionModifyExplodeText::ActionModifyExplodeText(RS_EntityContainer & container,
23 GraphicView & graphicView): ActionInterface("Blocks Explode",
24 container, graphicView)
28 ActionModifyExplodeText::~ActionModifyExplodeText()
32 /*virtual*/ RS2::ActionType ActionModifyExplodeText::rtti()
34 return RS2::ActionModifyExplodeText;
37 void ActionModifyExplodeText::init(int status)
39 ActionInterface::init(status);
45 void ActionModifyExplodeText::trigger()
47 RS_Modification m(*container, graphicView);
48 m.explodeTextIntoLetters();