Actually, I'm not a beginner. I know nothing about them, though I do have some programming background.
This is the thing: I have a couple of Word documents and an Excel spreadsheets. The documents need to grab some data from the spreadsheet and then print. There needs to be one document per spreadsheet row, and they need to be printed a...
I'm currently working on tables in a Word template with Interop.
In my template I have a table which I want to copy (Copying will make it easier for me to fill in the data rather than inserting rows and column, because the template has a lot of write formatting).
The new table should be inserted right under the original table. The best...
I know there is an algorithm for seeing how "close" two words are together. The idea is that this algorithm adds 1 point to the score for every single letter addition or subtraction that is necessary to transform one word into the other. The lower this score, the "closer" the two words are together.
For example, if we take the word "wor...
If you search google for word segmentation there really are no very good descriptions of it and I'm just trying to fully understand the process a dynamic programming algorithm takes to find a segmentation of a string into individual words. Does anyone know a place where there is a good description of a word segmentation problem or can a...
It's always hard for me to understandably (especially in English which isn't my first language) explain, what my problem is, so I'm sorry in advance for intricacy or excessive triviality ;).
What I need to do is to 'parse' Word XML document in a specific way. The document converted to xml has some parts that will be put between some fix...
I have an byte Array of an doc file loaded in memory.
I would like to set custom meta data properties of my Word document then save it back to disk. This will be done on a server so I can’t use VTSO to write an add in.
I need to do this in a 2003 word document. so i can't use open xml.
...
I’m writing a plugin for word and would like to get the docx files as a byte array and send it to a web service.
Can I do this?
...
Is there any way to create a word document where the cursor is invisible or disabled? After I save the document as read only, I want it to be opened like a pdf where even if a cursor is placed and typed, nothing is written on the document.
...
Hi all,
I've a problem: my application must convert ms word documents (imported from another system) into rtf documents, in order to be manipulated with OOo APIs and to be immune from mistakes (for coding incompatibility reasons).
I ask you: how can I manipulate ms word documents directly from my Java application? There are APIs (like...
Hello,
I created a Microsoft Word Add-In that puts the text of the current document in a string using this line:
string text = Globals.ThisAddIn.Application.ActiveDocument.Content.Text;
now I'm trying to put inside the string, the HTML formatted text of the document, just as if I would save the document as an HTML file and read the f...
I am getting the "run-time error 429" in my attempt at late binding to the VBProject object:
Dim vbProj As Object
Set vbProj = CreateObject("ActiveDocument.VBProject")
Is there something fundamental I am failing to understand?
For example, how would you write the code in article 308340 to use late binding?:
Sub CheckReference()
...
I have some code to find and replace fields in a word document with values from a dataset.
Word.Document oWordDoc = new Word.Document();
foreach (Word.Field mergeField in oWordDoc.Fields)
{
mergeField.Select();
oWord.Selection.TypeText( stringValueFromDataSet );
}
In some cases stringValueFromDataSet is empty, and in addition t...
Hi
I want to create a word 2007 document without using object model. So I would prefer to create it using open xml format. So far I have been able to create the document. Now I want to add a content control in it and map it to xml. Can anybody guide me regarding the same???
...
I need to grab a list of names from Excel and insert them into a Word document, printing one document per name. The document has some text and a bookmark called "name". The code is below.
First, I want to know if it's possible to detect how long is the list of names in the Excel spreadsheet and grab that, instead of hardcoding the numbe...
I want to display a Word document in my ASP.NET page, and I want to be able to highlight text in the document according to events that happen on the page (like button clicks).
Is it possible?
Thanks.
...
HI,
I am trying to read a word doc that contains a table using POI. The requirement is to create rows in a Database Table with the information extracted from the table rows in the word document. For example, my word doc has a table like:
Heading Description Heading1 summary related to heading1 Heading2 summary related to heading2 ........
hi,
How to Read and Write page setup(page size, orientation, margin, etc.) from one Word document to another Word document using c# and microsoft.office.interop.word object? The page size and other properties of the word doc varies from page to page, any ideas...
Thanks,
Paul
...
I would like to load a Word or Excel document into a window of a WPF application so that users can view or edit the document within the application. Is there any way to achieve that?
...
Hello
We are using the XML or Word ML format from Office 2003.
How do I get a macro to run after a MS Word ML document has been merged by another application (not Word) called SIMS by Capita.
How can I get the Macro to run after a merge, when the document is being previewed?
...
how can I convert html to word
thanks.
...