{ "id": "154059", "key": "TIMOB-20209", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2016-07-28T19:04:00.000+0000", "created": "2015-12-29T15:26:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "documentViewer", "docx", "ios" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:55:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Hello, I am trying to load the '.docx' file using the documentViewer API and it's not working as expected.\r\n\r\nAccording to the docs, we can load the '.doc' file using this API and it's working fine with it. \r\n[http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.DocumentViewer]\r\n\r\nPlease let me know if it can be available for the following:\r\n - iOS version :- iOS 7 and above.\r\n - Appcelerator's SDK version :- 4.0.0 and above.\r\n\r\nCan you please suggest how to exhibit the same functionality for the docx file using the documentViewer API ?\r\n\r\nI have also attached the POC.\r\n", "attachment": [ { "id": "57850", "filename": "Docx_POC.zip", "author": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-12-29T15:22:42.000+0000", "size": 9873339, "mimeType": "application/zip" }, { "id": "57881", "filename": "sample.doc", "author": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-01-05T13:03:47.000+0000", "size": 11272, "mimeType": "application/msword" }, { "id": "57855", "filename": "Screen Shot 2015-12-30 at 12.36.21 PM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-30T06:43:04.000+0000", "size": 28697, "mimeType": "image/png" }, { "id": "57854", "filename": "Screen Shot 2015-12-30 at 12.36.41 PM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-30T06:43:08.000+0000", "size": 83819, "mimeType": "image/png" }, { "id": "57853", "filename": "Screen Shot 2015-12-30 at 12.37.09 PM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-30T06:43:10.000+0000", "size": 114560, "mimeType": "image/png" }, { "id": "57897", "filename": "Screen Shot 2016-01-07 at 5.57.50 PM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-01-07T12:04:10.000+0000", "size": 36620, "mimeType": "image/png" } ], "flagged": false, "summary": "Can't load the .docx file using the documentViewer on iOS.", "creator": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Appcelerator Command-Line Interface, version 4.1.0\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 0.10.40\r\n npm Version = 1.4.28\r\n\r\nTitanium CLI\r\n CLI Version = 4.0.1\r\n node-appc Version = 0.2.26\r\n\r\nTitanium SDKs\r\n 4.1.0.GA\r\n Version = 4.1.0", "closedSprints": [ { "id": 574, "state": "closed", "name": "2016 Sprint 4 SDK", "startDate": "2016-02-13T01:33:48.415Z", "endDate": "2016-02-27T01:33:00.000Z", "completeDate": "2016-02-29T03:44:48.886Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "373618", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tested your project in my environment and it's working fine. Please see the attachments. Please update your SDK to 5.1.1.GA and CLI 5.1.0, and try.\r\n\r\nh5. MY ENVIRONMENT\r\n\r\nAppcelerator Command-Line Interface, version 5.1.0\r\nOperating System\r\nName = Mac OS X\r\nVersion = 10.11.2\r\nArchitecture = 64bit\r\nCPUs = 4\r\nMemory = 8.0GB\r\nNode.js\r\nNode.js Version = v4.2.2\r\nnpm Version = 2.14.7\r\nTitanium CLI 5.0.3\r\nTitanium SDK 5.1.1.GA\r\n\r\nThanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-30T06:54:43.000+0000", "updated": "2015-12-30T06:54:43.000+0000" }, { "id": "373803", "author": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Please test above with new .doc file in attachments (sample.doc). I am not able to open the this file using the documentViewer API. This file is of format Word 97 (.doc) Document.\r\n\r\n\r\nI am using the 5.1.1GA SDK and 5.1.0 CLI version as suggested.\r\n", "updateAuthor": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-01-05T13:06:57.000+0000", "updated": "2016-01-05T13:54:58.000+0000" }, { "id": "375120", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After investigating the issue , it seems the problem is native. In our SDK all we do is synthesize the arguments and pass them to the delegate. It seems to wok with all other .doc files that are not exported from word 97. After doing some more digging it seems that Apple have the same issue with more of their software when it comes to reading .doc file that are Microsoft 97-2004. It appears to be an issue with Email attachments and Page app. A solution would be to simply put all the context of the so doc file and move it to a newer version of MS Word. \r\n\r\nI would have suggested to also add the file to an online doc [viewer|http://www.viewdocsonline.com] and then add the link to our webView. However it seems not even onlineDocs will read the file format. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-21T23:44:02.000+0000", "updated": "2016-01-21T23:44:02.000+0000" }, { "id": "415709", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:55:19.000+0000", "updated": "2017-03-24T18:55:19.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }