std::auto_ptr->boost::scoped_ptr

Change-Id: I231de866d46d0e0a20e2f80855c0de3bd999ed1b
convert text control paragraph dialog to .ui

Change-Id: Iedaa5db0add3e6f65d4e207f1514b8eb8344b6da