Skip to contents

The names alone, in document order. rfp_qgs_themes() returns per-layer and per-group rows, so a theme carrying neither would otherwise be invisible to a caller that only wants to know what themes exist.

Usage

rfp_qgs_theme_names(path)

Arguments

path

Character. Path to a .qgs project file. Unlike rfp_qgs_themes(), this does not collapse two presets sharing a name: it reports what the file contains, where the reader reports what QGIS would load. That asymmetry is deliberate — rfp_qgs_theme_rm() operates on the file, and removing a name removes every preset carrying it.

Value

Character vector of theme names, in document order, including any repeats.

Examples

rfp_qgs_theme_names(
  system.file("testdata", "test_themes.qgs", package = "rfp")
)
#> [1] "Theme One" "Theme Two"