Excel.RequestContext class
O objeto RequestContext facilita as solicitações para o aplicativo Excel. Uma vez que o suplemento do Office e a aplicação Excel são executados em dois processos diferentes, o contexto do pedido é necessário para obter acesso ao modelo de objetos do Excel a partir do suplemento.
Comentários
Usada por
- Excel: executar
- Excel.AllowEditRange: contexto
- Excel.AllowEditRangeCollection: contexto
- Excel.Application: contexto
- Excel.AutoFilter: contexto
- Excel.Binding: contexto
- Excel.BindingCollection: contexto
- Excel.CellValueConditionalFormat: contexto
- Excel.Chart: contexto
- Excel.ChartAreaFormat: contexto
- Excel.ChartAxes: contexto
- Excel.ChartAxis: contexto
- Excel.ChartAxisFormat: contexto
- Excel.ChartAxisTitle: contexto
- Excel.ChartAxisTitleFormat: contexto
- Excel.ChartBinOptions: contexto
- Excel.ChartBorder: contexto
- Excel.ChartBoxwhiskerOptions: contexto
- Excel.ChartCollection: contexto
- Excel.ChartDataLabel: contexto
- Excel.ChartDataLabelAnchor: contexto
- Excel.ChartDataLabelFormat: contexto
- Excel.ChartDataLabels: contexto
- Excel.ChartDataTable: contexto
- Excel.ChartDataTableFormat: contexto
- Excel.ChartErrorBars: contexto
- Excel.ChartErrorBarsFormat: contexto
- Excel.ChartFill: contexto
- Excel.ChartFont: contexto
- Excel.ChartFormatString: contexto
- Excel.ChartGridlines: contexto
- Excel.ChartGridlinesFormat: contexto
- Excel.ChartLeaderLines: contexto
- Excel.ChartLeaderLinesFormat: contexto
- Excel.ChartLegend: contexto
- Excel.ChartLegendEntry: contexto
- Excel.ChartLegendEntryCollection: contexto
- Excel.ChartLegendFormat: contexto
- Excel.ChartLineFormat: contexto
- Excel.ChartMapOptions: contexto
- Excel.ChartPivotOptions: contexto
- Excel.ChartPlotArea: contexto
- Excel.ChartPlotAreaFormat: contexto
- Excel.ChartPoint: contexto
- Excel.ChartPointFormat: contexto
- Excel.ChartPointsCollection: contexto
- Excel.ChartSeries: contexto
- Excel.ChartSeriesCollection: contexto
- Excel.ChartSeriesFormat: contexto
- Excel.ChartTitle: contexto
- Excel.ChartTitleFormat: contexto
- Excel.ChartTrendline: contexto
- Excel.ChartTrendlineCollection: contexto
- Excel.ChartTrendlineFormat: contexto
- Excel.ChartTrendlineLabel: contexto
- Excel.ChartTrendlineLabelFormat: contexto
- Excel.ColorScaleConditionalFormat: contexto
- Excel.Comment: contexto
- Excel.CommentCollection: contexto
- Excel.CommentReply: contexto
- Excel.CommentReplyCollection: contexto
- Excel.ConditionalDataBarNegativeFormat: contexto
- Excel.ConditionalDataBarPositiveFormat: contexto
- Excel.ConditionalFormat: contexto
- Excel.ConditionalFormatCollection: contexto
- Excel.ConditionalFormatRule: contexto
- Excel.ConditionalRangeBorder: contexto
- Excel.ConditionalRangeBorderCollection: contexto
- Excel.ConditionalRangeFill: contexto
- Excel.ConditionalRangeFont: contexto
- Excel.ConditionalRangeFormat: contexto
- Excel.CultureInfo: contexto
- Excel.CustomConditionalFormat: contexto
- Excel.CustomFunctionManager: contexto
- Excel.CustomProperty: contexto
- Excel.CustomPropertyCollection: contexto
- Excel.CustomXmlPart: contexto
- Excel.CustomXmlPartCollection: contexto
- Excel.CustomXmlPartScopedCollection: contexto
- Excel.DataBarConditionalFormat: contexto
- Excel.DataConnectionCollection: contexto
- Excel.DataPivotHierarchy: contexto
- Excel.DataPivotHierarchyCollection: contexto
- Excel.DataValidation: contexto
- Excel.DatetimeFormatInfo: contexto
- Excel.DocumentProperties: contexto
- Excel.DocumentTask: contexto
- Excel.DocumentTaskChange: contexto
- Excel.DocumentTaskChangeCollection: contexto
- Excel.DocumentTaskCollection: contexto
- Excel.Filter: contexto
- Excel.FilterPivotHierarchy: contexto
- Excel.FilterPivotHierarchyCollection: contexto
- Excel.FormatProtection: contexto
- Excel.FunctionResult: contexto
- Excel.Functions: contexto
- Excel.GeometricShape: contexto
- Excel.GroupShapeCollection: contexto
- Excel.HeaderFooter: contexto
- Excel.HeaderFooterGroup: contexto
- Excel.HeaderFooterPicture: contexto
- Excel.IconSetConditionalFormat: contexto
- Excel.Image: contexto
- Excel.IterativeCalculation: contexto
- Excel.Line: contexto
- Excel.LinkedEntityDataDomain: contexto
- Excel.LinkedEntityDataDomainCollection: contexto
- Excel.LinkedWorkbook: contexto
- Excel.LinkedWorkbookCollection: contexto
- Excel.LocalImage: contexto
- Excel.NamedItem: contexto
- Excel.NamedItemArrayValues: contexto
- Excel.NamedItemCollection: contexto
- Excel.NamedSheetVer: contexto
- Excel.NamedSheetViewCollection: contexto
- Excel.Nota: contexto
- Excel.NoteCollection: contexto
- Excel.NumberFormatInfo: contexto
- Excel.PageBreak: contexto
- Excel.PageBreakCollection: contexto
- Excel.PageLayout: contexto
- Excel.Pane: contexto
- Excel.PaneCollection: contexto
- Excel.PivotField: contexto
- Excel.PivotFieldCollection: contexto
- Excel.PivotHierarchy: contexto
- Excel.PivotHierarchyCollection: contexto
- Excel.PivotItem: contexto
- Excel.PivotItemCollection: contexto
- Excel.PivotLayout: contexto
- Excel.PivotTable: contexto
- Excel.PivotTableCollection: contexto
- Excel.PivotTableScopedCollection: contexto
- Excel.PivotTableStyle: contexto
- Excel.PivotTableStyleCollection: contexto
- Excel.PresetCriteriaConditionalFormat: context
- Excel.Query: contexto
- Excel.QueryCollection: contexto
- Excel.Range: contexto
- Excel.RangeAreas: contexto
- Excel.RangeAreasCollection: contexto
- Excel.RangeBorder: contexto
- Excel.RangeBorderCollection: contexto
- Excel.RangeCollection: contexto
- Excel.RangeFill: contexto
- Excel.RangeFont: contexto
- Excel.RangeFormat: contexto
- Excel.RangeSort: contexto
- Excel.RangeVer: contexto
- Excel.RangeViewCollection: contexto
- Excel.RemoveDuplicatesResult: contexto
- Excel.RowColumnPivotHierarchy: context
- Excel.RowColumnPivotHierarchyCollection: contexto
- Excel.Runtime: contexto
- Excel.Setting: contexto
- Excel.SettingCollection: contexto
- Excel.Shape: contexto
- Excel.ShapeCollection: contexto
- Excel.ShapeFill: contexto
- Excel.ShapeFont: contexto
- Excel.ShapeGroup: contexto
- Excel.ShapeLineFormat: contexto
- Excel.Slicer: contexto
- Excel.SlicerCollection: contexto
- Excel.SlicerItem: contexto
- Excel.SlicerItemCollection: contexto
- Excel.SlicerStyle: contexto
- Excel.SlicerStyleCollection: contexto
- Excel.Style: contexto
- Excel.StyleCollection: contexto
- Excel.Table: contexto
- Excel.TableChangedEventArgs: getRange, getRangeOrNullObject
- Excel.TableCollection: contexto
- Excel.TableColumn: contexto
- Excel.TableColumnCollection: contexto
- Excel.TableRow: contexto
- Excel.TableRowCollection: contexto
- Excel.TableScopedCollection: contexto
- Excel.TableSort: contexto
- Excel.TableStyle: contexto
- Excel.TableStyleCollection: contexto
- Excel.TextConditionalFormat: contexto
- Excel.TextFrame: contexto
- Excel.TextRange: contexto
- Excel.TimelineStyle: contexto
- Excel.TimelineStyleCollection: contexto
- Excel.TopBottomConditionalFormat: contexto
- Excel.Window: contexto
- Excel.WindowCollection: contexto
- Excel.Workbook: contexto
- Excel.WorkbookCriado: contexto
- Excel.WorkbookProtection: contexto
- Excel.WorkbookRangeAreas: contexto
- Excel.Worksheet: contexto
- Excel.WorksheetChangedEventArgs: getRange, getRangeOrNullObject
- Excel.WorksheetCollection: contexto
- Excel.WorksheetCustomProperty: context
- Excel.WorksheetCustomPropertyCollection: contexto
- Excel.WorksheetFormatChangedEventArgs: getRange, getRangeOrNullObject
- Excel.WorksheetFreezePanes: contexto
- Excel.WorksheetProtection: contexto
Exemplos
// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await Excel.run(async (context: Excel.RequestContext) => {
const workbook = context.workbook;
// Interact with the Excel workbook...
});
Construtores
| (constructor)(url, invocation) | Constrói uma nova instância da |
Propriedades
| application | |
| runtime | |
| workbook |
Métodos
| set |
Detalhes do construtor
(constructor)(url, invocation)
Constrói uma nova instância da RequestContext classe
constructor(url?: string | Session, invocation?: {
invocationId: number;
isInSyncExecution: boolean;
});
Parâmetros
- url
-
string | Excel.Session
- invocation
-
{ invocationId: number; isInSyncExecution: boolean; }
Detalhes da propriedade
application
runtime
workbook
Detalhes do método
setInvocation(invocation)
setInvocation(invocation: {
invocationId: number;
isInSyncExecution: boolean;
}): void;
Parâmetros
- invocation
-
{ invocationId: number; isInSyncExecution: boolean; }
Retornos
void