Skip to main content

Module slicer

Module slicer 

Source
Expand description

Slicer configuration and management.

Provides types and logic for adding, retrieving, and deleting slicers on tables. Slicers are visual filter controls introduced in Excel 2010.

Structs§

SlicerConfig
Configuration for adding a slicer to a table.
SlicerInfo
Information about an existing slicer, returned by get_slicers.

Constants§

DEFAULT_HEIGHT_PX
Default slicer height in pixels: u32.
DEFAULT_ROW_HEIGHT_EMU
Default slicer row height in EMU (241300 EMU = approx 19pt).
DEFAULT_WIDTH_PX
Default slicer width in pixels.
PX_TO_EMU
Pixels to EMU conversion factor (1 pixel = 9525 EMU at 96 DPI).

Functions§

slicer_cache_name
Generate the sanitized cache name from a slicer name.
validate_slicer_config
Validate a slicer config.