Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Inserting Text on Shape Using Java

In this example we are going to create auto shape and text in PowerPoint slide using java.

Tutorial Details:

In this example we are going to create auto shape and text in PowerPoint slide using java.

In this example we are creating the object of AutoShape .We are passing the shape type into AutoShape as argument parameter .We are passing ShapeTypes.Star32 as shape type. Then we are using setAnchor() method to give the position of the shape. To fill the color we are using setFillColr(Color colr) method. To insert text we are creating an object of RichTextRun constructor. In this we are passing text value. Finally we are adding it by using addShape() method.


 

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

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Inserting Text on Shape Using Java

View Tutorial:
Inserting Text on Shape Using Java

Related Tutorials:

A portable hill of beans
A portable hill of beans
 
Getting started with Java 2D - JavaWorld - July 1998
Getting started with Java 2D - JavaWorld - July 1998
 
Scripting power saves the day for your Java apps
Scripting power saves the day for your Java apps
 
Java Tip 81: Jazz up the standard Java fonts - JavaWorld
Java Tip 81: Jazz up the standard Java fonts - JavaWorld
 
Programming XML in Java, Part 3 - JavaWorld July 2000
Programming XML in Java, Part 3 - JavaWorld July 2000
 
Log4j delivers control over logging - JavaWorld November 2000
Log4j delivers control over logging - JavaWorld November 2000
 
Reflection vs. code generation
Reflection vs. code generation
 
A birds-eye view of Web services
A birds-eye view of Web services
 
SGLayout—a layout manager for the rest of us
SGLayout—a layout manager for the rest of us
 
J2ME devices: Real-world performance
J2ME devices: Real-world performance
 
An Introduction to Cryptography and the Java Cryptography Extension
An Introduction to Cryptography and the Java Cryptography Extension The Java Cryptography Extension (JCE) provides APIs for performing cryptographic operations in Java code. the JCE lets us scramble and unscramble data, annotate code and data with infor
 
libbraille
Libbraille is a computer shared library which makes it possible to easily develop for Braille displays. It provides a simple API to write text on the terminal, directly draw dots, or get the value of keys pressed on the Braille display.
 
OpenSign
OpenSign OpenSign is a java applet for signing text in a webbrowser using a PKCS-12 key-files or keys located in MS Crypto API CSP's in a Win32 environment. The applet is based on code kindly provided by IT-Practice and everyone is encouraged to subm
 
JGraph - The Java Graph Diagram Component
JGraph - The Java Graph Diagram Component JGraphAddons is a drop-in functional module that adds powerful and configurable layout algorithms to your existing JGraphs. They include hierarchical, circular and tree layouts capable of giving your JGraph app
 
PrEd
PrEd is a Java based graphical utility to find and edit Java property files in JAR, WAR, EAR and other kind of ZIP archives. It is the perfect tool for customizing Java applications, which use XML and Property files for their configuration.
 
PDFTextStream v1.1.2 Released; Fast Java PDF Text Extraction
PDFTextStream is the ideal solution for Java applications and J2EE web services that need to rapidly and accurately extract text and document metadata from PDF files.
 
datasift (Data validation + transformation framework)
What is DataSift? DataSift is a powerful java data validation and transformation framework, aimed at enterprise software development, which provides developers with an extensible architecture they can fully adapt to their software needs. Almost every fea
 
Unweaving a Tangled Web With HTMLParser and Lucene
In this article I'll show you the basic technique in building a search engine using two powerful Open Source products: HTMLParser and Lucene.
 
Adding slash "\" character before quote "'" in a query
Adding slash "\" character before quote "'" in a query Adding slash " \ " character before quote " ' " in a query During the inserting the records in the database if user enters the phrases like "What ' s your name?", database gives the error due
 
Developing Simple Struts Tiles Application
Developing Simple Struts Tiles Application Developing Simple Struts Tiles Application Introduction In this section I will show you how to develop simple Struts Tiles Application. You will learn how to setup the Struts Tiles and create example
 
Site navigation
 

 

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

Copyright © 2006. All rights reserved.