我正在生成带有html内容的pdf。不幸的是,我能够看到除标签之间嵌入的信息以外的所有内容。
我试图通过删除字符串中仍然无法呈现的类来进行尝试。但是,当我生成为.html页面时,使用相同的字符串,就可以看到预期的数据。
字符串htmltxtIs = OASIS.Web.Models.Common.GetData(“ BobblePlannerCollectionService.svc / GetBubblePlannerLevelDetailsPDFReport /” + bpid);
在htmltxt中获取数据的方式如下:< / p>
"<table><tr><td><div><strong>What is our purpose</strong><div><i>Transdisciplinary theme</i><div><body contenteditable="true" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders" spellcheck="false"><ol><li><table border="1" cellspacing="1" cellpadding="1" style="width:100%;"><tbody><tr><td><p>Identification of the main issues/Problems</p></td><td><p>Identification of the main issues/ProblemsIdentification of the main issues/Problems</p></td></tr><tr><td><p>Identification of the main issues/Problems</p></td><td><p>Identification of the main issues/ProblemsIdentification of the main issues/Problems</p></td></tr><tr><td><p>Identification of the main issues/Problems</p></td><td><p>Identification of the main issues/ProblemsIdentification of the main issues/Problems</p></td></tr></tbody></table></li></ol></body></div></div></div></td><td><div><strong>What is our purpose</strong><div><i>Central Ideax</i><div><body contenteditable="true" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders" spellcheck="false">Hello<br><img height=40px width = 40px alt="" data-cke-saved-src="http://localhost:55015//Uploads/UserUploads/2014df8b-d315-4e4f-ab5a-744ac45fc043Untitled.png" src="http://localhost:55015//Uploads/UserUploads/2014df8b-d315-4e4f-ab5a-744ac45fc043Untitled.png" style="height:76px; width:136px"></body></div></div></div></td></tr><tr><td><div><strong>What is our purpose</strong><div><i>Summative assessment</i><div>Test 35</div></div></div></td><td><div><strong>What is our purpose 1</strong><div><i>Transdisciplinary theme 1</i><div>Test</div></div></div></td></tr><tr><td><div><strong>What is our purpose 1</strong><div><i>Central Ideax 1</i><div> 2 Test 25</div></div></div></td><td><div><strong>What is our purpose 1</strong><div><i>Summative assessment 1</i><div> 2 Test 35</div></div></div></td></tr><tr><td><div><strong>What is our purpose 3</strong><div><i>Transdisciplinary theme 3</i><div>3 Test 15</div></div></div></td><td><div><strong>What is our purpose 3</strong><div><i>Central Ideax 3</i><div>3 Test 25</div></div></div></td></tr><tr><td><div><strong>What is our purpose 3</strong><div><i>Summative assessment 3</i><div>3 Test 35</div></div></div></td></table>"