SQL Compare Report - Updating <Style>
gotdablues
Posts: 13
Is there a way to modify the <STYLE> tag that is created when an HTML report is created.
Here is a snippet from a report:
.screqual
{
BACKGROUND-COLOR: white;
COLOR: black
}
.scrunequal
{
BACKGROUND-COLOR: white;
<-- Want to add this: --> FONT-WEIGHT: bold;
COLOR: green
}
.scrrightonly
{
BACKGROUND-COLOR: white;
<-- Want to add this: --> FONT-WEIGHT: bold;
COLOR: red
}
.scrleftonly
{
BACKGROUND-COLOR: white;
<-- Want to add this: --> FONT-WEIGHT: bold;
COLOR: blue
}
Is this possible?
using SQL Compare 3.2.1.14
Thanks.
Here is a snippet from a report:
.screqual
{
BACKGROUND-COLOR: white;
COLOR: black
}
.scrunequal
{
BACKGROUND-COLOR: white;
<-- Want to add this: --> FONT-WEIGHT: bold;
COLOR: green
}
.scrrightonly
{
BACKGROUND-COLOR: white;
<-- Want to add this: --> FONT-WEIGHT: bold;
COLOR: red
}
.scrleftonly
{
BACKGROUND-COLOR: white;
<-- Want to add this: --> FONT-WEIGHT: bold;
COLOR: blue
}
Is this possible?
using SQL Compare 3.2.1.14
Thanks.
Comments
Yes -- SQL Compare 3.x uses XSL transformation to produce the HTML report. If you open the %programfiles%\Red Gate SQL Bundle\SQLCompareReportTemplate.xsl file in notepad, you can modify the style specifications in all HTML reports produced after the modification.