Generate HTML Report without Style directive in Header
Posted: Fri Jan 09, 2009 7:55 am
Hi All,
I hope an answer is possible to this question. :biggrin:
I'm trying to accomplish the following:
1. I want to generate a HTML report (with formats)
2. It needs to be inserted in an existing HTML page (So I need only Body.InnerHTML)
3. But I need full Inline html in the body (so also the color css in the tag info)
The below code is an example of how my report HTML looks like now.
But I need the same report without:
* Html tags (I can parse those out)
* Body tags (I can parse those out)
* Head section
* Style section -> the problem however is that I need the style info in the tags of the text. (so no class usage)
Does Stimulsoft offer me something like this? And am I looking in the wrong place?
Thanks for the help.
PS the code to generate the report is:
I hope an answer is possible to this question. :biggrin:
I'm trying to accomplish the following:
1. I want to generate a HTML report (with formats)
2. It needs to be inserted in an existing HTML page (So I need only Body.InnerHTML)
3. But I need full Inline html in the body (so also the color css in the tag info)
The below code is an example of how my report HTML looks like now.
But I need the same report without:
* Html tags (I can parse those out)
* Body tags (I can parse those out)
* Head section
* Style section -> the problem however is that I need the style info in the tags of the text. (so no class usage)
Does Stimulsoft offer me something like this? And am I looking in the wrong place?
Thanks for the help.
PS the code to generate the report is:
Code: Select all
StiHtmlExportService service = new StiHtmlExportService();
service.ExportHtml(stiReport, stream);
Code: Select all
Report
.sdd89e2f8{background-color:LightSteelBlue;color:Navy;Font:bold 10pt Arial;text-align:left;vertical-align:middle;}
.se3055e7b{background-color:RoyalBlue;color:White;Font:bold italic 10pt Arial;text-align:left;vertical-align:top;}
.s6cc5b4f9{background-color:LightGrey;Font:bold 10pt Arial;text-align:left;vertical-align:top;}
.s1925ce08{background-color:LightGrey;color:DimGray;Font:bold italic 10pt Arial;text-align:left;vertical-align:top;}
Stimulsoft Reports.Net - Demo Version
01Directie
CodeNaamVersie
01Documentje003
01.01Doelstellingen, Strategie & Beleid
CodeNaamVersie
DSB-001Doelstellingen001
DSB-002Strategie002
DSB-003Beleid001
testtest1
01.02Organigrammen
CodeNaamVersie
Organi-001Algemeen Organigram001
Organi-002Organigram van moederorganisatie en groepsmaatschappijen01
01.05Formulieren
CodeNaamVersie
tttttt1
01.05.02Webformulieren
CodeNaamVersie
WForm-001Sollicitatieformulier voor functie van CEO001
02Inkoop
CodeNaamVersie
02.01Algemeen
CodeNaamVersie
ALG-001Algemene Inkoop Aspecten001
02.06Calculaties
CodeNaamVersie
Calc-001Calculatiemodel001
99Inhoudsopgaves
CodeNaamVersie
99-01Inhoudsopgave002