Our website generates Word 2007 documents from database data by creating the xml, zipping it and sending it as a MIME attachment. Usually, this works fine. On occasion, the document will look fine on the screen, but not when printed. The letters end up scrunched together.
Here is an example. This is a 1 page document, the first pa...
I want from my java code to open word document. But not just to open the document but also to open on exact page or paragraph.
Any ideas or guidelines?
NEWS!
I found out that I can put bookmarks on specified places in the document ant then when I open the document I can go to them with Macro. Also Macro can be specified when you open d...
Hello everybody!
when I write in commandline in windows:
C:\Program Files (x86)\Microsoft Office\Office12>winword.exe /mOpenPage c:\Navod
ilo.doc
It starts the word document with the macro /mOpenPage.
I want to do the same thing from Java but its not going.
String[] cmd = {"cmd","/c","c:\\Program Files (x86)\\Microsoft Office\\Off...
I want to do the next thing:
String[] cmd = {"cmd","/c","c:\\Program Files (x86)\\Microsoft Office\\Office12\\WINWORD.exe","/mOpenPage","c:\\Navodilo.doc"};
Process proc = Runtime.getRuntime().exec(cmd);
But, without to specify the winword.exe path but open the document with the macro...
I read that there exist Auto Open...
I'm using Jacob to create and add text to a MSWord document. I want to set the document title without saving the document. Is this possible? If so, what is the name of the property that I need to set to do this? (I tried wdPropertyTitle, which some MS VB tutorial used, but no beans.)
...
I want to insert some C/C++ source code into a Microsoft Word document. I have no problem in copying the code from source file and pasting into Word. I can do fixed-width. But, in Word, I see the code in black-and-white format; I loose the syntax highlighting as I get in the source code editor (for me, gvim). So, my question is, is there...
I am writing large MS Word 2007 documents, which are often being changed. I have to number paragraphs with stationary unique numbers, that will not change while changing the documents. The numbers should be unique, and will not change even if previous numbers are deleted. The order of the list is not mandatory, and addition of a new numb...
i have one question related to add-in installation..........
qus is:
i want to combine shared addin for msword created in visual studio 2005, to my project that means if i install my product then addin is also install with this........
and if i uninstall my product add-in is also uninstall...........
and i also have another question...
I have several Word templates and I wish to use these to dynamically create Word documents in my app. I wish to avoid using automation at all costs as this is no good. I know that I can use both HTML and XML to create word documents but I just don't know where to start with regards to using a template that may well have images in the foo...
I'm trying to open and jump to a particular section in a Word document from Java. I don't need Java to read the document, but really just open MS word. I know I could launch it using a Runtime exec but I couldn't jump to a specific section that way (I don't think - unless there is a command line arg for that for in Word but I didn't see ...
Hi,
I'm using jRuby and a Java library (using itself an applescript to play with MS Word) to convert Word documents to PDF files. Sometimes I get a dialog about margins issues, or MS Word is freezing because the file is too big... Could anyone recommend a script or library that I could run on OSX to manage these issues (closing the dial...
I'm looking to export a page that looks good in print media, to word.
Can this be done automatically, or mostly automatically with office apis?
The alternative is to create a program that reads all our style meta data and font meta data and convert to word and force a download.
The issue is our style metadata is already built for css,...
I have a document that is an overview document within a folder, there are numerous related documents in a folder that is also in the folder that contains the overview document.
I would like to reference these documents throughout the overview document and allow those to be selected and viewed by clicking.
so i was going to use a hyperl...
I know it is possible by using MOSS + InfoPath to create and use custom Document Information Panel.
However is it possible to write custom InfoPath XML schema and then add it to Content Type definition programmatically or declaratively... Is that possible? Maybe somebody tried something like that?
...
I am working on a web project where client needs a functionality to first upload some MS word document & then he can compare any two of the uploaded documents.
The idea I came up with is to first make the documents available using WEBDAV & then open both documents using command line with "Compare side by side" option. In this way he wil...
I have a procedure that iterates through the styles available to a document:
Sub EnumerateStyles()
For Each Style in ActiveDocument.Styles
`some custom code`
Next
End Sub
I do not need all the styles, and just those that are applicable to tables only. How can I programmatically filter the styles?
Thank you
...
When I developed this app (in C# Visual Studio 2008) I asked the same question (actually managed to find an answer on the MS forum, for which I deserve a prize of some sort). The answer from MS was that the only way to set keyboard shortcuts to your own methods is to write a macro which invokes the method (via COM. obviously) and set the...
Is there a way in which I can programmatically access the document properties of a Word 2007 document?
I am open to using any language for this, but ideally it might be via a PowerShell script.
My overall aim is to traverse the documents somewhere on a filesystem, parse some document properties from these documents, and then collate ...
My users like to upload password-protected Word documents into our custom document management system. I'd like to add a validation to check for the password and refuse the upload if it has a password.
Automating Word - with COM interop - is out of the question because this is a server side application.
...
Does anyone know of any component or library (preferably open source) that would allow me to convert Word 2007 documents to Word 2003 with ASP.NET?
...