Word 2010 repeating section content control - ms-word

Is there a library/plug-in/add-in for Word 2010 to support the repeating section content control like the one in Word 2013?
Another question, how can I programmatically convert the Word 2013 (with repeating section content control) so that it can be viewed properly in Word 2010?
Any suggestion is highly appreciated.
Thanks.

Related

Can I define a custom tag in Office 365?

Is there a way to create a custom tag in MS Office 365 data such as Word, Excel, Powerpoint files?
I am envisioning something "invisble" when I print the Word Document, but still machine-readable for a parser. There was something like "smart tags" previously, but this seems to be left behind.
You can try using Actions as was suggested on the Smart Tag in Word 2016 page. In all other case you'll have to introduce your own system to mark document pieces, so your add-in could react to them.

Count number of words in MS Word doc without opening it - VB.net 2010

I'm working on Visual Basic 2010 Express, and I am looking for a way to count the total word number of an MS Word document (.doc or .docx) from my application.
In fact, I found several ways to do that, but all of them require my application to open the word file, which is not always possible in my case.
Is there any way to get this MS Word file detail without opening it ?
Would you please suggest me a way to get this done?
Thank you in advance.

Filling Word template with OpenXML - Bookmarks or ContentControls

I've an application that automatically fills MS Word templates (.dotx) written using COM and Word object model. There are some Bookmarks in the template, that are filled programmatically.
Now I'm migrating to OpenXML.
Could you please explain me what should I prefer using OpenXML - Bookmarks or Content Controls and why?
WordDocumentGenerator is an utility to generate Word documents from templates using Visual Studio 2010 and Open XML 2.0 SDK. The code is available for download at http://worddocgenerator.codeplex.com/. Content controls are used in templates. A lot of samples are provided for document generation which will show how functional and flexible content controls are.
Content controls are significantly more resistant to overwriting during document editing. You can use either one with OpenXML without additional complications.

How to programatically select a checkbox in a MS Word 2007 document or template?

I've created a document and I am able to use Content Controls to populate the document, but now there is a requirement to select a checkbox on the form. Is there a "Checkbox Content Control" or must I use the older ActiveX checkbox?
Not for Content Controls in Word 2007. It does exist as a Content Control in Word 2010 though. In either program, you can use an ActiveX checkbox, but it's usage is kind of wonky.
I've got the solution...wait for Office 2010. :)
Seriously though, I ended up converting to PDF and used iTextsharp.

Copy from Ms Word and paste into Rich Textbox problem

I have a problem when pasting ms word content into richtextbox.
when I copy content of word document and paste it into richtextbox which is in a windows application written in C#.
the links are shown like that ;
This is test.. Go to Google. <http://www.google.com>
Mail : Project <mailto:cbn#test.com>
The issue can also be created by loading in an saved RTF document from word.
How can I correct this, please help..
thanks in advance.
The issue here is that you're not actually copying RTF into the clipboard from Word. Well, kind of, but not the same RTF that would display just the formatted text and have a hyperlink behind it. You'd have to handle the paste event and do your own parsing and reformatting to achieve that.
Some richtextbox editors have a "Paste from Word" feature. You can paste it in a simple textbox and start re-formatting based on the rich text editor you're using.
This behavior has nothing to do with Word. In fact even though the RTF produced in the Clipboard by MS Word is slightly different from that of OpenOffice the results are identical. See screenshot below where the top two links are from MS Word and the rest from OOo 3.2.
.
It seems to be a peculiarity in the drawing of hyperlinks in the Winforms RichTextBox.
I don't see a quick workaround to change this behavior though.