Files
ElyOffice/crates/ely-lok/src/commands/analysis.rs
T
ZacharyZhang-NY b7fca0146d Ely Office: six offline-first desktop apps in Rust and GPUI
ElyDoc, ElyTable, ElyShow (LibreOfficeKit), ElyPDF (MuPDF), ElyTree (Git),
ElyMark (Milkdown and CodeMirror in CEF). ElyMail and ElyAgent follow.
2026-10-08 21:20:08 -04:00

48 lines
1.0 KiB
Rust

//! Spreadsheet rows: pivot tables and charts.
use super::{Arg, Check, Command, command};
/// Pivot tables and charts (TABLE-10, 11).
pub(super) const ROWS: &[Command] = &[
command(
"pivot.make",
".uno:DataPilotExec",
&[Arg::Text("Pivot")],
Check::Undoable,
),
command(
"pivot.refresh",
".uno:RecalcPivotTable",
&[],
Check::Finished,
),
command(
"pivot.delete",
".uno:DeletePivotTable",
&[],
Check::Undoable,
),
command(
"chart.insert",
".uno:InsertObjectChart",
&[
Arg::Text("RangeList"),
Arg::Bool("InNewTable"),
Arg::Text("Chart"),
],
Check::Undoable,
),
command(
"chart.change",
".uno:ChangeChartData",
&[
Arg::Text("Name"),
Arg::Text("Range"),
Arg::Bool("ColHeaders"),
Arg::Bool("RowHeaders"),
Arg::Text("Chart"),
],
Check::Undoable,
),
];