ooodev.format.inner.preset.preset_gradient module
- class ooodev.format.inner.preset.preset_gradient.PresetGradientKind(value)[source]
Bases:
Enum
Preset Gradient Kind.
- static from_str(s)[source]
Gets an
PresetGradientKind
instance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
s
is case insensitive and can beCamelCase
,pascal_case
,snake_case
,hyphen-case
,normal case
.- Raises:
ValueError – If input string is empty.
AttributeError – If unable to get
PresetGradientKind
instance.
- Returns:
Enum instance.
- Return type:
- static is_preset(name)[source]
Gets if name is a preset name.
- Parameters:
name (str) – Name such as
Deep Ocean
.- Returns:
True
if preset name; Otherwise,False
.- Return type:
bool
- BLANK_GRAY = 'Blank with Gray'
Blank with Gray
- BLUE_TOUCH = 'Blue Touch'
Blue Touch
- DEEP_OCEAN = 'Deep Ocean'
Deep Ocean
- GREEN_GRASS = 'Green Grass'
Green Grass
- LONDON_MIST = 'London Mist'
London Mist
- MAHOGANY = 'Mahogany'
Mahogany
- MIDNIGHT = 'Midnight'
Midnight
- NEON_LIGHT = 'Neon Light'
Neon Light
- PASTEL_BOUQUET = 'Pastel Bouquet'
Pastel Bouquet
- PASTEL_DREAM = 'Pastel Dream'
Pastel Dream
- PRESENT = 'Present'
Present
- SPOTTED_GRAY = 'Spotted Gray'
Spotted Gray
- SUBMARINE = 'Submarine'
Submarine
- SUNSHINE = 'Sunshine'
Sunshine
- TEAL_BLUE = 'Teal to Blue'
Teal to Blue
- ooodev.format.inner.preset.preset_gradient.blank_gray()[source]
Blank With Gray preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.blue_touch()[source]
Blue Touch preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.deep_ocean()[source]
Deep Ocean preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.get_preset(kind)[source]
Gets preset
- Returns:
Preset Kind
- Return type:
- Parameters:
kind (PresetGradientKind) –
- ooodev.format.inner.preset.preset_gradient.green_grass()[source]
Green Grass preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.london_mist()[source]
London Mist preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.mahogany()[source]
Mahogany preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.midnight()[source]
Midnight preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.neon_light()[source]
Neon Light preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.pastel_bouquet()[source]
Pastel Bouquet preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.pastel_dream()[source]
Pastel Dream preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.present()[source]
Present preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.spotted_gray()[source]
Spotted Gray preset
- Return type:
Dict
[str
,Any
]
- ooodev.format.inner.preset.preset_gradient.submarine()[source]
Submarine preset
- Return type:
Dict
[str
,Any
]