attachment.js

"use strict";
/***************************************************
* Licensed Materials - Property of HCL.
* (c)Copyright HCL America, Inc. 2023-2024
****************************************************/
Object.defineProperty(exports, "__esModule", { value: true });
exports.attachmentView = exports.attachmentProperties = exports.attachmentLaunch = exports.attachmentDetachAll = exports._notes = void 0;
const tslib_1 = require("tslib");
/**
 * @file Attachments
 * @module attachment
 * @category Attachments
 */
const notesc = tslib_1.__importStar(require("../notes/attachment"));
exports._notes = notesc;
//-----------------------------
// Notes @Commands attachments
/**
 * Displays the Save Attachments To dialog box, where you select a location for the
 * current document's attachments.
 * @param {Array} ...args any arguments
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function attachmentDetachAll() {
    return notesc.AttachmentDetachAll();
}
exports.attachmentDetachAll = attachmentDetachAll;
/**
 * Launches the selected attachment by opening the application in which it was
 * created, if possible.
 * @param {Array} ...args any arguments
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function attachmentLaunch() {
    return notesc.AttachmentLaunch();
}
exports.attachmentLaunch = attachmentLaunch;
/**
 * Displays the Properties box for the current attachment.
 * @param {Array} ...args any arguments
 * @throws {Error} No plans to implement
 */
function attachmentProperties() {
    return notesc.AttachmentProperties();
}
exports.attachmentProperties = attachmentProperties;
/**
 * Launches the Attachment Viewer, which lets you view the contents of the selected
 * attachment without opening the application in which it was created.
 * @param {Array} ...args any arguments
 * @throws {Error} No plans to implement
 */
function attachmentView() {
    return notesc.AttachmentView();
}
exports.attachmentView = attachmentView;
//# sourceMappingURL=attachment.js.map