conditional

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pivot

func Pivot(cf *Info)

Pivot sets pivot flag of conditional formatting

Types

type Info

type Info struct {
	// contains filtered or unexported fields
}

Info is objects that holds combined information about cell conditional format

func New

func New(options ...Option) *Info

New creates and returns Info object with requested options

func (*Info) Set

func (f *Info) Set(options ...Option)

Set sets new options for conditional

func (*Info) Validate

func (f *Info) Validate() error

Validate the conditional formatting information

type Option

type Option func(o *Info)

Option is helper type to set options for conditional formatting

func AddRule

func AddRule(options ...rule.Option) Option

AddRule adds another rule to conditional formatting

func Refs

func Refs(refs ...primitives.Ref) Option

Refs sets references that will be used for this conditional formatting

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL