LazReport, editor sample layout improvement and change to fpc resources, missing localized items, from Aleksey Lagunov

git-svn-id: trunk@23746 -
This commit is contained in:
jesus 2010-02-19 21:28:56 +00:00
parent ec6f9fbae0
commit ab29a9ca68
14 changed files with 286 additions and 174 deletions

2
.gitattributes vendored
View File

@ -1264,6 +1264,7 @@ components/lazreport/samples/barcode/reports/codigobarras.lrf svneol=native#text
components/lazreport/samples/editor/albumsbycountry.lrf svneol=LF#text/xml eol=lf components/lazreport/samples/editor/albumsbycountry.lrf svneol=LF#text/xml eol=lf
components/lazreport/samples/editor/calleditorwithpkg.lpi svneol=native#text/plain components/lazreport/samples/editor/calleditorwithpkg.lpi svneol=native#text/plain
components/lazreport/samples/editor/calleditorwithpkg.lpr svneol=native#text/pascal components/lazreport/samples/editor/calleditorwithpkg.lpr svneol=native#text/pascal
components/lazreport/samples/editor/calleditorwithpkg.res -text
components/lazreport/samples/editor/csvtest.lrf svneol=LF#text/xml eol=lf components/lazreport/samples/editor/csvtest.lrf svneol=LF#text/xml eol=lf
components/lazreport/samples/editor/db/disco.dbf -text components/lazreport/samples/editor/db/disco.dbf -text
components/lazreport/samples/editor/db/disco.mdx -text components/lazreport/samples/editor/db/disco.mdx -text
@ -1275,7 +1276,6 @@ components/lazreport/samples/editor/languages/calleditorwithpkg.pb.po svneol=nat
components/lazreport/samples/editor/languages/calleditorwithpkg.po svneol=native#text/plain components/lazreport/samples/editor/languages/calleditorwithpkg.po svneol=native#text/plain
components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po svneol=native#text/plain components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po svneol=native#text/plain
components/lazreport/samples/editor/maincalleditor.lfm svneol=native#text/plain 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/maincalleditor.pas svneol=native#text/pascal
components/lazreport/samples/editor/readme.txt svneol=native#text/plain 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/rpta.lrf svneol=LF#text/xml eol=lf

View File

@ -12,11 +12,16 @@
<MainUnit Value="0"/> <MainUnit Value="0"/>
<TargetFileExt Value=""/> <TargetFileExt Value=""/>
<Title Value="LazReport Designer"/> <Title Value="LazReport Designer"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General> </General>
<i18n> <i18n>
<EnableI18N Value="True"/> <EnableI18N Value="True"/>
<OutDir Value="languages"/> <OutDir Value="languages"/>
</i18n> </i18n>
<VersionInfo>
<StringTable Comments="" CompanyName="" FileDescription="" FileVersion="0.0.0.0" InternalName="" LegalCopyright="" LegalTrademarks="" OriginalFilename="" ProductName="" ProductVersion="0.0.0.0"/>
</VersionInfo>
<PublishOptions> <PublishOptions>
<Version Value="2"/> <Version Value="2"/>
<IgnoreBinaries Value="False"/> <IgnoreBinaries Value="False"/>
@ -70,7 +75,11 @@
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
<Version Value="8"/> <Version Value="8"/>
<Target>
<Filename Value="calleditorwithpkg"/>
</Target>
<SearchPaths> <SearchPaths>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
<SrcPath Value="$(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/"/> <SrcPath Value="$(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/"/>
</SearchPaths> </SearchPaths>
<Other> <Other>

View File

@ -4,8 +4,12 @@ program calleditorwithpkg;
uses uses
Interfaces, // this includes the LCL widgetset Interfaces, // this includes the LCL widgetset
Forms Forms,
{ add your units here }, maincalleditor, lazreportpdfexport, lazreport; maincalleditor,
lazreportpdfexport,
lazreport;
{$R calleditorwithpkg.res}
begin begin
Application.Title:='LazReport Designer'; Application.Title:='LazReport Designer';

