Questions tagged [documents]
293 questions
5
votes
3 answers
Read Text File in Document Folder - Iphone SDK
I have this code below:
NSString *fileName = [[NSUserDefaults standardUserDefaults] objectForKey:@"recentDownload"];
NSString *fullPath = [NSBundle pathForResource:fileName ofType:@"txt" inDirectory:[NSHomeDirectory()…

lab12
- 6,400
- 21
- 68
- 106
4
votes
1 answer
How does google docs do their commenting?
They allow you to highlight portions of text, and assign a comment to it... So, how do you associate an object with something that changes all the time?
Does each word need to be an object? Like... the comment would just have an array of words that…

NullVoxPopuli
- 61,906
- 73
- 206
- 352
4
votes
1 answer
Android API PdfDocument not writing data in file using writeTo(outputStream)
Button for creating pdf file
//button listener for creating pdf file
convert2PDF.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//pdf document created
PdfDocument document = new…

Nabeel Khan
- 59
- 3
4
votes
2 answers
Phonegap offline storage
I'm working on a phonegap iPhone app which downloads content from the network in the form of HTML docs with text, images, and embeded HTML5 videos.
I want to download these documents as they're available and store them locally, for further reading…

StJimmy
- 504
- 3
- 9
- 18
4
votes
2 answers
Send inputs from an Android App to Google Documents Spreadsheet
my friend and I are currently making a simple Weather chance calculator android app for a summer project. The app currently works by asking the user for some inputs using some EditTexts (formatted in decimal numbers) that are then put into a simple…

Tanishq dubey
- 1,522
- 7
- 19
- 42
4
votes
1 answer
Default page size for Google docs
We have a system that generates documents using the Google API, we would like the page set-up to default to A4 for all documents we generate. We have set the default as A$ in the Google Doc settings but this doesn't carry through for files created…

user1694692
- 41
- 1
3
votes
1 answer
Creating a system that can display doc, docx, pdf in the browser
I'm currently working on a web application that will be a front-end to an FTP server. The server contains a few thousands of pdf/doc/docx files and every month they add a few more dozens sometimes close to a hundred files.
The current application we…

S. Developer
- 156
- 2
- 6
3
votes
1 answer
How do I get my app to show up in the "Open In..." popover list in the iPad?
Possible Duplicate:
How do I associate file types with an iPhone application?
After some Googling, I found I was to change my plist file to include "Document Types" ---> an array with two values in each spot: Document Type Name, Handler Rank.
I…

Rossi
- 609
- 6
- 14
3
votes
0 answers
Getting error while picking document throguh uidocumentpickerviewcontroller from onedrive ios
I am trying to choose document from onedrive using uidocumentpickerviewcontroller in my ios App (ios 10.3.3) , i am getting error "selected file not found " , but it's working fine in ios11 . whats wrong with ios10

Venkat Reddy
- 111
- 1
- 8
3
votes
1 answer
Laravel 5.4 protected documents on user permission
I have a Laravel project where users have roles with permissions(I'm using
Zizaco/entrust) and the app is accessable just for registered user.
The application holds uploaded documents but this documents should not available for public view, on the…

fefe
- 8,755
- 27
- 104
- 180
3
votes
3 answers
Querying for an object vs array
How do I query for an object vs an array of objects in a document?
I need to select all the documents that are like Dataset 2.
Dataset 1:
{
'firstname' : 'John',
'lastname': 'Smith',
'assistance': [
{'type': 'Food', 'amount':…

Joe Roberts
- 33
- 2
3
votes
1 answer
Delete Empty Documents in MongoDB
I want to delete empty Documents in MongoDB.
How should the query for MongoDB must look like. I only want to filter out the Documents where not every field is null. I only want to delete those one who has all fields equal Null
Case:
/* 1 */
{
…

user3786117
- 67
- 7
3
votes
2 answers
manage uploaded files in database or file system?
I'm going to incorporate the feature for my users to upload small files which are under 2mb (jpg, gif, pdf and docs). For page loading times purposes and generally managing files in future, can you recommend is it best to have the files uploaded to…

Dan
- 511
- 2
- 9
- 19
3
votes
2 answers
How can you retrieve a full nested document in Solr?
In my instance of Solr 4.10.3 I would like to index JSONs with a nested structure.
Example:
{
"id": "myDoc",
"title": "myTitle"
"nestedDoc": {
"name": "test name"
"nestedAttribute": {
"attr1": "attr1Val"
}
…

otrebla
- 245
- 1
- 4
- 12
3
votes
2 answers
OpenXml: Copy OpenXmlElement between documents
I have two Word documents (WordprocessingDocument), and I want to replace the contents of an element in the first with the contents in the body of the second one.
This is what I'm doing right now:
var docA = WordprocessingDocument.Open(docAPath,…

willvv
- 8,439
- 16
- 66
- 101