Index: trunk/RaportySQL/ReklamyDoUsuniecia.rdl
===================================================================
--- trunk/RaportySQL/ReklamyDoUsuniecia.rdl (revision 130)
+++ trunk/RaportySQL/ReklamyDoUsuniecia.rdl (revision 736)
@@ -7,5 +7,5 @@
     </DataSource>
   </DataSources>
-  <InteractiveHeight>29.7cm</InteractiveHeight>
+  <InteractiveHeight>21cm</InteractiveHeight>
   <ReportParameters>
     <ReportParameter Name="tytul">
@@ -17,5 +17,5 @@
         </DataSetReference>
       </DefaultValue>
-      <Prompt>tytul</Prompt>
+      <Prompt>Tytul:</Prompt>
       <ValidValues>
         <DataSetReference>
@@ -28,13 +28,31 @@
     <ReportParameter Name="nr1">
       <DataType>String</DataType>
-      <Prompt>poprzedni numer</Prompt>
+      <Prompt>Poprzedni numer:</Prompt>
     </ReportParameter>
     <ReportParameter Name="nr2">
       <DataType>String</DataType>
-      <Prompt>nowy numer</Prompt>
+      <Prompt>Nowy numer:</Prompt>
+    </ReportParameter>
+    <ReportParameter Name="grzbiet">
+      <DataType>String</DataType>
+      <DefaultValue>
+        <DataSetReference>
+          <DataSetName>ListaGrzbietow</DataSetName>
+          <ValueField>Grzbiet</ValueField>
+        </DataSetReference>
+      </DefaultValue>
+      <Prompt>Grzbiet:</Prompt>
+      <ValidValues>
+        <DataSetReference>
+          <DataSetName>ListaGrzbietow</DataSetName>
+          <ValueField>Grzbiet</ValueField>
+          <LabelField>Grzbiet</LabelField>
+        </DataSetReference>
+      </ValidValues>
+      <MultiValue>true</MultiValue>
     </ReportParameter>
   </ReportParameters>
   <rd:DrawGrid>true</rd:DrawGrid>
-  <InteractiveWidth>21cm</InteractiveWidth>
+  <InteractiveWidth>29.7cm</InteractiveWidth>
   <rd:GridSpacing>0.25cm</rd:GridSpacing>
   <rd:SnapToGrid>true</rd:SnapToGrid>
@@ -54,5 +72,5 @@
     </EmbeddedImage>
   </EmbeddedImages>
-  <PageWidth>21cm</PageWidth>
+  <PageWidth>29.7cm</PageWidth>
   <DataSets>
     <DataSet Name="ListaTytulow">
@@ -67,5 +85,5 @@
         <CommandText>SELECT      SYMB
 FROM            [LISTA TYTUÅÃW]
-WHERE        (st_aktywny = - 1)</CommandText>
+WHERE        Active=1</CommandText>
         <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
       </Query>
@@ -77,4 +95,8 @@
           <rd:TypeName>System.Int32</rd:TypeName>
         </Field>
+        <Field Name="staryGrzbiet">
+          <DataField>staryGrzbiet</DataField>
+          <rd:TypeName>System.String</rd:TypeName>
+        </Field>
         <Field Name="nrwyd1">
           <DataField>nrwyd1</DataField>
@@ -89,10 +111,10 @@
           <rd:TypeName>System.String</rd:TypeName>
         </Field>
-        <Field Name="lokalizacja">
-          <DataField>lokalizacja</DataField>
+        <Field Name="Uwagi">
+          <DataField>Uwagi</DataField>
           <rd:TypeName>System.String</rd:TypeName>
         </Field>
         <Field Name="strona">
-          <DataField>strona</DataField>
+          <DataField>Strona</DataField>
           <rd:TypeName>System.Int16</rd:TypeName>
         </Field>
@@ -101,26 +123,54 @@
           <rd:TypeName>System.Boolean</rd:TypeName>
         </Field>
+        <Field Name="Dzial">
+          <DataField>Dzial</DataField>
+          <rd:TypeName>System.String</rd:TypeName>
+        </Field>
+        <Field Name="Rozdzial">
+          <DataField>Rozdzial</DataField>
+          <rd:TypeName>System.String</rd:TypeName>
+        </Field>
+        <Field Name="lokalizacja">
+          <DataField>Lokalizacja</DataField>
+          <rd:TypeName>System.String</rd:TypeName>
+        </Field>
       </Fields>
       <Query>
         <DataSourceName>BAZA_REKLAM</DataSourceName>