View File

@ -21,6 +21,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Testen des LazReport-Editors" msgstr "Testen des LazReport-Editors"
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr ""
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -30,6 +35,10 @@ msgstr "Report bearbeiten"
msgid "Close application" msgid "Close application"
msgstr "" msgstr ""
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr ""
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "" msgstr ""
@ -59,6 +68,7 @@ msgid "This Action will Load and Preview a thumbnails Report"
msgstr "" msgstr ""
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "" msgstr ""
@ -112,6 +122,7 @@ msgid "Close"
msgstr "Schließen" msgstr "Schließen"
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "" msgstr ""
@ -166,6 +177,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Testen des LazReport-Editors" msgstr "Testen des LazReport-Editors"
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr ""
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgid "Files" msgid "Files"
msgstr "Dateien" msgstr "Dateien"

View File

@ -18,6 +18,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Banco de pruebas de LazReport" msgstr "Banco de pruebas de LazReport"
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr "Compuesto"
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -27,6 +32,10 @@ msgstr "Editar Reporte"
msgid "Close application" msgid "Close application"
msgstr "Cerrar aplicación" msgstr "Cerrar aplicación"
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr ""
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "Editar reporte activo" msgstr "Editar reporte activo"
@ -56,6 +65,7 @@ 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" msgstr "Esta acción cargará y mostrará una vista previa del reporte de imágenes"
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "Indice" msgstr "Indice"
@ -109,6 +119,7 @@ msgid "Close"
msgstr "Cerrar" msgstr "Cerrar"
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "Compuesto" msgstr "Compuesto"
@ -163,6 +174,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Banco de pruebas de LazReport" msgstr "Banco de pruebas de LazReport"
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr "Indice"
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgid "Files" msgid "Files"
msgstr "Archivos" msgstr "Archivos"

View File

@ -18,6 +18,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Suite de tests LazReport " msgstr "Suite de tests LazReport "
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr ""
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -27,6 +32,10 @@ msgstr "Edite Rapport"
msgid "Close application" msgid "Close application"
msgstr "Fermer l'application" msgstr "Fermer l'application"
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr ""
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "Edite Rapport Actif" msgstr "Edite Rapport Actif"
@ -56,6 +65,7 @@ msgid "This Action will Load and Preview a thumbnails Report"
msgstr "Cette action va charger et donner l'aperçu d'un rapport sous forme de vignettes" msgstr "Cette action va charger et donner l'aperçu d'un rapport sous forme de vignettes"
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "Index" msgstr "Index"
@ -110,6 +120,7 @@ msgid "Close"
msgstr "Quitter" msgstr "Quitter"
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "" msgstr ""
@ -167,6 +178,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Suite de tests LazReport " msgstr "Suite de tests LazReport "
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr "Index"
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgctxt "TFRMMAIN.MENUITEM1.CAPTION" msgctxt "TFRMMAIN.MENUITEM1.CAPTION"
msgid "Files" msgid "Files"

View File

@ -21,6 +21,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "LazReport testavimo paketas" msgstr "LazReport testavimo paketas"
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr ""
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -30,6 +35,10 @@ msgstr "Keisti pranešimą"
msgid "Close application" msgid "Close application"
msgstr "" msgstr ""
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr ""
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "" msgstr ""
@ -59,6 +68,7 @@ msgid "This Action will Load and Preview a thumbnails Report"
msgstr "" msgstr ""
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "" msgstr ""
@ -112,6 +122,7 @@ msgid "Close"
msgstr "Užverti" msgstr "Užverti"
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "" msgstr ""
@ -166,6 +177,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "LazReport testavimo paketas" msgstr "LazReport testavimo paketas"
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr ""
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgid "Files" msgid "Files"
msgstr "Failai" msgstr "Failai"

