﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="1">
      <BBDD Ref="2" type="Stimulsoft.Report.Dictionary.StiOracleDatabase" isKey="true">
        <Alias>BBDD</Alias>
        <ConnectionStringEncrypted>9MitAs18kl1rE6Cd+Vxqj8TAQy/dBXoBQ3ihXHHsanL10GkC1nz6jM9+Ze16aSqTjciNzWsBojV8TIxcdIDzu+B4kaBYBaNx8mTITHE96BeC7sPCVnxL7HxgJYl5aetG5FT5DV1qws17bKDMS4DoCsLIu8lfa7pFywBtfPuErW6NFneDXnFCrE9+fe1LxPPn8e6zzeYJuqx5bHkE8QQsXscWtS9rcPI1wFvMcMMRbY+BGmFg1WyZCQ==</ConnectionStringEncrypted>
        <Name>BBDD</Name>
      </BBDD>
    </Databases>
    <DataSources isList="true" count="3">
      <Sexo_Periodo Ref="3" type="Stimulsoft.Report.Dictionary.StiOracleSource" isKey="true">
        <Alias>Sexo_Periodo</Alias>
        <Columns isList="true" count="2">
          <value>LITERAL,System.String</value>
          <value>SEXO,System.String</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>Sexo_Periodo</Name>
        <NameInSource>BBDD</NameInSource>
        <Parameters isList="true" count="0" />
        <SqlCommand>SELECT  b.literal, ETCSEX as Sexo
	FROM SADMIN a
Inner Join 
  (
select 
	Min(Fecha) as lowerDay, Max(Fecha) as higherDay, Min(fecha)||' - ' || Max(Fecha) as literal
  from DIM_TIEMPO
  Where --Año = 2015 and 
	fecha &lt;= SysDate
  Group By Año
  ) b on (TO_CHAR(a.H1DDEB,'YYYY') = TO_CHAR(b.lowerDay,'YYYY'))
INNER JOIN ETACIV c on (a.etcmat = c.etcmat)
Where 
	{wherestr} AND
	--Filtro para añadir todos los ETCMATS perteneciente a todos los NICS [NICS &lt; ETCMATS]
   

a.ETCMAT in 
  (
Select 
	ETCMAT 
	From 
	ETACIV 
	Where 
	NIC in
        ( 
Select 
	c.NIC 
	From 
	ETACIV c, SADMIN a 
          WHERE 
            c.ETCMAT = a.ETCMAT 
            AND {wherestr}
        )
  )
</SqlCommand>
      </Sexo_Periodo>
      <Sexo_totales Ref="4" type="Stimulsoft.Report.Dictionary.StiOracleSource" isKey="true">
        <Alias>FuenteDeDatos1</Alias>
        <Columns isList="true" count="4">
          <value>LITERAL,System.String</value>
          <value>MUJERES,System.Decimal</value>
          <value>HOMBRES,System.Decimal</value>
          <value>TOTAL,System.Decimal</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>Sexo_totales</Name>
        <NameInSource>BBDD</NameInSource>
        <Parameters isList="true" count="0" />
        <SqlCommand>SELECT  
	b.literal,
	Count(CASE WHEN ETCSEX = 'H' THEN 1 END) as Mujeres,
	Count(CASE WHEN ETCSEX = 'V' THEN 1 END) as Hombres,
	Count(1) as Total
FROM 
	SADMIN a
Inner Join 
  (
select 
	Min(Fecha) as lowerDay, Max(Fecha) as higherDay, Min(fecha)||' - ' || Max(Fecha) as literal
  from DIM_TIEMPO
  Where --Año = 2015 and 
	fecha &lt;= SysDate
  Group By Año
  ) b on (TO_CHAR(a.H1DDEB,'YYYY') = TO_CHAR(b.lowerDay,'YYYY'))
INNER JOIN ETACIV c on (a.etcmat = c.etcmat)
Where 
	{wherestr} AND
	--Filtro para añadir todos los ETCMATS perteneciente a todos los NICS [NICS &lt; ETCMATS]
   

a.ETCMAT in 
  (
Select 
	ETCMAT 
	From 
	ETACIV 
	Where 
	NIC in
        ( 
Select 
	c.NIC 
	From 
	ETACIV c, SADMIN a 
          WHERE 
            c.ETCMAT = a.ETCMAT 
            AND {wherestr}
        )
  )
