Use the only free ASP component for generating Excel files on the fly!

DypsRTF est un objet RTFWritter permettant de générer dynamiquent depuis ASP un fichier RTF à la volée.

Download Products


DypsWebCapture : Capture Web page as thumbnail image

Documentation
Example
Download
Buy

New release with embed IE and Firefox rendering engine !



DypsFTP : Manage a FTP site from your script

Documentation
Buy


DypsImg2SWF : Protect and save your image as SWF/Flash format!

Documentation
Example
Download
Buy


DypsXLS for ASP: Générateur de fichier Excel

New features!
Documentation
Exemple d'utilisation
Download
Buy


DypsMetaGrabber : get Meta Tag from any web page!

Documentation
Example
Download
Buy


DypsAntiSpam for ASP

Features
Exemple d'utilisation
Download
Buy

DypsoPRank for ASP

Features
Exemple d'utilisation
Download
Buy

Pop3 Checker for ASP

Features
Exemple d'utilisation
Download
Buy

SVG Pie chart Maker for ASP

Features
Exemple d'utilisation
Download

DypsRTF for ASP

Features
Exemple d'utilisation
Download
Buy

What's New ?


Mise en ligne du premier outil gratuit pour générer des fichiers Excel depuis ASP : DypsXLS !
[Lire la suite]

Et un forum Le site se dote d'un forum pour vous permettre de partager toujours plus.
[Rejoigner nous]

Annuaire de scripts ! Un annuaire de scripts et de liens utiles vers des ressources pour le développement
[Lire la suite]

Création d'un outil gratuit pour retrouver ses mails : Pop3 Checker for free !
[Lire la suite]

Création d'un outil gratuit pour générer des graphiques vectoriels à la volée: Free SVG Pie chart Maker !
[Lire la suite]

Composant de génération de fichiers RTF gratuit

Techniques


  • Component of generation of free files in RTF format:

In order to produce reports one of the possibility is to generate a file rtf (Rich Text Format). This format brings a great flexibility indeed and is easy to implement. The DypsRTF component allows the generation of a file format rtf with the flight.

How to use it :

<%


set p = server.createObject("DypsRTF.Document")
p.Header = "hello"

p.WriteBlankLine
p.WriteBlankLine

'Set the font and alignment
p.setFont("arial")
p.alignjustify

p.writebold("Rich Text Format (RTF) Specification, version 1.6")
p.WriteBlankLine
p.WriteBlankLine

p.WriteText("Microsoft Corporation")
p.writeTab
p.WriteText("May 1999")

p.WriteText("Summary: ")
  
  
p.WriteText("The Rich Text Format (RTF) Specification "&_
"provides a format for text and graphics interchange that"&_
" can be used with different output devices, operating "&_
"environments, and operating systems. RTF uses the American "&_
"National Standards Institute (ANSI), PC-8, Macintosh, or "&_
"IBM PC character set to control the representation and "&_
"formatting of a document, both on the screen and in print."&_
" With the RTF Specification, documents created "&_
"under different operating systems and "&_
"with different software applications "&_
"can be transferred between those operating systems "&_
"and applications. (248 printed pages)")
 
p.AlignRight
p.WriteText("The Rich Text Format (RTF) Specification"&_
" is a method of encoding formatted text and graphics for "&_
"easy transfer between applications. Currently, users depend "&_
"on special translation software to move word-processing "&_
"documents between different MS-DOS®, Microsoft® Windows®,"&_
" OS/2, Macintosh®, and Power Macintosh® applications.")
 
  
p.AlignLeft 
p.WriteText("The RTF Specification provides a format "&_
"for text and graphics interchange that can be used with "&_
"different output devices, operating environments, and "&_
"operating systems. RTF uses the American National "&_
"Standards Institute (ANSI), PC-8, Macintosh, or IBM PC "&_
"character set to control the representation and formatting"&_
" of a document, both on the screen and in print. With the"&_
" RTF Specification, documents created under different "&_
"operating systems and with different software applications"&_
" can be transferred between those operating systems and "&_
"applications. RTF files created in Word 6.0 (and later) "&_
"for the Macintosh and Power Macintosh have a file"&_
" type of RTF.")
p.WriteBlankLine

p.writeItalic("This is italic")

p.WriteBlankLine


'Others fonts
p.setFont("times new roman")
p.writetext("words in times")
p.WriteBlankLine


'p.setFont("courier")
'p.writetext("words in courier")
'p.WriteBlankLine
	
	
'p.setFont("arial")
'p.writetext("words in arial")
'p.WriteBlankLine

'Save the file on disk
'be sure to have write permission
'before!  
p.SaveDoc(server.mapPath("myDoc.rtf"))
set p = nothing
  

  %>


Documentation Page précédente