View File

@ -18,6 +18,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Acompanhamento Teste LazReport" msgstr "Acompanhamento Teste LazReport"
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr ""
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -27,6 +32,10 @@ msgstr "Editar Relatório"
msgid "Close application" msgid "Close application"
msgstr "" msgstr ""
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr ""
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "" msgstr ""
@ -56,6 +65,7 @@ msgid "This Action will Load and Preview a thumbnails Report"
msgstr "" msgstr ""
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "" msgstr ""
@ -109,6 +119,7 @@ msgid "Close"
msgstr "Fechar" msgstr "Fechar"
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "" msgstr ""
@ -163,6 +174,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Acompanhamento Teste LazReport" msgstr "Acompanhamento Teste LazReport"
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr ""
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgid "Files" msgid "Files"
msgstr "Arquivos" msgstr "Arquivos"

View File

@ -13,6 +13,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "" msgstr ""
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr ""
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -22,6 +27,10 @@ msgstr ""
msgid "Close application" msgid "Close application"
msgstr "" msgstr ""
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr ""
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "" msgstr ""
@ -51,6 +60,7 @@ msgid "This Action will Load and Preview a thumbnails Report"
msgstr "" msgstr ""
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "" msgstr ""
@ -104,6 +114,7 @@ msgid "Close"
msgstr "" msgstr ""
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "" msgstr ""
@ -158,6 +169,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "" msgstr ""
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr ""
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgid "Files" msgid "Files"
msgstr "" msgstr ""

View File

@ -18,6 +18,11 @@ msgctxt "maincalleditor.cerappcaption"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Тестовая программа для LazReport" msgstr "Тестовая программа для LazReport"
#: maincalleditor.cercomposite
msgctxt "maincalleditor.cercomposite"
msgid "Composite"
msgstr "Составной"
#: maincalleditor.cereditreport #: maincalleditor.cereditreport
msgctxt "maincalleditor.cereditreport" msgctxt "maincalleditor.cereditreport"
msgid "Edit Report" msgid "Edit Report"
@ -27,6 +32,10 @@ msgstr "Редактировать отчёт"
msgid "Close application" msgid "Close application"
msgstr "Закрыть приложение" msgstr "Закрыть приложение"
#: maincalleditor.cerhintcomposite
msgid "This Action will Load and Preview a composite Report"
msgstr "Загрузка и просмотр составного отчёта"
#: maincalleditor.cerhinteditreport #: maincalleditor.cerhinteditreport
msgid "Edit active report" msgid "Edit active report"
msgstr "Редактировать активный отчёт" msgstr "Редактировать активный отчёт"
@ -56,6 +65,7 @@ msgid "This Action will Load and Preview a thumbnails Report"
msgstr "Загрузка и просмотр отчёта с эскизами" msgstr "Загрузка и просмотр отчёта с эскизами"
#: maincalleditor.cerindex #: maincalleditor.cerindex
msgctxt "maincalleditor.cerindex"
msgid "Index" msgid "Index"
msgstr "Индекс" msgstr "Индекс"
@ -109,6 +119,7 @@ msgid "Close"
msgstr "Закрыть" msgstr "Закрыть"
#: TFRMMAIN.ACCCOMPOSITE.CAPTION #: TFRMMAIN.ACCCOMPOSITE.CAPTION
msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION"
msgid "Composite" msgid "Composite"
msgstr "Составной" msgstr "Составной"
@ -163,6 +174,15 @@ msgctxt "TFRMMAIN.CAPTION"
msgid "LazReport Test Suite" msgid "LazReport Test Suite"
msgstr "Тестовая программа для LazReport" msgstr "Тестовая программа для LazReport"
#: TFRMMAIN.LBLEXPR.CAPTION
msgid "Expression"
msgstr ""
#: TFRMMAIN.LBLINDEX.CAPTION
msgctxt "TFRMMAIN.LBLINDEX.CAPTION"
msgid "Index"
msgstr "Индекс"
#: TFRMMAIN.MENUITEM1.CAPTION #: TFRMMAIN.MENUITEM1.CAPTION
msgid "Files" msgid "Files"
msgstr "Файлы" msgstr "Файлы"

