Philip Hendry's Blog
Sporadic musings from Philip Hendry

Create a contents page with page numbers from html input using Websupergoo Abcpdf

Dec 23, 2011 • ASP.NET • 2 min read

I’ve created a report pdf from an html page output from our ASP.NET based product but I needed to change a contents list that was rendered as a hyperlink list on the page into a list of section headings and page number since the pdf was primarily for printing. The solution wasn’t immediately obvious but I’ve come up with the following which I was running in a unit test for simple quick prototyping. The key is using the HtmlOptions.AddTags property in ABCpdf which allows areas of the HTML to be retrieve during pdf rendering and modified.  Read →

User Interface progress?

Jul 25, 2011 • Design • Less than a minute read

I really feel the need to rant… I’ve just seen the following interface design:  Read →

Highlighting Selected Text automatically in Visual Studio

Jul 20, 2011 • Dev Tools, Tip, Visual Studio • Less than a minute read

I’ve used Eclipse and always loved the way that any selected text is automatically discovered elsewhere in the current file and highlighted – this is also available in Notepad++.  Read →