mergDoc

Typelibrary
DictionaryLCS
LibraryLiveCode Script
Associationsmergdoc
Description

mergDoc is an iOS external that adds functions and commands related to document interaction. This currently includes presenting a modal preview, open in app menu, document options menu and requesting the document icons in PNG form. Printing is also available via the preview.

TypeNameSummarySyntax
commandmergDocShowOpenInMenu

Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to

mergDocShowOpenInMenu <pFilePath>, [<pPopoverRect>]

- - -mergDocShowOptionsMenu

Presents an action sheet on iPhone and popover on iPad showing the options for the document type

mergDocShowOptionsMenu <pFilePath>, [<pPopoverRect>]

- - -mergDocShowPreview

Presents the document in a full screen modal interface

mergDocShowPreview <pFilePath>

functionmergDocCanOpen

Returns true if there is an app that can open the document type

mergDocCanOpen(<pFilePath>)

- - -mergDocIcon

Get the icon for a document as image data

mergDocIcon(<pFilePath>, <pIconSize>)

- - -mergDocIconSizes

Get a list of icon sizes available for the document

mergDocIconSizes(<pFilePath>)

librarymergDoc

mergDocIconSizes(<pFilePath>)