Group By Literal</SqlCommand>
      </Sexo_totales>
      <Hombres_Mujeres Ref="5" type="Stimulsoft.Report.Dictionary.StiOracleSource" isKey="true">
        <Alias>Hombres_Mujeres</Alias>
        <Columns isList="true" count="2">
          <value>MUJERES,System.Decimal</value>
          <value>HOMBRES,System.Decimal</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>Hombres_Mujeres</Name>
        <NameInSource>BBDD</NameInSource>
        <Parameters isList="true" count="0" />
        <SqlCommand>SELECT  
	Count(CASE WHEN ETCSEX = 'H' THEN 1 END) as Mujeres,
	Count(CASE WHEN ETCSEX = 'V' THEN 1 END) as Hombres
FROM 
	SADMIN a
Inner Join 
  (
select 
	Min(Fecha) as lowerDay, Max(Fecha) as higherDay, Min(fecha)||' - ' || Max(Fecha) as literal
  from DIM_TIEMPO
  Where --Año = 2015 and 
	fecha &lt;= SysDate
  Group By Año
  ) b on (TO_CHAR(a.H1DDEB,'YYYY') = TO_CHAR(b.lowerDay,'YYYY'))
INNER JOIN ETACIV c on (a.etcmat = c.etcmat)
Where 
	{wherestr} AND
	--Filtro para añadir todos los ETCMATS perteneciente a todos los NICS [NICS &lt; ETCMATS]
a.ETCMAT in 
  (
Select 
	ETCMAT 
	From 
	ETACIV 
	Where 
	NIC in
        ( 
Select 
	c.NIC 
	From 
	ETACIV c, SADMIN a 
          WHERE 
            c.ETCMAT = a.ETCMAT 
            AND {wherestr}
        )
  )</SqlCommand>
      </Hombres_Mujeres>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="7">
      <value>,period_StartDate,period_StartDate,System.String,_x0030_1_x002F_01_x002F_2010,False,False</value>
      <value>,period_EndDate,period_EndDate,System.String,_x0033_1_x002F_12_x002F_2015,False,False</value>
      <value>,fecha_Situacion,fecha_Situacion,System.String,_x0030_1_x002F_08_x002F_2015,False,False</value>
      <value>,filtro_activos,filtro_activos,System.String,_x0022__x0020_a.SADESO_x0020__x003C__x003D__x0020_TO_DATE_x0020__x0028__x0027__x0022__x002B_fecha_Situacion_x002B__x0022__x0027__x002C__x0020__x0020__x0027_DD_x002F_MM_x002F_YYYY_x0027__x0029__x0020_AND_x0020__x0028_a.SADSOR_x0020_IS_x0020_NULL_x0020_OR_x0020__x0028_a.SADSOR_x0020__x003E__x003D__x0020_TO_DATE_x0020__x0028__x0027__x0022__x002B_fecha_Situacion_x002B__x0022__x0027__x002C__x0020__x0027_DD_x002F_MM_x002F_YYYY_x0027__x0029__x0029__x0029__x0020_AND_x0020__x0028_a.NEXT_x0020_IS_x0020_NULL_x0020_OR_x0020_a.H1DFIN_x0020__x003D__x0020_a.SADSOR_x0029__x0009_AND_x0020__x0028_a.NEXT_x0020_IS_x0020_NULL_x0020_OR_x0020_a.H1DFIN_x0020__x003D__x0020_a.SADSOR_x0029__x0020_AND_x0020_a.H1DDEB_x0020__x003E__x003D__x0020_TO_DATE_x0028__x0027__x0022__x002B_period_StartDate_x002B__x0022__x0027__x0029__x0020_AND_x0020__x0028_a.H1DFIN_x0020__x003C__x003D__x0020_TO_DATE_x0028__x0027__x0022__x002B_period_EndDate_x002B__x0022__x0027__x0029__x0020_OR_x0020_a.H1DFIN_x0020_is_x0020_NULL_x0029__x0020__x0022__x000D__x000A_,True,True</value>
      <value>,filtro_ausentes,filtro_ausentes,System.String,_x0022_a.SADESO_x0020__x003C__x003D__x0020_TO_DATE_x0020__x0028__x0027__x0022__x002B_fecha_Situacion_x002B__x0022__x0027__x002C__x0020__x0027_DD_x002F_MM_x002F_YYYY_x0027__x0029__x0020_AND_x0020__x0028_TO_CHAR_x0028_a.SADSOR_x002C__x0027_YYYY_x0027__x0029__x0020__x003D__x0020_TO_CHAR_x0028_TO_DATE_x0028__x0027__x0022__x002B_fecha_Situacion_x002B__x0022__x0027__x0029__x002C__x0027_YYYY_x0027__x0029__x0029__x0020_AND_x0020__x0028_TO_CHAR_x0028_a.SADSOR_x002C__x0027_MM_x0027__x0029__x0020__x003D__x0020_TO_CHAR_x0028_a.TO_DATE_x0028__x0027__x0022__x002B_fecha_Situacion_x002B__x0022__x0027__x0029__x002C__x0027_MM_x0027__x0029__x0029__x0020_AND_x0020__x0028_a.NEXT_x0020_IS_x0020_NOT_x0020_NULL_x0020_OR_x0020_a.H1DFIN_x0020__x003D__x0020_a.SADSOR_x0029__x0020_AND_x0020_a.H1DDEB_x0020__x003E__x003D__x0020_TO_DATE_x0028__x0027__x0022__x002B_period_StartDate_x002B__x0022__x0027__x0029__x0020_AND_x0020__x0028_a.H1DFIN_x0020__x003C__x003D__x0020_TO_DATE_x0028__x0027__x0022__x002B_period_EndDate_x002B__x0022__x0027__x0029__x0020_OR_x0020_a.H1DFIN_x0020_is_x0020_NULL_x0029__x0022_,True,True</value>
      <value>,empleados_Situacion,empleados_Situacion,System.String,Actives,False,False</value>
      <value>,wherestr,wherestr,System.String,IIF_x0028_empleados_Situacion_x0020__x003D__x0022_Actives_x0022__x002C_filtro_activos_x002C_filtro_ausentes_x0029_,True,True</value>
    </Variables>
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <Page1 Ref="6" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="5">
        <Chart1 Ref="7" type="Stimulsoft.Report.Chart.StiChart" isKey="true">
          <Area Ref="8" type="Stimulsoft.Report.Chart.StiClusteredColumnArea" isKey="true">
            <BorderColor>171, 172, 173</BorderColor>
            <Brush>[255:255:255]</Brush>
            <Chart isRef="7" />
            <GridLinesHor Ref="9" type="Stimulsoft.Report.Chart.StiGridLinesHor" isKey="true">
              <Area isRef="8" />
              <Color>100, 105, 105, 105</Color>
              <MinorColor>100, 105, 105, 105</MinorColor>
            </GridLinesHor>
            <GridLinesHorRight Ref="10" type="Stimulsoft.Report.Chart.StiGridLinesHor" isKey="true">
              <Area isRef="8" />
              <Color>Silver</Color>
              <MinorColor>Gainsboro</MinorColor>
              <Visible>False</Visible>
            </GridLinesHorRight>
            <GridLinesVert Ref="11" type="Stimulsoft.Report.Chart.StiGridLinesVert" isKey="true">
              <Area isRef="8" />
              <Color>100, 105, 105, 105</Color>
              <MinorColor>100, 105, 105, 105</MinorColor>
            </GridLinesVert>
            <InterlacingHor Ref="12" type="Stimulsoft.Report.Chart.StiInterlacingHor" isKey="true">
              <Area isRef="8" />
              <InterlacedBrush>[10:155:155:155]</InterlacedBrush>
            </InterlacingHor>
            <InterlacingVert Ref="13" type="Stimulsoft.Report.Chart.StiInterlacingVert" isKey="true">
              <Area isRef="8" />
              <InterlacedBrush>[10:155:155:155]</InterlacedBrush>
            </InterlacingVert>
            <XAxis Ref="14" type="Stimulsoft.Report.Chart.StiXBottomAxis" isKey="true">
              <Area isRef="8" />
              <DateTimeStep Ref="15" type="Stimulsoft.Report.Chart.StiAxisDateTimeStep" isKey="true" />
              <Interaction Ref="16" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
              <Labels Ref="17" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                <Color>140, 140, 140</Color>
                <Font>Tahoma,8</Font>
              </Labels>
              <LineColor>140, 140, 140</LineColor>
              <Range Ref="18" type="Stimulsoft.Report.Chart.StiAxisRange" isKey="true" />
              <ShowXAxis>Bottom</ShowXAxis>
              <Ticks Ref="19" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
              <Title Ref="20" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                <Color>140, 140, 140</Color>
                <Font>Tahoma,12,Bold</Font>
              </Title>
            </XAxis>
            <XTopAxis Ref="21" type="Stimulsoft.Report.Chart.StiXTopAxis" isKey="true">
              <Area isRef="8" />
              <Interaction Ref="22" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
              <Labels Ref="23" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                <Color>140, 140, 140</Color>
                <Font>Tahoma,8</Font>
              </Labels>
              <LineColor>140, 140, 140</LineColor>
              <Ticks Ref="24" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
              <Title Ref="25" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                <Color>140, 140, 140</Color>
                <Font>Tahoma,12,Bold</Font>
              </Title>
            </XTopAxis>
            <YAxis Ref="26" type="Stimulsoft.Report.Chart.StiYLeftAxis" isKey="true">
              <Area isRef="8" />
              <Interaction Ref="27" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
              <Labels Ref="28" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                <Color>140, 140, 140</Color>
                <Font>Tahoma,8</Font>
              </Labels>
              <LineColor>140, 140, 140</LineColor>
              <Range Ref="29" type="Stimulsoft.Report.Chart.StiAxisRange" isKey="true" />
              <Ticks Ref="30" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
              <Title Ref="31" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                <Color>140, 140, 140</Color>
                <Direction>BottomToTop</Direction>
                <Font>Tahoma,12,Bold</Font>
              </Title>
            </YAxis>
            <YRightAxis Ref="32" type="Stimulsoft.Report.Chart.StiYRightAxis" isKey="true">
              <Area isRef="8" />
              <Interaction Ref="33" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
              <Labels Ref="34" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                <Color>140, 140, 140</Color>
                <Font>Tahoma,8</Font>
                <TextAlignment>Left</TextAlignment>
              </Labels>
              <LineColor>140, 140, 140</LineColor>
              <Range Ref="35" type="Stimulsoft.Report.Chart.StiAxisRange" isKey="true" />
              <Ticks Ref="36" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
              <Title Ref="37" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                <Color>140, 140, 140</Color>
                <Direction>TopToBottom</Direction>
                <Font>Tahoma,12,Bold</Font>
              </Title>
            </YRightAxis>
          </Area>
          <Brush>[255:255:255]</Brush>
          <ClientRectangle>0.6,13.8,8.6,7</ClientRectangle>
          <Conditions isList="true" count="0" />
          <ConstantLines isList="true" count="0" />
          <CustomStyleName />
          <DataRelationName isNull="true" />
          <DataSourceName>Sexo_totales</DataSourceName>
          <Filters isList="true" count="0" />
          <IsAnimation>False</IsAnimation>
          <Legend Ref="38" type="Stimulsoft.Report.Chart.StiLegend" isKey="true">
            <BorderColor>105, 105, 105</BorderColor>
            <Brush>[255:255:255]</Brush>
            <Chart isRef="7" />
            <Font>Arial,8</Font>
            <LabelsColor>140, 140, 140</LabelsColor>
            <MarkerSize>10, 10</MarkerSize>
            <TitleColor>105, 105, 105</TitleColor>
            <TitleFont>Arial,14,Bold</TitleFont>
          </Legend>
          <Name>Chart1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Series isList="true" count="3">
            <Item7 Ref="39" type="Stimulsoft.Report.Chart.StiClusteredColumnSeries" isKey="true">
              <Argument>{Sexo_totales.LITERAL}</Argument>
              <BorderColor>255, 255, 255</BorderColor>
              <Brush>[112:173:71]</Brush>
              <BrushNegative>Firebrick</BrushNegative>
              <Chart isRef="7" />
              <Conditions isList="true" count="0" />
              <Filters isList="true" count="0" />
              <ListOfArguments>{Sexo_totales.LITERAL}</ListOfArguments>
              <SeriesLabels Ref="40" type="Stimulsoft.Report.Chart.StiCenterAxisLabels" isKey="true">
                <BorderColor>140, 140, 140</BorderColor>
                <Brush>[255:255:255]</Brush>
                <Chart isRef="7" />
                <Font>Arial,7</Font>
                <LabelColor>90, 90, 90</LabelColor>
                <MarkerSize>8, 6</MarkerSize>
                <ValueTypeSeparator>-</ValueTypeSeparator>
                <Width>0</Width>
              </SeriesLabels>
              <ShowSeriesLabels>FromSeries</ShowSeriesLabels>
              <Title>Mujeres</Title>
              <TopN Ref="41" type="Stimulsoft.Report.Chart.StiSeriesTopN" isKey="true" />
              <TrendLine Ref="42" type="Stimulsoft.Report.Chart.StiTrendLineNone" isKey="true">
                <LineColor>Black</LineColor>
                <ShowShadow>True</ShowShadow>
              </TrendLine>
              <ValueDataColumn>Sexo_totales.MUJERES</ValueDataColumn>
            </Item7>
            <Item8 Ref="43" type="Stimulsoft.Report.Chart.StiClusteredColumnSeries" isKey="true">
              <Argument>{Sexo_totales.LITERAL}</Argument>
              <BorderColor>255, 255, 255</BorderColor>
              <Brush>[68:114:196]</Brush>
              <BrushNegative>Firebrick</BrushNegative>
              <Chart isRef="7" />
              <Conditions isList="true" count="0" />
              <Filters isList="true" count="0" />
              <SeriesLabels Ref="44" type="Stimulsoft.Report.Chart.StiCenterAxisLabels" isKey="true">
                <BorderColor>140, 140, 140</BorderColor>
                <Brush>[255:255:255]</Brush>
                <Chart isRef="7" />
                <Font>Arial,7</Font>
                <LabelColor>90, 90, 90</LabelColor>
                <MarkerSize>8, 6</MarkerSize>
                <ValueTypeSeparator>-</ValueTypeSeparator>
                <Width>0</Width>
              </SeriesLabels>
              <Title>Hombres</Title>
              <TopN Ref="45" type="Stimulsoft.Report.Chart.StiSeriesTopN" isKey="true" />
              <TrendLine Ref="46" type="Stimulsoft.Report.Chart.StiTrendLineNone" isKey="true">
                <LineColor>Black</LineColor>
                <ShowShadow>True</ShowShadow>
              </TrendLine>
              <ValueDataColumn>Sexo_totales.HOMBRES</ValueDataColumn>
            </Item8>
            <Item9 Ref="47" type="Stimulsoft.Report.Chart.StiLineSeries" isKey="true">
              <ArgumentDataColumn>Sexo_totales.LITERAL</ArgumentDataColumn>
              <Chart isRef="7" />
              <Conditions isList="true" count="0" />
              <Filters isList="true" count="0" />
              <LineColor>255, 192, 0</LineColor>
              <LineColorNegative>Firebrick</LineColorNegative>
              <LineMarker Ref="48" type="Stimulsoft.Report.Chart.StiLineMarker" isKey="true">
                <BorderColor>105, 42, 0</BorderColor>
                <Brush>[255:242:50]</Brush>
              </LineMarker>
              <Marker Ref="49" type="Stimulsoft.Report.Chart.StiMarker" isKey="true">
                <BorderColor>155, 92, 0</BorderColor>
                <Brush>[255:255:100]</Brush>
              </Marker>
              <SeriesLabels Ref="50" type="Stimulsoft.Report.Chart.StiOutsideEndAxisLabels" isKey="true">
                <BorderColor>140, 140, 140</BorderColor>
                <Brush>[255:255:255]</Brush>
                <Chart isRef="7" />
                <Font>Arial,7</Font>
                <LabelColor>90, 90, 90</LabelColor>
                <MarkerSize>8, 6</MarkerSize>
                <ValueTypeSeparator>-</ValueTypeSeparator>
                <Width>0</Width>
              </SeriesLabels>
              <Title>Total</Title>
              <TopN Ref="51" type="Stimulsoft.Report.Chart.StiSeriesTopN" isKey="true" />
              <TrendLine Ref="52" type="Stimulsoft.Report.Chart.StiTrendLineNone" isKey="true">
                <LineColor>Black</LineColor>
                <ShowShadow>True</ShowShadow>
              </TrendLine>
              <ValueDataColumn>Sexo_totales.TOTAL</ValueDataColumn>
            </Item9>
          </Series>
          <SeriesLabels Ref="53" type="Stimulsoft.Report.Chart.StiCenterAxisLabels" isKey="true">
            <BorderColor>140, 140, 140</BorderColor>
            <Brush>[255:255:255]</Brush>
            <Chart isRef="7" />
            <Font>Arial,7</Font>
            <LabelColor>90, 90, 90</LabelColor>
            <MarkerSize>8, 6</MarkerSize>
            <ValueTypeSeparator>-</ValueTypeSeparator>
            <Width>0</Width>
          </SeriesLabels>
          <SeriesLabelsConditions isList="true" count="0" />
          <Sort isList="true" count="2">
            <value>ASC</value>
            <value>LITERAL</value>
          </Sort>
          <Strips isList="true" count="0" />
          <Style Ref="54" type="Stimulsoft.Report.Chart.StiStyle25" isKey="true" />
          <Table Ref="55" type="Stimulsoft.Report.Chart.StiChartTable" isKey="true">
            <Font>Tahoma,8</Font>
            <GridLineColor>105, 105, 105</GridLineColor>
            <Header Ref="56" type="Stimulsoft.Report.Chart.StiChartTableHeader" isKey="true">
              <Brush>White</Brush>
              <Font>Arial,8</Font>
              <TextColor>DarkGray</TextColor>
            </Header>
            <TextColor>140, 140, 140</TextColor>
          </Table>
          <Title Ref="57" type="Stimulsoft.Report.Chart.StiChartTitle" isKey="true">
            <Brush>[140:140:140]</Brush>
            <Font>Tahoma,12,Bold</Font>
          </Title>
        </Chart1>
        <Chart2 Ref="58" type="Stimulsoft.Report.Chart.StiChart" isKey="true">
          <Area Ref="59" type="Stimulsoft.Report.Chart.StiPieArea" isKey="true">
            <BorderColor>171, 172, 173</BorderColor>
            <Brush>[255:255:255]</Brush>
            <Chart isRef="58" />
          </Area>
          <Brush>[255:255:255]</Brush>
          <ClientRectangle>9.8,13.8,8.6,7</ClientRectangle>
          <Conditions isList="true" count="0" />
          <ConstantLines isList="true" count="0" />
          <CustomStyleName />
          <DataRelationName isNull="true" />
          <DataSourceName>Hombres_Mujeres</DataSourceName>
          <Filters isList="true" count="0" />
          <IsAnimation>False</IsAnimation>
          <Legend Ref="60" type="Stimulsoft.Report.Chart.StiLegend" isKey="true">
            <BorderColor>105, 105, 105</BorderColor>
            <Brush>[255:255:255]</Brush>
            <Chart isRef="58" />
            <Font>Arial,8</Font>
            <LabelsColor>140, 140, 140</LabelsColor>
            <MarkerSize>10, 10</MarkerSize>
            <Title>Leyenda</Title>
            <TitleColor>105, 105, 105</TitleColor>
            <TitleFont>Arial,14,Bold</TitleFont>
          </Legend>
          <Name>Chart2</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Series isList="true" count="2">
            <Item11 Ref="61" type="Stimulsoft.Report.Chart.StiPieSeries" isKey="true">
              <Argument>Mujeres</Argument>
              <BorderColor>255, 255, 255</BorderColor>
              <Brush>[112:173:71]</Brush>
              <Chart isRef="58" />
              <Conditions isList="true" count="0" />
              <Filters isList="true" count="0" />
              <Format isNull="true" />
              <SeriesLabels Ref="62" type="Stimulsoft.Report.Chart.StiCenterAxisLabels" isKey="true">
                <BorderColor>140, 140, 140</BorderColor>
                <Brush>[255:255:255]</Brush>
                <Chart isRef="58" />
                <Font>Arial,7</Font>
                <LabelColor>90, 90, 90</LabelColor>
                <MarkerSize>8, 6</MarkerSize>
                <ValueTypeSeparator>-</ValueTypeSeparator>
                <Width>0</Width>
              </SeriesLabels>
              <Title>Mujeres</Title>
              <TopN Ref="63" type="Stimulsoft.Report.Chart.StiSeriesTopN" isKey="true" />
              <ValueDataColumn>Hombres_Mujeres.MUJERES</ValueDataColumn>
            </Item11>
            <Item12 Ref="64" type="Stimulsoft.Report.Chart.StiPieSeries" isKey="true">
              <Argument>Hombres</Argument>
              <BorderColor>255, 255, 255</BorderColor>
              <Brush>[68:114:196]</Brush>
              <Chart isRef="58" />
              <Conditions isList="true" count="0" />
              <Filters isList="true" count="0" />
              <SeriesLabels Ref="65" type="Stimulsoft.Report.Chart.StiCenterAxisLabels" isKey="true">
                <BorderColor>140, 140, 140</BorderColor>
                <Brush>[255:255:255]</Brush>
                <Chart isRef="58" />
                <Font>Arial,7</Font>
                <LabelColor>90, 90, 90</LabelColor>
                <MarkerSize>8, 6</MarkerSize>
                <ValueTypeSeparator>-</ValueTypeSeparator>
                <Width>0</Width>
              </SeriesLabels>
              <ShowSeriesLabels>FromSeries</ShowSeriesLabels>
              <Title>Hombres</Title>
              <TopN Ref="66" type="Stimulsoft.Report.Chart.StiSeriesTopN" isKey="true" />
              <ValueDataColumn>Hombres_Mujeres.HOMBRES</ValueDataColumn>
            </Item12>
          </Series>
          <SeriesLabels Ref="67" type="Stimulsoft.Report.Chart.StiNoneLabels" isKey="true">
            <Chart isRef="58" />
            <MarkerSize>8, 6</MarkerSize>
            <ValueTypeSeparator>-</ValueTypeSeparator>
            <Width>0</Width>
          </SeriesLabels>
          <SeriesLabelsConditions isList="true" count="0" />
          <Sort isList="true" count="0" />
          <Strips isList="true" count="0" />
          <Style Ref="68" type="Stimulsoft.Report.Chart.StiStyle25" isKey="true" />
          <Table Ref="69" type="Stimulsoft.Report.Chart.StiChartTable" isKey="true">
            <Font>Tahoma,8</Font>
            <GridLineColor>105, 105, 105</GridLineColor>
            <Header Ref="70" type="Stimulsoft.Report.Chart.StiChartTableHeader" isKey="true">
              <Brush>White</Brush>
              <Font>Arial,8</Font>
              <TextColor>DarkGray</TextColor>
            </Header>
            <TextColor>140, 140, 140</TextColor>
          </Table>
          <Title Ref="71" type="Stimulsoft.Report.Chart.StiChartTitle" isKey="true">
            <Brush>[140:140:140]</Brush>
            <Font>Tahoma,12,Bold</Font>
          </Title>
        </Chart2>
        <ReportTitleBand1 Ref="72" type="ReportTitleBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,1.8</ClientRectangle>
          <Components isList="true" count="1">
            <Text10 Ref="73" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[250:192:143]</Brush>
              <ClientRectangle>0,0,19,1.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,36,Bold</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text10</Name>
              <Page isRef="6" />
              <Parent isRef="72" />
              <Text>Igualdad de genero</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text10>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>ReportTitleBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
        </ReportTitleBand1>
        <DataBand1 Ref="74" type="DataBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,3,19,2.6</ClientRectangle>
          <Components isList="true" count="9">
            <Text5 Ref="75" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>0,1.4,4.8,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>{ToUpperCase(empleados_Situacion)}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text5>
            <Text1 Ref="76" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>4.8,1.4,4.6,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>{period_StartDate}</Text>
              <TextBrush>Black</TextBrush>
            </Text1>
            <Text3 Ref="77" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>9.4,1.4,4.6,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>{period_EndDate}</Text>
              <TextBrush>Black</TextBrush>
            </Text3>
            <Text7 Ref="78" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>14,1.4,5,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text7</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>{fecha_Situacion}</Text>
              <TextBrush>Black</TextBrush>
            </Text7>
            <Text6 Ref="79" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>0,0.8,4.8,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>Situacion</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text6>
            <Text2 Ref="80" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>4.8,0.8,4.6,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>period_1</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text2>
            <Text4 Ref="81" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>9.4,0.8,4.6,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>period_2</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text4>
            <Text8 Ref="82" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>14,0.8,5,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>a fecha...</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text8>
            <Text9 Ref="83" type="Text" isKey="true">
              <Border>None;[79:129:189];1;Solid;False;4;Black</Border>
              <Brush>[146:208:80]</Brush>
              <ClientRectangle>0,0,19,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text9</Name>
              <Page isRef="6" />
              <Parent isRef="74" />
              <Text>Filtros</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text9>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Sort isList="true" count="0" />
        </DataBand1>
        <CrossTab2 Ref="84" type="Stimulsoft.Report.CrossTab.StiCrossTab" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>4.4,6,11,5.4</ClientRectangle>
          <Components isList="true" count="8">
            <CrossTab2_RowTotal1 Ref="85" type="CrossRowTotal" isKey="true">
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>[189:50:50]</Brush>
              <ClientRectangle>0,2.5,5.6,1.6</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>89c4adc755604394abcdb685655e5329</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_RowTotal1</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>Total</Text>
              <TextBrush>Silver</TextBrush>
            </CrossTab2_RowTotal1>
            <CrossTab2_Row1_Title Ref="86" type="CrossTitle" isKey="true">
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>DarkRed</Brush>
              <ClientRectangle>0,0.05,5.6,0.8</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>ad8c3290c2064eaabcf3ed533e3f0314</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_Row1_Title</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>Periodo</Text>
              <TextBrush>Silver</TextBrush>
              <TypeOfComponent>Row:CrossTab2_Row1</TypeOfComponent>
            </CrossTab2_Row1_Title>
            <CrossTab2_SumHeader1 Ref="87" type="Stimulsoft.Report.CrossTab.StiCrossSummaryHeader" isKey="true">
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>DarkRed</Brush>
              <ClientRectangle>2.8,0.9,2.8,0.8</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>e34bbd0174204efb93c6f9cf5433cc7e</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_SumHeader1</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>Mujeres</Text>
              <TextBrush>Silver</TextBrush>
            </CrossTab2_SumHeader1>
            <CrossTab2_SumHeader2 Ref="88" type="Stimulsoft.Report.CrossTab.StiCrossSummaryHeader" isKey="true">
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>DarkRed</Brush>
              <ClientRectangle>2.8,1.7,2.8,0.8</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>ebe158c2001041fd9bf1fd457c2a57b0</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_SumHeader2</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>Hombres</Text>
              <TextBrush>Silver</TextBrush>
            </CrossTab2_SumHeader2>
            <CrossTab2_SummaryTitle Ref="89" type="CrossTitle" isKey="true">
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>DarkRed</Brush>
              <ClientRectangle>5.65,0.05,3.4,0.8</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>f78b2b1061bc48899d040ab7c9277419</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_SummaryTitle</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>Empleados</Text>
              <TextBrush>Silver</TextBrush>
              <TypeOfComponent>SummaryTitle</TypeOfComponent>
            </CrossTab2_SummaryTitle>
            <CrossTab2_Row1 Ref="90" type="CrossRow" isKey="true">
              <Alias>LITERAL</Alias>
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>DarkRed</Brush>
              <ClientRectangle>0,0.9,2.8,1.6</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Conditions isList="true" count="0" />
              <DisplayValue>{Sexo_totales.LITERAL}</DisplayValue>
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>b43bb1000f10464baa4c7252c3dbdcd1</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_Row1</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>LITERAL</Text>
              <TextBrush>Silver</TextBrush>
              <TotalGuid>89c4adc755604394abcdb685655e5329</TotalGuid>
              <Value>{Sexo_totales.LITERAL}</Value>
            </CrossTab2_Row1>
            <CrossTab2_Sum1 Ref="91" type="CrossSummary" isKey="true">
              <Alias>MUJERES</Alias>
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>[239:100:100]</Brush>
              <ClientRectangle>5.65,0.9,3.4,0.8</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>91cf06d051e34a95b17a8a8ddf398d89</Guid>
              <HideZeros>False</HideZeros>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_Sum1</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>0</Text>
              <TextBrush>Silver</TextBrush>
              <Value>{Sexo_totales.MUJERES}</Value>
            </CrossTab2_Sum1>
            <CrossTab2_Sum2 Ref="92" type="CrossSummary" isKey="true">
              <Alias>HOMBRES</Alias>
              <Border>All;[39:0:0];1;Solid;False;4;Black</Border>
              <Brush>[239:100:100]</Brush>
              <ClientRectangle>5.65,1.7,3.4,0.8</ClientRectangle>
              <ComponentStyle>Rojo ADP</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,18,Regular,Point,False,0</Font>
              <Guid>3f0f0877027e4b85a4ac3813293a2c59</Guid>
              <HideZeros>False</HideZeros>
              <Margins>0,0,0,0</Margins>
              <Name>CrossTab2_Sum2</Name>
              <Page isRef="6" />
              <Parent isRef="84" />
              <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
              <Text>0</Text>
              <TextBrush>Silver</TextBrush>
              <Value>{Sexo_totales.HOMBRES}</Value>
            </CrossTab2_Sum2>
          </Components>
          <Conditions isList="true" count="0" />
          <CrossTabStyleIndex>-1</CrossTabStyleIndex>
          <DataRelationName />
          <DataSourceName>Sexo_totales</DataSourceName>
          <EmptyValue />
          <Filters isList="true" count="0" />
          <HorAlignment>Center</HorAlignment>
          <Name>CrossTab2</Name>
          <Page isRef="6" />
          <Parent isRef="6" />
          <Sort isList="true" count="0" />
        </CrossTab2>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>933c563b3c57493c9617b53904208166</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="93" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="94" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" />
  <ReferencedAssemblies isList="true" count="8">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Nuevo_Test_Variable</ReportAlias>
  <ReportChanged>8/19/2015 2:55:09 PM</ReportChanged>
  <ReportCreated>8/13/2015 8:36:31 AM</ReportCreated>
  <ReportFile>C:\enrique\store_reporting\DEVELOP\reports\nuevoo\Sexo.mrt</ReportFile>
  <ReportGuid>6c36d5efae454d4d8754978cc60b36dd</ReportGuid>
  <ReportName>Nuevo_Test_Variable</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2015.1.16</ReportVersion>
  <Script>Imports System
