ecar.servlet.relatorio
Class MontaPPT
java.lang.Object
ecar.servlet.relatorio.MontaPPT
public class MontaPPT
- extends java.lang.Object
Method Summary |
static void |
adicionaLinha(org.apache.poi.hslf.model.Slide s,
int posicaoX,
int posicaoY,
int largura,
int altura,
java.awt.Color cor)
|
static void |
adicionaOrgao(org.apache.poi.hslf.model.Slide s1,
java.lang.String orgao,
java.lang.String nomeItem,
java.lang.String coordenador)
|
static void |
adicionaRodape(org.w3c.dom.Element root,
org.apache.poi.hslf.model.Slide s1)
|
static org.apache.poi.hslf.model.TextBox |
adicionaTextBox(org.apache.poi.hslf.model.Slide s1,
java.lang.String texto,
java.awt.Color cor,
int posicaoX,
int posicaoY,
int largura,
int altura,
int formato)
|
static void |
adicionaTitulo(javax.servlet.http.HttpServletRequest request,
org.w3c.dom.Element root,
org.apache.poi.hslf.model.Slide s1,
org.apache.poi.hslf.usermodel.SlideShow ppt,
java.lang.String caminhoImagens)
|
static void |
exibePPT(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.io.FileOutputStream out,
java.lang.String caminho)
|
static void |
formataFonte(org.apache.poi.hslf.model.TextBox ct,
int tamanho,
java.lang.String nome,
boolean ehNegrito,
boolean ehItalico,
boolean ehSublinhado,
java.awt.Color cor,
int alinhamento)
|
void |
parserXMLPPT(java.lang.StringBuffer xml,
java.lang.String caminhoImagens,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static java.lang.String |
pegarAtributo(org.w3c.dom.Document xml,
java.lang.String noh,
java.lang.String atributo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MontaPPT
public MontaPPT()
parserXMLPPT
public void parserXMLPPT(java.lang.StringBuffer xml,
java.lang.String caminhoImagens,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
formataFonte
public static void formataFonte(org.apache.poi.hslf.model.TextBox ct,
int tamanho,
java.lang.String nome,
boolean ehNegrito,
boolean ehItalico,
boolean ehSublinhado,
java.awt.Color cor,
int alinhamento)
adicionaTextBox
public static org.apache.poi.hslf.model.TextBox adicionaTextBox(org.apache.poi.hslf.model.Slide s1,
java.lang.String texto,
java.awt.Color cor,
int posicaoX,
int posicaoY,
int largura,
int altura,
int formato)
adicionaLinha
public static void adicionaLinha(org.apache.poi.hslf.model.Slide s,
int posicaoX,
int posicaoY,
int largura,
int altura,
java.awt.Color cor)
pegarAtributo
public static java.lang.String pegarAtributo(org.w3c.dom.Document xml,
java.lang.String noh,
java.lang.String atributo)
adicionaRodape
public static void adicionaRodape(org.w3c.dom.Element root,
org.apache.poi.hslf.model.Slide s1)
adicionaTitulo
public static void adicionaTitulo(javax.servlet.http.HttpServletRequest request,
org.w3c.dom.Element root,
org.apache.poi.hslf.model.Slide s1,
org.apache.poi.hslf.usermodel.SlideShow ppt,
java.lang.String caminhoImagens)
adicionaOrgao
public static void adicionaOrgao(org.apache.poi.hslf.model.Slide s1,
java.lang.String orgao,
java.lang.String nomeItem,
java.lang.String coordenador)
exibePPT
public static void exibePPT(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.io.FileOutputStream out,
java.lang.String caminho)
Copyright © 2007, PRODEPA - Processamento de Dados do Pará