iWork

UIDocumentInteractionController - our own app shows up in list

北慕城南 提交于 2020-01-23 08:32:47
问题 Our app can deal with say Pages files as an example and needs to both hand off files to other applications as well as receive files from other applications. So we edit the plist CFBundleDocumentTypes to say that we can deal with Pages files. ('Default') mode. When the user wants to send a .pages file onto another application (Likely the Pages app) then we call UIDocumentInteractionController. The UIDocumentInteractionController (too) faithfully lists all applications that can deal with .pages

applescript to compare cell values and then place the value of one cell into another

跟風遠走 提交于 2019-12-13 05:18:57
问题 in a numbers app table i have the following data A B C D user_id login user_id login 2039 Abbott, Rachael Adams, Sue 110 Abbott, Shelby Adamson, Wendy 2910 Abraham, Binu Anderson, Daryl 121 Adams, Sue 122 Adamson, Anne 126 Adamson, Wendy i am trying to write an applescript that will... iterate down logins in column D to find a matching login in column B take the value of the user_id in column A at the row where the match was found and place it into column C in the same row as the entry in

How to make a range in Numbers (iWork) using JXA

。_饼干妹妹 提交于 2019-12-12 13:15:07
问题 I'm using JXA for automating a process using Numbers app. What I need is to select a range of cells to apply width, but JXA doesn't allow me to get them. According to apple documentation I only need to use make or push the created object inside of array, but any ones work. This is my code and the Automator error: Option 1: var Numbers = Application('Numbers'); Numbers.Range({name: 'A2:A20'}).make(); // -> Error: Can't make or move that element into that container Option 2: var Numbers =

Converting MS Word 2002 Templates from PC to Mac

馋奶兔 提交于 2019-12-12 12:17:14
问题 I have to convert several hundred MS Word 2002 Templates (on the PC) to work on the Macintosh. I have to evaluate whether the Word Templates can be run in iWork Pages and Microsoft Word for the Mac. I am unable to convert the following: Word VBA WordBasic code Visual Basic Has anyone here done this and can provide any suggestions? 回答1: iWork would be very difficult, but Word for Mac is doable. It also depends on which version of Word for Mac - the Office 2008 version doesn't have VBA, only

Is there any Apis to displayed the iWork files in iPhone?

空扰寡人 提交于 2019-12-12 01:26:54
问题 I want to display some iWork file in iphone? Is there any apis to help to display it? 回答1: The quick look panels are capable of presenting iWork files, as is Safari. Take a look at UIDocumentInteractionController to see how. 回答2: Look at the Technical Q&A QA1630 Using UIWebView to display select document types (deals with iWork,Office and rtf document types). Sample of the code is provided there. When you try it, it works on the device, does not work on the simulator. (I tested it with SDK 5;

Can I access a Mac Numbers (.num) document from within R?

99封情书 提交于 2019-12-11 11:16:04
问题 I know I can use the RODBC library for accessing excel (.xls) docs from within Windows, but is there something similar for the Numbers program that come with iWorks? If not, what other solutions are there for easily editing a spreadsheet (like a lookup table) and accessing it within R? I know there the is an internal R editor, but I don't like it very much. 回答1: One alternative option you could consider is using Google spreadsheets. You can then access the data from either RGoogleDocs or

Batch convert Mac iWork files to PDF on the command line

笑着哭i 提交于 2019-12-10 10:23:37
问题 I'm trying to batch convert a bunch of assorted iWork files (Numbers, Pages, Keynote) to PDF on the command line. I've been trying cups-filter but there's no MIME type filter for the iWork types. I then looked into using qlmanage to generate the preview image and use that, but this doesn't seem to work for multi file Keynote documents as they generate as HTML rather than PDF. Any suggestions? I'd rather not resort to AppleScript. 回答1: Well... you need something that understand the iWork file

Apple iWork Mime Types

試著忘記壹切 提交于 2019-12-08 15:35:24
问题 I was wondering what the mime type for iWork's Pages is? And also what the mime type is for the rest of the software in the iWork suite? I looked around online and I didn't see it anywhere. 回答1: Looks like Apple doesn't much care, since installing iWork does not add any mime type information to any of its system mime-type info reps (in /etc/cups and /etc/apache2), "Get Info" on an iWork file shows no mime-type, etc. The only hint I've found is in Page's info.plist (a copy's online here) which

Batch convert Mac iWork files to PDF on the command line

北战南征 提交于 2019-12-06 02:30:41
I'm trying to batch convert a bunch of assorted iWork files (Numbers, Pages, Keynote) to PDF on the command line. I've been trying cups-filter but there's no MIME type filter for the iWork types. I then looked into using qlmanage to generate the preview image and use that, but this doesn't seem to work for multi file Keynote documents as they generate as HTML rather than PDF. Any suggestions? I'd rather not resort to AppleScript. Well... you need something that understand the iWork file formats, can render the documents to then create the PDF. Unless you want to re-invent the iWork suite...

UIDocumentInteractionController - our own app shows up in list

烂漫一生 提交于 2019-12-05 12:02:25
Our app can deal with say Pages files as an example and needs to both hand off files to other applications as well as receive files from other applications. So we edit the plist CFBundleDocumentTypes to say that we can deal with Pages files. ('Default') mode. When the user wants to send a .pages file onto another application (Likely the Pages app) then we call UIDocumentInteractionController. The UIDocumentInteractionController (too) faithfully lists all applications that can deal with .pages files, and WE are on the list. I think that's confusing to the user, why would I use the