Hi Nataraj,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your interest in Aspose.Slides.
Please use the following code snippet that will help you in adding a text frame in master slide. The text frame will be visible in all slides and can be altered using Aspose.Slides for Java.
try
{
//Opening an exisiting presentation
Presentation pres = new Presentation(new FileInputStream("d:\\ppt\\asd.ppt"));
//Setting slide view type
pres.setSlideViewType(5);
//Access the main master
Slide masterSld = pres.getMainMaster();
//Creating a shape to add text frame
Rectangle rec=masterSld.getShapes().addRectangle(200,500,1500,600);
TextFrame tf=rec.addTextFrame("This is sample text");
//Creating a body slide
Slide sdd=pres.addBodySlide();
//Write presentation on disk
pres.write(new FileOutputStream("d:\\ppt\\output234.ppt"));
}
catch(Exception ex)
{
System.out.println(ex.toString());
}
Thanks and Regards,