Skip to content

Commit

Permalink
Merge pull request #230 from alberti47/Optional-Grid-on-Zoom
Browse files Browse the repository at this point in the history
Optional grid on zoom
  • Loading branch information
majorsilence authored Apr 27, 2024
2 parents 8f0f035 + 512bf48 commit 9505460
Show file tree
Hide file tree
Showing 11 changed files with 3,405 additions and 1,714 deletions.
239 changes: 239 additions & 0 deletions Examples/Examples.416/HIDERIGA_ON_COMMAND.rdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Description></Description>
<Author></Author>
<PageHeight>11in</PageHeight>
<PageWidth>8.5in</PageWidth>
<Width>7.5in</Width>
<TopMargin>.25in</TopMargin>
<LeftMargin>.25in</LeftMargin>
<RightMargin>.25in</RightMargin>
<BottomMargin>.25in</BottomMargin>
<PageHeader>
<Height>33.9pt</Height>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
</PageHeader>
<Body>
<Height>114.3pt</Height>
<ReportItems>
<Table Name="Table1">
<DataSetName>DS</DataSetName>
<NoRows>Query returned no rows!</NoRows>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderColor />
<BorderWidth />
</Style>
<TableColumns>
<TableColumn>
<Width>140.5pt</Width>
</TableColumn>
<TableColumn>
<Width>142.1pt</Width>
</TableColumn>
</TableColumns>
<Header>
<TableRows>
<TableRow>
<Height>12.0pt</Height>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="Textbox2">
<Value>VALORE</Value>
<Style>
<TextAlign>Center</TextAlign>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<FontWeight>Bold</FontWeight>
<BorderColor />
<BorderWidth />
</Style>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Textbox5">
<Value></Value>
<Style xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition">
<TextAlign>Center</TextAlign>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<FontWeight>Bold</FontWeight>
<BorderColor />
<BorderWidth />
</Style>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
</TableRows>
<RepeatOnNewPage>true</RepeatOnNewPage>
</Header>
<Details>
<TableRows>
<TableRow>
<Height>18pt</Height>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="Textbox3">
<Value>={VALORE}</Value>
<CanGrow>true</CanGrow>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderColor />
<BorderWidth />
</Style>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Textbox6">
<Value></Value>
<Style xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition">
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderColor />
<BorderWidth />
</Style>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
<TableRow>
<Height>8.8pt</Height>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="BOXRIGA">
<Value>-----------------------------------------------------------------------------</Value>
<Style xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition">
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderColor />
<BorderWidth />
<VerticalAlign>Middle</VerticalAlign>
</Style>
<Visibility>
<Hidden></Hidden>
<ToggleItem></ToggleItem>
</Visibility>
<CanShrink>true</CanShrink>
</Textbox>
</ReportItems>
<ColSpan>2</ColSpan>
</TableCell>
</TableCells>
<Visibility>
<Hidden>=iIF(UCase({?RIGAPRESENTE})='S',False,True)</Hidden>
</Visibility>
</TableRow>
</TableRows>
</Details>
<Left>41.9pt</Left>
<Top>13.5pt</Top>
<Footer>
<TableRows>
<TableRow>
<Height>.2in</Height>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="Textbox4">
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
<Value></Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Textbox7">
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
<Value></Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
</TableRows>
</Footer>
</Table>
</ReportItems>
<Columns>1</Columns>
</Body>
<PageFooter>
<Height>148.4pt</Height>
<ReportItems>
<Textbox Name="Textbox1">
<Top>1pt</Top>
<Left>10pt</Left>
<Height>12pt</Height>
<Width>3in</Width>
<Value>=Globals!PageNumber + ' of ' + Globals!TotalPages</Value>
<Style>
<FontSize>10pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</Textbox>
</ReportItems>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
</PageFooter>
<DataSources>
<DataSource Name="XML">
<ConnectionProperties>
<DataProvider />
<ConnectString />
<IntegratedSecurity>false</IntegratedSecurity>
</ConnectionProperties>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DS">
<Query>
<DataSourceName>XML</DataSourceName>
<CommandText></CommandText>
</Query>
<Fields>
<Field Name="VALORE">
<DataField>VALORE</DataField>
<TypeName>System.String</TypeName>
</Field>
</Fields>
<fyi:Rows File="HIDERIGA_ON_COMMAND.xml" xmlns:fyi="http://www.fyireporting.com/schemas" />
</DataSet>
</DataSets>
<DataElementName>Report</DataElementName>
<DataElementStyle>AttributeNormal</DataElementStyle>
<ReportParameters>
<ReportParameter Name="RIGAPRESENTE">
<DataType>String</DataType>
<Nullable>false</Nullable>
<AllowBlank>false</AllowBlank>
<MultiValue>false</MultiValue>
<Prompt>RIGA PRESENTE 1 ?</Prompt>
</ReportParameter>
</ReportParameters>
</Report>
7 changes: 7 additions & 0 deletions Examples/Examples.416/HIDERIGA_ON_COMMAND.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Rows>
<Row><VALORE>A</VALORE></Row>
<Row><VALORE>B</VALORE></Row>
<Row><VALORE>C</VALORE></Row>
<Row><VALORE>D</VALORE></Row>

</Rows>
Loading

0 comments on commit 9505460

Please sign in to comment.