Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Working on Rich Text Format on Slide Using Java

In this example we are going to create a slide then we will learn how we can work on rich text using java.

Tutorial Details:

In this example we are going to create a slide then we will learn how we can work on rich text using java.

In this example we are creating an object of SlideShow after that we are using createSlide() method to create an object of Slide. To make a textbox we need first create an object of TextBox .Then by use of setText(String str) we can pass the string value in textbox.To get blocks of text we need getTextRuns()
The getTextAsString() and getTextAsVector() are two method which is used to get the text back. The getTextAsString() returns a single string with all the text in it and getTextAsVector() returns a vector of strings, one for each text record found in the file.
Changing Tex. We can change the text via TextRun.setText(String) or RichTextRun.setText(String). But it is not yet possible to add additional TextRuns or RichTextRuns.


 

Rate Tutorial:
http://www.roseindia.net/java/poi/workingWithTextFormat.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Working on Rich Text Format on Slide Using Java

View Tutorial:
Working on Rich Text Format on Slide Using Java

Related Tutorials:

XML JavaBeans, Part 1 - JavaWorld February 1999
XML JavaBeans, Part 1 - JavaWorld February 1999
 
Using XML and JSP together - JavaWorld March 2000
Using XML and JSP together - JavaWorld March 2000
 
WAP for Java developers - JavaWorld June 2000
WAP for Java developers - JavaWorld June 2000
 
XML document processing in Java using XPath and XSLT - JavaWorld September 2000
XML document processing in Java using XPath and XSLT - JavaWorld September 2000
 
Mapping XML to Java, Part 1 - JavaWorld August 2000
Mapping XML to Java, Part 1 - JavaWorld August 2000
 
XML messaging, Part 1 - JavaWorld March 2001
XML messaging, Part 1 - JavaWorld March 2001
 
Doclet your servlet!
Doclet your servlet!
 
Introduction to the Java Mail API
Introduction to the Java Mail API
 
XML documents on the run, Part 1
XML documents on the run, Part 1
 
How to build an interpreter in Java, Part 1: The BASICs (JavaWorld / May 1997 / by Chuck McManis)
How to build an interpreter in Java, Part 1: The BASICs (JavaWorld / May 1997 / by Chuck McManis)
 
Enhance your J2EE presentation layer
Enhance your J2EE presentation layer
 
Quite poor testing
Quite poor testing
 
Smart Value Object goes one step further
Smart Value Object goes one step further The Smart Value Object allows server components to track client-side modification of business objects in a rich client/J2EE server environment, by using the latest features offered by bytecode processing tools.
 
Java and Sound, Part 1
On systems that support it, sound can be an important part of many applications. Sound can be used to notify the user that her attention is required, to add the extra dimension of aural feedback to visual GUIs, or for entertainment purposes.
 
Filtering and Transforming Digital Images
Filtering and Transforming Digital Images In this Issue Welcome to the Core Java Technologies Tech Tips for April 7, 2004. Here you\'ll get tips on using core Java technologies and APIs, such as those in Java 2 Platform, Standard Edition (J2SE).
 
Prototyping Desktop Applications
Prototyping Desktop Applications a prototype can be used to gather user feedback very early in the development process. The prototype can also help you to estimate the time and resources needed to complete your project. It takes a lot of work to build a
 
Integrating Macromedia Flex with Java
Integrating Macromedia Flex with Java. Rich Internet Application (RIA) technologies are emerging to handle the limitations of the presentation layer. This article will teaches you Rich Internet Application development
 
What is WAP? Wireless Application Protocol
What is WAP? Wireless Application Protocol Tutorial What is WAP? W ireless Application Protocol or WAP for short is simply a protocol - a standerized way for delivering Internet data over wireless networks. Thus WAP links Wireless Network with
 
Creating EJB clients using the Eclipse Rich Client Platform
This article shows how to build a sample EJB client using the Eclipse Rich Client Platform (RCP), which has become increasingly popularity due to its extensible nature.
 
Simredo 4.0 - Java Unicode Editor
Simredo is a free Java Unicode editor.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.