<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[TX Text Control Blog]]></title>
    <link>http://www.textcontrol.com/en_US/blog/</link>
    <description><![CDATA[Official blog to the full range of TX Text Control word processing components.]]></description>
    <pubDate>Fri, 29 Jan 2010 00:00:00 +0100</pubDate>
    <lastBuildDate>Fri, 29 Jan 2010 00:00:00 +0100</lastBuildDate>
    <image>
      <url>http://www.textcontrol.com/img/tx_text_control_logo.png</url>
      <title><![CDATA[TX Text Control Blog]]></title>
      <link>http://www.textcontrol.com/en_US/blog/</link>
    </image>
    <generator>TX Text Control Blog</generator>
    <language>en_US</language>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>86400</ttl>
    <item>
      <title><![CDATA[Meet TX Text Control at the Visual Studio 2010 launch]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100129/</link>
      <description><![CDATA[Preperations are moving at a fast pace and we are looking forward to presenting our latest developments and future plans at the largest and long awaited .NET conference: The Visual Studio 2010 launch in Las Vegas, USA. Developers, top speakers, such as Scott Guthrie and leading component vendors will gather at the world famous Bellagio for the...]]></description>
      <content:encoded><![CDATA[<a href="http://www.devconnections.com/"><img style="float: right; margin-left: 10px;" src="http://www.textcontrol.com/en_US/blog/archive/20100129/assets/vs2010_launch.png" width="200" height="165" alt="Visual Studio 2010 launch" title="Visual Studio 2010 launch" /></a>

		    <p>Preperations are moving at a fast pace and we are looking forward to presenting our latest developments and future plans at the largest and long awaited .NET conference:</p>
		
		    <p><strong>The <a href="http://www.devconnections.com/">Visual Studio 2010 launch</a> in Las Vegas, USA</strong>.</p>

		    <p>Developers, top speakers, such as <em>Scott Guthrie</em> and leading component vendors will gather at the world famous <em>Bellagio</em> for the Microsoft Visual Studio Conference &amp; Expo.</p>
		
		    <p>If you plan to visit this conference, do not forget to stop by at our booth. I really look forward to meeting you in person.</p>]]></content:encoded>
      <pubDate>Fri, 29 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/visual-studio/">Visual Studio</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100129/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[Our Visual Studio 2010 compatibility plans]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100128/</link>
      <description><![CDATA[Hawaii is coming! Microsoft is working on the latest Visual Studio version (Codename: Hawaii) which will be released in April. It will be officially presented at the DevConnections conference on April 12–14 in Las Vegas, USA. If you plan to visit this event, we would be glad to welcome you at our booth where we will present our latest...]]></description>
      <content:encoded><![CDATA[<img style="float: right; margin-left: 10px;" src="http://www.textcontrol.com/en_US/blog/archive/20100128/assets/vs2010.png" width="250" height="98" alt="Visual Studio 2010" title="Visual Studio 2010" />

		    <p>Hawaii is coming! Microsoft is working on the latest Visual Studio version (<em>Codename: Hawaii</em>) which will be released in April. It will be officially presented at the <a href="http://www.devconnections.com/">DevConnections</a> conference on April 12–14 in Las Vegas, USA.</p>
		
		    <p>If you plan to visit this event, we would be glad to welcome you at our booth where we will present our latest developments.</p>

		    <p>Since 2008, where Microsoft released the first CTP version (community technology preview), we have been testing and integrating the new Visual Studio version. We have made a commitment to support Visual Studio 2010. TX Text Control .NET, TX Text Control RapidSpell .NET and TX Text Control .NET Server will be tested and designed in order to support the new or improved features of this IDE.</p>
		
		    <p>Supported features by TX Text Control (Visual Studio 2010 Beta 2):</p>
		
		    <ul>
			    <li>Toolbox support</li>
			    <li>Property browsing</li>
			    <li>WYSIWYG preview</li>
			    <li>Drag &amp; drop in the designer</li>
			    <li>SmartTag support (common tasks wizard)</li>
			    <li>IntelliSense support (including member description)</li>
		    </ul>
			
		    <p>We are looking forward to this great new IDE and the possibilities of the .NET Framework 4.0.</p>]]></content:encoded>
      <pubDate>Thu, 28 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/visual-studio/">Visual Studio</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100128/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[Inserting MS Word compatible FORMCHECKBOX fields]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100127/</link>
      <description><![CDATA[Checkboxes are probably the most commonly used selection elements in paper and web-based forms and questionnaires. Inspired by a customer's project, I built a small sample that shows how to insert and process MS Word compatible checkbox form fields using TX Text Control .NET. Read the full article and download the Visual Studio 2008 project in...]]></description>
      <content:encoded><![CDATA[<p>Checkboxes are probably the most commonly used selection elements in paper and web-based forms and questionnaires.</p>
	
				<p><a class="thickbox" href="http://www.textcontrol.com/en_US/blog/archive/20100127/assets/tx_sample_checkbox_zoom.png"><img src="http://www.textcontrol.com/en_US/blog/archive/20100127/assets/tx_sample_checkbox.png" width="344" height="293" alt="Checkbox sample" title="Checkbox sample" /></a></p>
	
				<p>Inspired by a customer's project, I built a small sample that shows how to insert and process MS Word compatible checkbox form fields using TX Text Control .NET.</p>
				
				<p>Read the full article and download the Visual Studio 2008 project in our source code library:</p>
				
				<p><a href="http://www.textcontrol.com/en_US/downloads/library/snippet/checkbox/">Inserting and processing MS Word compatible FORMCHECKBOX fields</a></p>]]></content:encoded>
      <pubDate>Wed, 27 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/fields/">Fields</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100127/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[Inserting and processing MS Word compatible DATE fields]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100125/</link>
      <description><![CDATA[A date field can be very helpful in mail-merge templates to include the current valid date in an appropriate format. TX Text Control .NET provides fully compatible fields to insert and update these date fields. The fields can be accessed through the interface for MS Word fields using the ApplicationField class. Anyway, the included...]]></description>
      <content:encoded><![CDATA[<p>A date field can be very helpful in mail-merge templates to include the current valid date in an appropriate format.</p>
				
				<p>TX Text Control .NET provides fully compatible fields to insert and update these date fields. The fields can be accessed through the interface for MS Word fields using the <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_applicationfield.htm">ApplicationField</a> class.</p>
				
				<p>Anyway, the included DocumentServer provides the <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_documentserver.fields.fieldadapter.htm">FieldAdapter</a> class. It implements an adapter for the most commonly used fields like the DATE or MERGEFIELD. In an <a href="http://www.textcontrol.com/en_US/blog/archive/20091021/">older post</a>, I explained how to use this adapter class.</p>
				
				<p>Today, I would like to show you how an MS Word compatible DATE field can be created, inserted and updated.</p>
				
				<p>In order to use the AdapterFields, you need to add a reference to the <em>TXDocumentServer.dll</em>. In your Visual Studio 2008 project, click on <em>Project</em> and <em>Add Reference...</em>, select <em>TXTextControl DocumentServer</em> in the <em>.NET</em> tab and confirm with <em>OK</em>.</p>
				
				<p>To add the field, you simply need to create a new DateField using the AdapterField classes:</p>
				
				<pre>// [C#]
TXTextControl.DocumentServer.Fields.DateField date = 
	new TXTextControl.DocumentServer.Fields.DateField();
date.Date = DateTime.Now;

textControl1.ApplicationFields.Add(date.ApplicationField);
</pre>

				<p>TX Text Control .NET doesn't update the field automatically, but provides the interface to update it. Therefore, we can set the <em>Date</em> property of the field to the current date. Finally, the adapter field will be added to the <em>ApplicationField</em> collection of <em>TextControl</em>.</p>
				
				<p>Now, you have to decide when to update the date in the document. For example, you could update the DATE fields when the document is loaded, saved or printed. The following code updates all DATE fields in a document with the current date:</p>
				
				<pre>// [C#]
foreach (TXTextControl.ApplicationField field in textControl1.ApplicationFields)
{
	if (field.TypeName == "DATE")
	{
		TXTextControl.DocumentServer.Fields.DateField curDate =
			new TXTextControl.DocumentServer.Fields.DateField(field);
		curDate.Date = DateTime.Now;
	}
}
</pre>
				
				<p>An interesting member of the DATE field is the <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_documentserver.fields.datefield.format.htm">Format</a> property. It gets and sets the format of the field using the standard DateTime format string of the .NET Framework. The following format would display only the full name of the day:</p>
				
				<pre>// [C#]
date.Format = "dddd";
</pre>

				<p>As you can see, using TX Text Control .NET, you get an easy way to include MS Word-compatible fields. If you export the document to an MS Word format like DOCX, DOC or RTF, these fields and their functionality are maintained and available in MS Word.</p>
				
				<p>You can download the sample project for Visual Studio 2008 here (a TX Text Control .NET 15.1 trial version is required):</p>
				
				<p><a href="http://www.textcontrol.com/en_US/blog/archive/20100125/assets/tx_sample_msworddate.zip">tx_sample_msworddate.zip</a></p>]]></content:encoded>
      <pubDate>Mon, 25 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/fields/">Fields</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100125/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[Our WPF plans for TX Text Control .NET]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100120/</link>
      <description><![CDATA[The requests from you are growing and I thought to share our plans for a Windows Presentation Foundation (WPF) version of TX Text Control. We have done a lot of research on WPF and related technlogies like Visual Studio 2010 since the first CTP or beta versions were released many years ago. At this point our developers have been working on a...]]></description>
      <content:encoded><![CDATA[<img style="float: left; margin-right: 10px; margin-bottom: 10px;" alt="XAML logo" src="http://www.textcontrol.com/en_US/blog/archive/20100120/assets/xaml_logo.png" width="135" height="98" />

        <p>The requests from you are growing and I thought to share our plans for a <a href="http://msdn.microsoft.com/en-us/library/ms754130.aspx">Windows Presentation Foundation</a> (WPF) version of TX Text Control.</p>
        
        <p>We have done a lot of research on WPF and related technlogies like Visual Studio 2010 since the first CTP or beta versions were released many years ago. At this point our developers have been working on a WPF version for months. We believe in the motto <em>say what you do and do what you say</em>, I would like to announce the upcoming WPF version. I am not able to reveal a release date, but summer 2010 is quite possible.</p>
        
        <p>Our current <a href="http://www.textcontrol.com/en_US/products/dotnet/overview/">Windows Forms version</a> can be already integrated into a WPF page using the <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.integration.windowsformshost.aspx">WindowsFormsHost</a> class. Our goal is to keep the WPF version as compatible as possible. It should be possible to replace the Windows Forms version with the WPF version without changing the code.</p>
        
        <p>As soon as possible, I will publish more information regarding the projected release. Feel free to post any comments or questions you might have.</p>]]></content:encoded>
      <pubDate>Wed, 20 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/wpf/">WPF</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100120/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[Meet TX Text Control at BASTA! Spring 2010 in Germany]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100115/</link>
      <description><![CDATA[In February (22nd - 26th), we will be attending BASTA! Spring 2010 in Darmstadt, Germany. Interesting speakers, industry leading component vendors and highly professional visitors are expected on one of the largest .NET conferences in Europe. We will be there with our own booth to show you our latest developments and future plans. If you plan...]]></description>
      <content:encoded><![CDATA[<p><a href="http://www.basta.net"><img style="float: right; margin-left: 10px;" width="337" height="59" src="http://www.textcontrol.com/en_US/blog/archive/20100115/assets/basta_logo.png" alt="Basta Spring 2010" /></a>In February (22nd - 26th), we will be attending BASTA! Spring 2010 in Darmstadt, Germany.</p>
         
         <p>Interesting speakers, industry leading component vendors and highly professional visitors are expected on one of the largest .NET conferences in Europe.</p>
         
         <p><img width="350" height="263" src="http://www.textcontrol.com/en_US/blog/archive/20100115/assets/basta_stage.png" alt="Basta Spring 2010" /></p>
         
         <p>We will be there with our own booth to show you our latest developments and future plans. If you plan to visit this conference, make sure you stop by our booth. I would be glad to meet you in person.</p>
         
         <p>More information about the conference and all sessions can be found on the official conference website:</p>
         
         <p><a href="http://www.basta.net">http://www.basta.net</a></p>]]></content:encoded>
      <pubDate>Fri, 15 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/conference/">Conference</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100115/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[New web site for TX Text Control]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100114/</link>
      <description><![CDATA[Last week, we released the sixth version of the TX Text Control web site. In addition to the updated layout and graphics, this blog post looks at some of the new web site features. Homepage. By clicking on the arrows to the right and left of the main graphic, you can now quickly jump between TX Text Control products. Similarly, you can now...]]></description>
      <content:encoded><![CDATA[<p>Last week, we released the sixth version of the TX Text Control web site. In addition to the updated layout and graphics, this blog post looks at some of the new web site features.</p>
            
            <h3>Homepage</h3>

            <p>By clicking on the arrows to the right and left of the main graphic, you can now quickly jump between TX Text Control products. Similarly, you can now access the latest blog posts using the spring board to the right.</p>

            <p><a class="thickbox" href="http://www.textcontrol.com/en_US/blog/archive/20100114/assets/homepage_zoom.png"><img src="http://www.textcontrol.com/en_US/blog/archive/20100114/assets/homepage.png" width="580" height="447" alt="New TX Text Control Web Site" title="New TX Text Control Web Site" /></a></p>

            <h3>Search Box - with auto complete</h3>

            <p><a class="thickbox" href="http://www.textcontrol.com/en_US/blog/archive/20100114/assets/autocomplete_zoom.png"><img src="http://www.textcontrol.com/en_US/blog/archive/20100114/assets/autocomplete.png" width="363" height="163" alt="Auto complete" title="Auto complete" style="float:right;margin-left:10px;" /></a>When you enter a search term into the search box at the top right of every page, an auto complete list appears from which, you can select commonly used search terms. For example, all the properties and methods that TX Text Control offers are available in the auto complete list. This makes searching in the documentation much easier.</p>

            <h3>Source Code Library - new structure</h3>

            <p><a class="thickbox" href="http://www.textcontrol.com/en_US/blog/archive/20100114/assets/library_zoom.png"><img src="http://www.textcontrol.com/en_US/blog/archive/20100114/assets/library.png" width="363" height="163" alt="Source Code Library" title="Source Code Library" style="float:right;margin-left:10px;" /></a>Over the past two decades, we have collected a large number of source code snippets. They are updated for each new version of TX Text Control. To allow faster access to these samples, we have now re-structured the entire library. It is now sorted by TX Text Control product <em>and</em> programming environment.</p>

            <h3>Page Loading - much faster</h3>

            <p>A number of techniques have been deployed under the hood to make the TX Text Control web site load as quickly as possible. If you used the old web site a lot, you should be able to <em>feel</em> the increase in page loading speed.</p>

            <h3>Comments Welcome</h3>

            <p>If you have any comments about the new web site or if you notice that something is not working as you think it should, please post a comment below. Thank you. :-)</p>]]></content:encoded>
      <pubDate>Thu, 14 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/corporate/">Corporate</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100114/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[TX Text Control sponsores the first Columbia Code Camp]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100113/</link>
      <description><![CDATA[The Columbia Enterprise Developers Guild is hosting the first Columbia Code Camp this month. We are proud to help the organizers by sponsoring them. The code camp takes place on the campus of the University of South Carolina on Saturday, January 30th starting at 8:00 AM. More information about the code camp can be found on the dedicated...]]></description>
      <content:encoded><![CDATA[<a href="http://www.columbiacodecamp.com"><img width="300" height="87" style="float: right; margin-left: 10px;" alt="Columbia code camp" src="http://www.textcontrol.com/en_US/blog/archive/20100113/assets/columbia_codecamp_logo.png" /></a>   
                                           
        <p>The <a href="http://www.columbiadevelopers.org">Columbia Enterprise Developers Guild</a> is hosting the first <a href="http://www.columbiacodecamp.com">Columbia Code Camp</a> this month. We are proud to help the organizers by sponsoring them.</p>
        
        <p>The code camp takes place on the campus of the University of South Carolina on <strong>Saturday, January 30th starting at 8:00 AM</strong>.</p>
        
        <p>More information about the code camp can be found on the dedicated website:</p>
        
        <p><a href="http://www.columbiacodecamp.com">http://www.columbiacodecamp.com</a></p>]]></content:encoded>
      <pubDate>Wed, 13 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/service-pack/">Service Pack</category>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/release/">Release</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100113/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[Service Pack 1 for TX Text Control 15.1 released]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100112/</link>
      <description><![CDATA[Recently, the following service packs were released: Service Pack 1 for TX Text Control .NET Server 15.1. Service Pack 1 for TX Text Control .NET 15.1. Service Pack 1 for TX Text Control ActiveX Server 15.1. Service Pack 1 for TX Text Control ActiveX 15.1. Once you have taken a look at the fixed known issues, please download the service pack....]]></description>
      <content:encoded><![CDATA[<p>Recently, the following service packs were released:</p>
        
        <ul>
        	<li>Service Pack 1 for TX Text Control .NET Server 15.1</li>
        	<li>Service Pack 1 for TX Text Control .NET 15.1</li>
		</ul>

		<ul>
        	<li>Service Pack 1 for TX Text Control ActiveX Server 15.1</li>
        	<li>Service Pack 1 for TX Text Control ActiveX 15.1</li>
        </ul>

        <p>Once you have taken a look at the fixed <a href="http://www.textcontrol.com/en_US/support/issues/">known issues</a>, please <a href="http://www.textcontrol.com/en_US/downloads/sps/">download</a> the service pack.</p>

        <p>The <a href="http://www.textcontrol.com/en_US/support/">support department</a> is waiting assist you in all matters related to TX Text Control.</p>]]></content:encoded>
      <pubDate>Tue, 12 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/service-pack/">Service Pack</category>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/release/">Release</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100112/post-comment/</comments>
    </item>
    <item>
      <title><![CDATA[ID and Name properties for images and text frames]]></title>
      <link>http://www.textcontrol.com/en_US/blog/archive/20100111/</link>
      <description><![CDATA[One of the most commonly requested features since the release of version 15.0 is the possibility to store additional information for images and text frames. Version 15.1 implements an ID and a Name property for these frame-based objects. These properties helps you to find an image or frame based on a specific name. In previous versions, there...]]></description>
      <content:encoded><![CDATA[<p>One of the most commonly requested features since the release of version 15.0 is the possibility to store additional information for images and text frames.</p>
				
				<p>Version 15.1 implements an <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_framebase.id.htm">ID</a> and a <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_framebase.name.htm">Name</a> property for these frame-based objects. These properties helps you to find an image or frame based on a specific name. In previous versions, there was no way to get a specific text frame out of the document, though it was possible to iterate through all frames using it's collection. But now, you can use the <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_textframecollection.getitem.htm">GetItem</a> method to retrieve a specific text frame.</p>
				
				<p>Consider the following scenario: A text frame is inserted into a template that contains the recipient's address on a letter. During the merge process, you simply need to find that text frame based on it's <em>Name</em> in order to update the text.</p>
				
				<p>The <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_framebase.name.htm">Name</a> property is also compatible to other supported formats like DOCX, DOC or RTF and will be maintained after saving to these formats.</p>
				
				<p>The following code inserts a text frame with the name <em>recipient</em>. It shows that the <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_framebase.name.htm">Name</a> property is maintained after saving as DOCX. Using the <a href="http://www.textcontrol.com/en_US/support/documentation/dotnet/n_textframecollection.getitem.htm">GetItem</a> method, the text frame can be retrieved in order to update it's text.</p>
        
        <pre>// [C#]
TextFrame frame = new TextFrame(new Size(2000, 2000));
frame.Name = "recipient";

textControl1.TextFrames.Add(frame, -1);

// save as DOCX and reload to prove that the Name is maintained
byte[] data;
textControl1.Save(out data, BinaryStreamType.WordprocessingML);
textControl1.ResetContents();
textControl1.Load(data, BinaryStreamType.WordprocessingML);

textControl1.TextFrames.GetItem("recipient").Selection.Text = "TX Text Control";</pre>]]></content:encoded>
      <pubDate>Mon, 11 Jan 2010 00:00:00 +0100</pubDate>
      <category domain="http://www.textcontrol.com/en_US/blog/tags/images/">Images</category>
      <comments>http://www.textcontrol.com/en_US/blog/archive/20100111/post-comment/</comments>
    </item>
  </channel>
</rss>
