documents

Document creation and editing online

*爱你&永不变心* 提交于 2019-12-11 17:46:18
问题 What language or technology would I need to be able to create documents online? I want to be able to add text and images and move them into position, resize etc, similar to this. And then when complete, create a PDF from them. Sorry if this is a bit vague, I just need to know where to start researching. 回答1: You need to decide on your basic technology: Flash, Silverlight, Canvas, client-side SVG, server-side SVG or server-side bitmap. There are also commercial solutions that work with Adobe

.NET component to view and annotate documents and images

折月煮酒 提交于 2019-12-11 16:55:32
问题 I need a component that I can install on my server that can be used in an ASP.NET Web Application to: Display word documents, PDF documents, images in the browser. Allow these documents to be annotated online and have those annotation saved for redisplay later. Thanks in advance. 回答1: Only a technology like Flash or Silverlight would be able to approach providing that functionality. The biggest benefits would be avoid cross-browser/platform issues and decent security. Also, I would be

A good rich text control for Silverlight [closed]

三世轮回 提交于 2019-12-11 09:52:20
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm looking for a good rich text control for Silverlight. The one on codeplex seems to be out of date and another free one I saw on vectorlight doesn't seem to save as RTF (it uses custom xml) or doesn't have printing capabilities. I'm thinking about dishing out some bucks for the Telerik, ComponentOne, or

Load audio in DOCUMENTS when UITableView “cell” is pressed

时光怂恿深爱的人放手 提交于 2019-12-11 04:04:09
问题 I have a UITableView displaying a llist f files in the Documents Directory... and I want it to play the audio file in the Documents directory when pressed... It runs with no errores but doesn't play the audio when pressed... - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *fileName =

NodeJS/Mongo: Looping a query through various collections

廉价感情. 提交于 2019-12-10 14:58:07
问题 I'm looking to loop a query through various collection with MongoDB using the NodeJS Driver. For this test, I've used the sample code from the 'findOne' docs to insert a bunch of documents in various Collections: collection.insertMany([{a:1, b:1}, {a:2, b:2}, {a:3, b:3}], {w:1}, function(err, result) { test.equal(null, err); Creating at the same time various collections (each collection has at least one instance of the documents previously inserted): test test1 test2 test3 test4 test6 test10

how to share odt/doc documents over git

五迷三道 提交于 2019-12-09 15:12:00
问题 the idea is that i want to share documents over git i thought about using Text Document (looks like docx,odt in functionality ) that can be edited with any text editor (not binary). where to find something like this ? any better solution? 回答1: Have you considered using LaTeX instead of doc or odt? This way you can edit the documents with any text editor and get good looking results. Better yet: you have proper diffs between revisions (no matter the SCM you use). If you don't like the idea of

What is a good MongoDB document structure for most efficient querying of user followers/followees?

风格不统一 提交于 2019-12-09 04:46:37
问题 I've been wondering about the ideal document structure for maximum query efficiency for various situations and there's one I want to ask about. It's really borne out of me not really knowing how MongoDB behaves in memory in this specific kind of case. Let me give you a hypothetical scenario. Imagine a Twitter-style system of Followers and Followees. After an admittedly cursory glance, the main options appear to be: In each user document, a "followers" array containing references to all the

couchdb views os_process_error - big documents

ⅰ亾dé卋堺 提交于 2019-12-08 08:59:49
问题 I have a database that we're filling up with documents, some of which are 10 KB, and some of which that are ~70 MB in size. Any view that tries to load these large documents fails with error: {"error":"os_process_error","reason":"{exit_status,0}"} , even this elementary one: function(doc) { emit(null, "test"); } os_process_error is set to 35000, but calling the view dies in ~15 seconds: time curl -X GET http://localhost:5984/portal_production/_design/all_data_keys/_view/view1 {"error":"os

Lotus Notes 7 - copy / move docs. ( parent & response docs ) without changing the UNID ?

回眸只為那壹抹淺笑 提交于 2019-12-07 14:26:40
问题 I have 2 databases : let say dbA and dbB. Actually, dbB is a ''child'' database of dbA, because the forms/views/frameset/etc that it contains they all are also in dbA. I want now, to copy from a view ( let say vwA ) from dbA some 8K docs to the same view ( vwA ) from dbB. THese 8k contains both parent and child docs, which in dbA are listing OK, with @Text(@UniqueDocumentID). I just made a test, copy one parent doc and its response, and pasted in the 2nd database, but unfortunately the

How to get file size of file from iPhone documents folder

淺唱寂寞╮ 提交于 2019-12-07 05:52:28
问题 I have in which i save video file in documents folder it works fine,but i want to get the file size of the saved file,I have searched but did not get result using NSfileManager,here is the code which i use for saving video.I want to get the file size and show it on UILabel. thanks NSURL*videoURL = [info objectForKey:UIImagePickerControllerMediaURL]; NSLog(@"found a video"); videoData = [[NSData dataWithContentsOfURL:videoURL] retain]; NSArray *paths = NSSearchPathForDirectoriesInDomains