-        <CommandText>select R.reklamaId, [UKAÅ»E SIÄ W NR].[Nr Wydania] as nrwyd1, G.[nazwa] as grzbiet1, r.[id reklamy] as reklama1, R.strona  as lokalizacja, REKLAMA_STRONA.strona, R.[zatwierdzono do druku] from 
+        <CommandText>SELECT * FROM
+(
+SELECT 
+R.reklamaId, 
+dbo.getSectionForDTP (T.Id,R.grzbiet,R.ogl_dzial) AS staryGrzbiet,
+[UKAÅ»E SIÄ W NR].[Nr Wydania] as nrwyd1, 
+G.[nazwa] as grzbiet1, 
+r.[id reklamy] as reklama1, 
+R.strona  AS Uwagi, 
+REKLAMA_STRONA.Strona, 
+R.[zatwierdzono do druku],
+D.Name AS Dzial, Roz.Name AS Rozdzial, Lok.Text AS Lokalizacja
+FROM REKLAMA AS R 
+INNER JOIN [UKAÅ»E SIÄ W NR] ON R.ReklamaID = [UKAÅ»E SIÄ W NR].ReklamaId 
+INNER JOIN [Lista tytuÅÃ³w] T ON T.Symb=R.[TytuÅ]
+LEFT OUTER JOIN REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND  [UKAÅ»E SIÄ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA 
+LEFT OUTER JOIN GRZBIETY AS G ON R.GRZBIET = G.ID 
+LEFT OUTER JOIN Dzial AS D ON R.ogl_dzial = D.Id
+LEFT OUTER JOIN Rozdzial AS Roz ON R.ogl_rozdzial = Roz.Id
+LEFT OUTER JOIN ReklamaLokalizacja AS Lok ON R.AdLocationId = Lok.Id
 
- REKLAMA AS R INNER JOIN
-                         [UKAÅ»E SIÄ W NR] ON R.ReklamaID = [UKAÅ»E SIÄ W NR].ReklamaId LEFT OUTER JOIN
-                         REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND 
-                         [UKAÅ»E SIÄ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA LEFT OUTER JOIN
-                         GRZBIETY AS G ON R.GRZBIET = G.ID 
-where [UKAÅ»E SIÄ W NR].[Nr Wydania] = @nr1  and r.tytuÅ =@tytul and (r.[zatwierdzono do druku]=1 or 
-(r.[zatwierdzono do druku]=0 and REKLAMA_STRONA.strona is not null))
-and substring(R.[Id reklamy],1,7) not in (
-select substring(R.[Id reklamy],1,7) from 
-
- REKLAMA AS R INNER JOIN
-                         [UKAÅ»E SIÄ W NR] ON R.ReklamaID = [UKAÅ»E SIÄ W NR].ReklamaId LEFT OUTER JOIN
-                         REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND 
-                         [UKAÅ»E SIÄ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA LEFT OUTER JOIN
-                         GRZBIETY AS G ON R.GRZBIET = G.ID 
-where [UKAÅ»E SIÄ W NR].[Nr Wydania] = @nr2  and r.tytuÅ =@tytul and r.[zatwierdzono do druku]=1
-)  order by REKLAMA_STRONA.strona</CommandText>
+WHERE 
+[UKAÅ»E SIÄ W NR].[Nr Wydania] = @nr1  
+and r.tytuÅ =@tytul 
+and (r.[zatwierdzono do druku]=1 or (r.[zatwierdzono do druku]=0 and REKLAMA_STRONA.strona is not null))
+and substring(R.[Id reklamy],1,7) not in ( 
+	SELECT substring(R.[Id reklamy],1,7) FROM REKLAMA AS R 
+		INNER JOIN [UKAÅ»E SIÄ W NR] ON R.ReklamaID = [UKAÅ»E SIÄ W NR].ReklamaId 
+		LEFT OUTER JOIN REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND [UKAÅ»E SIÄ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA 
+		LEFT OUTER JOIN GRZBIETY AS G ON R.GRZBIET = G.ID 
+	WHERE [UKAÅ»E SIÄ W NR].[Nr Wydania] = @nr2  AND r.tytuÅ =@tytul AND r.[zatwierdzono do druku]=1
+)  
+) Reklama
+WHERE Reklama.staryGrzbiet IN (@grzbiet)
+ORDER BY Reklama.Strona</CommandText>
         <QueryParameters>
           <QueryParameter Name="@nr1">
@@ -133,4 +183,41 @@
             <Value>=Parameters!nr2.Value</Value>
           </QueryParameter>
+          <QueryParameter Name="@grzbiet">
+            <Value>=Parameters!grzbiet.Value</Value>
+          </QueryParameter>
+        </QueryParameters>
+        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
+      </Query>
+    </DataSet>
+    <DataSet Name="ListaGrzbietow">
+      <Fields>
+        <Field Name="Grzbiet">
+          <DataField>Grzbiet</DataField>
+          <rd:TypeName>System.String</rd:TypeName>
+        </Field>
+      </Fields>
+      <Query>
+        <DataSourceName>BAZA_REKLAM</DataSourceName>
+        <CommandText>DECLARE @Grzbiety TABLE
+(
+     Grzbiet varchar(10)
+)
+
+IF @tytul='AMT'
+BEGIN 
+INSERT INTO @Grzbiety VALUES ('B')
+INSERT INTO @Grzbiety VALUES ('D')
+END
+--IF @tytul='GS'
+--BEGIN
+--END
+
+INSERT INTO @Grzbiety VALUES ('-?-')
+
+SELECT * FROM @Grzbiety</CommandText>
+        <QueryParameters>
+          <QueryParameter Name="@tytul">
+            <Value>=Parameters!tytul.Value</Value>
+          </QueryParameter>
         </QueryParameters>
         <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
@@ -139,5 +226,5 @@
   </DataSets>
   <Code />
-  <Width>19cm</Width>
+  <Width>27.27646cm</Width>
   <Body>
     <ColumnSpacing>1cm</ColumnSpacing>
@@ -182,5 +269,4 @@
         <DataSetName>reklamyDoUsuniecia</DataSetName>
         <Top>2.25cm</Top>
-        <Width>17.5cm</Width>
         <Details>
           <TableRows>
@@ -209,5 +295,5 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>5</ZIndex>
+                      <ZIndex>9</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>=Fields!nrwyd1.Value</Value>
@@ -237,5 +323,5 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>4</ZIndex>
+                      <ZIndex>8</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>=Fields!reklama1.Value</Value>
@@ -265,5 +351,5 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>3</ZIndex>
+                      <ZIndex>7</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>=Fields!strona.Value</Value>
@@ -287,5 +373,5 @@
                         </BorderWidth>
                       </Style>
-                      <ZIndex>2</ZIndex>
+                      <ZIndex>6</ZIndex>
                       <Value>=iif(Fields!zatwierdzono_do_druku.Value=true,"check2","delete2")</Value>
                     </Image>
@@ -294,4 +380,32 @@
                 <TableCell>
                   <ReportItems>
+                    <Textbox Name="textbox16">
+                      <rd:DefaultName>textbox16</rd:DefaultName>
+                      <Style>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>5</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>=Fields!staryGrzbiet.Value</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
                     <Textbox Name="grzbiet1">
                       <rd:DefaultName>grzbiet1</rd:DefaultName>
@@ -314,7 +428,91 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
+                      <ZIndex>4</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>=Fields!grzbiet1.Value</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox14">
+                      <rd:DefaultName>textbox14</rd:DefaultName>
+                      <Style>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>3</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>=Fields!Dzial.Value</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox11">
+                      <rd:DefaultName>textbox11</rd:DefaultName>
+                      <Style>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>2</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>=Fields!Rozdzial.Value</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox8">
+                      <rd:DefaultName>textbox8</rd:DefaultName>
+                      <Style>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
                       <ZIndex>1</ZIndex>
                       <CanGrow>true</CanGrow>
-                      <Value>=Fields!grzbiet1.Value</Value>
+                      <Value>=Fields!lokalizacja.Value</Value>
                     </Textbox>
                   </ReportItems>
@@ -343,5 +541,5 @@
                       </Style>
                       <CanGrow>true</CanGrow>
-                      <Value>=Fields!lokalizacja.Value</Value>
+                      <Value>=Fields!Uwagi.Value</Value>
                     </Textbox>
                   </ReportItems>
@@ -380,5 +578,5 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>11</ZIndex>
+                      <ZIndex>19</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>Nr wydania</Value>
@@ -410,5 +608,5 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>10</ZIndex>
+                      <ZIndex>18</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>Symbol rek.</Value>
@@ -440,5 +638,5 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>9</ZIndex>
+                      <ZIndex>17</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>Nr strony</Value>
@@ -470,7 +668,37 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>8</ZIndex>
+                      <ZIndex>16</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>Z</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox15">
+                      <rd:DefaultName>textbox15</rd:DefaultName>
+                      <Style>
+                        <BackgroundColor>WhiteSmoke</BackgroundColor>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <FontWeight>700</FontWeight>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>15</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>Stary grzbiet</Value>
                     </Textbox>
                   </ReportItems>
@@ -500,7 +728,97 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>7</ZIndex>
+                      <ZIndex>14</ZIndex>
                       <CanGrow>true</CanGrow>
                       <Value>Grzbiet</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox13">
+                      <rd:DefaultName>textbox13</rd:DefaultName>
+                      <Style>
+                        <BackgroundColor>WhiteSmoke</BackgroundColor>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <FontWeight>700</FontWeight>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>13</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>DziaÅ</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox9">
+                      <rd:DefaultName>textbox9</rd:DefaultName>
+                      <Style>
+                        <BackgroundColor>WhiteSmoke</BackgroundColor>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <FontWeight>700</FontWeight>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>12</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>RozdziaÅ</Value>
+                    </Textbox>
+                  </ReportItems>
+                </TableCell>
+                <TableCell>
+                  <ReportItems>
+                    <Textbox Name="textbox7">
+                      <rd:DefaultName>textbox7</rd:DefaultName>
+                      <Style>
+                        <BackgroundColor>WhiteSmoke</BackgroundColor>
+                        <BorderColor>
+                          <Default>LightGrey</Default>
+                        </BorderColor>
+                        <BorderStyle>
+                          <Default>Solid</Default>
+                        </BorderStyle>
+                        <BorderWidth>
+                          <Default>0.5pt</Default>
+                        </BorderWidth>
+                        <FontSize>8pt</FontSize>
+                        <FontWeight>700</FontWeight>
+                        <TextAlign>Center</TextAlign>
+                        <VerticalAlign>Middle</VerticalAlign>
+                        <PaddingLeft>2pt</PaddingLeft>
+                        <PaddingRight>2pt</PaddingRight>
+                        <PaddingTop>2pt</PaddingTop>
+                        <PaddingBottom>2pt</PaddingBottom>
+                      </Style>
+                      <ZIndex>11</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>Lokalizacja</Value>
                     </Textbox>
                   </ReportItems>
@@ -530,7 +848,7 @@
                         <PaddingBottom>2pt</PaddingBottom>
                       </Style>
-                      <ZIndex>6</ZIndex>
-                      <CanGrow>true</CanGrow>
-                      <Value>Lokalizacja</Value>
+                      <ZIndex>10</ZIndex>
+                      <CanGrow>true</CanGrow>
+                      <Value>Uwagi</Value>
                     </Textbox>
                   </ReportItems>
@@ -555,11 +873,22 @@
           </TableColumn>
           <TableColumn>
+            <Width>1.25cm</Width>
+          </TableColumn>
+          <TableColumn>
+            <Width>2.5cm</Width>
+          </TableColumn>
+          <TableColumn>
             <Width>3.25cm</Width>
           </TableColumn>
           <TableColumn>
-            <Width>5cm</Width>
+            <Width>3.5cm</Width>
+          </TableColumn>
+          <TableColumn>
+            <Width>2.5cm</Width>
+          </TableColumn>
+          <TableColumn>
+            <Width>5.02646cm</Width>
           </TableColumn>
         </TableColumns>
-        <Left>0.5cm</Left>
       </Table>
       <Textbox Name="textbox30">
@@ -585,4 +914,4 @@
   <Language>en-US</Language>
   <TopMargin>1cm</TopMargin>
-  <PageHeight>29.7cm</PageHeight>
+  <PageHeight>21cm</PageHeight>
 </Report>
