Informační tok Funkční structura Datová struktura ER model Modulová struktura Typová struktura Relační model Dokumentace


[Celkový datový model] [Funkce] [Externí rohraní] [Stavové diagramy] [Datové elementy] [Entity] [Relace]
[Databáze] [Události] [Materiály] [Generovací funkce] [Vyhodnocovací funkce] [Konfigurace] [Uživatelé] [Projekt] [Home]



Vyhodnocovací funkce
Reports
(Web Publishing)


Vytvořeno: 04-07-1998 22:58:36
Poslední změna: 01-10-2003 13:34:54

Lists all report structures in the current system.

Modul

Module: Web Publishing

Zdrojový kód:

PROCEDURE Reports()
BEGIN

  //IMPORTANT NOTE: It is NOT possible to generate linked pages pages at this place,
  //because their generation requires the knowledge of the XOffset and YOffset values
  //returned by OLE Automation WritePicture. So don't try to incorporate such
  //functionality later here in that function.

  CALL Header("Přehled dokumentací");
  CALL H2("Dokumentace");

  foundsomething! = FALSE;
  FOREACH Report DO
    foundsomething! = TRUE;
    BREAK;
  END
  
  IF foundsomething! THEN
    PRINT {HTML} "<TABLE CELLPADDING=2 NOWRAP VALIGN=BASELINE>",NL;
    PRINT {HTML} " <TR>",NL;
    PRINT {HTML} " <TH VALIGN=BASELINE ALIGN=LEFT COLSPAN=2><FONT SIZE=2 FACE=""Verdana, Arial"">Název </FONT></TH>",NL;
    CALL GenStandardColsHeader();
    PRINT {HTML} " <TH ALIGN=CENTER VALIGN=TOP><FONT SIZE=2 FACE=""Verdana, Arial"">Výstupní soubor</FONT></TH>",NL;
    PRINT {HTML} " </TR>",NL;

    FOREACH Report ORDER BY Name DO
      PRINT {HTML} " <TR>",NL;
      PRINT {HTML} " <TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=2 FACE=""Verdana, Arial"">";
      PRINT {HTML} "<img src=""bullet.gif""> ";
      PRINT {HTML} "</FONT></TD>",NL;
      PRINT {HTML} " <TD ALIGN=LEFT VALIGN=TOP><FONT SIZE=2 FACE=""Verdana, Arial"">";
      PRINT {HTML} Anchor$("<B>" + Conv$(Boxname) + "</B>", "", Str$(Object) + ".htm");
      PRINT {HTML} "</FONT></TD>",NL;

      CALL GenStandardCols(Object);

      // filename
      PRINT {HTML} " <TD ALIGN=LEFT VALIGN=TOP><FONT SIZE=2 FACE=""Verdana, Arial"">";
      PRINT Filename;
      PRINT {HTML} "</FONT></TD>",NL;
      
      PRINT {HTML} " </TR>",NL;
    END
    PRINT {HTML} "</TABLE>",NL;
  ELSE
    CALL H2_Spaceless("V projektu není žádná dokumentace.");
    PRINT {HTML} "<BR>",NL;
  END
  
  CALL Footer("");
END


Generováno: 16.10.2003 7:41 Systém: C:\Documents and Settings\hajsman\Dokumenty\Vyuka\Irs2\Projekt case40\Projekt03.csf Generováno systémem case/4/0
Vygeneroval: Administrator Soubor: C:\Documents and Settings\hajsman\Dokumenty\Vyuka\Irs2\Projekt case40\html\21153.htm (C) microTOOL GmbH 2002