document

How do I load an org.w3c.dom.Document from XML in a string?

I have a complete XML document in a string and would like a Document object. Google turns up all sorts of garbage. What is the simplest solution? (In Java 1.5) Solution Thanks to Matt McMinn, I have settled on this implementation. It has the right level of input flexibility and exception granularity for me. (It's good to know if the err...

What is the best Document-oriented database?

We all know RDBMS, but what about Document-oriented databases? Consider the things that you leave an RDBMS to do, like indexing, complex query structure, mathematical functions, storage, transactions etc... ...

Create Word Document using PHP in Linux

Whats the available solutions for PHP to create word document in linux environment? ...

How do I execute a page-defined JavaScript function from a Firefox extension?

Hi, I'm creating a Firefox extension for demo purposes. I to call a specific JavaScript function in the document from the extension. I wrote this in my HTML document (not inside extension, but a page that is loaded by Firefox): document.funcToBeCalled = function() { // function body }; Then, the extension will run this on some even...

Make DocumentBuilder.parse ignore DTD references

When I parse my xml file (variable f) in this method, I get an error C:\Documents and Settings\joe\Desktop\aicpcudev\OnlineModule\map.dtd (The system cannot find the path specified) I know I do not have the dtd, nor do I need it. How can I parse this File object into a Document object while ignoring DTD reference errors? private...

Signature files for document retrieval

Hi all, I was wondering if you know somewhere where I can find information on how to build a signature file for docuement retrieval. Do you know if there is some code out there that I can use or look at? I have to create a signature file in C++ under linux platform. UPDATE: Sorry, I appreciatte the help but I was refering to signature ...

Multiple Interchangeable Views (MFC/C++)

Hi all, I have a main frame with a splitter. On the left I have my (imaginatively named) CAppView_Leftand on the right I have CAppView_Right_1and CAppView_Right_2. Through the following code I initialise the two primary views correctly: if (!m_wndSplitter.CreateStatic(this, 1, 2)) { TRACE0("Failed to CreateStaticSplitter\n"); r...

Storing Documents as Blobs in a Database - Any disadvantages?

The requirements for my document management system were: Must be secure from theft by simple copying of directories, files etc. Must be secure against traditional virus infection (infection of physical file) Must be fast to retrieve The repository must not be visible to casual (directory) browsing users etc. I have decided to store a...

How to create .odt files with C#.NET?

Note: I found this "Creating a Word Doc in C#.NET", but that is not what I want. Do you know how to create a .odt to create file from C# .NET? Is there a .NET component or wrapper for an OpenOffice.org library to do this? Thanks! ...

How to create a background-image on titlepage with LaTeX?

I want to put a background-image on a titlepage of a document. Is it possible and dows it work? EDIT: The answer from Presidenten using the eso-pic-package and my answer found after some research using the wallpaper-package are both working. ...

Template to notify users about issues / failures / incidents etc

Our product is a web application. From time to time, we get failures, bugs, error etc and I’m looking to send out an email notification to inform our users what happened and how we dealt with it. Should include things like: "Apologize for the inconvenience" "Server1 went down at 9am for 1 hour" "No data was lost or corrupted" Doe...

Upload document to specific folder in a SharePoint Document library using WebClient

I have some client side code that uploads an Outlook email to a document library and as long as the path is pointing to the root of the doc library it works just fine. @"https://<server>/sites/<subweb>/<customer>/<teamweb>/<Documents>/" + docname; is the projectUrl in this function : public bool SaveMai...

Is there a way to generate word documents dynamically without having word on the machine

I am planning on generating a Word document on the webserver dynamically. Is there good way of doing this in c#? I know I could script Word to do this but I would prefer another option. ...

ActiveX Document or something like it on C#/.NET

How can I implement ActiveX Document on C#/.NET? (ActiveX Document can draw itself in IE) Update: I need a solution for drawing my own document type in IE windows (like MS Word or MS Excel draw its documents in IE). ...

MFC and Active Document Server - how draw document in container window

I look on the one example source code. This example implement Active Document Server (SDI Window, exe-application). When i trying insert this document in any container (such as MW WORD, or IE) , comtainer open additional window and place documant in it. I want draw document inside container window. How i can make it? Probably should i re...

Document,text format

Hi, to my project i need document editor for many types of documents(tabular data, invoices, letters, some formulars,...) and i am looking for text format and editor to acompish my task is there some MS Word like format? I know for example rtf, I need formating, invissible comment will be veeery good open format same 3th p. editor wi...

Can I force an HTML document to be one page long?

I am generating a document from HTML. Is there any way to force the HTML page to be one rendered as one printed page long? I've done most of the page with <table> and <div> tags. ...

How can I embed a PDF in an Email?

I've already referred to this: http://stackoverflow.com/questions/104177/how-do-i-embed-an-image-in-a-net-html-mail-message I've been embedding images using an AlternateView for PNG files. Now I'm wondering how to do it with PDFs. Should it work, for the LinkedResource, to just say: Dim document As New LinkedResource(pdfFilePath, "i...

CSS in sharepoint

I need to apply a CSS to a Sharepoint site (WSS3.0) based on the theme applied to a site. The CSS would be saved at root site in 'Document Library'. How do I apply the CSS programmatically on the page? Thanks! ...

VBA word range question

I want to find a string in a word document and delete everything after it. What is the best way to do this without using the selection object? Thanks ...