converting html to ppt,pptx
View Answers
October 24, 2009 at 11:37 AM
Hi Friend,
We are providing you a code that will convert html to ppt.We have used POI library.
import java.io.*;
import org.apache.poi.hslf.HSLFSlideShow;
import org.apache.poi.hslf.HSLFSlideShow;
import org.apache.poi.hslf.model.Slide;
import org.apache.poi.hslf.usermodel.*;
import org.apache.poi.hslf.model.TextBox;
public class ReadHTML{
public static void main(String[]args){
try{
File file = new File("Hello.html");
FileInputStream fis = null;
BufferedInputStream bis = null;
DataInputStream dis = null;
fis = new FileInputStream(file);
bis = new BufferedInputStream(fis);
dis = new DataInputStream(bis);
String st="";
while (dis.available() != 0) {
st+=dis.readLine().toString()+"\n";
}
System.out.println(st);
SlideShow slideShow = new SlideShow();
Slide slide = slideShow.createSlide();
TextBox txt = new TextBox();
txt.setText(st+" ");
slide.addShape(txt);
FileOutputStream out = new FileOutputStream("Hello.ppt");
slideShow.write(out);
out.close();
bis.close();
dis.close();
}
catch(Exception e){}
}
}
Thanks
October 24, 2009 at 1:57 PM
Thanks Brother,
I tried this example and it is working.... But i want display content only[In this example it includes tags[<html>,..] also]. Is it possible without tags?
And also is there any possible to convert to .ppts,docx,pdf...
October 24, 2009 at 1:57 PM
Thanks Brother,
I tried this example and it is working.... But i want display content only[In this example it includes tags[<html>,..] also]. Is it possible without tags?
And also is there any possible to convert to .ppts,docx,pdf...
February 8, 2013 at 12:11 PM
hay friend i want to know how can i convert ppt to html. i need this code for my website .
Related Tutorials/Questions & Answers:
Advertisements
converting html to ppt,pptx - Java Beginnersconverting html to
ppt,
pptx Hi,
i convert
html to .doc format.But i want to convert the
html to
ppt,xml,
pptx,docx,pdf..
Is there any... that will convert
html to ppt.We have used POI library.
import java.io.
Converting HTML to image - Java BeginnersConverting HTML to image
Is it possible to convert
html to image with java code ?
Hi friend,
Please give the problem in details for complete solution.
For read more information :
http
Converting HTML to XML - Java BeginnersConverting HTML to XML Hi, I am generating an
HTML file (JSP from a Java Struts App.) I need to figure out a way to create an XML file from that
HTML document. If you can refer me to some Java Code, that would
PSD to HTML Conversion ServicesPSD to
HTML Conversion Services - Rose India
We at Rose India utilize latest technologies to convert PSD design into
HTML format into various applications formats. We offer PSD to HTM conversion services for
converting the PSD design
HTMLHTML What is Semantic
HTML? What are the reasons for validating a
HTML HTMLHTML What is Semantic
HTML? What are the reasons for validating a
HTML HTMLHTML What is SPAN in
HTML htmlhtml How to add the calendar in
html code
HTMLHTML What is
HTML? What is a Hypertext link
HTMLHTML What is
HTML? What is a Hypertext link
HtmlHtml What is
HTML? What is a Hypertext link
HTMLHTML What is BODY in
HTML document
htmlhtml diffrence between
html and xml
htmladd a header in the
html page what we can do to add a header in the
html page
HTMLHTML How do we specify page breaks in
HTML HTMLHTML What is a tag? How can we use MARQUEE in
HTML htmlhtml how to convert
html page into jsp page
htmlhtml i want a registration page in
html with good background
HTMLHTML how can we give the unlimited size in the
html htmlhtml what we can do to add a header in the
html page
htmlhtml what we can do to add a header in the
html page
converting string to double in javaconverting string to double in java Please post an example to
converting string to double in java.
Thanks!
Convert String to Double Tutorial
HTMLHTML Hi,
What is the full form of
HTML?
Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
Hi,
The
HTML stands for HyperText Markup Language.
HTML is used to create webpage for world wide web
htmlhtml sir i am new to eclipse and i am created a
html program and also tomcat is running successfully in side the eclipse.but now how i deploy that
html program in the eclipse
htmlhtml Can we Access database through
html page and how,if not then why
HTMLHTML How do we create a link? What are the three types of form tags in
HTML htmlhtml how we can give the form actions in
html after register button in the login page
htmlAdding Header in HTML what we can do to add a header in the
html page
htmlhtml For what is used
HTML?
Using
HTML we can create a Web Page which can be viewed through a Web Browser over Internet.
HTML describes... or the End Tag is defined as </> . The whole
HTML document is enclosed
HtmlHtml in the web page if judge select the age and category then automatically under that conditions the details will be display in the form of grid
give me that code in
html and java
html html write a
html program to print "HELLO WORD"in red coaler font size 12 and italic stile
Here is a
html code that display the message "Hello World" in red font with size 12 and in italics.
<html>
<
HtmlHtml i am select the dateofbirth through the
html browser.but it can not save into the sql server 2008 database.any special code required to store the date in database by using java servlets
HTMLHTML I have created an info.html file for the applet.The class file is located in a directory different from the
HTML file.The info.html file I have created is below.
<HTML>
<HEAD>
<BODY>
<APPLET
Code
HTMLHTML in
html how can we can upload the file
<tr>
<td><strong>Video of the work:</strong>
<td><b>... the file give me the code for this in
html and java
HTMLHTML how can we design the gird form view in
html
i want the following fields in the grid form
The fields are Name of the candidate,Title... me the coding for this in
html htmlhtml Create a web page with the following using
HTML
i) To embed an image map in a web page
ii) To fix the hot spots
iii) Show all the related information when the hot spots are clicked.please reply me sir
HtmlHtml I was designing a webpage, i need to create selection boxes one beside other, how i'll be able to do it using
HTML code,
Please give me a sample code for that...
looking forward for your usefull code
Html:48:44 PM
Author : SAMSUNG
--%>
<%@page contentType="text/
html" pageEncoding="UTF-8"%>
<!DOCTYPE
HTML PUBLIC "-//W3C//DTD
HTML 4.01...;
<head>
<meta http-equiv="Content-Type" content="text/
html Html:48:44 PM
Author : SAMSUNG
--%>
<%@page contentType="text/
html" pageEncoding="UTF-8"%>
<!DOCTYPE
HTML PUBLIC "-//W3C//DTD
HTML 4.01...;
<head>
<meta http-equiv="Content-Type" content="text/
html HTML where i can store in the database
SEND ME THE CODE FOR THIS IN JAVA AND
HTML Converting PDF in to XMLConverting PDF in to XML I have to convert PDF into XMl without any loss in text.
Please suggest sth good
converting field to text sqlconverting field to text sql I wanted to convert the field to TEXT in SQL.. is it possible?
SQL -
Converting the field to TEXT works
SELECT CONVERT(TEXT,fld_name) FROM TABLE_NAME
SQL -
Converting HtmlHtml in
html form for the address by using input as textarea i am writing the code as
<tr>
<td valign="top"><strong>Address: </strong></td>
<td><textarea name="Address" rows="8
htmlhtml
HTML document with Javascript to count the number of vowels in a text typed in
text area.
please send the code.
Hi Ravi
Here...
HTML PUBLIC "-//W3C//DTD
HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
HtmlHtml can we send data from one
html page to another
html page? if yes how?
Yes, using javascript.
1)page1.html:
<html>
<form type=get action="page2.html">
<table>
<tr>
<td>First Name
HTML it shows as null.
here is the
html code for date of birth:
<tr>
<