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

Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Types.Drawing

Synopsis

Documentation

data FileInfo Source #

information about image file as a par of a drawing

Constructors

FileInfo 

Fields

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)

data UnitIdentifier Source #

Units used in "Universal measure" coordinates see 22.9.2.15 "ST_UniversalMeasure (Universal Measurement)" (p. 3793)

Constructors

UnitCm 
UnitMm 
UnitIn 
UnitPt 
UnitPc 
UnitPi 

newtype Angle Source #

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).

Constructors

Angle Int 

data ClientData Source #

This element is used to set certain properties related to a drawing element on the client spreadsheet application.

see 20.5.2.3 "clientData (Client Data)" (p. 3156)

Constructors

ClientData 

Fields

  • _cldLcksWithSheet :: Bool

    This attribute indicates whether to disable selection on drawing elements when the sheet is protected.

  • _cldPrintsWithSheet :: Bool

    This attribute indicates whether to print drawing elements when printing the sheet.

data PicDrawingNonVisual Source #

Constructors

PicDrawingNonVisual 

Fields

data Transform2D Source #

Constructors

Transform2D 

Fields

  • _trRot :: Angle

    Specifies the rotation of the Graphic Frame.

  • _trFlipH :: Bool

    Specifies a horizontal flip. When true, this attribute defines that the shape is flipped horizontally about the center of its bounding box.

  • _trFlipV :: Bool

    Specifies a vertical flip. When true, this attribute defines that the shape is flipped vetically about the center of its bounding box.

  • _trOffset :: Maybe Point2D

    See 20.1.7.4 "off (Offset)" (p. 2847)

  • _trExtents :: Maybe PositiveSize2D

    See 20.1.7.3 "ext (Extents)" (p. 2846) or 20.5.2.14 "ext (Shape Extent)" (p. 3165)

data Anchor a Source #

Instances

Eq a => Eq (Anchor a) Source # 

Methods

(==) :: Anchor a -> Anchor a -> Bool #

(/=) :: Anchor a -> Anchor a -> Bool #

Show a => Show (Anchor a) Source # 

Methods

showsPrec :: Int -> Anchor a -> ShowS #

show :: Anchor a -> String #

showList :: [Anchor a] -> ShowS #

FromCursor (Anchor RefId) Source # 

a :: Text -> Name Source #

Add DrawingML namespace to name

xdr :: Text -> Name Source #

Add Spreadsheet DrawingML namespace to name