<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Word2007ToXaml Discussions Rss Feed</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/List.aspx</link><description>Word2007ToXaml Discussions Rss Description</description><item><title>New Post: Showing code?</title><link>http://word2007toxaml.codeplex.com/Thread/View.aspx?ThreadId=57865</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Can you please post a sample file in the Issue Tracker section?&lt;/p&gt;&lt;/div&gt;</description><author>mscherotter</author><pubDate>Tue, 02 Jun 2009 21:10:33 GMT</pubDate><guid isPermaLink="false">New Post: Showing code? 20090602091033P</guid></item><item><title>New Post: Showing code?</title><link>http://word2007toxaml.codeplex.com/Thread/View.aspx?ThreadId=57865</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;For a talk that I am giving, I am trying to figure out a simple way to&amp;nbsp;display some c# code&amp;nbsp;in a FlowDocument on a WPF page.&amp;nbsp;&amp;nbsp; I started with a simple method with an if statement or two.&amp;nbsp; The code in the word document was in Courier New, and it was using spaces instead of tabs, and it looked purty.&amp;nbsp; I then viewed it in the XAML preview, and it didnt look any where near the same.&amp;nbsp; Same thing when I exported it to XAML and put it into a WPF app's &amp;lt;FlowDocumentReader&amp;gt;.&lt;/p&gt;
&lt;p&gt;It didnt come out too good.&amp;nbsp; &amp;lt;grin&amp;gt;&lt;/p&gt;
&lt;p&gt;Do you guys have any suggestions for settings or techniques to get&amp;nbsp;a some simple c# into a word document and then into a &amp;lt;FlowDocument&amp;gt; ?&amp;nbsp; I have built a WPF app to do my presentations with and want to show code in the text that I am using for the talk.&amp;nbsp;&amp;nbsp; I would prefer not to hand code the markup.&amp;nbsp; And I would prefer to use Word to create some of the slides that&amp;nbsp;I need to do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Pmont&lt;/p&gt;&lt;/div&gt;</description><author>pmont</author><pubDate>Fri, 29 May 2009 11:38:32 GMT</pubDate><guid isPermaLink="false">New Post: Showing code? 20090529113832A</guid></item><item><title>New Post: Is it hard to do XLSX and PPTX too?</title><link>http://word2007toxaml.codeplex.com/Thread/View.aspx?ThreadId=49698</link><description>&lt;div style="line-height: normal;"&gt;Not hard - it's XML as well - just work.&lt;br&gt;
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Tue, 10 Mar 2009 19:04:53 GMT</pubDate><guid isPermaLink="false">New Post: Is it hard to do XLSX and PPTX too? 20090310070453P</guid></item><item><title>New Post: Is it hard to do XLSX and PPTX too?</title><link>http://word2007toxaml.codeplex.com/Thread/View.aspx?ThreadId=49698</link><description>&lt;div style="line-height: normal;"&gt;I know, I know, never satisfied!
&lt;/div&gt;</description><author>thermous</author><pubDate>Tue, 10 Mar 2009 05:14:47 GMT</pubDate><guid isPermaLink="false">New Post: Is it hard to do XLSX and PPTX too? 20090310051447A</guid></item><item><title>New Post: Error if docx file contains Content Controls</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=45894</link><description>&lt;div style="line-height: normal;"&gt;Done: &lt;br&gt;
http://www.codeplex.com/Word2007ToXaml/WorkItem/View.aspx?WorkItemId=1522&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Murray&lt;br&gt;
&lt;/div&gt;</description><author>MuzFrancis</author><pubDate>Mon, 02 Feb 2009 07:54:02 GMT</pubDate><guid isPermaLink="false">New Post: Error if docx file contains Content Controls 20090202075402A</guid></item><item><title>New Post: Error if docx file contains Content Controls</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=45894</link><description>&lt;div style="line-height: normal;"&gt;Please create an issue in the Issue Tracker tab with a test file attached that demonstrates the problem.
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Mon, 02 Feb 2009 06:37:16 GMT</pubDate><guid isPermaLink="false">New Post: Error if docx file contains Content Controls 20090202063716A</guid></item><item><title>New Post: Error if docx file contains Content Controls</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=45894</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
Great stuff - this is just what I have been looking for.&lt;br&gt;
&lt;br&gt;
However, if a docx file contains Content Controls if the XAML conversion fails with the error:&lt;br&gt;
&lt;br&gt;
---------------------------&lt;br&gt;
'Normal' dictionary key is already used. Key attributes must be unique. Line '1' Position '2246'.&lt;br&gt;
---------------------------&lt;br&gt;
&lt;br&gt;
Running the code the error occurs at:&lt;br&gt;
System.Windows.Markup.XamlParseException occurred&lt;br&gt;
&amp;nbsp; Message=&amp;quot;'Normal' dictionary key is already used. Key attributes must be unique. Line '1' Position '1462'.&amp;quot;&lt;br&gt;
&amp;nbsp; Source=&amp;quot;PresentationFramework&amp;quot;&lt;br&gt;
&amp;nbsp; LineNumber=1&lt;br&gt;
&amp;nbsp; LinePosition=1462&lt;br&gt;
&amp;nbsp; StackTrace:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReaderHelper.Read(XamlNode&amp;amp; xamlNode)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlParser.Parse()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlTreeBuilder.ParseFragment()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.TreeBuilder.Parse()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc, XmlReader reader, Boolean wrapWithMarkupCompatReader, XamlParseMode parseMode, Boolean etwTracingEnabled)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Markup.XamlReader.Load(XmlReader reader)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at WMD.ClientUI.Dialogs.DocumentVersionHistoryDialog.PreviewDocumentVersion(DocumentVersion documentVersion)&lt;br&gt;
&amp;nbsp; InnerException: &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Not sure why this is happening, but looking at the XAML being generated the above error is occuring in the Styles, with the Normal style being duplicated as soon as you add a Content Control to the docx file and try to export to XAML.&lt;br&gt;
&lt;br&gt;
If you can fix this then I will be a happy man, as the documents I want to use this XAML feature with use Content Controls extensively.&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Murray &lt;br&gt;
&lt;br&gt;

