document

Best compatible & fast way for publish PDF? convert to flash OR google docs?

i want users to browse pdfs online. but what is the best way? convert it to flash (swftools or flash paper) embed google docs online viewer other way THANKS. ...

What's the difference between the document and the DOM?

Hi, So I came across a piece about the difference between jQuery's bind() and live() - http://msdn.microsoft.com/en-gb/scriptjunkie/ee730275.aspx - (Live and Let Die section) The bind function registers the event handlers with the actual DOM elements that were selected, but the live function registers the event handlers on the docu...

PHP5 doesn't work an a custom DocumentRoot

Hi, I am currently struggling with the following problem. I have successfully installed Apache2 and PHP5. And it works until I change the DocumentRoot of the Apache2 to something different than /var/www. I want to set the DocumentRoot to /home//wwwroot, but after doing this all php pages are just white. (no download message or sth.) H...

setAttribute style not working in IE

Hello, Setting the style attribute to elements is not working in IE 6/7 . But in other browsers, it works well. The code i am using is var box_style = 'width: 200px; background:red'; document.getElementById('box').setAttribute("style", box_style); This works in all other browsers except IE 6/7 Am i doing anything wrong ? or is t...

C#: How do I get the document title from a WebBrowser element?

I'm having issues trying to get the document title from a WebBrowser in C#. It works fine in VB.NET, but it won't give me any properties in C#. When I type in MyBrowser.Document., the only options I get are 4 methods: Equals, GetHashCode, GetType, and ToString - no properties. I think it's because I have to assign the document to a new...

Merging Word documents in Ruby

I have N Word documents (Office 2003) from which I want to make a single Word document by merging all the N documents together in some order. How do I go about doing this in Ruby? Thanks! It's just the documents that are created in MS Office. I do not use Windows and would prefer non-Windows solutions. EDIT: Will this be easy if the d...

Getting error when open word document file which is generated using .net

I am using below code to generate word document using assp.net/c#.net, please tell me where i am missing it is generating word file and all contents are their.. but problem is that when i open it it gives me error : "The Office Open XML file filename.doc cannot be opened because there are problems with the contents" and after clicking ok...

How can I close all the document windows in Visual Studio from an external script?

Hi, I'm creating the software for a course. What with exercise start points and worked solutions and both C# and VB I have about 100 VS2010 solutions. During development I reopen these as neccessary and they get a lot of tweaking. When I'm done I want to leave the solutions with NO documents open. That way when the student opens the...

Compare PDF documents in Adobe Acrobat via SDK

We are planning on implementing a solution for comparing different revisions of a PDF document in our .Net Windows Forms application. In Adobe Acrobat there is a nice feature for comparing two documents, but I have not been able to find any information about whether it is possible to create a plug-in (or something else) to this feature f...

How to tell Nokogiri when parsing a document not to convert it a different encoding (in my case not to convert &paund; to to anything else)

Question: how to tell Nokogiri when parsing a document not to convert it a different encoding (in my case not to convert to to anything else) I have a file with the following contents: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <span>&pound;</span> </body> </html> I p...

writing xml bug

public static void writeXmlFile(Document doc, String filename) { try { // Prepare the DOM document for writing Source source = new DOMSource(doc); // Prepare the output file File file = new File(filename); Result result = new StreamResult(file); // Write the DOM doc...

Using DocumentListener to update Text Field

So I am implementing DocumentListener in order to make a search text field that will perform searches as the user types. All of that is working correctly, but I recently also discovered a need to modify what the user has put into the text field. For example, I have a function that is removing any character not in the extended ascii set, ...

Is SharePoint uses indexing service of windows?

Let me know if it uses built-in service or has own service for search in documents? ...

Extend document DOM for iframes

I already have a set of functions I use to extend the document (i.e. bind/unbind). So I can do stuff like: document.bind('load',someAction,{}) But it doesn't work if I do: $('some_iframe').contentWindow.document.bind(...) And apparently, $('some_iframe').contentWindow.document.prototype doesn't exist. EDIT: Here is the code breakdown: ...

OpenXML: Allow editing of Content Controls in locked Word document

I want to create a Word document that works as a template, where all the document is locked from editing except the Content Controls (<sdt/> elements) in the document that the user can edit. What I've seen is that if I lock the document edition (right now I'm using the _markAsFinal property) there's no way to unlock a single Content Con...

I need document collaboration tool that provides an API to allow me to embed document collaboration onto my site

I need to enable my users to collaborate on document creation. I initially thought of using a wiki system where users can come in and start a document and other users can pitch in, give feedback, rate it and so on. The problem with that approach is that it requires the user to change the way they work, which I don't favour. I want a to...

vb6 activex document project silent install

I have a vb6 activex document project and I need to create an msi package (thats what is the requirement since it has to be deployed thru active directory) that runs without any user interface and user intervention. I followed these steps: I created an msi project using visual studio installer and removed all the user interfaces. Added...

Programmatically add footer to Office Word/Excel document

I'm looking to build a solution similar to this one: http://esqinc.com/section/products/4/idocid.html What the system makes is insertion of a document file name into the document footer. How's that possible programmatically (preferably in .NET)? ...

Apache POI: Replace paragraph text

I am using Apache POI to generate docx files from a template. There doesn't seem to be an obvious way to replace all text in a paragraph and the documentation is pretty scarce. Right now I am able to read a document by looping through its paragraphs, then looping through each paragraph's runs, then looping through each run's text... This...

Any parsers for RFC documents?

RFCs (http://www.ietf.org/rfc.html) are usually published as text files. Are there any other formats, which would make parsing the RFC content easier? Are there any parsers for the widely used RFC text documents? ...