Hi all I am working on word automation. i am having a problem.
I want to insert caption at the first row of the table . my table contain 3 rows as header,chart,note, upto this is all well . when i type some text in the header it works fine. but when i am adding a caption at the first row this add caption above the table or below the tab...
Hi
I managed to run Microsoft Office Word 2007 and programmatically manipulate doc files in ASP using the Microsoft.Office.Interop.Word .Net Component. I used the tutorial found at here The question is: Was the Word application run on the server side or on the client? I was only able to test this on my own computer in debug mode so it's...
I am using the updatefields element as stated here:
http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.updatefieldsonopen.aspx
When I open the document in word 2007/2010 I get prompted to update the fields, but this doesn't happen on Word 2003.
My xml looks like this:
<w:updateFields />
Any suggestions?
...
Hi everybody,
I'm using C# office (word) automation by Microsoft Office 12.0 Object Library.
And I opened a "1.doc" file and I need to check if this file has a background color or not.
Note: I mean the background color applied by the following steps:
Open MS Word 2003, and open a document.
Go to : Format menu -> Background and choose...
Hi there,
i am creating a word (14) instance with interop out of a c# .net4 winforms application to work with a document. If some word document gets opened beyond my application the same word instance will be used an disturbs my application.
Simple question: Is there any way to set my word instance exclusive for my application?
Thank...
Hi,
I am using dsofile.dll to get pagecount from word documents, all I need at this point is pagecount and only Word documents at this time.
For some documents the pagecount returns as 0 (or invalid in general maybe?) and therefore I'm in need of a solution or a different approach.
Word automation is a last resort as it is considered ...
Hello World!
Is there a Microsoft Word (or Word-Like) Component for the Web - Specifically, Classic ASP?
Something that can attach to multiple instances of HTML textareas...
The platform is a homegrown, in-house corporate-type app, so it really limits our maneuverability. That said, we just need it to work in plain old web pages using ...
Are there any options available to do offline surveys and questionnaires. Something in the line similar to Adobe Lifecycle that allows coded pdf files. Its costly and there are about 10-15 templates which will also add up to the license cost.
MSWord and MS-Excel are options but there could be users that do not have these installed or us...
Hi,
I am using word interop to edit docx files. In word doument I can have multiple nested content controls, in some cases I have a content control 'A' containing a text box (simple text box inserted from Insert-Text box-simple text box) the text box contains in turn a content control 'B'. When entering the nested content control 'B', ...
I want to open two documents in compare mode programatically.
Something like:
Process.Start("winword.exe", string.Format("/n /compare \"Document.docx\" \"Document_V2.docx\""
Is that possible?
...
Hi, I'm using regular expressions to search against the plain text returned by the following property:
namespace Microsoft.Office.Interop.Word
{
public class Range
{
...
public string Text { get; set; }
...
}
}
Based upon the matches I want to make changes to the formatted text that corresponds to t...
I'm needing to display the name of the month after the current month in a Word 2003 document.
It's fairly easy to display the current month:
{ DATE \@ "MMMM" }
At the time of this writing, this displays: September
What I'm wanting to display is October...and for the life of me I cannot work out what needs to be done.
I've been tryi...
I have found a vi emulator for microsoft word here:
ViEmu
but I wanted to use vim to edit DOC or even rtf files. My question is , is this possible ?
Are they any other formats that preserve page/paragraph layout combatible with both Microsft Word and Vim ? I am also open to OpenOffice formats .
...
I have a really annoying problem.
I am openign a word document via c# / COM Interop (Word 2007). I want to prevent the Macros from Running as some of them may crash (older files with missing bookmarks etc.).
So I run the following code to suppress all the dialogs that may pop up:
Word.ApplicationClass wordApplication = new Word.Appli...
Hello,
I am using tinymce Version: 3.3.7 and when I go to paste "as plain text" from tinymce, I still get mso tags. Is it possible to have these removed by some setting in tinyMCE or do I need to strip the tags with php?
...
I realise this question has been asked many times before but a lot of them are old now without an answer.
I have a need for users to be able to edit word documents from my web page.
Are there any editors, or components, that will allow me to do this?
A bit of background, the user will be able to upload a word document to my site and t...
Hi,
I am learning OpenXML. I have been looking for hours trying to find how to do a simple task: insert text into a content control in c#.
I have a template document with two controls "Name" and "Age." I can find them well enough, but I just cannot add text in them. I've tried a number of things, all to no avail.
byte[] tem...
Is it possible to do this via a macro?
in an already open word document select all text
copy selected text to clipboard
check default browser open at correct web address
if not open default browser at web address "http://thisaddress.com"
give focus to browser
paste clipboard text into input box called "input1"
or some other way to ...
I have a request from a User Group to implement the following:
Introduce a set of templates that
have some Hidden Text on the page as
instructions
Display the Hidden
Text the first time a document is
created using the templates
Introduce a custom button to toggle
the Hidden Text display
1) The templates are now created. Manual t...
So here is my issue.
I am currently writing a User Guide using Word 2007 where each section has some validation checkboxes to help the consumer implement the solution and track his progress.
I have been able to create Word Checkboxes that can be clicked on using Developper>Legacy Tools>Checkboxes and then Protecting the Document to onl...