I'm having an issue when I export my html page to Word, I can't get rid of the borders on a table element.
<table cellspacing="0" cellpadding="0">
<tr>
<td class="title">Analyst</td>
<td>
<asp:Label ID="lblAnalyst" runat="server" CssClass="data" />
</td>
<td class="title">Borrower</td>
...
Hi,
i need to extract text from an old MS word .doc file in C#.
What is the easiest (or else the best) way to get that job done?
...
In Word 2003, I am trying to create a form that can generate additional entries if the person filling out the forms requires them. I have tried a form field that runs a macro on entry but that does not seem to be working. Is there a more elegant way to make a form that can add rows in Word as the user requires?
Essentially something lik...
In Word 2003, I am trying to create a form that can generate additional entries if the person filling out the forms requires them and clicks a checkbox stating (for additional tables click here). I have tried a form field that runs a macro on entry but that does not seem to be working. Is there a more elegant way to make a form that can ...
Hi,
I'm using VS 2005, asp.net 2.0.
I need to read a word document (.doc) in asp.net, make some replaces and then generate another word document.
So far OK. I've done it in a machine that have the Office 2003 installed, so in VS 2005 I've added a reference to the "Microsoft Word 11.0 Object Library". Everything worked perfectly. Code...
I am writing a search engine using the Lucene Java framework.
What I want to do is to create an index of Ruby source code files. For that I would like to have the option of using a stop word filter, i.e. I want the stop words of the ruby language be ignored when indexing the files.
--> Does anyone know of a nice complete list of Ruby s...
I have some HTML files that I need to distribute in MS Word doc format (don't ask!). I can manually open each in OpenOffice and then save as a doc file. But I have quite a few files so I want to automate this. Do you know a way?
...
Let's say I have following typed in my source file.
var myFunction = function() { };
var anotherFunction = function() { };
var test-m
I can now press Ctrl + P and it will show 'myFunction' in the autocomplete list. It's great and very helpful.
But what I want to do is make VIM treat '$' in the same way it treats '-'.
So when I typ...
I have a project in development that uses Word documents as an input mechanism to a larger system. My company's client has 4 different Word documents they use that contain form fields. When the document is submitted to our system, it will strip the data from the form fields and store it in a SQL Server database. I realize this isn't t...
Hello. Im stuck on writing Word occurrence in a string.
I got some tip(in task notes) to use is compareToIgnoreCase. so I tried something like this:
splitwords = StringCont.split("\\s");
for(int i=0; i<splitwords.length; i++)
{
if(splitwords[1].compareToIgnoreCase(splitwords[i]) == 0)
splitcount++;
}
It is of course just w...
I have an application who reads word-files from a database, opens them and saves them as a .html file.
The application works fine, but now i want to call the application from a service. I can call the right functions etc. but, on the line wordApp.Open(...) it doesn't open my file (who exists!) and returns me a null object.
Anyone who kn...
I am having a problem with the Document.SaveAs method in Word VBA with large Word documents, it seems that the save operation is asynchronous, ie. after calling .SaveAs it returns immediately, but with large Word documents the actual save operation may not has been completed and it's in progress in another thread.
So what I want to ask...
I am using Interop.Microsoft.Office.Interop.Word.dll to dynamically build a Word document in C#.
Does anyone have a code example to create a a numbered list?
...
I am appending some text containing '\r\n' into a word document at run-time.
But when I see the word document, they are replaced with small square boxes :-(
I tried replacing them with System.Environment.NewLine but still I see these small boxes.
Any idea?
...
Inside Word (2003 or 2007), is there a way to have one Header/Footer that is used by Multiple documents?
I want to be able to change the header/footer in one spot and have it affect multiple documents.
i.e. I have 50 documents and they all have the same header/footer. Instead of opening all 50 documents to make the change, is there a ...
Hi guys,
I've got some code that generates a word document, as follows:
$word->Documents [1]->SaveAs ( $localDir . $filename );
Now, I was kinda hoping that I could now open the file once it's saved by doing the following:
$word->Documents->Open($remoteDir . $filename)
// remotedir = 'word/', so for example the above would be '/wor...
I need to enable and disable shortcut key for select all "Ctrl + A".
FindKey(BuildKeyCode(wdKeyControl, wdKeyA)).Disable
FindKey(BuildKeyCode(wdKeyControl, wdKeyA)).Rebind wdKeyCategoryCommand, ??
What is the command parameter for Ctrl + A??
I cannot find this information anywhere!
Also I want to apply it only for my templates:
Cus...
well i need a method to convert word files to swf.
please dont suggest scribd.com or any other similar tools because i need to host the files at my server.
so is this possible?
i know that you can convert pdf to swf using link text
but i didnt find anything about word documents
thanks
...
i have 2 word document and they both contains table. i want to compare them and find matches in c#. the source could be in another word document (or in my ui, in a richtextbox).
...
I'm using Visual Studio 2010 to create a Word Template. I created a Ribbon with to buttons: print in color, print in B&W. I use the Document.printout() function to print the document.
How can I set the printer to Grayscale printing from code?
I don't want to use the printDialog.
I tried to use this:
PrinterSettings settings = new Pr...