linkinmal 0 Newbie Poster

I'm trying to develop an editor application that support both text and drawings, images, etc. But all of these should be the same abstract object, they inherit the same thing. This will be like MS Word and I need to create a new component in the view for every element, a text area for texts and a new component for every shape, line, oval etc. And the user should be able to draw and write to anywhere he wants on the page. Also, when the user appends to the next line hitting enter, the shapes and images below that text should also go down one line. How can I construct this type of view? Should I use layouts? If I do, how can I provide them to put anything anywhere they want? Any ideas? I'm stuck.