News

Laurent Kempé MVP JetBrains Academy Member

Contact

My status

View Laurent Kempé's profile on LinkedIn
XING
twitter
facebook


Xbox 360



Map

Locations of visitors to this page

.NET Dudes

Family

French .NET Dudes

Friends

Links

Tech Head Brothers

Tech Head Brothers new authoring tool, step 7

I finally got time to go on with the new Tech Head Brothers publishing tool!

This time I wanted to go on with source code and I reached a quite good status.

The usage scenario is as following:

  1. In Visual Studio the author select source code that he wants to publish on his article
  2. The author switch to Word 2007 an click on Source Code button and the code is automatically inserted

As you can see on the following pictures!

Behind the scene:

  1. I get the code from the clipboard,
  2. Build up a XML document with one tag representing the source code in html and inline css and another of pure text
  3. Insert a CustomXML part into the Word 2007 document
  4. Insert a PlainTextContentControl into the document with read only rights
  5. Uses XML mapping to display the text tag into the PlainTextContentControl

Great! I look forward to see the projection of the source code to HTML and preview it into the browser!

So the next steps will be:

  1. Projection of hyperlink
  2. Projection of picture
  3. Projection of numbered list and bullet list
  4. Fixing bugs found by Sébastien and Rédo
  5. Picture caption
  6. Giving the possibility to insert source code
  7. Projection of the source code
  8. Adding the possibility to the author to post the article directly from Word to Tech Head Brothers web site using secured web services made out of WCF
  9. Adding all validation of the content
Posted: Mar 12 2008, 01:11 AM by lkempe | with 1 comment(s)
Filed under: , ,

Comments

Laurent Kempé said:

For three night now I focused on one scenario for the Tech Head Brothers authoring tool: As an author

# August 8, 2008 5:26 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)