View File

@ -1,75 +1,104 @@
object frmMain: TfrmMain object frmMain: TfrmMain
Left = 277 Left = 20
Height = 433 Height = 545
Top = 127 Top = 111
Width = 569 Width = 800
ActiveControl = btnCallEditor ActiveControl = btnCallEditor
Caption = 'LazReport Test Suite' Caption = 'LazReport Test Suite'
ClientHeight = 413 ClientHeight = 524
ClientWidth = 569 ClientWidth = 800
Menu = MainMenu1 Menu = MainMenu1
OnCreate = frmMainCreate OnCreate = frmMainCreate
ShowHint = True ShowHint = True
LCLVersion = '0.9.29' LCLVersion = '0.9.29'
object lblIndex: TLabel object lblIndex: TLabel
Left = 12 AnchorSideLeft.Control = Owner
Height = 14 AnchorSideBottom.Control = dbGrid1
Top = 44 Left = 6
Width = 1 Height = 16
Top = 54
Width = 32
Anchors = [akLeft, akBottom]
BorderSpacing.Around = 6
Caption = 'Index'
ParentColor = False ParentColor = False
end end
object lblExpr: TLabel object lblExpr: TLabel
Left = 235 AnchorSideRight.Control = Button5
Height = 14 AnchorSideBottom.Control = dbGrid1
Top = 44 Left = 560
Width = 1 Height = 16
Top = 54
Width = 66
Anchors = [akRight, akBottom]
BorderSpacing.Around = 6
Caption = 'Expression'
ParentColor = False ParentColor = False
end end
object btnCallEditor: TButton object btnCallEditor: TButton
Left = 24 AnchorSideTop.Control = Owner
Height = 25 AnchorSideRight.Control = btnOpenReport
Top = 8 Left = 265
Width = 80 Height = 29
Top = 6
Width = 81
Action = accNewReport Action = accNewReport
BorderSpacing.InnerBorder = 4 Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 0 TabOrder = 0
end end
object dbGrid1: TDBGrid object dbGrid1: TDBGrid
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Button5
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideBottom.Control = sbar
Left = 0 Left = 0
Height = 322 Height = 429
Top = 68 Top = 76
Width = 569 Width = 800
Align = alBottom Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
Color = clWhite Color = clWhite
Columns = <>
DataSource = Datasource1 DataSource = Datasource1
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit] Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
TabOrder = 5 TabOrder = 5
OnTitleClick = dbGrid1TitleClick OnTitleClick = dbGrid1TitleClick
end end
object Button1: TButton object Button1: TButton
Left = 479 AnchorSideTop.Control = Owner
Height = 25 AnchorSideRight.Control = Owner
Top = 8 AnchorSideRight.Side = asrBottom
Width = 75 Left = 725
Height = 29
Top = 6
Width = 69
Action = accPrintGrid Action = accPrintGrid
BorderSpacing.InnerBorder = 4 Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 1 TabOrder = 1
end end
object Button2: TButton object Button2: TButton
Left = 290 AnchorSideTop.Control = Owner
Height = 25 AnchorSideRight.Control = Button4
Top = 8 Left = 530
Width = 96 Height = 29
Top = 6
Width = 100
Action = accPreviewReport Action = accPreviewReport
BorderSpacing.InnerBorder = 4 Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 2 TabOrder = 2
end end
object sbar: TStatusBar object sbar: TStatusBar
Left = 0 Left = 0
Height = 23 Height = 19
Top = 390 Top = 505
Width = 569 Width = 800
Panels = < Panels = <
item item
Width = 250 Width = 250
@ -77,56 +106,87 @@ object frmMain: TfrmMain
SimplePanel = False SimplePanel = False
end end
object Button3: TButton object Button3: TButton
Left = 210 AnchorSideTop.Control = Owner
Height = 25 AnchorSideRight.Control = Button2
Top = 8 Left = 445
Width = 75 Height = 29
Top = 6
Width = 79
Action = accEditReport Action = accEditReport
BorderSpacing.InnerBorder = 4 Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 3 TabOrder = 3
end end
object Button4: TButton object Button4: TButton
Left = 391 AnchorSideTop.Control = Owner
Height = 25 AnchorSideRight.Control = Button1
Top = 8 Left = 636
Height = 29
Top = 6
Width = 83 Width = 83
Action = accPrintReport Action = accPrintReport
BorderSpacing.InnerBorder = 4 Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 4 TabOrder = 4
end end
object btnOpenReport: TButton object btnOpenReport: TButton
Left = 109 AnchorSideTop.Control = Owner
Height = 25 AnchorSideRight.Control = Button3
Top = 8 Left = 352
Width = 96 Height = 29
Top = 6
Width = 87
Action = accOpenReport Action = accOpenReport
BorderSpacing.InnerBorder = 4 Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 6 TabOrder = 6
end end
object comboIndex: TComboBox object comboIndex: TComboBox
Left = 72 AnchorSideLeft.Control = lblIndex
Height = 21 AnchorSideLeft.Side = asrBottom
Top = 37 AnchorSideRight.Control = lblExpr
Width = 148 AnchorSideBottom.Control = dbGrid1
ItemHeight = 13 Left = 44
Height = 29
Top = 41
Width = 510
Anchors = [akLeft, akRight, akBottom]
BorderSpacing.Around = 6
ItemHeight = 0
OnSelect = comboIndexSelect OnSelect = comboIndexSelect
TabOrder = 8 TabOrder = 8
end end
object btnImageList: TButton object btnImageList: TButton
Left = 480 AnchorSideTop.Control = Button1
Height = 25 AnchorSideTop.Side = asrBottom
Top = 36 AnchorSideRight.Control = Owner
Width = 75 AnchorSideRight.Side = asrBottom
Left = 714
Height = 29
Top = 41
Width = 80
Action = accThumbnails Action = accThumbnails
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
DragMode = dmAutomatic DragMode = dmAutomatic
TabOrder = 9 TabOrder = 9
end end
object Button5: TButton object Button5: TButton
Left = 391 AnchorSideTop.Control = Button4
Height = 25 AnchorSideTop.Side = asrBottom
Top = 36 AnchorSideRight.Control = btnImageList
Width = 83 Left = 632
Height = 29
Top = 41
Width = 76
Action = accComposite Action = accComposite
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
TabOrder = 10 TabOrder = 10
end end
object TheReport: TfrReport object TheReport: TfrReport

