document

how to clean up microsoft html doc ?

I have quite big document in html format that generated from Microsoft Word. It is soooo messy and full of bloated things (like unknow tag, unknow namespace etc and other bloated things) is there any way to convert it into plain html sytax ? thanks ! ...

How to wait for document to finish loading in javascript when i am inside an event that occurs before

Hi I am using JQuery Address plugin for address.change event the problem is that this event occurs before document is fully loaded ( in FireFox & safari ) how can I wait for it to load? thanks. ...

Javascript framework that primarily provides just document/onready functionality

A couple of months ago I was doing Javascript programming on the Facebook platform, on which the major frameworks such as Dojo, ExtJS, jQuery, Prototype, etc. don't necessarily work. Which led me to discovering a couple of frameworks that merely provide the CSS selection functionality, for possible porting, namely Sizzle (used inside jQ...

processing html document structure

Hi all, I was just wondering whether there are any resources that discusses processing html document structures. For example, if i have a page from the New York Times, and for any page, i would like to understand where is the main article, where are the important elements in the page. For some websites, the raw html document gives some...

Displaying Documents (filtered) from a library in Sharepoint

Using the latest current version of Sharepoint. I have aded a "Foo" document library containing documents of a custom Foo document type. The document repository carries along a FooID for each document, which will correspond to a primary key in an external database's [Foo] table that we are using for other purposes. I have a Foo.aspx p...

webDAV / PHP / MS Word question

Can someone explain this strange (or normal) behaviour: I've got an Webdav directory. In this folder, I have a word document, called document.doc. When I open Word, en then choose to open file, and fill in the whole URL (http://server/webdav/document.doc), Word will open the document just fine. Changes I make are being saved on save cli...

Why does some jquery code only work if it's at the end of my html-body section?

I have the following code for creating tabs. It works at the end of the html body section but not if I place it at the beginning - before all of the divs are defined. Why might that be? <script type="text/javascript"> $("ul.tabs li.label").hide(); $("#tab-set > div").hide(); $("#tab-set > div").eq(0).show(); $("ul.tabs a")...

how to read comments in word document from apache poi ?

How to Read word comments (Annotation) from microsoft word document ? please provide some example code if possible ... Thanking you ... ...

LaTeX: set custom line spacing except for some document parts

Hi, I need to have a 1.5 line spacing within my document but without some parts like the TOC, title page etc. When I use this command to set the line spacing to 1.5: \renewcommand{\baselinestretch}{1.50}\normalsize the documents line spacing is set to 1.5. How can I exclude some parts of the document from that setting? Thanks for ...

Best website to store programming scripts online

I want a website where-in it will store all my (quick)scripts online. Sometimes I will writing a couple of python scripts to get this done like, getting the list of recent files added, getting the list of added files on a day, or something even more simpler. So I want to document those scripts on a daily basis. How do it online? Update:...

rendering open office files in ruby on rails

Hi All, I'm trying to render .odf files from a controller action in a rails application. I'd like to be able to put templates inside my view folders called show.odp.erb, show.odf.erb, etc.. and have that represent the content.xml file that is inside the zip. I'd also like to be able to render these actions in the controller like so: ...

Saving and printing XPSDocument through Paginator (seems to)causes a rasterization of the content

I use the WPF Printing Path to handle big large diagrams created in our application. The whole diagram consists of visuals. A so called "DesignerPaginator" paginates the diagram (it is quite simple). From this point, I do the following three thing: - I print the Document with PrintDialog.PrintDocument(Paginator, Title) - I also create a...

How to open word document at specific paragraph with poi ?

Hi All, Requirement is this ... We are reading word document and getting all annotation from that document, and we are sending this document to user, when user open the document that time document should open with some specific page specific paragraph. ( That specific page, paragraph location we can give it, I can give the org.apache.p...

Flash document viewer

Is there a flash based document viewer? I am looking for something similar to iPaper that Scribd.com uses. ...

Implement Different Expiry Dates on Documents in a Library

I need to be able to set different expiry dates for each document in a document library; some with no expiry date. What is the best approach for this? Information Policy Management or custom code? If custom code, how would I go about it, use a Site Column for the date? ...

Where can i download some good software design document ?

Right now i am designing a software, and i need some good documents for reference. Where can i download some good system design or UI design documents ? by the way, i don't want just some document template. Thanks in advance! Regards, ...

Getting the path & filename of the open document in any Windows application

Goal Let me start with my final vision of what I'd like to be able to do first: In Windows, I'd like to be able to use a global keyboard shortcut that I define (say, Ctrl+Alt+C) to copy the full path and filename of the open document in the foreground application to the clipboard. This would be useful to, for example, be able to subs...

JavaScript - quickest way to extract document meta fields

I need to extract the document's "description" meta tag. The default way would be to use document.getElementsByTagName('META') and then iterate through the array - as found in: http://www.rgagnon.com/jsdetails/js-0070.html But I'm wondering if there's no other quicker, "one line of code" approach. I'm not familiar with xPath - but mayb...

Free private SVN repository + document hosting

Possible Duplicates: Can you recommend a SVN, closed-source project hosting site? Is there a free version control server provider for non-public projects? Free Online Private SVN repositories Hi, I'm starting a new project with 14 more people and we're looking for some repository where we can host our code, specifically an S...

XSLT 2.0 External lookup using key() and document()

Hi, I'm pulling what's left of my hair out trying to get a simple external lookup working using Saxon 9.1.0.7. I have a simple source file dummy.xml: <something> <monkey> <genrecode>AAA</genrecode> </monkey> <monkey> <genrecode>BBB</genrecode> </monkey> <monkey> <genrecode>ZZZ</genrecode> </monkey> ...