| VB Extension Tools HTML project report | |
| Project: CodeHelperCollection | Module: TextOutput |
| Module Type  | Class module  |
|---|---|
| File  | C:\Code\EE-projects\units\vb\standard\src\TextOutput.cls  |
| Author  | Ralf Kunsmann  |
| Date  | 2001 11 20  |
| Purpose  |
This is a wrapper to the class 'CTextAusgabe', which was origianly implemented between 1996 and 1998 for the us within different apps for printing purpose. Though we need some printing functions in the VisiPIG app without being strained to do so much work, we publish the 'CTextAusgabe' class by this wrapper. A very powerful feature of the 'CTextAusgabe' class is the ability to print data of a hole grid control. This works even if the grid is larger the a default page!!! To do so, just create an instance of 'CTextAusgabe', set the 'GridControl' property to the meant grid control and call 'PrintGrid()' methode. TODORKN: several documentation.  |
| CTextAusgabe (TextOut) |
| Procedure 'Class_Initialize' | List of procedures |
| Scope/Type  | Private Sub  |
|---|
| Procedure 'Alignment' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Integer  |
| Procedure 'CurrentX' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Single  |
| Procedure 'CurrentY' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Single  |
| Procedure 'DateColumn' | List of procedures |
| Scope/Type  | Public Property (Let)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'FontNameForHeaders' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'FontName' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As String  |
| Procedure 'FontBold' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Boolean  |
| Procedure 'FontItalic' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Boolean  |
| Procedure 'FontUnderline' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Boolean  |
| Procedure 'FontSize' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Integer  |
| Procedure 'GridControl' | List of procedures |
| Scope/Type  | Public Property (Set/Get)  |
|---|---|
| Code return value  | Object ' As Control  |
| Purpose  |
'Property Get FrameType() As Integer    FrameType = TextOut.RahmenTyp 'End Property 'Property Let FrameType(RHS As Integer)    TextOut.RahmenTyp = RHS 'End Property '  |
| Procedure 'GridIsFlexGrid' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | Boolean  |
| Procedure 'LineFeed' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Boolean  |
| Procedure 'NoDateInPageHeader' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Boolean  |
| Procedure 'OutPutTarget' | List of procedures |
| Scope/Type  | Public Property (Set/Get)  |
|---|---|
| Code parameters  | RHS As Object  |
| Procedure 'PrinterChecked' | List of procedures |
| Scope/Type  | Public Property (Let)  |
|---|---|
| Code parameters  | RHS As Boolean  |
| Procedure 'PageTop' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Long  |
| Procedure 'PageLeft' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Long  |
| Procedure 'PageWidth' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Long  |
| Procedure 'PageHeader' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'PageFooter' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'PrintHeight' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Integer  |
| Procedure 'PosY' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Integer  |
| Procedure 'PosX' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Integer  |
| Procedure 'PrintWidth' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Integer  |
| Procedure 'ScaleLeft' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Single  |
| Procedure 'ScaleTop' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Single  |
| Procedure 'TableHeader' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'TextWidth' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | Long  |
| Procedure 'TextHeight' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | Long  |
| Procedure 'Text' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'PrintPosX' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'PrintText' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'PrintGrid' | List of procedures |
| Scope/Type  | Public Sub  |
|---|---|
| Code parameters  | Optional Zoom  |
| Procedure 'PaintPicture' | List of procedures |
| Scope/Type  | Public Sub  |
|---|---|
| Code parameters  |
Picture As StdPicture Optional X1 As Single Optional Y1 As Single Optional Width1 As Single Optional Height1 As Single Optional X2 As Single Optional Y2 As Single Optional Width2 As Single Optional Height2 As Single Optional OpCode As Long  |
| Procedure 'PrintRight' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'ShortenText' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'WrapText' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'StartPage' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'EndPage' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'EndDoc' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'NewPage' | List of procedures |
| Scope/Type  | Public Sub  |
|---|
| Procedure 'GetPhyPrinterBorder' | List of procedures |
| Scope/Type  | Public Sub  |
|---|---|
| Code parameters  |
BorderX As Integer BorderY As Integer  |
| Purpose  |
'Public Function CheckPrinter(Optional FontName As String) As Boolean    CheckPrint = TextOut.DruckerPrüfen(FontName) 'End Function '  |
| Procedure 'Destroy' | List of procedures |
| Scope/Type  | Public Sub  |
|---|