View File

@ -1,105 +0,0 @@
{ 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#157#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#14#3'Top'#2','#5'W'
+'idth'#2#1#11'ParentColor'#8#0#0#6'TLabel'#7'lblExpr'#4'Left'#3#235#0#6'Heig'
+'ht'#2#14#3'Top'#2','#5'Width'#2#1#11'ParentColor'#8#0#0#7'TButton'#13'btnCa'
+'llEditor'#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'B'#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#23#3'Top'#3
+#134#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#21#3'Top'#2'%'#5'Width'#3#148#0#10'ItemHeight'#2#13#8'OnSele'
+'ct'#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'DragMode'#7#11'dmAutomatic'#8'TabOrder'#2#9#0#0#7'TButton'#7'Bu'
+'tton5'#4'Left'#3#135#1#6'Height'#2#25#3'Top'#2'$'#5'Width'#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'pbZ'
+'oom'#6'pbLoad'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbHelp'#6'pbExit'#0#8'DataT'
+'ype'#7#9'dtDataSet'#10'OnBeginDoc'#7#17'TheReportBeginDoc'#10'OnGetValue'#7
+#17'TheReportGetValue'#11'OnEnterRect'#7#18'TheReportEnterRect'#19'OnExportF'
+'ilterSetup'#7#26'TheReportExportFilterSetup'#4'left'#2'`'#3'top'#2'p'#10'Re'
+'portForm'#10#4#0#0#0#25#0#0#0#0#0#4'TDbf'#4'Dbf1'#9'IndexDefs'#14#0#10'Tabl'
+'eLevel'#2#3#13'FilterOptions'#11#0#4'left'#3#128#0#3'top'#2'H'#0#0#11'TData'
+'source'#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'MenuItem2'#6'Action'#7#8
+'accClose'#7'OnClick'#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'accEditReport'#7'OnClick'#7#20'accEditReportExecute'#0#0#9'TMenuItem'#9
+'MenuItem6'#6'Action'#7#16'accPreviewReport'#7'OnClick'#7#23'accPreviewRepor'
+'tExecute'#0#0#9'TMenuItem'#9'MenuItem7'#6'Action'#7#14'accPrintReport'#7'On'
+'Click'#7#21'accPrintReportExecute'#0#0#9'TMenuItem'#9'MenuItem8'#6'Action'#7
+#12'accPrintGrid'#7'OnClick'#7#19'accPrintGridExecute'#0#0#9'TMenuItem'#10'M'
+'enuItem14'#6'Action'#7#13'accThumbnails'#7'OnClick'#7#20'accThumbnailsExecu'
+'te'#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'Ex'
+'port'#0#9'TMenuItem'#10'MenuItem10'#6'Action'#7#15'accExportToText'#7'OnCli'
+'ck'#7#22'accExportToTextExecute'#0#0#9'TMenuItem'#10'MenuItem11'#6'Action'#7
+#15'accExportToHtml'#7'OnClick'#7#22'accExportToHtmlExecute'#0#0#9'TMenuItem'
+#10'MenuItem12'#6'Action'#7#14'accExportToCSV'#7'OnClick'#7#21'accExportToCS'
+'VExecute'#0#0#9'TMenuItem'#10'MenuItem13'#6'Action'#7#14'accExportToDbg'#7
+'OnClick'#7#21'accExportToDbgExecute'#0#0#0#0#22'TApplicationProperties'#22
,'ApplicationProperties1'#9'HintPause'#2#10#10'OnShowHint'#7#30'ApplicationPr'
+'operties1ShowHint'#4'left'#2'`'#3'top'#3#240#0#0#0#11'TActionList'#11'Actio'
+'nList1'#4'left'#2'0'#3'top'#2'`'#0#7'TAction'#12'accNewReport'#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'Tests'#7'Caption'#6#11'Edi'
+'t Report'#9'OnExecute'#7#20'accEditReportExecute'#0#0#7'TAction'#16'accPrev'
+'iewReport'#8'Category'#6#5'Tests'#7'Caption'#6#14'Preview Report'#9'OnExecu'
+'te'#7#23'accPreviewReportExecute'#0#0#7'TAction'#12'accPrintGrid'#8'Categor'
+'y'#6#5'Tests'#7'Caption'#6#10'Print Grid'#9'OnExecute'#7#19'accPrintGridExe'
+'cute'#0#0#7'TAction'#14'accPrintReport'#8'Category'#6#5'Tests'#7'Caption'#6
+#12'Print Report'#9'OnExecute'#7#21'accPrintReportExecute'#0#0#7'TAction'#8
+'accClose'#8'Category'#6#5'Files'#7'Caption'#6#5'Close'#9'OnExecute'#7#15'ac'
+'cCloseExecute'#0#0#7'TAction'#15'accExportToText'#8'Category'#6#6'Export'#7
+'Caption'#6#14'Export to text'#9'OnExecute'#7#22'accExportToTextExecute'#0#0
+#7'TAction'#15'accExportToHtml'#8'Category'#6#6'Export'#7'Caption'#6#14'Expo'
+'rt to html'#9'OnExecute'#7#22'accExportToHtmlExecute'#0#0#7'TAction'#13'acc'
+'OpenReport'#8'Category'#6#5'Files'#7'Caption'#6#11'Open Report'#9'OnExecute'
+#7#20'accOpenReportExecute'#0#0#7'TAction'#14'accExportToCSV'#8'Category'#6#6
+'Export'#7'Caption'#6#13'Export to CSV'#9'OnExecute'#7#21'accExportToCSVExec'
+'ute'#0#0#7'TAction'#13'accThumbnails'#8'Category'#6#14'Sample Reports'#7'Ca'
+'ption'#6#10'Thumbnails'#9'OnExecute'#7#20'accThumbnailsExecute'#0#0#7'TActi'
+'on'#14'accExportToDbg'#8'Category'#6#6'Export'#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':Laz'
+'Report Files|*.lrf|FreeReport Files|*.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'TfrUserDataset'#14'frUserDataset1'#8'RangeEnd'#7#7
+'reCount'#4'left'#3#132#0#3'top'#3#144#0#0#0#16'TfrBarCodeObject'#16'frBarCo'
+'deObject1'#4'left'#3#16#1#3'top'#3#170#0#0#0#18'TfrRoundRectObject'#18'frRo'
+'undRectObject1'#4'left'#3#16#1#3'top'#3#216#0#0#0#14'TfrShapeObject'#14'frS'
+'hapeObject1'#4'left'#3#16#1#3'top'#3#8#1#0#0#17'TfrCheckBoxObject'#17'frChe'
+'ckBoxObject1'#4'left'#3#16#1#3'top'#3'8'#1#0#0#18'TfrCompositeReport'#9'Com'
+'posite'#11'InitialZoom'#7#9'pzDefault'#14'PreviewButtons'#11#6'pbZoom'#6'pb'
+'Load'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbHelp'#6'pbExit'#0#8'DataType'#7#9
+'dtDataSet'#4'left'#3#144#1#3'top'#2'T'#10'ReportForm'#10#4#0#0#0#25#0#0#0#0
+#0#0
]);

