xlsx-0.4.3: 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

picture :: DrawingElementId -> FileInfo -> DrawingObject FileInfo c Source #

basic function to create picture drawing object

Note: specification says that drawing element ids need to be unique within 1 document, otherwise /...document shall be considered non-conformant/.

extractPictures :: Drawing -> [(Anchoring, FileInfo)] Source #

helper to retrive information about all picture files in particular drawing alongside with their anchorings (i.e. sizes and positions)

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 NonVisualDrawingProperties Source #

Constructors

NonVisualDrawingProperties 

Fields

data Anchor p g Source #

Instances

(Eq p, Eq g) => Eq (Anchor p g) Source # 

Methods

(==) :: Anchor p g -> Anchor p g -> Bool #

(/=) :: Anchor p g -> Anchor p g -> Bool #

(Show p, Show g) => Show (Anchor p g) Source # 

Methods

showsPrec :: Int -> Anchor p g -> ShowS #

show :: Anchor p g -> String #

showList :: [Anchor p g] -> ShowS #

FromCursor (Anchor RefId RefId) Source # 

simpleAnchorXY Source #

Arguments

:: (Int, Int)

x+y coordinates of a cell used as top left anchoring corner

-> PositiveSize2D

size of drawing object to be anchored

-> DrawingObject p g 
-> Anchor p g 

simple drawing object anchoring using one cell as a top lelft corner and dimensions of that object

anchObject :: forall p g p g. Lens (Anchor p g) (Anchor p g) (DrawingObject p g) (DrawingObject p g) Source #

grChartSpace :: forall p g g. Traversal (DrawingObject p g) (DrawingObject p g) g g Source #

xdrAnchors :: forall p g p g. Iso (GenericDrawing p g) (GenericDrawing p g) [Anchor p g] [Anchor p g] Source #

xdr :: Text -> Name Source #

Add Spreadsheet DrawingML namespace to name