&lt;/div&gt;</description><author>MuzFrancis</author><pubDate>Mon, 02 Feb 2009 06:12:19 GMT</pubDate><guid isPermaLink="false">New Post: Error if docx file contains Content Controls 20090202061219A</guid></item><item><title>New Post: Need Test Files</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=35689</link><description>&lt;div style="line-height: normal;"&gt;A better place to upload files is to create an issue in the Issue Tracker Tab and attach your file.
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Sat, 31 Jan 2009 20:30:29 GMT</pubDate><guid isPermaLink="false">New Post: Need Test Files 20090131083029P</guid></item><item><title>New Post: Which is More Important for you, WPF or Silverlight?</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=45729</link><description>&lt;div style="line-height: normal;"&gt;Recently I have added a number of features (Tables, VML, Drop Shadows) to the WPF transformation only because the features are direclty supported in WPF and not Silverlight.  I am wondering about how you are using this code/tool.  Are you using it more for WPF or more for Silverlight?&lt;br&gt;
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Fri, 30 Jan 2009 18:10:15 GMT</pubDate><guid isPermaLink="false">New Post: Which is More Important for you, WPF or Silverlight? 20090130061015P</guid></item><item><title>New Post: Convertion problems within a non English sversion of MS Word</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=44927</link><description>&lt;div style="line-height: normal;"&gt;I've just fixed this in release 1.0.0.15.&lt;br&gt;
Thanks,&lt;br&gt;
Michael
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Tue, 27 Jan 2009 20:37:36 GMT</pubDate><guid isPermaLink="false">New Post: Convertion problems within a non English sversion of MS Word 20090127083736P</guid></item><item><title>New Post: Convertion problems within a non English sversion of MS Word</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=44927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Can you please send me a test file at mischero at microsoft dot com?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;
Michael&lt;/p&gt;
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Thu, 22 Jan 2009 16:24:09 GMT</pubDate><guid isPermaLink="false">New Post: Convertion problems within a non English sversion of MS Word 20090122042409P</guid></item><item><title>New Post: Convertion problems within a non English sversion of MS Word</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=44927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span lang=EN-US&gt;When, I try
to open a XAML document that is generated with &lt;em&gt;Word 2007 XAML Generator &lt;/em&gt;form a &lt;strong&gt;non&lt;/strong&gt; English version of MS Word (Dutch) I get the following error.&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;span lang=EN-US&gt;System.Windows.Markup.XamlParseException:
&lt;/span&gt;kan de bron met de naam {Normal} niet vinden. &lt;span lang=EN-US&gt;Bronnamen zijn hoofdlettergevoelig&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span lang=EN-US&gt;English
version of the error:&lt;br&gt;
System.Windows.Markup.XamlParseException:
Can find the source of the name (Normal). Source names are case-sensitive.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;I can fix
the problem by hand as following:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;span lang=EN-US&gt;Open the XAML file in notepad.&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span lang=EN-US&gt;Changing all the &lt;strong&gt;Normal&lt;/strong&gt; word in&amp;lt;Paragraph
    Style=&amp;quot;{StaticResource Normal}&amp;quot;&amp;gt; with the original style name from
    MS Word &amp;lt;Paragraph Style=&amp;quot;{StaticResource &lt;strong&gt;Standaard&lt;/strong&gt;}&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span lang=EN-US&gt;Save the document and view the XAML
    file again in IE en the problem is solved.&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;It seems
that the standard MS Word style &lt;strong&gt;Normal&lt;/strong&gt;
is the only one that gifts the problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;Why?&lt;/span&gt;&lt;/p&gt;
---&lt;br&gt;
Greetings From Belgium&lt;br&gt;
Danny&lt;br&gt;
PS: Sorry for any bad English, because I'm Dutch speaking
&lt;/div&gt;</description><author>Gooftroop</author><pubDate>Thu, 22 Jan 2009 13:14:43 GMT</pubDate><guid isPermaLink="false">New Post: Convertion problems within a non English sversion of MS Word 20090122011443P</guid></item><item><title>New Post: Need Test Files</title><link>http://www.codeplex.com/Word2007ToXaml/Thread/View.aspx?ThreadId=35689</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Now that I have the Unit Test project added to the solution, I am looking for .doc and .docx test files.&lt;br&gt;
If you have any documents that you'd like to use for testing please upload them here to my Windows Live SkyDrive:&lt;/p&gt;
&lt;a href="http://cid-66c760034dd0d66b.skydrive.live.com/browse.aspx/Word2007ToXaml Test Files"&gt;Word 2007 to Xaml Test Files&lt;/a&gt;
&lt;/div&gt;</description><author>mscherotter</author><pubDate>Mon, 15 Sep 2008 16:41:54 GMT</pubDate><guid isPermaLink="false">New Post: Need Test Files 20080915044154P</guid></item></channel></rss>