document

Adding header to a .doc

I need to add an header to a word document previously generated by a component that convert html to rtf (SautinSoft). This component does not support thead { display: table-header-group; }. Without using COM, is there a way to achieve this in .NET? ...

JQuery selectors select from an html object other than from document root?

jQuery selectors select from the document. How do I select from somewhere else other than root? Say I want to select some children from an html object. For this function dothis(obj) { $j("#tabs").removeClass(); $j("#tabs>ul").removeClass(); $j("#tabs>ul>li>a").each(function() { var tabNum = $j(this).attr("h...

ipad document support

Hello,I would like to know how can we use the new feature document support for ipad..I tried to register the doc type for our app by adding the new doc type in the plist file then I implemented the didfinishlaunchingwithoptions method.then I built the app.later I opened it via google mail from safari,I dint find any option like i can ope...

javascript - document.activeElement

Hello, I have a few inputTextBoxes and I'm using document.activeElement to handle value changes of those inputboxes called by "change()" function of inputBox element. the problem is when I change the value of one of the inputboxes and then click in another inputbox... the function will get the document.activeElement of the new inputbox ...

Difference between screen.availHeight and window.height

Hi, I am executing the following javascript on my browser(firefox) 1.console.debug("Screen height = "+ screen.availHeight); //output 770 2.console.debug("Window Height ="+ $(window).height()); //output 210 (i am using jQuery as well) What is the difference between the two? Are units of 770 is pixels and 210 is mm ? Similarly, when ...

Is there any API to get path "C:\Documents and Settings" in windows?

Is there any API to get path : "C:\Documents and Settings" in windows in c++? not: C:\Documents and Settings\brianfu\My Documents. Many Thanks! Thanks for luke's solution: GetProfilesDirectory it works! ...

What's a good document standard to use programmatically?

Hi, I'm writing a program that requires input in the form of a document, it needs to replace a few values, insert a table, and convert it to PDF. It's written in Python + Qt (PyQt). Is there any well known document standard which can be easily used programmatically? It must be cross platform, and preferably open. I have looked into Mi...

How to view the XML documents sent to Solr

We're having problems with UTF-8 in Solr, and need to debug the documents that are sent for indexing. Can we do this somehow? Searched all logs I've found, enabled debug="1" in the app XML in the tomcat6 / Catalina directory. Even tried Wireshark, but no dice. Please please! Everything looks good on the PHP side, and this has been work...

Document management for Drupal 6?

Hi there, Can anyone tell me if there is a similar module for document management for Drupal 6 like docMan for Joomla? I want to be able to manage documents from one place (upload etc) and then be able to link to those documents from within a page. Thanks in advance, Ben ...

Published SSRS report on Sharepoint - Document Map error

I am having an issue with a published SSRS report in Sharepoint loaded as a Web Parts page. The report displays correctly, but the Document Map link is giving an error, "Access is Denied", on the page. I am running IE7. The document map DOES work in native sharepoint mode. I have seen some documentation similar to this error suggesti...

System.Xml.XmlTextWriter.WriteStartDocument()

What does this method do, and why is it necessary? The "go to definition" option leads me to a function containing all comments, here's what it says about its purpose //Writes the XML declaration with the version "1.0" and the standalone attribute. what does it mean by "writes the XML declaration"? Is this when it creates the .xml fi...

How to make documents read-only in document libraries.

After document approval, i want set it to a final status where newer version of document cannot be uploaded or any modifications made (i don't care if it is downloaded and modified on users PC, but it must stay as is in SharePoint). I see few options here: break permission inheritance and set all roles to read only. EventReceiver on I...

What's the easiest way to fill gaps in a list of numbers?

Dear reader, I'm having some trouble explaining the question in a single line for the title, but hopefully this description will provide you with enough insight to fully understand my question: I have a few variables in a Word document. Every variable has a Value which is a number (starting from 0 up to the number of variables). A Sort...

iPhone 4.0 OS writing to visible file in sandbox

I was working prior to 4.0 OS with my iPhone and and writing to media/DCIM/100APPLE. I could download these files using DiskAid. This was a perfect dev solution. My provider without asking upgraded my phone to 4.0. Bang, I am no longer able to write anywhere visible. In distribution we will be using the temporary directory, no probl...

Slow to convert Oracle 11g XMLType into Java String or Document

After retrieving a result set from an Oracle 11g database, it takes roughly 75 seconds to convert the XMLType (this is a structured XML Storage, registered with an xsd) into either a java String or Document. I'm using Java 1.6, have the xdb.jar and xmlparserv2.jar This xsd is <100 lines and the xml document is also <100 lines. Sample c...

xpcom/jetpack observe all document loads

I write a Mozilla Jetpack based add-on that has to run whenever a document is loaded. For "toplevel documents" this mostly works using this code (OserverService = require('observer-service')): this.endDocumentLoadCallback = function (subject, data) { console.log('loaded: '+subject.location); try { server....

Looking for a automated web pdf viewer in java

whenever user uploads the new document automatically it have to converted into SWF then only we can show the file in flexpaper but they(flexpaper)asking us to do a conversion from pdf to swf give me an idea to automate this in my jboss using java ...

Where can I get document signing certificate

It seems like everywhere I've looked they are personal certificates on a usb key and they are used to prove personal identity. I have a website that produces documents in PDF. I would like to sign them so that they are credible in a way that they were issued by my web site and haven't been tampered with... Doing this with self created c...

proof of concept document

Hi, i have been asked to submit a Proof of Concept Document before working on the iphone app (for my college) which would include the feasibility of the project, the working of the app and so on. i've never done this before and need a template of a POC for my reference. couldn't find much on the web. ...

Are document databases good for storing large amounts of Stock Tick data?

I was thinking of using a database like mongodb or ravendb to store a lot of stock tick data and wanted to know if this would be viable compared to a standard relational such as Sql Server. The data would not really be relational and would be a couple of huge tables. I was also thinking that I could sum/min/max rows of data by minute/ho...