document

Class versioning to support backwards compatibility

In the project I work on, we handle Medical Billing. Every time the state makes a change to the official form (which our data classes represent), in order to maintain backward compatibility with previous forms, we add the new properties but leave the old ones intact, and have a document version property which is used to determine what v...

Text document storage with timestamp retrieval of versions

Does anyone know of any SCM(s) (e.g. svn, git, etc) that would allow me to quickly access data as it was at a given actual time without deliberately tagging it or parsing big logs to work out what version was active at the time? i.e. Store values for file=X of A (at 9am),B (at 10am),C (at 11am),D (at 2pm). I want to be able to quickly ...

i want to compare 2 word document (both tables) and findmatches in c#

i have 2 word document and they both contains table. i want to compare them and find matches in c#. the source could be in another word document (or in my ui, in a richtextbox). ...

error printing to document writer .xps extension

I am using Microsoft Vista which I am not real familiar with but getting the hang of it. When I was in google maps trying to print out the directions to the document writer and then try to open it to view the directions, it shows download, download, download and on and on until I have to hurriedly close the window. When I go to downlo...

Determine where documents differ with Python

I have been using the Python difflib library to find where 2 documents differ. The Differ().compare() method does this, but it is very slow - atleast 100x slower for large HTML documents compared to the diff command. How can I efficiently determine where 2 documents differ in Python? (Ideally I am after the positions rather the actual t...

Generating PDF documents from LISP

I want to generate a technical report from lisp (AllegroCL in my case) and I studied various packages/project to help me do this. Requirements: Need to generate a PDF May create an intermediate format like RTF, Restructured TEXT, HTML, Word DOC or Latex Need to be flexible to be able to add content throughout my application Need to ...

If it is a hack or I am doing right? ( Custom UIAlertView )

Hi all, I have asked a similar question here and got some answers, so first of all sorry for making you people bother once again. But I have an argument this time. First I will show my piece of code - (void) showTheAlert{ UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Hey!" message:@"?" delegate:self cancelButtonTitle:n...

system specification document- software design

Is there any sites which give the complete software specification document? anyone do have any specication document for some software?? ...

Suggestion for customizable workflow tool

Hi, There's a project which we're doing for the govt which necessisiates the use of a workflow system. I'm looking for advice on what software systems we can use (either commercial or open source / freeware) with appropriate customizations. Steps: 0. We monitor a certain site for "notifications". Whenever a notification is posted, this...

XSL: Ignoring/stripping namespaces in secondary documents

I am writing an XSL template that pulls data from many secondary sources. An example secondary document looks like this: <toplevel xmlns:foo1="http://foo1"&gt; <path xmlns="http://foo1"&gt; <mytag>bar</mytag> </path> </toplevel> In the XSL, I am doing this: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Tr...

lexers / parsers for (un) structured text documents

There are lots of parsers and lexers for scripts (i.e. structured computer languages). But I'm looking for one which can break a (almost) non-structured text document into larger sections e.g. chapters, paragraphs, etc. It's relatively easy for a person to identify them: where the Table of Contents, acknowledgements, or where the main...

vb6 - create html document in runtime + set baseurl

hi all, i'm creating a htmlfile like this: Dim m_doc As MSHTML.HTMLDocument Set obj = CreateObject("htmlfile") obj.Open obj.Write m_htm Set m_doc = obj the variable m_htm contains plain html data. my problem: the created htmldocument will have local paths for links/includes. how can i set the document's baseUrl? thx ...

Opening remote documents in Python

from xml.dom.minidom import parse, parseString datasource = open('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml') dom = parse(datasource) print dom ... the above code throws an IOError: 2, 'No such file or directory'. Python doesn't read remote doc like PHP? What do I need to change in the code to make it read the XML ...

How to document procedural programming?

In college I learned how to use UML to document OO applications. In the real world I've been tasked with documenting an old procedural program, essentially re-creating the design specification documents that have gone missing. Are there any "standard" documents or methods similar to UML for documenting procedural code? I'm sure there ...

Is there a way to reference a variable from an external document with PHP?

Hi! I wanted to use PHP do do a little thing, but I needed to know how to get a variable from an external document (say external.php) and use it in a function in a PHP document (internal.php). I was thinking maybe something like this: Code for external.php $variable = "true"; Code for internal.php if ($GETFROM{'/external.php'}['var...

Python Qt: Qprinter not defined

Hi Everybody, I am trying to put the printer to run the output from an html document. Here is a small function to do that: def callPrinterHtml(self,document): self.printer = QPrinter() self.printer.setPageSize(QPrinter.Letter) dialog = QPrintDialog(self.printer, self) if dialog.exec_(): document.print_(self.pr...

javascript / selenium: get the window from the document object

I am writing user extensions to selenium. I have the document object. How can I get the window object of the window that contains my document? PageBot.prototype.locateElementByMyLocator= function(text, inDocument) { // I want the window here } ...

In search of opinions on web based version control systems

Hi. Researching various open source, web-based document management/version control systems. I've checked google/questions here, etc... I'm looking for a lightweight web-based (apache) document mgmt/version control app that runs on top of SVN. I need to have the ability to: have multiple users checkin/checkout have a workflow (when u...

How to read a word document in asp.net c#

i'm just workin on a project in asp.net c# 3.5 windows application which requires to read word document. i want to know how to read the *.doc file character by character.... how can i do it? ...

Open document from SharePoint document library

Hi, I have a SharePoint 2007 portal, that contains several document libraries. Whenever I open a document from a document library, Word 2007 requests me for my credentials, although I'm already logged in the portal. Does anybody know how to set up Word 2007 to accept the existing credentials from SharePoint 2007? Regards, Voicu. ...