xlsx-1.1.2.2: Simple and incomplete Excel file parser/writer

Safe Haskell | Safe-Inferred
Language | Haskell2010

Codec.Xlsx.Types.Internal.CustomProperties

Synopsis

- newtype CustomProperties = CustomProperties (Map Text Variant)
- fromList :: [(Text, Variant)] -> CustomProperties
- empty :: CustomProperties
- parseCustomPropertyEntry :: Cursor -> [(Text, Variant)]
- cpr :: Text -> Name
- custPropNs :: Text
- newtype CustomProperty = CustomProperty (Int, (Text, Variant))
- userDefinedFmtID :: Text

# Documentation

newtype CustomProperties Source #

Constructors

CustomProperties (Map Text Variant) |

#### Instances

Instances details

Generic CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Associated Types type Rep CustomProperties :: Type -> Type Source # Methods from :: CustomProperties -> Rep CustomProperties x Source # to :: Rep CustomProperties x -> CustomProperties Source #
Show CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods showsPrec :: Int -> CustomProperties -> ShowS Source # show :: CustomProperties -> String Source # showList :: [CustomProperties] -> ShowS Source #
Eq CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods (==) :: CustomProperties -> CustomProperties -> Bool Source # (/=) :: CustomProperties -> CustomProperties -> Bool Source #
FromCursor CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods fromCursor :: Cursor -> [CustomProperties] Source #
ToDocument CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods toDocument :: CustomProperties -> Document Source #
ToElement CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods toElement :: Name -> CustomProperties -> Element Source #
type Rep CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties type Rep CustomProperties = D1 ('MetaData "CustomProperties" "Codec.Xlsx.Types.Internal.CustomProperties" "xlsx-1.1.2.2-DopzEu8STPN4igxHgE9OUe" 'True) (C1 ('MetaCons "CustomProperties" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Variant))))

fromList :: [(Text, Variant)] -> CustomProperties Source #

empty :: CustomProperties Source #

parseCustomPropertyEntry :: Cursor -> [(Text, Variant)] Source #

cpr :: Text -> Name Source #

Add custom properties namespace to name

custPropNs :: Text Source #

newtype CustomProperty Source #

Constructors

CustomProperty (Int, (Text, Variant)) |

#### Instances

Instances details

ToElement CustomProperty Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods toElement :: Name -> CustomProperty -> Element Source #

userDefinedFmtID :: Text Source #

FMTID_UserDefinedProperties