public void TextInputTest() { // Create a new text document TextDocument td = new TextDocument(); td.New(); // Create two paragraphs with text inputs in them Paragraph p1 = new Paragraph(td); p1.TextContent.Add(new SimpleText(td, "Your name: ")); TextInput ti = new TextInput(td, "<Name>", "Enter your name here!"); p1.Content.Add(ti); td.Content.Add(p1); Paragraph p2 = new Paragraph(td); p2.TextContent.Add(new SimpleText(td, "Your surname: ")); ti = new TextInput(td, "<Surname>", "Enter your surname here!"); p2.Content.Add(ti); td.Content.Add(p2); // test save/load td.SaveTo(AARunMeFirstAndOnce.outPutFolder + "textinput.odt"); td.Load(AARunMeFirstAndOnce.outPutFolder + "textinput.odt"); td.SaveTo(AARunMeFirstAndOnce.outPutFolder + "textinput2.odt"); }