Jump to content


Photo

Gerando Relatórios Em Rtf


  • Faça o login para participar
16 replies to this topic

#1 MarviN*

MarviN*

    nw . newton web

  • Usuários
  • 780 posts
  • Sexo:Não informado
  • Localidade:Brasília - DF

Posted 24/08/2004, 15:08

Este é um script auto-explicativo de como gerar relatórios em RTF (abre no word) a partir de modelos. Segue o leiame.txt que vem junto no .zip:


Para utilizar, basta configurar o arquivo MODELO.RTF, preferencialmente no WordPAD.

O script relatorio.php abre o modelo, faz as substituições dos valores e salva um novo arquivo rtf chamado relatorio_data.rtf. Os comentários dentro do código o tornam auto-explicativo. Qualquer dúvida, entre em contato por email.

Segue anexo um exemplo de relatório gerado (troquei a extensão de .ZIP para .RAR, será necessário o WinRAR ou WinACE pra descompactar).




Newton Wagner
newtonwm@terra.com.br

Attached Files


Edição feita por: MarviN*, 25/08/2004, 10:51.

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
[ Blog Desenvolvimento Web: http://www.newtonwagner.net/blog ]
[ Diário da Selva: http://www.diariodaselva.com/ ]

[ "Não existe um caminho para a paz; a paz é o caminho." Mahatma Gandhi ]

#2 Marcão

Marcão

    Marcãaaaaaaaao

  • Usuários
  • 1754 posts
  • Sexo:Não informado
  • Interesses:Faixa preta de Muay-Thay<br>Faixa Roxa de Jiu-Jitsu<br>:D<br>Um dia eu chego lá

Posted 25/08/2004, 07:44

não consegui baixar!!
manda para: mzaidan@intelig.com.br
por favor
Marcão -=- PHP é coisa de MESTRE e falo mais nada -=-
Minha Foto
"Não temas,segue adiante,não olhes para trás!!
Segura na mão de
Deus e vai.."

#3 Balala

Balala

    What you want for yourself?

  • Ex-Admins
  • 3357 posts
  • Sexo:Não informado
  • Localidade:Jaraguá do Sul - SC
  • Interesses:http://forum.wmonline.com.br/index.php?showtopic=5792

Posted 25/08/2004, 07:58

Os arquivos com extensão zip, enviados para o fórum, estão com problemas ao tentarem ser abertos com o WinZIP. Tente utilizar outro, como o WinRar, por exemplo, que vai funcionar (y)
Balala - Admin Geral Webfórum - Retired
Twitter
Stop Spreading Lies!
Posted Image

#4 Marcão

Marcão

    Marcãaaaaaaaao

  • Usuários
  • 1754 posts
  • Sexo:Não informado
  • Interesses:Faixa preta de Muay-Thay<br>Faixa Roxa de Jiu-Jitsu<br>:D<br>Um dia eu chego lá

Posted 25/08/2004, 08:00

Os arquivos com extensão zip, enviados para o fórum, estão com problemas ao tentarem ser abertos com o WinZIP. Tente utilizar outro, como o WinRar, por exemplo, que vai funcionar (y)

Aqui é winrar
acontece que nem baixar ele baixa!!
manda para meu e-mail ae!!
mzaidan@intelig.com.br
obs: To tentando falar com vc no msn e nada
vc é mau!!
Marcão -=- PHP é coisa de MESTRE e falo mais nada -=-
Minha Foto
"Não temas,segue adiante,não olhes para trás!!
Segura na mão de
Deus e vai.."

#5 MarviN*

MarviN*

    nw . newton web

  • Usuários
  • 780 posts
  • Sexo:Não informado
  • Localidade:Brasília - DF

Posted 25/08/2004, 10:49

Fala galera,


Mandei pra vc o email Marcão...

Po, nem lembrava dessa parada do .ZIP, vou compactar com o winrar aqui e postar novamente!! Valeu ae XPlayer!
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
[ Blog Desenvolvimento Web: http://www.newtonwagner.net/blog ]
[ Diário da Selva: http://www.diariodaselva.com/ ]

[ "Não existe um caminho para a paz; a paz é o caminho." Mahatma Gandhi ]

#6 Marcão

Marcão

    Marcãaaaaaaaao

  • Usuários
  • 1754 posts
  • Sexo:Não informado
  • Interesses:Faixa preta de Muay-Thay<br>Faixa Roxa de Jiu-Jitsu<br>:D<br>Um dia eu chego lá

Posted 25/08/2004, 12:09

muito bom
mas meu problema ainda continua!!
como que eu faço para editar um texto??
deixa-lo negrito por exemplo!!
o texto vindo do sql!!
Marcão -=- PHP é coisa de MESTRE e falo mais nada -=-
Minha Foto
"Não temas,segue adiante,não olhes para trás!!
Segura na mão de
Deus e vai.."

#7 Alewoods

Alewoods

    Novato no fórum

  • Usuários
  • 1 posts
  • Sexo:Não informado

Posted 20/06/2008, 09:31

Este é um script auto-explicativo de como gerar relatórios em RTF (abre no word) a partir de modelos. Segue o leiame.txt que vem junto no .zip:


Para utilizar, basta configurar o arquivo MODELO.RTF, preferencialmente no WordPAD.

O script relatorio.php abre o modelo, faz as substituições dos valores e salva um novo arquivo rtf chamado relatorio_data.rtf. Os comentários dentro do código o tornam auto-explicativo. Qualquer dúvida, entre em contato por email.

Segue anexo um exemplo de relatório gerado (troquei a extensão de .ZIP para .RAR, será necessário o WinRAR ou WinACE pra descompactar).




Newton Wagner
newtonwm@terra.com.br



ae Newton!

também estou precisando deste arquivo, você pode me mandar ?
stigger@gmail.com

Valeu

#8 Morellato

Morellato

    Novato no fórum

  • Usuários
  • 1 posts
  • Sexo:Masculino
  • Localidade:Rondonia

Posted 05/03/2010, 14:56

ola marvim gostaria de saber se tem como gerar varios ralatorios no mesmo rtf???

por exemplo

relatorio 1 de fulano de tal da silva
relatorio 2 de siclano de alguma coisa

sendo que a quantidade de relatorios possa mudar, por exempl

hoje sao 3 relatorios

amanha 5

depois 2

quinta feira 11

é possivel?

#9 Milton Costa

Milton Costa

    Novato no fórum

  • Usuários
  • 1 posts
  • Sexo:Masculino
  • Localidade:Cáceres
  • Interesses:Area de Desenvolvimento, por fazer algum tempo que estou afastado do mundo do Desenvolvimento de Sistemas, estou encontrando dificuldades, por que ambientes evoluiram, interfaces, etc...

Posted 06/07/2011, 02:32

Este é um script auto-explicativo de como gerar relatórios em RTF (abre no word) a partir de modelos. Segue o leiame.txt que vem junto no .zip:


Para utilizar, basta configurar o arquivo MODELO.RTF, preferencialmente no WordPAD.

O script relatorio.php abre o modelo, faz as substituições dos valores e salva um novo arquivo rtf chamado relatorio_data.rtf. Os comentários dentro do código o tornam auto-explicativo. Qualquer dúvida, entre em contato por email.

Segue anexo um exemplo de relatório gerado (troquei a extensão de .ZIP para .RAR, será necessário o WinRAR ou WinACE pra descompactar).

Testei ele agora localmente e funcionou, e ja tenho algumas ideias pra usa-lo, assim que possivel, vou postar alguns bem basicao para ajudá-los - é isso, é um exemplo pratico usando array, que eu ja tinha perdido a pratica... to pensando em usa-lo com tabelas mysql, puxando registros.

É isso, turma me aguardem que vou colaborar com a galera ae, OKAY?

Milton Costa
Cáceres/MT.


Newton Wagner
newtonwm@terra.com.br



ae Newton!

também estou precisando deste arquivo, você pode me mandar ?
stigger@gmail.com

Valeu



#10 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 10/10/2017, 13:08

Can You Buy Cialis In Dubai Propecia Nipple Tenderness vardenafil in osterreich erhaltlich Vademecum O Propecia

#11 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 28/10/2017, 18:33

Paroxetine 20mg No Prescription Generic Cialis Professional 20mg online pharmacy Zithromax To Buy Uk
Acheter Le Levitra Propecia Finacapil buy viagra 5mg
Meinungen Zu Priligy viagra Priligy Sample Oral Amoxicillin Versus Oral Penicillin
Viagra In The Netherlands Cialis Professional Erfahrung online pharmacy order generic worldwide isotretinoin 10mg tablet usa
Viagra E Donne viagra Tablet Viagra
Comprare Viagra Sin Receta buy viagra online Cialis Diario Argentina Cialis Farmaco Non Prescription Tadalafil
Injectable Amoxicillin U K viagra Xenical Generique Cephalexin Black Market Australia Biaxin 500 Mg Amoxil 500 Mg
Propecia Front Scalp Compra Kamagra Contrareembolso Order Viagra Usa Pharmacy cialis price Como Conseguir Cytotec En Chicago Nolvadex Cycle
Levitra Orodispersibile Prezzo In Farmacia Ciprofloxacin 500mg To Buy Rx Canada Pharmacy Accutane buy viagra Buy Propecia Bangkok

#12 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 28/10/2017, 21:17

Cheap Doxycycline Online No Prescription Best Place Buy Cialis 40 Mg Online viagra Propecia Need Prescription Side Effects Buy Cialas From Usa Cabergoline 0.5 Mg Tab
Cialis Presentaciones Ordonnance Propecia Identify Amoxicillin Capsual viagra Generic Amoxicilina Bacterial Infections No Doctor Paris Cephalexin For A Canine
Cialis 5 Milligrams Pilules Cialis E Gastrite Buy Dapoxetine Hydrochloride generic viagra Levitra 40 Mga For Sale Mexico Beach Cialis Viagra Softabs Canadian Viagra 400mg
Cialis Viagra Holland Best Uk Online Pharnacy viagra online pharmacy Mail Order Levitra
Viagra Pharmacy Purchase Buy Amoxicillin At Pet Store Kamagra 100 Gel Oral levitra sold over the counter Xenical Sans Ordonnance Xenical Comprare Viagra Generico
Viagra Online Prices Priligy Acquistare In Italia Branded Cialis Mail Order viagra Buy Real Xenical
Cephalexin Online levitra coupon free trial Pregnancy Category And Amoxicillin Viagra Quoi Sert Farmaco Cialis 20 Mg
Cialis Langzeitfolgen Achat Nolvadex Sans Ordonnance viagra cialis Zithromax Interactions Cialis Historia
Prix Viagra Pharmacie Paris levitra non prescription When Does Amoxil Suspension Go Bad Levitra Generico On Line Cialis Que Es Yahoo
Acquisto Viagra Line Italia Amoxil Dosing For Sinus Infection Cialis 10 Mg Durata Effetto viagra Kamagra Tablet Cephalexin Brand Name
Furosemide Without Prescription Canada Cialis Con Cerveza levitra paypal accepted Prix Cialis 10mg Levitra Ohne Rezept Schweiz Cialis Costo Originale

#13 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 29/10/2017, 15:52

Where To Purchase Generic Amoxicilina Quick Shipping Amitriptyline Online Uk Kamagra En Jovenes viagra Priligy Administracion Uses Cephalexin 500mg
Nz Viagra Sales levitra pills for sale Dove Comprare Il Cialis Generico On Line Pharmacy No Prescription Needed
Order Now Isotretinoin Generic Avanafil Clomid For Sale Visa Payment In Uk viagra Comprare Cialis Senza Ricetta
Cephalexin Is A Strong Anti Biotic Cialis 5 Mg Precio Farmacia Posologie Viagra 25mg viagra Keflex To Treat Spondylitis Can Amoxicillin Cause False Positives
Generic Real Provera Medication Best Website Fedex Viagra Free Belgium Propecia Generique 50mg cialis elevitra professionale Order Metformin Online
Baclofen Pas Cher En Canada Buy Kamagra In Uk Viagra 100mg Angebot viagra Mexican Pharmacies Amoxicillin Overnight Shipping Over The Counter Celebrex Equivalent Propecia O Aminexil
Clobetasol Pills Free Shipping Donde Puedo Comprar Viagra Sin Receta viagra Viagra Generique Au Maroc Buy Fincar Online Review United States

#14 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 31/10/2017, 09:56

Propecia Doping Finasteride Cialis Online Madrid Levitra Bayer Bestellen viagra Proscar Y Propecia Drug cheap accutane online Cialis Original De La India
What Is Viagra Jelly Cialis Medication Amoxicillin Safe Dose buy vardenafil 40 mg malaysia Propecia Tu Retrato Cialis Da 20 Mg
Buy Deprenyl Online Propecia Online Without A Prescription Buy On Line Pharmacy No Rx viagra Where To Buy 3 10percent Cream Eurax
Informacion Sobre La Viagra Clomid Ne Marche Pas viagra Cilas Pills On Line Cuanto Cuesta Cialis En Espana
Triple S Paga Viagra Is Amoxicillin A Penicillin viagra Cialis Sur Ebay
Buy Stendra Online Levitra Funziona Davvero Methotrexate And Amoxicillin Interactions viagra Cephalexin Throat
Cephalexin For Dental Infections Buy Prevacid Odt viagra online Propecia Contraindications Androgenetic Alopecia Metronidazole For Purchase Ed Pills Comparison
Best Canadian Drugstore Online viagra online pharmacy Dose Of Amoxicillin For Sinus Infection

#15 fapedlok

fapedlok

    Ativo

  • Usuários
  • 341 posts
  • Sexo:Masculino
  • Localidade:Brisbane

Posted 31/10/2017, 21:39

Discounts! best makeup things progect13.jpg Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). buy.png READ MORE направляющие клапанов опельBrown leather band collar motorcycle jacket ( 385.16 $) ForzieriWR01 2.4GHz 300Mbps Wireless Repeater Router WiFi Signal Extender ( $9.74 )Stylish slingback and lace-up design pumps for women ( 28.63 $)6packs hot sale baby foot peeling mask exfoliating socks for pedicure sosu exfoliating foot care dead skin removal foot mask ( 7.79 $)7a brazilian virgin hair straight 4pcslot brazilian straight hair 100% unprocessed human hair weave brazilian hair weave bundle ( 79.30 $)Teclast Tbook 16 Power Tablet PC-345.06 $Brazilian virgin hair 4 bundles grace brazilian body wave 8a grade virgin unprocessed human hair brazilian hair weave bundles ( 60.00 $)Tatiana tetris black and white leather shoulder bag ( 791.72 $) Paula CademartoriBest selling vestidos 2016 elegant lace patchwork solid sleeveless a-line fashion dress sexy slim party dresses vestido de festa ( 31.99 $)леомакс интернет магазин акции скидки2x t10 194 168 w5w 1 smd led white car auto side wedge tail light bulb ( 1.20 $)JJRC Q1 Infrared RC Wall Climbing Vehicle Creeping Toy Car 14.39$Prebuilt Kanthal A1 Super Clapton Coil ( $2.18 )shopping live телемагазин смотреть 30bb.jpg
Discounts! top products for 2017

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Contact s genuine crazy horse cowhide leather men wallets fashion purse with card holder vintage long ( 42.50 $)
Black carbon fiber printed eco leather backpack ( 161.76 $) Armani Jeans
Chic style embellished cross shape silver stud earring ( 5.18 $)
Moschino teddy bear solid silk jacquard narrow tie ( 65.90 $) Moschino
купить аккаунт battlefield bad company 2
Queen Hair Products Brazilian Loose Wave Virgin Hair 100% Unprocessed Human Hair Extension Good Quality Tangle Free 3pcslot ( 96.00 $)
сервер кс 1 6
Ltgfur real mink fur hat knitted winter hat mink hat fox fur pom poms new cap 2016 new hot sale high quality female beanies ( 30.00 $)
New 99 wireless zones app autodial gsm touch keyboad lcd intruder voice house room safe secure gas alarm detector auto dialer ( 131.40 $)
Professional tool for service centers and industrial enterprises | the Internet shop of auto "Garitos"
Hejs, Helen
шкив коленвала форд фокус 2
Loving Mother Agate 18k Gold Cameo Pendant ( 168.00 $)
Lady fashion dress shoes genuine leather bridal wedding shoes homecoming party prom shoes rhienstone mother of the bride shoes ( 108.36 $)
впускной +и выпускной распредвал ваз 2112 отличия


18bb.jpg
Discounts! the best makeup products 2017

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Full lace human hair wigs for black women 8a kinky curly 130% density glueless lace front human hair wigs brazilian hair wigs ( 91.00 $)
8A brazilian body wave 3pcs human hair mink brazilian virgin hair body wave meches bresilienne lots brazilian hair weave bundles ( 65.00 $)
Unprocessed brazilian virgin hair body wave 3pcs brazilian hair weave bundles xbl human hair body wave tissage bresilienne ( 67.90 $)
грм 405 евро 3
Dzhon Uejn
Retail A+ fishing lures, assorted colors, minnow crank 80mm 8.5g,magnet system. bearking 2016 hot model crank bait ( 5.00 $)
тим фортресс 2 порно гиф +с
Amber Crystal Clip-On Earrings ( 68.00 $)
8pcsHot The best quality sharp razor blades for men shaving,mache 3 turbo razor blade standard for all the countries men ( 3.96 $)
12 pcsLot Syringe pen Ballpoint pens Kawaii Stationery ballpen caneta Novelty gift Office accessories school supplies 6219 ( 8.00 $)
Battleship Model Key Ring Pendant 6 x 4.3cm Decoration Spaceship Shape Movie Product ( $1.67 )
Pzoz for iphone7 case rhinestone glitter silicone cover original for iphone 7 plus luxury crystal diamond ( 4.99 $)
Simplee turtleneck off shoulder knitted sweater women autumn fashion tricot pullover jumpers pull femme oversized capes ( 30.98 $)
Geo Print Mens Wallet ( 98.00 $)
Bostanten real genuine leather women wallets brand design high quality 2016 cell phone card holder long lady wallet purse clutch ( 43.99 $)


93.png
Discounts! best hair care products

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Plus size round neck bear head printed short sleeve men's t-shirt ( 20.29 $)
shoppinglive ru каталог
New wirelesswired gsm voice home security burglar android ios alarm system auto dialing dialer sms call remote control setting ( 110.20 $)
Amazing Necklace ( 180.00 $)
For Samsung Galaxy A3 A5 A7 2016 Case Motomo Brush Case For Samsung A3 A5 A7 A8 A9 J5 J7 Note 3 4 5 S3 S5 S6 S7 Edge Cover Funda ( 2.49 $)
GM320 Infrared Thermometer ( $9.22 )
BLUBOO XTOUCH 3GB 4G Smartphone-152.54 $
Diy dmc home decoration cross stitching handmade needlework cross stitch kit precise printed garden cottage design ( 11.70 $)
Midnight blue wool and cashmere stole ( 44.93 $) Mila Schon
Original Chuwi HI10 PRO / Hibook / Hibook Pro Keyboard ( 39.43 $)
phone number +is invalid
Rodina (2 sezon)
HOZAN 150ml Stainless Steel Copper Core Alcohol Bottle ( $6.99 )
8a rosa hair products malaysian body wave 3pcslot,luvin hair products malaysian virgin hair,sassy mitchell hair wonder beauty ( 56.39 $)
3A Motorcycle Battery Charger ( $7.59 )


102bb.png
Discounts! best retail products

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
8GB Ram+128GB SSD Windows 10 system Ultrathin Quad Core J1900 Fast Boot Multi-language Laptop Notebook Netbook Computer ( 309.00 $)
Nylon outdoor male female sport bag raveling bag waterproof hiking handbag fitness shoulder gym bag training yoga duffel bag ( 15.43 $)
UMI Super 4G Phablet-259.90 $
Cute Toothbrush Holder Suction Hooks Cups Organizer Bathroom Accessories Tooth Brush Holder Cup Wall Mount Set Bathroom Sucker ( 3.37 $)
P001 Blank Tattoo Simulation Practice Skin Tattoo Accessories ( $1.71 )
Brazilian virgin hair with closure 34 bundles human hair curly with closure mongolian kinky curly virgin hair with closure ( 85.00 $)
Tiny Flexible Detachable USB Fan Low Power Consumption Silence Fan ( $1.30 )
New Fashion Brand year ice silk cotton Scarf women warm soft Tassel Scarf Wrap Shawl scarves Lovers Christmas gift ( 3.85 $)
VKWORLD VK700X 3G Smartphone-62.05 $
UMI Super 4G Phablet ( 169.99 $)
Cool Gadgets, Electronic Gadgets on Sale, Free Shipping for all New and Cool Gadgets at MiniInTheBox
Redentore 3 - Multicolor Murano Glass and Silver Leaf Choker ( 88.00 $)
XiaoMi Mi4 2GB 4G Smartphone-142.44 $
Double Chiffon Silk Stole ( 68.60 $)
Multicolor Leather Pouch ( 195.00 $)


279.jpg




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq