GetTabTableStyle

Syntax

TabTableStyle GetTabTableStyle(string mon)

Parameters

mon. Moniker for working with table area formatting style.

Description

The GetTabTableStyle operation gets table area formatting style parameters.

Comments

To execute the operation, in the mon field specify table area moniker. The moniker is specified in the following format: Regular report instance moniker!DataArea!DataSources!data source key!DataSourceSlices!slice key!Views!table key!EaxTableStyle!TableStyle.

The operation results in the settings of the style used for table area formatting.

Example

Below is the example of getting information about the style applied to table data area. The request contains moniker for working with table data area styles. The response contains the obtained style information.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetTabTableStyle xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">HKJBPOFGHFLNFOAEPCMMOLCIPENIILFEJLJPJINGDHAMFJHO!M!S!PKIBJJDGGHFLNFOAELFBDMPPAAHADDJBECIFBLMKKFMCDJAFG!DataArea!DataSources!1!DataSourceSlices!1!Views!1!EaxTableStyle!TableStyle</mon>
  </GetTabTableStyle>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetTabTableStyleResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name xmlns="">EAX table style</Name>
<Range xmlns="">
  <left>0</left>
  <top>0</top>
  <width>0</width>
  <height>0</height>
  </Range>
<Corner UNS="2">
  <Text HA="-1" VA="-1" WW="-1" Mmm="-1.00 -1.00 -1.00 -1.00" />
  <Fill C="#FFB2AD" />
<Borders>
  <Border I="6" S="0" C="#FFFFFF" />
  <Border I="7" S="0" C="#FFFFFF" />
  </Borders>
  <Hyperlink />
  </Corner>
<FirstRow xmlns="">
  <Width>1</Width>
<Style UNS="2">
  <Text HA="-1" VA="-1" WW="-1" Mmm="-1.00 -1.00 -1.00 -1.00" />
  <Fill C="#FFFFFF" />
  <Borders />
  <Hyperlink />
  </Style>
  </FirstRow>
<SecondRow xmlns="">
  <Width>1</Width>
<Style UNS="2">
  <Text HA="-1" VA="-1" WW="-1" Mmm="-1.00 -1.00 -1.00 -1.00" />
  <Fill C="#FFD8D6" />
  <Borders />
  <Hyperlink />
  </Style>
  </SecondRow>
<FirstColumn xmlns="">
  <Width>1</Width>
  </FirstColumn>
<SecondColumn xmlns="">
  <Width>1</Width>
  </SecondColumn>
<HeaderRow xmlns="">
  <Width>1</Width>
<Style UNS="2">
  <Text HA="-1" VA="-1" WW="-1" Mmm="-1.00 -1.00 -1.00 -1.00" />
  <Fill C="#FFD8D6" />
<Borders>
  <Border I="2" S="0" C="#BBBBBB" />
  <Border I="5" S="0" C="#BBBBBB" />
  <Border I="6" S="0" C="#FFFFFF" />
  <Border I="7" S="0" C="#FFFFFF" />
  </Borders>
  <Hyperlink />
  </Style>
  </HeaderRow>
<HeaderColumn xmlns="">
  <Width>1</Width>
<Style UNS="2">
  <Text HA="-1" VA="-1" WW="-1" Mmm="-1.00 -1.00 -1.00 -1.00" />
  <Fill C="#FFB2AD" />
<Borders>
  <Border I="3" S="0" C="#BBBBBB" />
  <Border I="4" S="0" C="#BBBBBB" />
  <Border I="6" S="0" C="#FFFFFF" />
  <Border I="7" S="0" C="#FFFFFF" />
  </Borders>
  <Hyperlink />
  </Style>
  </HeaderColumn>
<FooterRow xmlns="">
  <Width>0</Width>
  </FooterRow>
<FooterColumn xmlns="">
  <Width>0</Width>
  </FooterColumn>
  <PredefinedStyle xmlns="">ExtRedStriped</PredefinedStyle>
  <IsEmpty xmlns="">0</IsEmpty>
  </GetTabTableStyleResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetTabTableStyle" :
{
"mon" : "HKJBPOFGHFLNFOAEPCMMOLCIPENIILFEJLJPJINGDHAMFJHO!M!S!PKIBJJDGGHFLNFOAELFBDMPPAAHADDJBECIFBLMKKFMCDJAFG!DataArea!DataSources!1!DataSourceSlices!1!Views!1!EaxTableStyle!TableStyle"
}
}

JSON response:

{
"GetTabTableStyleResult" :
{
"Name" : "EAX table style",
"Range" :
{
"left" : "0",
"top" : "0",
"width" : "0",
"height" : "0"
},
"Corner" :
{
"@UNS" : "2",
"Text" :
{
"@VA" : "-1",
"@Mmm" : "-1.00 -1.00 -1.00 -1.00",
"@HA" : "-1",
"@WW" : "-1"
},
"Fill" :
{
"@C" : "#FFB2AD"
},
"Borders" :
{
"Border" :
[
{
"@S" : "0",
"@C" : "#FFFFFF",
"@I" : "6"
},
{
"@S" : "0",
"@C" : "#FFFFFF",
"@I" : "7"
}
]
},
"Hyperlink" : ""
},
"FirstRow" :
{
"Width" : "1",
"Style" :
{
"@UNS" : "2",
"Text" :
{
"@VA" : "-1",
"@Mmm" : "-1.00 -1.00 -1.00 -1.00",
"@HA" : "-1",
"@WW" : "-1"
},
"Fill" :
{
"@C" : "#FFFFFF"
},
"Borders" : "",
"Hyperlink" : ""
}
},
"SecondRow" :
{
"Width" : "1",
"Style" :
{
"@UNS" : "2",
"Text" :
{
"@VA" : "-1",
"@Mmm" : "-1.00 -1.00 -1.00 -1.00",
"@HA" : "-1",
"@WW" : "-1"
},
"Fill" :
{
"@C" : "#FFD8D6"
},
"Borders" : "",
"Hyperlink" : ""
}
},
"FirstColumn" :
{
"Width" : "1"
},
"SecondColumn" :
{
"Width" : "1"
},
"HeaderRow" :
{
"Width" : "1",
"Style" :
{
"@UNS" : "2",
"Text" :
{
"@VA" : "-1",
"@Mmm" : "-1.00 -1.00 -1.00 -1.00",
"@HA" : "-1",
"@WW" : "-1"
},
"Fill" :
{
"@C" : "#FFD8D6"
},
"Borders" :
{
"Border" :
[
{
"@S" : "0",
"@C" : "#BBBBBB",
"@I" : "2"
},
{
"@S" : "0",
"@C" : "#BBBBBB",
"@I" : "5"
},
{
"@S" : "0",
"@C" : "#FFFFFF",
"@I" : "6"
},
{
"@S" : "0",
"@C" : "#FFFFFF",
"@I" : "7"
}
]
},
"Hyperlink" : ""
}
},
"HeaderColumn" :
{
"Width" : "1",
"Style" :
{
"@UNS" : "2",
"Text" :
{
"@VA" : "-1",
"@Mmm" : "-1.00 -1.00 -1.00 -1.00",
"@HA" : "-1",
"@WW" : "-1"
},
"Fill" :
{
"@C" : "#FFB2AD"
},
"Borders" :
{
"Border" :
[
{
"@S" : "0",
"@C" : "#BBBBBB",
"@I" : "3"
},
{
"@S" : "0",
"@C" : "#BBBBBB",
"@I" : "4"
},
{
"@S" : "0",
"@C" : "#FFFFFF",
"@I" : "6"
},
{
"@S" : "0",
"@C" : "#FFFFFF",
"@I" : "7"
}
]
},
"Hyperlink" : ""
}
},
"FooterRow" :
{
"Width" : "0"
},
"FooterColumn" :
{
"Width" : "0"
},
"PredefinedStyle" : "ExtRedStriped",
"IsEmpty" : "0"
}
}
public static TabTableStyle GetTabTableStyle(string moniker, uint sourceKey, uint sliceKey, uint viewKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetTabTableStyle()
{
mon = moniker + "!DataArea!DataSources!" + sourceKey.ToString() + "!DataSourceSlices!" + sliceKey.ToString() + "!Views!" + viewKey.ToString() + "!EaxTableStyle!TableStyle"
};
// Get table area style
var result = somClient.GetTabTableStyle(tGet);
return result;
}

See also:

Table: Operations