Imports System.Drawing
Imports System.Windows.Forms
Imports System.Data
Imports Stimulsoft.Controls
Imports Stimulsoft.Base.Drawing
Imports Stimulsoft.Report
Imports Stimulsoft.Report.Dialogs
Imports Stimulsoft.Report.Components

Namespace Reports
    Public Class Nuevo_Test_Variable
        Inherits Stimulsoft.Report.StiReport

        Public Sub New()
            MyBase.New
            Me.InitializeComponent
        End Sub

        #Region "StiReport Designer generated code - do not modify"
		#End Region 'StiReport Designer generated code - do not modify
    End Class
End Namespace
</Script>
  <ScriptLanguage>VB</ScriptLanguage>
  <Styles isList="true" count="2">
    <Rojo_x0020_ADP Ref="95" type="Stimulsoft.Report.StiCrossTabStyle" isKey="true">
      <Color>DarkRed</Color>
      <Conditions isList="true" count="0" />
      <Name>Rojo ADP</Name>
    </Rojo_x0020_ADP>
    <Estilo1 Ref="96" type="Stimulsoft.Report.StiCrossTabStyle" isKey="true">
      <Color>White</Color>
      <Conditions isList="true" count="0" />
      <Name>Estilo1</Name>
    </Estilo1>
  </Styles>
</StiSerializer>