Типы: VBA и макросы
Определения типов Compute Contract — проект, запуск, доверие и список одобренных макросов. Имён: 28.
Определения имён из колонки «Тип TypeScript» на страницах операций.
Другие темы словаря: сеанс, книга и листы · ячейки и диапазоны · формулы и вычисления · форматирование · данные и объекты листа · сводные таблицы · диаграммы и графика · печать и разметка страницы · Power Query · VBA и макросы · защита и рецензирование · общие и служебные.
Типы на этой странице — 28
ContractMacroTrustIntentContractMacroTrustInventoryCountsContractMacroTrustProvenanceContractMacroTrustResultContractMacroTrustStateContractTrustCenterMacroPolicyVbaBlockerSourceSpanVbaCapabilityBlockerVbaCapabilityBlockerKindVbaEntrypointDescriptorVbaExecutionOutcomeVbaExecutionOutcomeKindVbaExecutionPlanVbaExecutionRouteVbaExecutionSessionIdVbaMacroKindVbaMacroVisibilityVbaModuleCapabilityVbaModuleKindVbaMutationPreviewVbaMutationPreviewCellVbaProjectBlockerTallyVbaProjectCapabilitySummaryVbaProjectInspectionVbaProjectReferenceVbaStructuralChangeVbaStructuralChangeOperationVbaStructuralPreview
ContractMacroTrustIntent
Заголовок раздела «ContractMacroTrustIntent»type ContractMacroTrustIntent = | { action: "inspect" } | { action: "inspect_signatures" } | { action: "keep_macros" } | { action: "remove_macros_from_copy"; destinationUri: string } | { action: "save_signature_copy"; destinationUri: string } | { action: "remove_signatures" } | { action: "cancel" };ContractMacroTrustInventoryCounts
Заголовок раздела «ContractMacroTrustInventoryCounts»interface ContractMacroTrustInventoryCounts { packageParts: number; vbaProjects: number; vbaRelationships: number; signatureParts: number; customUiParts: number; activeXParts: number; oleParts: number; formControlParts?: number; externalLinkParts?: number; externalRelationships?: number;}ContractMacroTrustProvenance
Заголовок раздела «ContractMacroTrustProvenance»type ContractMacroTrustProvenance = "package-inventory" | "protected-view-policy" | "trusted-location-policy";ContractMacroTrustResult
Заголовок раздела «ContractMacroTrustResult»interface ContractMacroTrustResult { states: ContractMacroTrustState[]; counts: ContractMacroTrustInventoryCounts;
cryptographicSignatureValidated: false;
vbaRuntimeAvailable: false; packageFormat?: ContractFileFormat; trustProvenance?: ContractMacroTrustProvenance[]; opaquePreservationVerified?: boolean; sourceBytesUnchanged: boolean; copied: boolean; outputByteCount: number; removedPartCount: number; removedRelationshipCount: number; macroFreeRemainderCount?: number; sourceMutated?: boolean; signatureInventory?: OpcSignatureInventory; reasonCode?: string;}ContractMacroTrustState
Заголовок раздела «ContractMacroTrustState»type ContractMacroTrustState = | "macro-present" | "signature-part-present" | "unsigned" | "modified-after-signature-risk" | "malformed" | "blocked-by-protected-view" | "blocked-by-trusted-location" | "unsupported";ContractTrustCenterMacroPolicy
Заголовок раздела «ContractTrustCenterMacroPolicy»type ContractTrustCenterMacroPolicy = "block_with_notification" | "block_without_notification";VbaBlockerSourceSpan
Заголовок раздела «VbaBlockerSourceSpan»interface VbaBlockerSourceSpan {
line: number;
column: number;
length: number;
offset: number;}VbaCapabilityBlocker
Заголовок раздела «VbaCapabilityBlocker»interface VbaCapabilityBlocker { kind: VbaCapabilityBlockerKind;
detail: string;
evidence: string;
sourceSpan: VbaBlockerSourceSpan | null;
module: string;
procedure: string | null;}VbaCapabilityBlockerKind
Заголовок раздела «VbaCapabilityBlockerKind»type VbaCapabilityBlockerKind = | "external-automation" | "event-or-document-module" | "language-pending" | "host-member-pending" | "unparsed" | "run-declaration-pending" | "excel-compile-error";VbaEntrypointDescriptor
Заголовок раздела «VbaEntrypointDescriptor»interface VbaEntrypointDescriptor {
entrypoint: string; module: string; procedure: string; kind: VbaMacroKind; visibility: VbaMacroVisibility; userRunnable: boolean; route: VbaExecutionRoute;
nativeClaim: boolean;
nativeLowerable: number; blockers: VbaCapabilityBlocker[];}VbaExecutionOutcome
Заголовок раздела «VbaExecutionOutcome»interface VbaExecutionOutcome { kind: VbaExecutionOutcomeKind;
stop: string | null;
detail: string;
rolledBack: boolean;
progress?: { phase: "pending" | "running" | "finished"; steps: number; instructionBudget: number; cancellationRequested: boolean; };}VbaExecutionOutcomeKind
Заголовок раздела «VbaExecutionOutcomeKind»type VbaExecutionOutcomeKind = | "running" | "completed" | "refused-by-capability" | "unknown-entrypoint" | "unresolved-code-module" | "runtime-error" | "runtime-stopped";VbaExecutionPlan
Заголовок раздела «VbaExecutionPlan»interface VbaExecutionPlan {
planId: string;
planHash: string; entrypoint: string;
route: VbaExecutionRoute | null;
mayRunNatively: boolean; blockers: VbaCapabilityBlocker[];
instructionBudget: number;
steps: null;}VbaExecutionRoute
Заголовок раздела «VbaExecutionRoute»type VbaExecutionRoute = "native" | "excel-bridge" | "excel-bridge-legacy" | "preserve-only";VbaExecutionSessionId
Заголовок раздела «VbaExecutionSessionId»type VbaExecutionSessionId = string;VbaMacroKind
Заголовок раздела «VbaMacroKind»type VbaMacroKind = "sub" | "function" | "property-get" | "property-let" | "property-set";VbaMacroVisibility
Заголовок раздела «VbaMacroVisibility»type VbaMacroVisibility = "public" | "private" | "friend";VbaModuleCapability
Заголовок раздела «VbaModuleCapability»interface VbaModuleCapability { name: string; kind: VbaModuleKind;
supportedLines: number; unsupportedLines: number; syntaxErrorLines: number; entrypointCount: number;}VbaModuleKind
Заголовок раздела «VbaModuleKind»type VbaModuleKind = "standard" | "document" | "class" | "form" | "unknown";VbaMutationPreview
Заголовок раздела «VbaMutationPreview»interface VbaMutationPreview { cells: VbaMutationPreviewCell[];
structural: VbaStructuralPreview;
structureTouched: boolean;
sessionStateTouched: boolean;}VbaMutationPreviewCell
Заголовок раздела «VbaMutationPreviewCell»interface VbaMutationPreviewCell { sheet: string; row: number; col: number;
beforeDisplayText: string | null;
afterDisplayText: string | null;
beforeFormula: string | null; afterFormula: string | null;}VbaProjectBlockerTally
Заголовок раздела «VbaProjectBlockerTally»interface VbaProjectBlockerTally { kind: VbaCapabilityBlockerKind; macros: number;}VbaProjectCapabilitySummary
Заголовок раздела «VbaProjectCapabilitySummary»interface VbaProjectCapabilitySummary { modules: number; macros: number; nativeCandidates: number; excelBridge: number; excelBridgeLegacy: number; preserveOnly: number; userRunnable: number; userRunnableNative: number; nativeCandidateRatio: number; topBlockers: VbaProjectBlockerTally[];}VbaProjectInspection
Заголовок раздела «VbaProjectInspection»interface VbaProjectInspection {
capabilityContractVersion: number; sourceLabel: string; projectName: string | null;
codePage: number; modules: VbaModuleCapability[]; references: VbaProjectReference[]; entrypoints: VbaEntrypointDescriptor[]; summary: VbaProjectCapabilitySummary;}VbaProjectReference
Заголовок раздела «VbaProjectReference»interface VbaProjectReference { key: string; value: string;}VbaStructuralChange
Заголовок раздела «VbaStructuralChange»interface VbaStructuralChange { operation: VbaStructuralChangeOperation;
sheet: string | null;
description: string;}VbaStructuralChangeOperation
Заголовок раздела «VbaStructuralChangeOperation»type VbaStructuralChangeOperation = | "sheet-added" | "sheet-renamed" | "sheet-deleted" | "cells-inserted" | "cells-deleted" | "name-defined" | "save-as-staged";VbaStructuralPreview
Заголовок раздела «VbaStructuralPreview»type VbaStructuralPreview = | { state: "none" } | { state: "listed"; changes: VbaStructuralChange[] } | { state: "incomplete"; named: VbaStructuralChange[] };