View File

@ -136,6 +136,8 @@ implementation
uses gettext,translations; uses gettext,translations;
{$R *.lfm}
resourcestring resourcestring
cerOpenReport = 'Open report'; cerOpenReport = 'Open report';
cerNewReport = 'New report'; cerNewReport = 'New report';
@ -160,7 +162,9 @@ resourcestring
cerAppCaption = 'LazReport Test Suite'; cerAppCaption = 'LazReport Test Suite';
cerHintThumbnails = 'This Action will Load and Preview a thumbnails Report'; cerHintThumbnails = 'This Action will Load and Preview a thumbnails Report';
cerThumbnails = 'Thumbnails'; cerThumbnails = 'Thumbnails';
cerHintComposite = 'This Action will Load and Preview a composite Report';
cerComposite = 'Composite';
{ TfrmMain } { TfrmMain }
@ -186,6 +190,9 @@ begin
accThumbnails.Hint := cerHintThumbnails; accThumbnails.Hint := cerHintThumbnails;
accThumbnails.Caption := cerThumbnails; accThumbnails.Caption := cerThumbnails;
accComposite.Hint := cerHintComposite;
accComposite.Caption := cerComposite;
end; end;
procedure TfrmMain.ApplicationProperties1ShowHint(var HintStr: string; procedure TfrmMain.ApplicationProperties1ShowHint(var HintStr: string;
@ -438,9 +445,6 @@ begin
end; end;
initialization initialization
{$I maincalleditor.lrs}
TranslateResStrings; TranslateResStrings;
end. end.