| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Xlsx.Types.Drawing.Common
Synopsis
- newtype Angle = Angle Int
- data TextBody = TextBody {}
- data TextVertOverflow
- data TextVertical
- data TextWrap
- data TextAnchoring
- data TextParagraph = TextParagraph {}
- data TextCharacterProperties = TextCharacterProperties {
- _txchBold :: Bool
- _txchItalic :: Bool
- _txchUnderline :: Bool
- data TextRun = RegularRun {}
- data Coordinate
- data UnitIdentifier
- data Point2D = Point2D {
- _pt2dX :: Coordinate
- _pt2dY :: Coordinate
- unqPoint2D :: Int -> Int -> Point2D
- newtype PositiveCoordinate = PositiveCoordinate Integer
- data PositiveSize2D = PositiveSize2D {}
- positiveSize2D :: Integer -> Integer -> PositiveSize2D
- cmSize2D :: Integer -> Integer -> PositiveSize2D
- cm2emu :: Integer -> Integer
- data Transform2D = Transform2D {}
- data Geometry = PresetGeometry
- data ShapeProperties = ShapeProperties {}
- data LineProperties = LineProperties {}
- data ColorChoice = RgbColor Text
- data FillProperties
- = NoFill
- | SolidFill (Maybe ColorChoice)
- solidRgb :: Text -> FillProperties
- spFill :: Lens' ShapeProperties (Maybe FillProperties)
- spGeometry :: Lens' ShapeProperties (Maybe Geometry)
- spOutline :: Lens' ShapeProperties (Maybe LineProperties)
- spXfrm :: Lens' ShapeProperties (Maybe Transform2D)
- geometryFromNode :: Node -> [Geometry]
- fillPropsFromNode :: Node -> [FillProperties]
- colorChoiceFromNode :: Node -> [ColorChoice]
- coordinate :: MonadFail m => Text -> m Coordinate
- geometryToElement :: Geometry -> Element
- fillPropsToElement :: FillProperties -> Element
- colorChoiceToElement :: ColorChoice -> Element
- a_ :: Text -> Name
- drawingNs :: Text
Documentation
This simple type represents an angle in 60,000ths of a degree. Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).
Instances
| NFData Angle Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Generic Angle Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
| |||||
| Show Angle Source # | |||||
| Eq Angle Source # | |||||
| FromAttrVal Angle Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods | |||||
| ToAttrVal Angle Source # | |||||
| type Rep Angle Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
A string with rich text formatting
TODO: horzOverflow, lIns, tIns, rIns, bIns, numCol, spcCol, rtlCol, fromWordArt, forceAA, upright, compatLnSpc, prstTxWarp, a_EG_TextAutofit, scene3d, a_EG_Text3D, extLst
See CT_TextBody (p. 4034)
Constructors
| TextBody | |
Fields
| |
Instances
data TextVertOverflow Source #
Text vertical overflow See 20.1.10.83 "ST_TextVertOverflowType (Text Vertical Overflow)" (p. 3083)
Constructors
| TextVertOverflowClip | Pay attention to top and bottom barriers. Provide no indication that there is text which is not visible. |
| TextVertOverflowEllipsis | Pay attention to top and bottom barriers. Use an ellipsis to denote that there is text which is not visible. |
| TextVertOverflow | Overflow the text and pay no attention to top and bottom barriers. |
Instances
| NFData TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: TextVertOverflow -> () Source # | |||||
| Generic TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: TextVertOverflow -> Rep TextVertOverflow x Source # to :: Rep TextVertOverflow x -> TextVertOverflow Source # | |||||
| Show TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: TextVertOverflow -> TextVertOverflow -> Bool Source # (/=) :: TextVertOverflow -> TextVertOverflow -> Bool Source # | |||||
| FromAttrVal TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods | |||||
| ToAttrVal TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods toAttrVal :: TextVertOverflow -> Text Source # | |||||
| type Rep TextVertOverflow Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep TextVertOverflow = D1 ('MetaData "TextVertOverflow" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "TextVertOverflowClip" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextVertOverflowEllipsis" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextVertOverflow" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data TextVertical Source #
If there is vertical text, determines what kind of vertical text is going to be used.
See 20.1.10.82 "ST_TextVerticalType (Vertical Text Types)" (p. 3083)
Constructors
| TextVerticalEA | A special version of vertical text, where some fonts are displayed as if rotated by 90 degrees while some fonts (mostly East Asian) are displayed vertical. |
| TextVerticalHorz | Horizontal text. This should be default. |
| TextVerticalMongolian | A special version of vertical text, where some fonts are displayed as if rotated
by 90 degrees while some fonts (mostly East Asian) are displayed vertical. The
difference between this and the |
| TextVertical | Determines if all of the text is vertical orientation (each line is 90 degrees rotated clockwise, so it goes from top to bottom; each next line is to the left from the previous one). |
| TextVertical270 | Determines if all of the text is vertical orientation (each line is 270 degrees rotated clockwise, so it goes from bottom to top; each next line is to the right from the previous one). |
| TextVerticalWordArt | Determines if all of the text is vertical ("one letter on top of another"). |
| TextVerticalWordArtRtl | Specifies that vertical WordArt should be shown from right to left rather than left to right. |
Instances
| NFData TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: TextVertical -> () Source # | |||||
| Generic TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: TextVertical -> Rep TextVertical x Source # to :: Rep TextVertical x -> TextVertical Source # | |||||
| Show TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: TextVertical -> TextVertical -> Bool Source # (/=) :: TextVertical -> TextVertical -> Bool Source # | |||||
| FromAttrVal TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods | |||||
| ToAttrVal TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods toAttrVal :: TextVertical -> Text Source # | |||||
| type Rep TextVertical Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep TextVertical = D1 ('MetaData "TextVertical" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "TextVerticalEA" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextVerticalHorz" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextVerticalMongolian" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "TextVertical" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextVertical270" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TextVerticalWordArt" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextVerticalWordArtRtl" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
Text wrapping types
See 20.1.10.84 "ST_TextWrappingType (Text Wrapping Types)" (p. 3084)
Constructors
| TextWrapNone | No wrapping occurs on this text body. Words spill out without paying attention to the bounding rectangle boundaries. |
| TextWrapSquare | Determines whether we wrap words within the bounding rectangle. |
Instances
| NFData TextWrap Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Generic TextWrap Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
| |||||
| Show TextWrap Source # | |||||
| Eq TextWrap Source # | |||||
| FromAttrVal TextWrap Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods | |||||
| ToAttrVal TextWrap Source # | |||||
| type Rep TextWrap Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
data TextAnchoring Source #
This type specifies a list of available anchoring types for text.
See 20.1.10.59 "ST_TextAnchoringType (Text Anchoring Types)" (p. 3058)
Constructors
| TextAnchoringBottom | Anchor the text at the bottom of the bounding rectangle. |
| TextAnchoringCenter | Anchor the text at the middle of the bounding rectangle. |
| TextAnchoringDistributed | Anchor the text so that it is distributed vertically. When text is horizontal,
this spaces out the actual lines of text and is almost always identical in
behavior to |
| TextAnchoringJustified | Anchor the text so that it is justified vertically. When text is horizontal,
this spaces out the actual lines of text and is almost always identical in
behavior to |
| TextAnchoringTop | Anchor the text at the top of the bounding rectangle. |
Instances
| NFData TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: TextAnchoring -> () Source # | |||||
| Generic TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: TextAnchoring -> Rep TextAnchoring x Source # to :: Rep TextAnchoring x -> TextAnchoring Source # | |||||
| Show TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: TextAnchoring -> TextAnchoring -> Bool Source # (/=) :: TextAnchoring -> TextAnchoring -> Bool Source # | |||||
| FromAttrVal TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods | |||||
| ToAttrVal TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods toAttrVal :: TextAnchoring -> Text Source # | |||||
| type Rep TextAnchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep TextAnchoring = D1 ('MetaData "TextAnchoring" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "TextAnchoringBottom" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextAnchoringCenter" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TextAnchoringDistributed" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextAnchoringJustified" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextAnchoringTop" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data TextParagraph Source #
Constructors
| TextParagraph | |
Fields | |
Instances
| NFData TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: TextParagraph -> () Source # | |||||
| Generic TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: TextParagraph -> Rep TextParagraph x Source # to :: Rep TextParagraph x -> TextParagraph Source # | |||||
| Show TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: TextParagraph -> TextParagraph -> Bool Source # (/=) :: TextParagraph -> TextParagraph -> Bool Source # | |||||
| FromCursor TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextParagraph] Source # | |||||
| ToElement TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| type Rep TextParagraph Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep TextParagraph = D1 ('MetaData "TextParagraph" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "TextParagraph" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txpaDefCharProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TextCharacterProperties)) :*: S1 ('MetaSel ('Just "_txpaRuns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TextRun]))) | |||||
data TextCharacterProperties Source #
Text character properties
TODO: kumimoji, lang, altLang, sz, strike, kern, cap, spc, normalizeH, baseline, noProof, dirty, err, smtClean, smtId, bmk, ln, a_EG_FillProperties, a_EG_EffectProperties, highlight, a_EG_TextUnderlineLine, a_EG_TextUnderlineFill, latin, ea, cs, sym, hlinkClick, hlinkMouseOver, rtl, extLst
See CT_TextCharacterProperties (p. 4039)
Constructors
| TextCharacterProperties | |
Fields
| |
Instances
| NFData TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: TextCharacterProperties -> () Source # | |||||
| Generic TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: TextCharacterProperties -> Rep TextCharacterProperties x Source # to :: Rep TextCharacterProperties x -> TextCharacterProperties Source # | |||||
| Show TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: TextCharacterProperties -> TextCharacterProperties -> Bool Source # (/=) :: TextCharacterProperties -> TextCharacterProperties -> Bool Source # | |||||
| FromCursor TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextCharacterProperties] Source # | |||||
| ToElement TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| type Rep TextCharacterProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep TextCharacterProperties = D1 ('MetaData "TextCharacterProperties" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "TextCharacterProperties" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txchBold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_txchItalic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_txchUnderline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) | |||||
Text run
TODO: br, fld
Constructors
| RegularRun | |
Fields | |
Instances
| NFData TextRun Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Generic TextRun Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
| |||||
| Show TextRun Source # | |||||
| Eq TextRun Source # | |||||
| FromCursor TextRun Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextRun] Source # | |||||
| ToElement TextRun Source # | |||||
| type Rep TextRun Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep TextRun = D1 ('MetaData "TextRun" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "RegularRun" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txrCharProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TextCharacterProperties)) :*: S1 ('MetaSel ('Just "_txrText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data Coordinate Source #
This simple type represents a one dimensional position or length
See 20.1.10.16 "ST_Coordinate (Coordinate)" (p. 2921)
Constructors
| UnqCoordinate Int | see 20.1.10.19 "ST_CoordinateUnqualified (Coordinate)" (p. 2922) |
| UniversalMeasure UnitIdentifier Double | see 22.9.2.15 "ST_UniversalMeasure (Universal Measurement)" (p. 3793) |
Instances
| NFData Coordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: Coordinate -> () Source # | |||||
| Generic Coordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
| |||||
| Show Coordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq Coordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: Coordinate -> Coordinate -> Bool Source # (/=) :: Coordinate -> Coordinate -> Bool Source # | |||||
| ToAttrVal Coordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods toAttrVal :: Coordinate -> Text Source # | |||||
| type Rep Coordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep Coordinate = D1 ('MetaData "Coordinate" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "UnqCoordinate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "UniversalMeasure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnitIdentifier) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) | |||||
data UnitIdentifier Source #
Units used in "Universal measure" coordinates see 22.9.2.15 "ST_UniversalMeasure (Universal Measurement)" (p. 3793)
Instances
| NFData UnitIdentifier Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: UnitIdentifier -> () Source # | |||||
| Generic UnitIdentifier Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: UnitIdentifier -> Rep UnitIdentifier x Source # to :: Rep UnitIdentifier x -> UnitIdentifier Source # | |||||
| Show UnitIdentifier Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq UnitIdentifier Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: UnitIdentifier -> UnitIdentifier -> Bool Source # (/=) :: UnitIdentifier -> UnitIdentifier -> Bool Source # | |||||
| type Rep UnitIdentifier Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep UnitIdentifier = D1 ('MetaData "UnitIdentifier" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "UnitCm" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnitMm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnitIn" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "UnitPt" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnitPc" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnitPi" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
Constructors
| Point2D | |
Fields
| |
Instances
| NFData Point2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Generic Point2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
| |||||
| Show Point2D Source # | |||||
| Eq Point2D Source # | |||||
| FromCursor Point2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [Point2D] Source # | |||||
| ToElement Point2D Source # | |||||
| type Rep Point2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep Point2D = D1 ('MetaData "Point2D" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "Point2D" 'PrefixI 'True) (S1 ('MetaSel ('Just "_pt2dX") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coordinate) :*: S1 ('MetaSel ('Just "_pt2dY") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coordinate))) | |||||
newtype PositiveCoordinate Source #
Positive position or length in EMUs, maximu allowed value is 27273042316900. see 20.1.10.41 "ST_PositiveCoordinate (Positive Coordinate)" (p. 2942)
Constructors
| PositiveCoordinate Integer |
Instances
| NFData PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: PositiveCoordinate -> () Source # | |||||
| Generic PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: PositiveCoordinate -> Rep PositiveCoordinate x Source # to :: Rep PositiveCoordinate x -> PositiveCoordinate Source # | |||||
| Show PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: PositiveCoordinate -> PositiveCoordinate -> Bool Source # (/=) :: PositiveCoordinate -> PositiveCoordinate -> Bool Source # | |||||
| Ord PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods compare :: PositiveCoordinate -> PositiveCoordinate -> Ordering Source # (<) :: PositiveCoordinate -> PositiveCoordinate -> Bool Source # (<=) :: PositiveCoordinate -> PositiveCoordinate -> Bool Source # (>) :: PositiveCoordinate -> PositiveCoordinate -> Bool Source # (>=) :: PositiveCoordinate -> PositiveCoordinate -> Bool Source # max :: PositiveCoordinate -> PositiveCoordinate -> PositiveCoordinate Source # min :: PositiveCoordinate -> PositiveCoordinate -> PositiveCoordinate Source # | |||||
| ToAttrVal PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods toAttrVal :: PositiveCoordinate -> Text Source # | |||||
| type Rep PositiveCoordinate Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep PositiveCoordinate = D1 ('MetaData "PositiveCoordinate" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'True) (C1 ('MetaCons "PositiveCoordinate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) | |||||
data PositiveSize2D Source #
Constructors
| PositiveSize2D | |
Fields | |
Instances
| NFData PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: PositiveSize2D -> () Source # | |||||
| Generic PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: PositiveSize2D -> Rep PositiveSize2D x Source # to :: Rep PositiveSize2D x -> PositiveSize2D Source # | |||||
| Show PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: PositiveSize2D -> PositiveSize2D -> Bool Source # (/=) :: PositiveSize2D -> PositiveSize2D -> Bool Source # | |||||
| FromCursor PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [PositiveSize2D] Source # | |||||
| ToElement PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| type Rep PositiveSize2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep PositiveSize2D = D1 ('MetaData "PositiveSize2D" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "PositiveSize2D" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ps2dX") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PositiveCoordinate) :*: S1 ('MetaSel ('Just "_ps2dY") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PositiveCoordinate))) | |||||
positiveSize2D :: Integer -> Integer -> PositiveSize2D Source #
data Transform2D Source #
Constructors
| Transform2D | |
Fields
| |
Instances
| NFData Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: Transform2D -> () Source # | |||||
| Generic Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: Transform2D -> Rep Transform2D x Source # to :: Rep Transform2D x -> Transform2D Source # | |||||
| Show Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: Transform2D -> Transform2D -> Bool Source # (/=) :: Transform2D -> Transform2D -> Bool Source # | |||||
| FromCursor Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [Transform2D] Source # | |||||
| ToElement Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| type Rep Transform2D Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep Transform2D = D1 ('MetaData "Transform2D" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "Transform2D" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_trRot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Angle) :*: S1 ('MetaSel ('Just "_trFlipH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "_trFlipV") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_trOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Point2D)) :*: S1 ('MetaSel ('Just "_trExtents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PositiveSize2D)))))) | |||||
Constructors
| PresetGeometry |
Instances
| NFData Geometry Source # | |
Defined in Codec.Xlsx.Types.Drawing.Common | |
| Generic Geometry Source # | |
Defined in Codec.Xlsx.Types.Drawing.Common | |
| Show Geometry Source # | |
| Eq Geometry Source # | |
| FromCursor Geometry Source # | |
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [Geometry] Source # | |
| type Rep Geometry Source # | |
data ShapeProperties Source #
Constructors
| ShapeProperties | |
Fields | |
Instances
| Default ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods | |||||
| NFData ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: ShapeProperties -> () Source # | |||||
| Generic ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: ShapeProperties -> Rep ShapeProperties x Source # to :: Rep ShapeProperties x -> ShapeProperties Source # | |||||
| Show ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: ShapeProperties -> ShapeProperties -> Bool Source # (/=) :: ShapeProperties -> ShapeProperties -> Bool Source # | |||||
| FromCursor ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [ShapeProperties] Source # | |||||
| ToElement ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| type Rep ShapeProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep ShapeProperties = D1 ('MetaData "ShapeProperties" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "ShapeProperties" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_spXfrm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Transform2D)) :*: S1 ('MetaSel ('Just "_spGeometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Geometry))) :*: (S1 ('MetaSel ('Just "_spFill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FillProperties)) :*: S1 ('MetaSel ('Just "_spOutline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LineProperties))))) | |||||
data LineProperties Source #
Specifies an outline style that can be applied to a number of different objects such as shapes and text.
TODO: cap, cmpd, algn, a_EG_LineDashProperties, a_EG_LineJoinProperties, headEnd, tailEnd, extLst
See 20.1.2.2.24 "ln (Outline)" (p. 2744)
Constructors
| LineProperties | |
Fields
| |
Instances
| Default LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods def :: LineProperties Source # | |||||
| NFData LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: LineProperties -> () Source # | |||||
| Generic LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: LineProperties -> Rep LineProperties x Source # to :: Rep LineProperties x -> LineProperties Source # | |||||
| Show LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: LineProperties -> LineProperties -> Bool Source # (/=) :: LineProperties -> LineProperties -> Bool Source # | |||||
| FromCursor LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [LineProperties] Source # | |||||
| ToElement LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| type Rep LineProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep LineProperties = D1 ('MetaData "LineProperties" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "LineProperties" 'PrefixI 'True) (S1 ('MetaSel ('Just "_lnFill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FillProperties)) :*: S1 ('MetaSel ('Just "_lnWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
data ColorChoice Source #
Color choice for some drawing element
TODO: scrgbClr, hslClr, sysClr, schemeClr, prstClr
See EG_ColorChoice (p. 3996)
Constructors
| RgbColor Text | Specifies a color using the red, green, blue RGB color model. Red, green, and blue is expressed as sequence of hex digits, RRGGBB. A perceptual gamma of 2.2 is used. See 20.1.2.3.32 "srgbClr (RGB Color Model - Hex Variant)" (p. 2773) |
Instances
| NFData ColorChoice Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: ColorChoice -> () Source # | |||||
| Generic ColorChoice Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: ColorChoice -> Rep ColorChoice x Source # to :: Rep ColorChoice x -> ColorChoice Source # | |||||
| Show ColorChoice Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq ColorChoice Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: ColorChoice -> ColorChoice -> Bool Source # (/=) :: ColorChoice -> ColorChoice -> Bool Source # | |||||
| type Rep ColorChoice Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep ColorChoice = D1 ('MetaData "ColorChoice" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "RgbColor" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data FillProperties Source #
Constructors
| NoFill | See 20.1.8.44 "noFill (No Fill)" (p. 2872) |
| SolidFill (Maybe ColorChoice) | Solid fill See 20.1.8.54 "solidFill (Solid Fill)" (p. 2879) |
Instances
| NFData FillProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods rnf :: FillProperties -> () Source # | |||||
| Generic FillProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Associated Types
Methods from :: FillProperties -> Rep FillProperties x Source # to :: Rep FillProperties x -> FillProperties Source # | |||||
| Show FillProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common | |||||
| Eq FillProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods (==) :: FillProperties -> FillProperties -> Bool Source # (/=) :: FillProperties -> FillProperties -> Bool Source # | |||||
| FromCursor FillProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [FillProperties] Source # | |||||
| type Rep FillProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing.Common type Rep FillProperties = D1 ('MetaData "FillProperties" "Codec.Xlsx.Types.Drawing.Common" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "NoFill" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SolidFill" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ColorChoice)))) | |||||
solidRgb :: Text -> FillProperties Source #
solid fill with color specified by hexadecimal RGB color
geometryFromNode :: Node -> [Geometry] Source #
fillPropsFromNode :: Node -> [FillProperties] Source #
colorChoiceFromNode :: Node -> [ColorChoice] Source #
coordinate :: MonadFail m => Text -> m Coordinate Source #
geometryToElement :: Geometry -> Element Source #