From 80e04969d0902a918487f1b1a98a70a7a9a2cda9 Mon Sep 17 00:00:00 2001 From: jesus Date: Mon, 25 Jan 2010 20:35:46 +0000 Subject: [PATCH] LazReport, added composite report to editor sample git-svn-id: trunk@23558 - --- .gitattributes | 2 + .../samples/editor/albumsbycountry.lrf | 248 ++++++++-- .../editor/languages/calleditorwithpkg.de.po | 66 +++ .../editor/languages/calleditorwithpkg.es.po | 70 ++- .../editor/languages/calleditorwithpkg.lt.po | 66 +++ .../editor/languages/calleditorwithpkg.pb.po | 66 +++ .../editor/languages/calleditorwithpkg.po | 66 +++ .../editor/languages/calleditorwithpkg.ru.po | 66 +++ .../samples/editor/maincalleditor.lfm | 41 +- .../samples/editor/maincalleditor.lrs | 178 +++---- .../samples/editor/maincalleditor.pas | 27 + components/lazreport/samples/editor/rpta.lrf | 467 ++++++++++++++++++ components/lazreport/samples/editor/rptb.lrf | 467 ++++++++++++++++++ 13 files changed, 1686 insertions(+), 144 deletions(-) create mode 100644 components/lazreport/samples/editor/rpta.lrf create mode 100644 components/lazreport/samples/editor/rptb.lrf diff --git a/.gitattributes b/.gitattributes index 527ba47e7c..a9f6f6bb41 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1272,6 +1272,8 @@ components/lazreport/samples/editor/maincalleditor.lfm svneol=native#text/plain components/lazreport/samples/editor/maincalleditor.lrs svneol=native#text/pascal components/lazreport/samples/editor/maincalleditor.pas svneol=native#text/pascal components/lazreport/samples/editor/readme.txt svneol=native#text/plain +components/lazreport/samples/editor/rpta.lrf svneol=LF#text/xml eol=lf +components/lazreport/samples/editor/rptb.lrf svneol=LF#text/xml eol=lf components/lazreport/samples/editor/salida.lrf svneol=native#text/xml components/lazreport/samples/editor/testpage.lrf svneol=LF#text/xml eol=lf components/lazreport/samples/editor/thumbnails.lrf svneol=LF#text/xml eol=lf diff --git a/components/lazreport/samples/editor/albumsbycountry.lrf b/components/lazreport/samples/editor/albumsbycountry.lrf index a7f4f336ac..708d015e25 100644 --- a/components/lazreport/samples/editor/albumsbycountry.lrf +++ b/components/lazreport/samples/editor/albumsbycountry.lrf @@ -1,7 +1,7 @@ - + <Subject Value=""/> <KeyWords Value=""/> @@ -14,14 +14,14 @@ <Pages> <PrintToDefault Value="False"/> <DoublePass Value="False"/> - <SelectedPrinter Value="hp psc 1310 series"/> + <SelectedPrinter Value="LaserJet1100"/> <PageCount Value="1"/> <Page1> <Name Value="Page1"/> <ClassName Value="TfrPageReport"/> <Visible Value="1"/> - <Width Value="4800"/> - <Height Value="6258" PageType="0"/> + <Width Value="1"/> + <Height Value="1" PageType="0"/> <PgSize Value="119"/> <Margins> <left Value="0"/> @@ -34,7 +34,8 @@ <PrintToPrevPage Value="False"/> <ColCount Value="1"/> <ColGap Value="0"/> - <ObjectCount Value="22"/> + <LayoutOrder Value="loColumns"/> + <ObjectCount Value="25"/> <Object1> <Name Value="GroupHeader1"/> <ClassName Value="TfrBandView"/> @@ -130,15 +131,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value="frbBottom"/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value="frbBottom"/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[Dbf1."COUNTRY"] "/> + <Memo Value="[Dbf1."COUNTRY"] "/> <Script Value=""/> </Data> <Font> @@ -173,15 +174,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[Dbf1."AUTHOR"] "/> + <Memo Value="[Dbf1."AUTHOR"] "/> <Script Value=""/> </Data> <Font> @@ -216,15 +217,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[Dbf1."TITLE"] "/> + <Memo Value="[Dbf1."TITLE"] "/> <Script Value=""/> </Data> <Font> @@ -259,15 +260,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[Dbf1."COMPANY"] "/> + <Memo Value="[Dbf1."COMPANY"] "/> <Script Value=""/> </Data> <Font> @@ -302,15 +303,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[Dbf1."YEAR"] "/> + <Memo Value="[Dbf1."YEAR"] "/> <Script Value=""/> </Data> <Font> @@ -337,7 +338,7 @@ <Typ Value="gtMemo"/> <StreamMode Value="0"/> <Size> - <Left Value="56"/> + <Left Value="68"/> <Top Value="312"/> <Width Value="672"/> <Height Value="20"/> @@ -345,15 +346,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[COUNT(MasterData1)] Albums for this country "/> + <Memo Value="[COUNT(MasterData1)] Albums -> $[SUM([Dbf1."PRICE"]*[Dbf1."QTY"], masterdata1) #N#,###.00] "/> <Script Value=""/> </Data> <Font> @@ -388,15 +389,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="3"/> <FrameColor Value="clWhite"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="3"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="[Dbf1."QTY"] "/> + <Memo Value="[Dbf1."QTY"] "/> <Script Value=""/> </Data> <Font> @@ -431,15 +432,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="17039918"/> <FormatStr Value="$#,###.00"/> - <Memo Value="[Dbf1."PRICE"] "/> + <Memo Value="[Dbf1."PRICE"] "/> <Script Value=""/> </Data> <Font> @@ -472,6 +473,11 @@ <Height Value="0"/> </Size> <Flags Value="1"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + </Frames> </Object13> <Object14> <Name Value="Memo9"/> @@ -488,15 +494,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="17039918"/> <FormatStr Value="$#,###.00"/> - <Memo Value="[[Dbf1."QTY"]*[Dbf1."PRICE"]] "/> + <Memo Value="[[Dbf1."QTY"]*[Dbf1."PRICE"]] "/> <Script Value=""/> </Data> <Font> @@ -531,15 +537,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Year "/> + <Memo Value="Year "/> <Script Value=""/> </Data> <Font> @@ -574,15 +580,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Author "/> + <Memo Value="Author "/> <Script Value=""/> </Data> <Font> @@ -617,15 +623,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Title "/> + <Memo Value="Title "/> <Script Value=""/> </Data> <Font> @@ -660,15 +666,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Company "/> + <Memo Value="Company "/> <Script Value=""/> </Data> <Font> @@ -703,15 +709,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Qty "/> + <Memo Value="Qty "/> <Script Value=""/> </Data> <Font> @@ -746,15 +752,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Price "/> + <Memo Value="Price "/> <Script Value=""/> </Data> <Font> @@ -789,15 +795,15 @@ <Flags Value="3"/> <FillColor Value="clNone"/> <Frames> - <FrameWidth Value="1"/> <FrameColor Value="clBlack"/> - <FrameBorders Value=""/> <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> </Frames> <Data> <Format Value="558"/> <FormatStr Value=""/> - <Memo Value="Subtotal "/> + <Memo Value="Subtotal "/> <Script Value=""/> </Data> <Font> @@ -830,7 +836,141 @@ <Height Value="0"/> </Size> <Flags Value="1"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + </Frames> </Object22> + <Object23> + <Name Value="Memo17"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="192"/> + <Top Value="336"/> + <Width Value="36"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clFuchsia"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="[SUM([Dbf1."QTY"], masterdata1)] "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taLeftJustify"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object23> + <Object24> + <Name Value="Memo18"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="244"/> + <Top Value="336"/> + <Width Value="36"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clFuchsia"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="[SUM([Dbf1."PRICE"], masterdata1)] "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taLeftJustify"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object24> + <Object25> + <Name Value="Memo19"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="296"/> + <Top Value="336"/> + <Width Value="68"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clFuchsia"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="[SUM([Dbf1."QTY"], masterdata1)+SUM([Dbf1."PRICE"], masterdata1)] "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taLeftJustify"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object25> </Page1> <FVal> <Count Value="0"/> diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po index 62c3e62583..80c1e4224b 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po @@ -12,15 +12,68 @@ msgstr "" "X-Poedit-Country: GERMANY\n" "X-Poedit-SourceCharset: utf-8\n" +#: maincalleditor.ceractivereport +msgid "Active report: %s" +msgstr "" + +#: maincalleditor.cerappcaption +msgctxt "maincalleditor.cerappcaption" +msgid "LazReport Test Suite" +msgstr "Testen des LazReport-Editors" + #: maincalleditor.cereditreport msgctxt "maincalleditor.cereditreport" msgid "Edit Report" msgstr "Report bearbeiten" +#: maincalleditor.cerhintcloseapp +msgid "Close application" +msgstr "" + +#: maincalleditor.cerhinteditreport +msgid "Edit active report" +msgstr "" + +#: maincalleditor.cerhintnewreport +msgid "Create and edit a empty report" +msgstr "" + +#: maincalleditor.cerhintopenreport +msgid "Open an existing report" +msgstr "" + +#: maincalleditor.cerhintprevgrid +msgid "Print preview current DbGrid content" +msgstr "" + +#: maincalleditor.cerhintprevreport +msgid "Preview active report" +msgstr "" + +#: maincalleditor.cerhintprnreport +msgid "Print directly the active report (i.e. without preview)" +msgstr "" + +#: maincalleditor.cerhintthumbnails +msgid "This Action will Load and Preview a thumbnails Report" +msgstr "" + +#: maincalleditor.cerindex +msgid "Index" +msgstr "" + +#: maincalleditor.cerindexfields +msgid "Index Fields: %s" +msgstr "" + #: maincalleditor.cernewreport msgid "New report" msgstr "Neuer Report" +#: maincalleditor.cernone +msgid "none" +msgstr "" + #: maincalleditor.cernotimplemented msgid "This feature is not yet implemented!" msgstr "Diese Funktion ist noch nicht implementiert!" @@ -29,6 +82,10 @@ msgstr "Diese Funktion ist noch nicht implementiert!" msgid "Open report" msgstr "Report öffnen" +#: maincalleditor.ceropenreportfirst +msgid "Open report first" +msgstr "" + #: maincalleditor.cerpreparefailed msgid "PrepareReport Failed!" msgstr "PrepareReport fehlgeschlagen!" @@ -45,10 +102,19 @@ msgstr "Gitter drucken" msgid "Print report" msgstr "Report drucken" +#: maincalleditor.certhumbnails +msgctxt "maincalleditor.certhumbnails" +msgid "Thumbnails" +msgstr "Vorschaubilder" + #: TFRMMAIN.ACCCLOSE.CAPTION msgid "Close" msgstr "Schließen" +#: TFRMMAIN.ACCCOMPOSITE.CAPTION +msgid "Composite" +msgstr "" + #: TFRMMAIN.ACCEDITREPORT.CAPTION msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po index 7c8af78023..6edaceedf0 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po @@ -2,22 +2,75 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2009-01-27 16:09-0600\n" +"PO-Revision-Date: 2010-01-25 14:24-0600\n" "Last-Translator: Jesus Reyes Aguilar <jesusrmx@yahoo.com.mx>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +#: maincalleditor.ceractivereport +msgid "Active report: %s" +msgstr "Reporte Activo: %s" + +#: maincalleditor.cerappcaption +msgctxt "maincalleditor.cerappcaption" +msgid "LazReport Test Suite" +msgstr "Banco de pruebas de LazReport" + #: maincalleditor.cereditreport msgctxt "maincalleditor.cereditreport" msgid "Edit Report" msgstr "Editar Reporte" +#: maincalleditor.cerhintcloseapp +msgid "Close application" +msgstr "Cerrar aplicación" + +#: maincalleditor.cerhinteditreport +msgid "Edit active report" +msgstr "Editar reporte activo" + +#: maincalleditor.cerhintnewreport +msgid "Create and edit a empty report" +msgstr "Crear y editar un reporte vacío" + +#: maincalleditor.cerhintopenreport +msgid "Open an existing report" +msgstr "Abrir reporte existente" + +#: maincalleditor.cerhintprevgrid +msgid "Print preview current DbGrid content" +msgstr "Vista previa del contenido de la tabla" + +#: maincalleditor.cerhintprevreport +msgid "Preview active report" +msgstr "Vista previa del reporte activo" + +#: maincalleditor.cerhintprnreport +msgid "Print directly the active report (i.e. without preview)" +msgstr "Imprimir el reporte directamente (o sea sin preview)" + +#: maincalleditor.cerhintthumbnails +msgid "This Action will Load and Preview a thumbnails Report" +msgstr "Esta acción cargará y mostrará una vista previa del reporte de imágenes" + +#: maincalleditor.cerindex +msgid "Index" +msgstr "Indice" + +#: maincalleditor.cerindexfields +msgid "Index Fields: %s" +msgstr "Campos Indice: %s" + #: maincalleditor.cernewreport msgid "New report" msgstr "Nuevo Reporte" +#: maincalleditor.cernone +msgid "none" +msgstr "Nada" + #: maincalleditor.cernotimplemented msgid "This feature is not yet implemented!" msgstr "¡Esta función aún no se ha implementado!" @@ -26,6 +79,10 @@ msgstr "¡Esta función aún no se ha implementado!" msgid "Open report" msgstr "Abrir Reporte" +#: maincalleditor.ceropenreportfirst +msgid "Open report first" +msgstr "Abrir primero el reporte" + #: maincalleditor.cerpreparefailed msgid "PrepareReport Failed!" msgstr "¡PrepareReport ha fallado!" @@ -42,10 +99,19 @@ msgstr "Imprimir Rejilla" msgid "Print report" msgstr "Imprimir Reporte" +#: maincalleditor.certhumbnails +msgctxt "maincalleditor.certhumbnails" +msgid "Thumbnails" +msgstr "Imágenes" + #: TFRMMAIN.ACCCLOSE.CAPTION msgid "Close" msgstr "Cerrar" +#: TFRMMAIN.ACCCOMPOSITE.CAPTION +msgid "Composite" +msgstr "Compuesto" + #: TFRMMAIN.ACCEDITREPORT.CAPTION msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" @@ -57,7 +123,7 @@ msgstr "Exportar a CSV" #: TFRMMAIN.ACCEXPORTTODBG.CAPTION msgid "Export Debug" -msgstr "" +msgstr "Exportación de prueba" #: TFRMMAIN.ACCEXPORTTOHTML.CAPTION msgid "Export to html" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po index d45f6f272b..68cdd4ee65 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po @@ -12,15 +12,68 @@ msgstr "" "X-Generator: Lokalize 0.3\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +#: maincalleditor.ceractivereport +msgid "Active report: %s" +msgstr "" + +#: maincalleditor.cerappcaption +msgctxt "maincalleditor.cerappcaption" +msgid "LazReport Test Suite" +msgstr "LazReport testavimo paketas" + #: maincalleditor.cereditreport msgctxt "maincalleditor.cereditreport" msgid "Edit Report" msgstr "Keisti pranešimą" +#: maincalleditor.cerhintcloseapp +msgid "Close application" +msgstr "" + +#: maincalleditor.cerhinteditreport +msgid "Edit active report" +msgstr "" + +#: maincalleditor.cerhintnewreport +msgid "Create and edit a empty report" +msgstr "" + +#: maincalleditor.cerhintopenreport +msgid "Open an existing report" +msgstr "" + +#: maincalleditor.cerhintprevgrid +msgid "Print preview current DbGrid content" +msgstr "" + +#: maincalleditor.cerhintprevreport +msgid "Preview active report" +msgstr "" + +#: maincalleditor.cerhintprnreport +msgid "Print directly the active report (i.e. without preview)" +msgstr "" + +#: maincalleditor.cerhintthumbnails +msgid "This Action will Load and Preview a thumbnails Report" +msgstr "" + +#: maincalleditor.cerindex +msgid "Index" +msgstr "" + +#: maincalleditor.cerindexfields +msgid "Index Fields: %s" +msgstr "" + #: maincalleditor.cernewreport msgid "New report" msgstr "Naujas pranešimas" +#: maincalleditor.cernone +msgid "none" +msgstr "" + #: maincalleditor.cernotimplemented msgid "This feature is not yet implemented!" msgstr "Ši funkcija dar neįgyvendinta!" @@ -29,6 +82,10 @@ msgstr "Ši funkcija dar neįgyvendinta!" msgid "Open report" msgstr "Atverti pranešimą" +#: maincalleditor.ceropenreportfirst +msgid "Open report first" +msgstr "" + #: maincalleditor.cerpreparefailed msgid "PrepareReport Failed!" msgstr "PrepareReport nepavyko!" @@ -45,10 +102,19 @@ msgstr "Spausdinti tinklelį" msgid "Print report" msgstr "Spausdinti pranešimą" +#: maincalleditor.certhumbnails +msgctxt "maincalleditor.certhumbnails" +msgid "Thumbnails" +msgstr "Miniatiūros" + #: TFRMMAIN.ACCCLOSE.CAPTION msgid "Close" msgstr "Užverti" +#: TFRMMAIN.ACCCOMPOSITE.CAPTION +msgid "Composite" +msgstr "" + #: TFRMMAIN.ACCEDITREPORT.CAPTION msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.pb.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.pb.po index 66650028b7..e507b19f54 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.pb.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.pb.po @@ -9,15 +9,68 @@ msgstr "" "Last-Translator: Marcelo Borges de Paula\n" "Language-Team: \n" +#: maincalleditor.ceractivereport +msgid "Active report: %s" +msgstr "" + +#: maincalleditor.cerappcaption +msgctxt "maincalleditor.cerappcaption" +msgid "LazReport Test Suite" +msgstr "Acompanhamento Teste LazReport" + #: maincalleditor.cereditreport msgctxt "maincalleditor.cereditreport" msgid "Edit Report" msgstr "Editar Relatório" +#: maincalleditor.cerhintcloseapp +msgid "Close application" +msgstr "" + +#: maincalleditor.cerhinteditreport +msgid "Edit active report" +msgstr "" + +#: maincalleditor.cerhintnewreport +msgid "Create and edit a empty report" +msgstr "" + +#: maincalleditor.cerhintopenreport +msgid "Open an existing report" +msgstr "" + +#: maincalleditor.cerhintprevgrid +msgid "Print preview current DbGrid content" +msgstr "" + +#: maincalleditor.cerhintprevreport +msgid "Preview active report" +msgstr "" + +#: maincalleditor.cerhintprnreport +msgid "Print directly the active report (i.e. without preview)" +msgstr "" + +#: maincalleditor.cerhintthumbnails +msgid "This Action will Load and Preview a thumbnails Report" +msgstr "" + +#: maincalleditor.cerindex +msgid "Index" +msgstr "" + +#: maincalleditor.cerindexfields +msgid "Index Fields: %s" +msgstr "" + #: maincalleditor.cernewreport msgid "New report" msgstr "Novo relatório" +#: maincalleditor.cernone +msgid "none" +msgstr "" + #: maincalleditor.cernotimplemented msgid "This feature is not yet implemented!" msgstr "Este recurso não foi implementado ainda!" @@ -26,6 +79,10 @@ msgstr "Este recurso não foi implementado ainda!" msgid "Open report" msgstr "Abrir relatório" +#: maincalleditor.ceropenreportfirst +msgid "Open report first" +msgstr "" + #: maincalleditor.cerpreparefailed msgid "PrepareReport Failed!" msgstr "PrepararRelatório falhou!" @@ -42,10 +99,19 @@ msgstr "Imprimir grade" msgid "Print report" msgstr "Imprimir relatório" +#: maincalleditor.certhumbnails +msgctxt "maincalleditor.certhumbnails" +msgid "Thumbnails" +msgstr "Miniaturas" + #: TFRMMAIN.ACCCLOSE.CAPTION msgid "Close" msgstr "Fechar" +#: TFRMMAIN.ACCCOMPOSITE.CAPTION +msgid "Composite" +msgstr "" + #: TFRMMAIN.ACCEDITREPORT.CAPTION msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.po index 620796f13a..da90b75c32 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.po @@ -4,15 +4,68 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: maincalleditor.ceractivereport +msgid "Active report: %s" +msgstr "" + +#: maincalleditor.cerappcaption +msgctxt "maincalleditor.cerappcaption" +msgid "LazReport Test Suite" +msgstr "" + #: maincalleditor.cereditreport msgctxt "maincalleditor.cereditreport" msgid "Edit Report" msgstr "" +#: maincalleditor.cerhintcloseapp +msgid "Close application" +msgstr "" + +#: maincalleditor.cerhinteditreport +msgid "Edit active report" +msgstr "" + +#: maincalleditor.cerhintnewreport +msgid "Create and edit a empty report" +msgstr "" + +#: maincalleditor.cerhintopenreport +msgid "Open an existing report" +msgstr "" + +#: maincalleditor.cerhintprevgrid +msgid "Print preview current DbGrid content" +msgstr "" + +#: maincalleditor.cerhintprevreport +msgid "Preview active report" +msgstr "" + +#: maincalleditor.cerhintprnreport +msgid "Print directly the active report (i.e. without preview)" +msgstr "" + +#: maincalleditor.cerhintthumbnails +msgid "This Action will Load and Preview a thumbnails Report" +msgstr "" + +#: maincalleditor.cerindex +msgid "Index" +msgstr "" + +#: maincalleditor.cerindexfields +msgid "Index Fields: %s" +msgstr "" + #: maincalleditor.cernewreport msgid "New report" msgstr "" +#: maincalleditor.cernone +msgid "none" +msgstr "" + #: maincalleditor.cernotimplemented msgid "This feature is not yet implemented!" msgstr "" @@ -21,6 +74,10 @@ msgstr "" msgid "Open report" msgstr "" +#: maincalleditor.ceropenreportfirst +msgid "Open report first" +msgstr "" + #: maincalleditor.cerpreparefailed msgid "PrepareReport Failed!" msgstr "" @@ -37,10 +94,19 @@ msgstr "" msgid "Print report" msgstr "" +#: maincalleditor.certhumbnails +msgctxt "maincalleditor.certhumbnails" +msgid "Thumbnails" +msgstr "" + #: TFRMMAIN.ACCCLOSE.CAPTION msgid "Close" msgstr "" +#: TFRMMAIN.ACCCOMPOSITE.CAPTION +msgid "Composite" +msgstr "" + #: TFRMMAIN.ACCEDITREPORT.CAPTION msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po index 8bea10cee9..3206ba2f7a 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po @@ -9,15 +9,68 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +#: maincalleditor.ceractivereport +msgid "Active report: %s" +msgstr "" + +#: maincalleditor.cerappcaption +msgctxt "maincalleditor.cerappcaption" +msgid "LazReport Test Suite" +msgstr "Тестовая программа для LazReport" + #: maincalleditor.cereditreport msgctxt "maincalleditor.cereditreport" msgid "Edit Report" msgstr "Редактировать отчёт" +#: maincalleditor.cerhintcloseapp +msgid "Close application" +msgstr "" + +#: maincalleditor.cerhinteditreport +msgid "Edit active report" +msgstr "" + +#: maincalleditor.cerhintnewreport +msgid "Create and edit a empty report" +msgstr "" + +#: maincalleditor.cerhintopenreport +msgid "Open an existing report" +msgstr "" + +#: maincalleditor.cerhintprevgrid +msgid "Print preview current DbGrid content" +msgstr "" + +#: maincalleditor.cerhintprevreport +msgid "Preview active report" +msgstr "" + +#: maincalleditor.cerhintprnreport +msgid "Print directly the active report (i.e. without preview)" +msgstr "" + +#: maincalleditor.cerhintthumbnails +msgid "This Action will Load and Preview a thumbnails Report" +msgstr "" + +#: maincalleditor.cerindex +msgid "Index" +msgstr "" + +#: maincalleditor.cerindexfields +msgid "Index Fields: %s" +msgstr "" + #: maincalleditor.cernewreport msgid "New report" msgstr "Новый отчёт" +#: maincalleditor.cernone +msgid "none" +msgstr "" + #: maincalleditor.cernotimplemented msgid "This feature is not yet implemented!" msgstr "Эта функция ещё не реализована!" @@ -26,6 +79,10 @@ msgstr "Эта функция ещё не реализована!" msgid "Open report" msgstr "Открыть отчёт" +#: maincalleditor.ceropenreportfirst +msgid "Open report first" +msgstr "" + #: maincalleditor.cerpreparefailed msgid "PrepareReport Failed!" msgstr "Ошибка PrepareReport!" @@ -42,10 +99,19 @@ msgstr "Печать таблицы" msgid "Print report" msgstr "Печать отчёта" +#: maincalleditor.certhumbnails +msgctxt "maincalleditor.certhumbnails" +msgid "Thumbnails" +msgstr "Эскизы" + #: TFRMMAIN.ACCCLOSE.CAPTION msgid "Close" msgstr "Закрыть" +#: TFRMMAIN.ACCCOMPOSITE.CAPTION +msgid "Composite" +msgstr "" + #: TFRMMAIN.ACCEDITREPORT.CAPTION msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" diff --git a/components/lazreport/samples/editor/maincalleditor.lfm b/components/lazreport/samples/editor/maincalleditor.lfm index 8e2a571809..318a95177a 100644 --- a/components/lazreport/samples/editor/maincalleditor.lfm +++ b/components/lazreport/samples/editor/maincalleditor.lfm @@ -13,16 +13,16 @@ object frmMain: TfrmMain LCLVersion = '0.9.29' object lblIndex: TLabel Left = 12 - Height = 23 + Height = 26 Top = 44 - Width = 10 + Width = 13 ParentColor = False end object lblExpr: TLabel Left = 235 - Height = 23 + Height = 26 Top = 44 - Width = 10 + Width = 13 ParentColor = False end object btnCallEditor: TButton @@ -42,6 +42,7 @@ object frmMain: TfrmMain Align = alBottom Anchors = [akTop, akLeft, akRight, akBottom] Color = clWhite + Columns = <> DataSource = Datasource1 Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit] TabOrder = 5 @@ -118,8 +119,17 @@ object frmMain: TfrmMain Top = 36 Width = 75 Action = accThumbnails + DragMode = dmAutomatic TabOrder = 9 end + object Button5: TButton + Left = 391 + Height = 25 + Top = 36 + Width = 83 + Action = accComposite + TabOrder = 10 + end object TheReport: TfrReport Dataset = frDBDataSet1 InitialZoom = pzDefault @@ -192,6 +202,14 @@ object frmMain: TfrmMain Action = accPrintGrid OnClick = accPrintGridExecute end + object MenuItem14: TMenuItem + Action = accThumbnails + OnClick = accThumbnailsExecute + end + object MenuItem15: TMenuItem + Action = accComposite + OnClick = accCompositeExecute + end end object MenuItem9: TMenuItem Caption = 'Export' @@ -282,6 +300,11 @@ object frmMain: TfrmMain Caption = 'Export Debug' OnExecute = accExportToDbgExecute end + object accComposite: TAction + Category = 'Sample Reports' + Caption = 'Composite' + OnExecute = accCompositeExecute + end end object OpenDialog1: TOpenDialog Filter = 'LazReport Files|*.lrf|FreeReport Files|*.frf|All Files|*.*' @@ -314,4 +337,14 @@ object frmMain: TfrmMain left = 272 top = 312 end + object Composite: TfrCompositeReport + InitialZoom = pzDefault + PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbHelp, pbExit] + DataType = dtDataSet + left = 400 + top = 84 + ReportForm = { + 19000000 + } + end end diff --git a/components/lazreport/samples/editor/maincalleditor.lrs b/components/lazreport/samples/editor/maincalleditor.lrs index a25d4ccedb..d74351efb9 100644 --- a/components/lazreport/samples/editor/maincalleditor.lrs +++ b/components/lazreport/samples/editor/maincalleditor.lrs @@ -1,95 +1,105 @@ -{ Este es un archivo de recurso de Lazarus generado automáticamente } +{ This is an automatically generated lazarus resource file } LazarusResources.Add('TfrmMain','FORMDATA',[ 'TPF0'#8'TfrmMain'#7'frmMain'#4'Left'#3#21#1#6'Height'#3#177#1#3'Top'#2#127#5 +'Width'#3'9'#2#13'ActiveControl'#7#13'btnCallEditor'#7'Caption'#6#20'LazRepo' +'rt Test Suite'#12'ClientHeight'#3#156#1#11'ClientWidth'#3'9'#2#4'Menu'#7#9 +'MainMenu1'#8'OnCreate'#7#13'frmMainCreate'#8'ShowHint'#9#10'LCLVersion'#6#6 - +'0.9.29'#0#6'TLabel'#8'lblIndex'#4'Left'#2#12#6'Height'#2#23#3'Top'#2','#5'W' - +'idth'#2#10#11'ParentColor'#8#0#0#6'TLabel'#7'lblExpr'#4'Left'#3#235#0#6'Hei' - +'ght'#2#23#3'Top'#2','#5'Width'#2#10#11'ParentColor'#8#0#0#7'TButton'#13'btn' + +'0.9.29'#0#6'TLabel'#8'lblIndex'#4'Left'#2#12#6'Height'#2#26#3'Top'#2','#5'W' + +'idth'#2#13#11'ParentColor'#8#0#0#6'TLabel'#7'lblExpr'#4'Left'#3#235#0#6'Hei' + +'ght'#2#26#3'Top'#2','#5'Width'#2#13#11'ParentColor'#8#0#0#7'TButton'#13'btn' +'CallEditor'#4'Left'#2#24#6'Height'#2#25#3'Top'#2#8#5'Width'#2'P'#6'Action'#7 +#12'accNewReport'#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2#0#0#0#7'TD' +'BGrid'#7'dbGrid1'#4'Left'#2#0#6'Height'#3'E'#1#3'Top'#2'D'#5'Width'#3'9'#2#5 +'Align'#7#8'alBottom'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom' - +#0#5'Color'#7#7'clWhite'#10'DataSource'#7#11'Datasource1'#7'Options'#11#9'dg' - +'Editing'#8'dgTitles'#11'dgIndicator'#14'dgColumnResize'#10'dgColLines'#10'd' - +'gRowLines'#6'dgTabs'#21'dgAlwaysShowSelection'#15'dgConfirmDelete'#14'dgCan' - +'celOnExit'#0#8'TabOrder'#2#5#12'OnTitleClick'#7#17'dbGrid1TitleClick'#0#0#7 - +'TButton'#7'Button1'#4'Left'#3#223#1#6'Height'#2#25#3'Top'#2#8#5'Width'#2'K' - +#6'Action'#7#12'accPrintGrid'#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2 - +#1#0#0#7'TButton'#7'Button2'#4'Left'#3'"'#1#6'Height'#2#25#3'Top'#2#8#5'Widt' - +'h'#2'`'#6'Action'#7#16'accPreviewReport'#25'BorderSpacing.InnerBorder'#2#4#8 - +'TabOrder'#2#2#0#0#10'TStatusBar'#4'sbar'#4'Left'#2#0#6'Height'#2#19#3'Top'#3 - +#137#1#5'Width'#3'9'#2#6'Panels'#14#1#5'Width'#3#250#0#0#0#11'SimplePanel'#8 - +#0#0#7'TButton'#7'Button3'#4'Left'#3#210#0#6'Height'#2#25#3'Top'#2#8#5'Width' - +#2'K'#6'Action'#7#13'accEditReport'#25'BorderSpacing.InnerBorder'#2#4#8'TabO' - +'rder'#2#3#0#0#7'TButton'#7'Button4'#4'Left'#3#135#1#6'Height'#2#25#3'Top'#2 - +#8#5'Width'#2'S'#6'Action'#7#14'accPrintReport'#25'BorderSpacing.InnerBorder' - +#2#4#8'TabOrder'#2#4#0#0#7'TButton'#13'btnOpenReport'#4'Left'#2'm'#6'Height' - +#2#25#3'Top'#2#8#5'Width'#2'`'#6'Action'#7#13'accOpenReport'#25'BorderSpacin' - +'g.InnerBorder'#2#4#8'TabOrder'#2#6#0#0#9'TComboBox'#10'comboIndex'#4'Left'#2 - +'H'#6'Height'#2#29#3'Top'#2'%'#5'Width'#3#148#0#10'ItemHeight'#2#0#8'OnSelec' - +'t'#7#16'comboIndexSelect'#8'TabOrder'#2#8#0#0#7'TButton'#12'btnImageList'#4 - +'Left'#3#224#1#6'Height'#2#25#3'Top'#2'$'#5'Width'#2'K'#6'Action'#7#13'accTh' - +'umbnails'#8'TabOrder'#2#9#0#0#9'TfrReport'#9'TheReport'#7'Dataset'#7#12'frD' - +'BDataSet1'#11'InitialZoom'#7#9'pzDefault'#14'PreviewButtons'#11#6'pbZoom'#6 - +'pbLoad'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbHelp'#6'pbExit'#0#8'DataType'#7#9 - +'dtDataSet'#10'OnBeginDoc'#7#17'TheReportBeginDoc'#10'OnGetValue'#7#17'TheRe' - +'portGetValue'#11'OnEnterRect'#7#18'TheReportEnterRect'#19'OnExportFilterSet' - +'up'#7#26'TheReportExportFilterSetup'#4'left'#2'`'#3'top'#2'p'#10'ReportForm' - +#10#4#0#0#0#25#0#0#0#0#0#4'TDbf'#4'Dbf1'#9'IndexDefs'#14#0#10'TableLevel'#2#3 - +#13'FilterOptions'#11#0#4'left'#3#128#0#3'top'#2'H'#0#0#11'TDatasource'#11'D' - +'atasource1'#7'DataSet'#7#4'Dbf1'#4'left'#2'`'#3'top'#2'H'#0#0#12'TfrDBDataS' - +'et'#12'frDBDataSet1'#7'DataSet'#7#4'Dbf1'#4'left'#2'`'#3'top'#3#144#0#0#0#12 - +'TFrPrintGrid'#2'PG'#6'DBGrid'#7#7'dbGrid1'#11'Orientation'#7#11'poLandscape' - +#7'Caption'#6#4'Grid'#11'ShowCaption'#9#4'left'#2'`'#3'top'#3#176#0#0#0#9'TM' - +'ainMenu'#9'MainMenu1'#4'left'#2#8#3'top'#2'`'#0#9'TMenuItem'#9'MenuItem1'#7 - +'Caption'#6#5'Files'#0#9'TMenuItem'#9'MenuItem2'#6'Action'#7#8'accClose'#7'O' - +'nClick'#7#15'accCloseExecute'#0#0#0#9'TMenuItem'#9'MenuItem3'#7'Caption'#6#5 - +'Tests'#0#9'TMenuItem'#9'MenuItem4'#6'Action'#7#12'accNewReport'#7'OnClick'#7 - +#19'accNewReportExecute'#0#0#9'TMenuItem'#9'MenuItem5'#6'Action'#7#13'accEdi' - +'tReport'#7'OnClick'#7#20'accEditReportExecute'#0#0#9'TMenuItem'#9'MenuItem6' - +#6'Action'#7#16'accPreviewReport'#7'OnClick'#7#23'accPreviewReportExecute'#0 - +#0#9'TMenuItem'#9'MenuItem7'#6'Action'#7#14'accPrintReport'#7'OnClick'#7#21 - +'accPrintReportExecute'#0#0#9'TMenuItem'#9'MenuItem8'#6'Action'#7#12'accPrin' - +'tGrid'#7'OnClick'#7#19'accPrintGridExecute'#0#0#0#9'TMenuItem'#9'MenuItem9' - +#7'Caption'#6#6'Export'#0#9'TMenuItem'#10'MenuItem10'#6'Action'#7#15'accExpo' - +'rtToText'#7'OnClick'#7#22'accExportToTextExecute'#0#0#9'TMenuItem'#10'MenuI' - +'tem11'#6'Action'#7#15'accExportToHtml'#7'OnClick'#7#22'accExportToHtmlExecu' - +'te'#0#0#9'TMenuItem'#10'MenuItem12'#6'Action'#7#14'accExportToCSV'#7'OnClic' - +'k'#7#21'accExportToCSVExecute'#0#0#9'TMenuItem'#10'MenuItem13'#6'Action'#7 - +#14'accExportToDbg'#7'OnClick'#7#21'accExportToDbgExecute'#0#0#0#0#22'TAppli' - +'cationProperties'#22'ApplicationProperties1'#9'HintPause'#2#10#10'OnShowHin' - +'t'#7#30'ApplicationProperties1ShowHint'#4'left'#2'`'#3'top'#3#240#0#0#0#11 - +'TActionList'#11'ActionList1'#4'left'#2'0'#3'top'#2'`'#0#7'TAction'#12'accNe' - +'wReport'#8'Category'#6#5'Tests'#7'Caption'#6#10'New Report'#9'OnExecute'#7 - +#19'accNewReportExecute'#0#0#7'TAction'#13'accEditReport'#8'Category'#6#5'Te' - ,'sts'#7'Caption'#6#11'Edit Report'#9'OnExecute'#7#20'accEditReportExecute'#0 - +#0#7'TAction'#16'accPreviewReport'#8'Category'#6#5'Tests'#7'Caption'#6#14'Pr' - +'eview Report'#9'OnExecute'#7#23'accPreviewReportExecute'#0#0#7'TAction'#12 - +'accPrintGrid'#8'Category'#6#5'Tests'#7'Caption'#6#10'Print Grid'#9'OnExecut' - +'e'#7#19'accPrintGridExecute'#0#0#7'TAction'#14'accPrintReport'#8'Category'#6 - +#5'Tests'#7'Caption'#6#12'Print Report'#9'OnExecute'#7#21'accPrintReportExec' - +'ute'#0#0#7'TAction'#8'accClose'#8'Category'#6#5'Files'#7'Caption'#6#5'Close' - +#9'OnExecute'#7#15'accCloseExecute'#0#0#7'TAction'#15'accExportToText'#8'Cat' - +'egory'#6#6'Export'#7'Caption'#6#14'Export to text'#9'OnExecute'#7#22'accExp' - +'ortToTextExecute'#0#0#7'TAction'#15'accExportToHtml'#8'Category'#6#6'Export' - +#7'Caption'#6#14'Export to html'#9'OnExecute'#7#22'accExportToHtmlExecute'#0 - +#0#7'TAction'#13'accOpenReport'#8'Category'#6#5'Files'#7'Caption'#6#11'Open ' - +'Report'#9'OnExecute'#7#20'accOpenReportExecute'#0#0#7'TAction'#14'accExport' - +'ToCSV'#8'Category'#6#6'Export'#7'Caption'#6#13'Export to CSV'#9'OnExecute'#7 - +#21'accExportToCSVExecute'#0#0#7'TAction'#13'accThumbnails'#8'Category'#6#14 - +'Sample Reports'#7'Caption'#6#10'Thumbnails'#9'OnExecute'#7#20'accThumbnails' - +'Execute'#0#0#7'TAction'#14'accExportToDbg'#8'Category'#6#6'Export'#7'Captio' - +'n'#6#12'Export Debug'#9'OnExecute'#7#21'accExportToDbgExecute'#0#0#0#11'TOp' - +'enDialog'#11'OpenDialog1'#6'Filter'#6':LazReport Files|*.lrf|FreeReport Fil' - +'es|*.frf|All Files|*.*'#11'FilterIndex'#2#0#4'left'#2'd'#3'top'#3#16#1#0#0 - +#12'TfrCSVExport'#12'frCSVExport1'#4'left'#3#188#0#3'top'#2'H'#0#0#14'TfrUse' - +'rDataset'#14'frUserDataset1'#8'RangeEnd'#7#7'reCount'#4'left'#3#132#0#3'top' - +#3#144#0#0#0#16'TfrBarCodeObject'#16'frBarCodeObject1'#4'left'#3#16#1#3'top' - +#3#170#0#0#0#18'TfrRoundRectObject'#18'frRoundRectObject1'#4'left'#3#16#1#3 - +'top'#3#216#0#0#0#14'TfrShapeObject'#14'frShapeObject1'#4'left'#3#16#1#3'top' - +#3#8#1#0#0#17'TfrCheckBoxObject'#17'frCheckBoxObject1'#4'left'#3#16#1#3'top' - +#3'8'#1#0#0#0 + +#0#5'Color'#7#7'clWhite'#7'Columns'#14#0#10'DataSource'#7#11'Datasource1'#7 + +'Options'#11#9'dgEditing'#8'dgTitles'#11'dgIndicator'#14'dgColumnResize'#10 + +'dgColLines'#10'dgRowLines'#6'dgTabs'#21'dgAlwaysShowSelection'#15'dgConfirm' + +'Delete'#14'dgCancelOnExit'#0#8'TabOrder'#2#5#12'OnTitleClick'#7#17'dbGrid1T' + +'itleClick'#0#0#7'TButton'#7'Button1'#4'Left'#3#223#1#6'Height'#2#25#3'Top'#2 + +#8#5'Width'#2'K'#6'Action'#7#12'accPrintGrid'#25'BorderSpacing.InnerBorder'#2 + +#4#8'TabOrder'#2#1#0#0#7'TButton'#7'Button2'#4'Left'#3'"'#1#6'Height'#2#25#3 + +'Top'#2#8#5'Width'#2'`'#6'Action'#7#16'accPreviewReport'#25'BorderSpacing.In' + +'nerBorder'#2#4#8'TabOrder'#2#2#0#0#10'TStatusBar'#4'sbar'#4'Left'#2#0#6'Hei' + +'ght'#2#19#3'Top'#3#137#1#5'Width'#3'9'#2#6'Panels'#14#1#5'Width'#3#250#0#0#0 + +#11'SimplePanel'#8#0#0#7'TButton'#7'Button3'#4'Left'#3#210#0#6'Height'#2#25#3 + +'Top'#2#8#5'Width'#2'K'#6'Action'#7#13'accEditReport'#25'BorderSpacing.Inner' + +'Border'#2#4#8'TabOrder'#2#3#0#0#7'TButton'#7'Button4'#4'Left'#3#135#1#6'Hei' + +'ght'#2#25#3'Top'#2#8#5'Width'#2'S'#6'Action'#7#14'accPrintReport'#25'Border' + +'Spacing.InnerBorder'#2#4#8'TabOrder'#2#4#0#0#7'TButton'#13'btnOpenReport'#4 + +'Left'#2'm'#6'Height'#2#25#3'Top'#2#8#5'Width'#2'`'#6'Action'#7#13'accOpenRe' + +'port'#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2#6#0#0#9'TComboBox'#10 + +'comboIndex'#4'Left'#2'H'#6'Height'#2#29#3'Top'#2'%'#5'Width'#3#148#0#10'Ite' + +'mHeight'#2#0#8'OnSelect'#7#16'comboIndexSelect'#8'TabOrder'#2#8#0#0#7'TButt' + +'on'#12'btnImageList'#4'Left'#3#224#1#6'Height'#2#25#3'Top'#2'$'#5'Width'#2 + +'K'#6'Action'#7#13'accThumbnails'#8'DragMode'#7#11'dmAutomatic'#8'TabOrder'#2 + +#9#0#0#7'TButton'#7'Button5'#4'Left'#3#135#1#6'Height'#2#25#3'Top'#2'$'#5'Wi' + +'dth'#2'S'#6'Action'#7#12'accComposite'#8'TabOrder'#2#10#0#0#9'TfrReport'#9 + +'TheReport'#7'Dataset'#7#12'frDBDataSet1'#11'InitialZoom'#7#9'pzDefault'#14 + +'PreviewButtons'#11#6'pbZoom'#6'pbLoad'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbH' + +'elp'#6'pbExit'#0#8'DataType'#7#9'dtDataSet'#10'OnBeginDoc'#7#17'TheReportBe' + +'ginDoc'#10'OnGetValue'#7#17'TheReportGetValue'#11'OnEnterRect'#7#18'TheRepo' + +'rtEnterRect'#19'OnExportFilterSetup'#7#26'TheReportExportFilterSetup'#4'lef' + +'t'#2'`'#3'top'#2'p'#10'ReportForm'#10#4#0#0#0#25#0#0#0#0#0#4'TDbf'#4'Dbf1'#9 + +'IndexDefs'#14#0#10'TableLevel'#2#3#13'FilterOptions'#11#0#4'left'#3#128#0#3 + +'top'#2'H'#0#0#11'TDatasource'#11'Datasource1'#7'DataSet'#7#4'Dbf1'#4'left'#2 + +'`'#3'top'#2'H'#0#0#12'TfrDBDataSet'#12'frDBDataSet1'#7'DataSet'#7#4'Dbf1'#4 + +'left'#2'`'#3'top'#3#144#0#0#0#12'TFrPrintGrid'#2'PG'#6'DBGrid'#7#7'dbGrid1' + +#11'Orientation'#7#11'poLandscape'#7'Caption'#6#4'Grid'#11'ShowCaption'#9#4 + +'left'#2'`'#3'top'#3#176#0#0#0#9'TMainMenu'#9'MainMenu1'#4'left'#2#8#3'top'#2 + +'`'#0#9'TMenuItem'#9'MenuItem1'#7'Caption'#6#5'Files'#0#9'TMenuItem'#9'MenuI' + +'tem2'#6'Action'#7#8'accClose'#7'OnClick'#7#15'accCloseExecute'#0#0#0#9'TMen' + +'uItem'#9'MenuItem3'#7'Caption'#6#5'Tests'#0#9'TMenuItem'#9'MenuItem4'#6'Act' + +'ion'#7#12'accNewReport'#7'OnClick'#7#19'accNewReportExecute'#0#0#9'TMenuIte' + +'m'#9'MenuItem5'#6'Action'#7#13'accEditReport'#7'OnClick'#7#20'accEditReport' + +'Execute'#0#0#9'TMenuItem'#9'MenuItem6'#6'Action'#7#16'accPreviewReport'#7'O' + +'nClick'#7#23'accPreviewReportExecute'#0#0#9'TMenuItem'#9'MenuItem7'#6'Actio' + +'n'#7#14'accPrintReport'#7'OnClick'#7#21'accPrintReportExecute'#0#0#9'TMenuI' + +'tem'#9'MenuItem8'#6'Action'#7#12'accPrintGrid'#7'OnClick'#7#19'accPrintGrid' + +'Execute'#0#0#9'TMenuItem'#10'MenuItem14'#6'Action'#7#13'accThumbnails'#7'On' + +'Click'#7#20'accThumbnailsExecute'#0#0#9'TMenuItem'#10'MenuItem15'#6'Action' + +#7#12'accComposite'#7'OnClick'#7#19'accCompositeExecute'#0#0#0#9'TMenuItem'#9 + +'MenuItem9'#7'Caption'#6#6'Export'#0#9'TMenuItem'#10'MenuItem10'#6'Action'#7 + +#15'accExportToText'#7'OnClick'#7#22'accExportToTextExecute'#0#0#9'TMenuItem' + +#10'MenuItem11'#6'Action'#7#15'accExportToHtml'#7'OnClick'#7#22'accExportToH' + +'tmlExecute'#0#0#9'TMenuItem'#10'MenuItem12'#6'Action'#7#14'accExportToCSV'#7 + +'OnClick'#7#21'accExportToCSVExecute'#0#0#9'TMenuItem'#10'MenuItem13'#6'Acti' + +'on'#7#14'accExportToDbg'#7'OnClick'#7#21'accExportToDbgExecute'#0#0#0#0#22 + ,'TApplicationProperties'#22'ApplicationProperties1'#9'HintPause'#2#10#10'OnS' + +'howHint'#7#30'ApplicationProperties1ShowHint'#4'left'#2'`'#3'top'#3#240#0#0 + +#0#11'TActionList'#11'ActionList1'#4'left'#2'0'#3'top'#2'`'#0#7'TAction'#12 + +'accNewReport'#8'Category'#6#5'Tests'#7'Caption'#6#10'New Report'#9'OnExecut' + +'e'#7#19'accNewReportExecute'#0#0#7'TAction'#13'accEditReport'#8'Category'#6 + +#5'Tests'#7'Caption'#6#11'Edit Report'#9'OnExecute'#7#20'accEditReportExecut' + +'e'#0#0#7'TAction'#16'accPreviewReport'#8'Category'#6#5'Tests'#7'Caption'#6 + +#14'Preview Report'#9'OnExecute'#7#23'accPreviewReportExecute'#0#0#7'TAction' + +#12'accPrintGrid'#8'Category'#6#5'Tests'#7'Caption'#6#10'Print Grid'#9'OnExe' + +'cute'#7#19'accPrintGridExecute'#0#0#7'TAction'#14'accPrintReport'#8'Categor' + +'y'#6#5'Tests'#7'Caption'#6#12'Print Report'#9'OnExecute'#7#21'accPrintRepor' + +'tExecute'#0#0#7'TAction'#8'accClose'#8'Category'#6#5'Files'#7'Caption'#6#5 + +'Close'#9'OnExecute'#7#15'accCloseExecute'#0#0#7'TAction'#15'accExportToText' + +#8'Category'#6#6'Export'#7'Caption'#6#14'Export to text'#9'OnExecute'#7#22'a' + +'ccExportToTextExecute'#0#0#7'TAction'#15'accExportToHtml'#8'Category'#6#6'E' + +'xport'#7'Caption'#6#14'Export to html'#9'OnExecute'#7#22'accExportToHtmlExe' + +'cute'#0#0#7'TAction'#13'accOpenReport'#8'Category'#6#5'Files'#7'Caption'#6 + +#11'Open Report'#9'OnExecute'#7#20'accOpenReportExecute'#0#0#7'TAction'#14'a' + +'ccExportToCSV'#8'Category'#6#6'Export'#7'Caption'#6#13'Export to CSV'#9'OnE' + +'xecute'#7#21'accExportToCSVExecute'#0#0#7'TAction'#13'accThumbnails'#8'Cate' + +'gory'#6#14'Sample Reports'#7'Caption'#6#10'Thumbnails'#9'OnExecute'#7#20'ac' + +'cThumbnailsExecute'#0#0#7'TAction'#14'accExportToDbg'#8'Category'#6#6'Expor' + +'t'#7'Caption'#6#12'Export Debug'#9'OnExecute'#7#21'accExportToDbgExecute'#0 + +#0#7'TAction'#12'accComposite'#8'Category'#6#14'Sample Reports'#7'Caption'#6 + +#9'Composite'#9'OnExecute'#7#19'accCompositeExecute'#0#0#0#11'TOpenDialog'#11 + +'OpenDialog1'#6'Filter'#6':LazReport Files|*.lrf|FreeReport Files|*.frf|All ' + +'Files|*.*'#11'FilterIndex'#2#0#4'left'#2'd'#3'top'#3#16#1#0#0#12'TfrCSVExpo' + +'rt'#12'frCSVExport1'#4'left'#3#188#0#3'top'#2'H'#0#0#14'TfrUserDataset'#14 + +'frUserDataset1'#8'RangeEnd'#7#7'reCount'#4'left'#3#132#0#3'top'#3#144#0#0#0 + +#16'TfrBarCodeObject'#16'frBarCodeObject1'#4'left'#3#16#1#3'top'#3#170#0#0#0 + +#18'TfrRoundRectObject'#18'frRoundRectObject1'#4'left'#3#16#1#3'top'#3#216#0 + +#0#0#14'TfrShapeObject'#14'frShapeObject1'#4'left'#3#16#1#3'top'#3#8#1#0#0#17 + +'TfrCheckBoxObject'#17'frCheckBoxObject1'#4'left'#3#16#1#3'top'#3'8'#1#0#0#18 + +'TfrCompositeReport'#9'Composite'#11'InitialZoom'#7#9'pzDefault'#14'PreviewB' + +'uttons'#11#6'pbZoom'#6'pbLoad'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbHelp'#6'p' + +'bExit'#0#8'DataType'#7#9'dtDataSet'#4'left'#3#144#1#3'top'#2'T'#10'ReportFo' + +'rm'#10#4#0#0#0#25#0#0#0#0#0#0 ]); diff --git a/components/lazreport/samples/editor/maincalleditor.pas b/components/lazreport/samples/editor/maincalleditor.pas index efb168cf82..23b7d12bc1 100644 --- a/components/lazreport/samples/editor/maincalleditor.pas +++ b/components/lazreport/samples/editor/maincalleditor.pas @@ -49,6 +49,7 @@ type accExportToCSV: TAction; accThumbnails: TAction; accExportToDbg: TAction; + accComposite: TAction; ActionList1: TActionList; ApplicationProperties1: TApplicationProperties; btnCallEditor: TButton; @@ -58,12 +59,14 @@ type Button4: TButton; btnOpenReport: TButton; btnImageList: TButton; + Button5: TButton; comboIndex: TComboBox; Datasource1: TDatasource; Dbf1: TDbf; dbGrid1: TdbGrid; frBarCodeObject1: TfrBarCodeObject; frCheckBoxObject1: TfrCheckBoxObject; + Composite: TfrCompositeReport; frCSVExport1: TfrCSVExport; frDBDataSet1: TfrDBDataSet; frRoundRectObject1: TfrRoundRectObject; @@ -77,6 +80,8 @@ type MenuItem11: TMenuItem; MenuItem12: TMenuItem; MenuItem13: TMenuItem; + MenuItem14: TMenuItem; + MenuItem15: TMenuItem; MenuItem2: TMenuItem; MenuItem3: TMenuItem; MenuItem4: TMenuItem; @@ -89,6 +94,7 @@ type PG: TfrPrintGrid; sbar: TStatusBar; TheReport: TfrReport; + procedure accCompositeExecute(Sender: TObject); procedure accExportToCSVExecute(Sender: TObject); procedure accExportToDbgExecute(Sender: TObject); procedure accExportToHtmlExecute(Sender: TObject); @@ -231,6 +237,17 @@ begin ShowMessage(cerPrepareFailed); end; +procedure TfrmMain.accCompositeExecute(Sender: TObject); +var + r: pointer; +begin + // force reload of reports in case modified reports + // were modified in designer at run-time + for r in Composite.Reports do + TfrReport(r).LoadFromFile(TfrReport(r).FileName); + Composite.ShowReport; +end; + procedure TfrmMain.accExportToDbgExecute(Sender: TObject); begin if TheReport.PrepareReport then begin @@ -311,8 +328,12 @@ begin end; procedure TfrmMain.frmMainCreate(Sender: TObject); +const + rptarr:array[0..1] of string[10] = ('rpta.lrf','rptb.lrf'); var i: integer; + s: string; + r: TfrReport; begin UpdateAppTranslation; @@ -330,6 +351,12 @@ begin if FileExistsUTF8(ExtractFilePath(ParamStrUTF8(0))+'salida.lrf') then OpenReport(ExtractFilePath(ParamStrUTF8(0))+'salida.lrf'); + + for s in rptarr do begin + r := TfrReport.Create(self); + r.LoadFromFile(s); + Composite.Reports.Add(r); + end; end; procedure TfrmMain.TheReportBeginDoc; diff --git a/components/lazreport/samples/editor/rpta.lrf b/components/lazreport/samples/editor/rpta.lrf new file mode 100644 index 0000000000..ff67442b67 --- /dev/null +++ b/components/lazreport/samples/editor/rpta.lrf @@ -0,0 +1,467 @@ +<?xml version="1.0"?> +<CONFIG> + <LazReport> + <Version Value="25"/> + <Title Value=""/> + <Subject Value=""/> + <KeyWords Value=""/> + <Comments Value=""/> + <ReportVersionBuild Value=""/> + <ReportVersionMajor Value=""/> + <ReportVersionMinor Value=""/> + <ReportVersionRelease Value=""/> + <ReportAutor Value=""/> + <Pages> + <PrintToDefault Value="False"/> + <DoublePass Value="True"/> + <SelectedPrinter Value="LaserJet1100"/> + <PageCount Value="1"/> + <Page1> + <Name Value="Page1"/> + <ClassName Value="TfrPageReport"/> + <Visible Value="1"/> + <Width Value="1"/> + <Height Value="1" PageType="0"/> + <PgSize Value="1"/> + <Margins> + <left Value="0"/> + <Top Value="0"/> + <Right Value="0"/> + <Bottom Value="0"/> + </Margins> + <Orientation Value="poPortrait"/> + <UseMargins Value="True"/> + <PrintToPrevPage Value="False"/> + <ColCount Value="1"/> + <ColGap Value="0"/> + <LayoutOrder Value="loColumns"/> + <ObjectCount Value="13"/> + <Object1> + <Name Value="TítuloDel reporte1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="32"/> + <Width Value="773"/> + <Height Value="32"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btReportTitle"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object1> + <Object2> + <Name Value="EncabezadoDe página1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="92"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btPageHeader"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object2> + <Object3> + <Name Value="PieDe página1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="164"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btPageFooter"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object3> + <Object4> + <Name Value="EncabezadoMaestro1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="236"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btMasterHeader"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object4> + <Object5> + <Name Value="DatosMaestros1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="300"/> + <Width Value="773"/> + <Height Value="20"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btMasterData"/> + <Condition Value=""/> + <DatasetStr Value="80"/> + </Object5> + <Object6> + <Name Value="PieMaestro1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="368"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btMasterFooter"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object6> + <Object7> + <Name Value="Memo1"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="40"/> + <Width Value="692"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value="frbBottom"/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Composite Report Test, Report A "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="12"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value="fsBold"/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object7> + <Object8> + <Name Value="Memo2"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="100"/> + <Width Value="156"/> + <Height Value="20"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Page header, Report A "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object8> + <Object9> + <Name Value="Memo3"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="176"/> + <Width Value="156"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Page Footer, Report A "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object9> + <Object10> + <Name Value="Memo4"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="244"/> + <Width Value="156"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Master Header, Report A "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object10> + <Object11> + <Name Value="Memo5"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="300"/> + <Width Value="456"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Line [LINE#], Line Through [LINETHROUGH#], Current [CURRENT#], Report A "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object11> + <Object12> + <Name Value="Memo6"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="52"/> + <Top Value="380"/> + <Width Value="148"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Master Footer, Report A "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object12> + <Object13> + <Name Value="Memo7"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="628"/> + <Top Value="104"/> + <Width Value="96"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Page [PAGE#] of [TOTALPAGES] "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object13> + </Page1> + <FVal> + <Count Value="0"/> + </FVal> + <ParentVars Value=""/> + </Pages> + </LazReport> +</CONFIG> diff --git a/components/lazreport/samples/editor/rptb.lrf b/components/lazreport/samples/editor/rptb.lrf new file mode 100644 index 0000000000..1f83fc4b61 --- /dev/null +++ b/components/lazreport/samples/editor/rptb.lrf @@ -0,0 +1,467 @@ +<?xml version="1.0"?> +<CONFIG> + <LazReport> + <Version Value="25"/> + <Title Value=""/> + <Subject Value=""/> + <KeyWords Value=""/> + <Comments Value=""/> + <ReportVersionBuild Value=""/> + <ReportVersionMajor Value=""/> + <ReportVersionMinor Value=""/> + <ReportVersionRelease Value=""/> + <ReportAutor Value=""/> + <Pages> + <PrintToDefault Value="False"/> + <DoublePass Value="True"/> + <SelectedPrinter Value="LaserJet1100"/> + <PageCount Value="1"/> + <Page1> + <Name Value="Page1"/> + <ClassName Value="TfrPageReport"/> + <Visible Value="1"/> + <Width Value="1"/> + <Height Value="1" PageType="0"/> + <PgSize Value="1"/> + <Margins> + <left Value="0"/> + <Top Value="0"/> + <Right Value="0"/> + <Bottom Value="0"/> + </Margins> + <Orientation Value="poPortrait"/> + <UseMargins Value="True"/> + <PrintToPrevPage Value="True"/> + <ColCount Value="1"/> + <ColGap Value="0"/> + <LayoutOrder Value="loColumns"/> + <ObjectCount Value="13"/> + <Object1> + <Name Value="TítuloDel reporte1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="32"/> + <Width Value="773"/> + <Height Value="32"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btReportTitle"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object1> + <Object2> + <Name Value="EncabezadoDe página1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="92"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btPageHeader"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object2> + <Object3> + <Name Value="PieDe página1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="164"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btPageFooter"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object3> + <Object4> + <Name Value="EncabezadoMaestro1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="236"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btMasterHeader"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object4> + <Object5> + <Name Value="DatosMaestros1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="300"/> + <Width Value="773"/> + <Height Value="20"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btMasterData"/> + <Condition Value=""/> + <DatasetStr Value="80"/> + </Object5> + <Object6> + <Name Value="PieMaestro1"/> + <ClassName Value="TfrBandView"/> + <Visible Value="1"/> + <Typ Value="gtBand"/> + <StreamMode Value="0"/> + <Size> + <Left Value="0"/> + <Top Value="368"/> + <Width Value="773"/> + <Height Value="40"/> + </Size> + <Flags Value="48"/> + <Data> + <Script Value=""/> + </Data> + <BandType Value="btMasterFooter"/> + <Condition Value=""/> + <DatasetStr Value=""/> + </Object6> + <Object7> + <Name Value="Memo1"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="40"/> + <Width Value="692"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clNone"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value="frbBottom"/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Composite Report Test, Report B "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="12"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value="fsBold"/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object7> + <Object8> + <Name Value="Memo2"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="100"/> + <Width Value="156"/> + <Height Value="20"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clAqua"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Page header, Report B "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object8> + <Object9> + <Name Value="Memo3"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="176"/> + <Width Value="156"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clAqua"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Page Footer, Report B "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object9> + <Object10> + <Name Value="Memo4"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="244"/> + <Width Value="156"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clSilver"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Master Header, Report B "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object10> + <Object11> + <Name Value="Memo5"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="48"/> + <Top Value="300"/> + <Width Value="456"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clFuchsia"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Line [LINE#], Line Through [LINETHROUGH#], Current [CURRENT#], Report B "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object11> + <Object12> + <Name Value="Memo6"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="52"/> + <Top Value="380"/> + <Width Value="148"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clSilver"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Master Footer, Report B "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object12> + <Object13> + <Name Value="Memo7"/> + <ClassName Value="TfrMemoView"/> + <Visible Value="1"/> + <Typ Value="gtMemo"/> + <StreamMode Value="0"/> + <Size> + <Left Value="600"/> + <Top Value="104"/> + <Width Value="96"/> + <Height Value="18"/> + </Size> + <Flags Value="3"/> + <FillColor Value="clAqua"/> + <Frames> + <FrameColor Value="clBlack"/> + <FrameStyle Value="frsSolid"/> + <FrameWidth Value="1"/> + <FrameBorders Value=""/> + </Frames> + <Data> + <Format Value="556"/> + <FormatStr Value=""/> + <Memo Value="Page [PAGE#] of [TOTALPAGES] "/> + <Script Value=""/> + </Data> + <Font> + <Name Value="helvetica [urw]"/> + <Size Value="10"/> + <Color Value="clBlack"/> + <Charset Value="0"/> + <Style Value=""/> + </Font> + <Highlight> + <FontStyle Value="2"/> + <FontColor Value="clBlack"/> + <FillColor Value="clWhite"/> + <HighlightStr Value=""/> + </Highlight> + <Alignment Value="taCenter"/> + <Layout Value="tlTop"/> + <Angle Value="0"/> + </Object13> + </Page1> + <FVal> + <Count Value="0"/> + </FVal> + <ParentVars Value=""/> + </Pages> + </LazReport> +</CONFIG>