| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Xlsx.Types.Drawing
Synopsis
- data FileInfo = FileInfo {}
- data Marker = Marker {
- _mrkCol :: Int
- _mrkColOff :: Coordinate
- _mrkRow :: Int
- _mrkRowOff :: Coordinate
- unqMarker :: (Int, Int) -> (Int, Int) -> Marker
- data EditAs
- data Anchoring
- = AbsoluteAnchor { }
- | OneCellAnchor { }
- | TwoCellAnchor { }
- data DrawingObject p g
- picture :: DrawingElementId -> FileInfo -> DrawingObject FileInfo c
- extractPictures :: Drawing -> [(Anchoring, FileInfo)]
- data ClientData = ClientData {}
- data PicNonVisual = PicNonVisual {}
- data GraphNonVisual = GraphNonVisual {}
- newtype DrawingElementId = DrawingElementId {}
- data NonVisualDrawingProperties = NonVisualDrawingProperties {}
- data BlipFillProperties a = BlipFillProperties {
- _bfpImageInfo :: Maybe a
- _bfpFillMode :: Maybe FillMode
- data FillMode
- data Anchor p g = Anchor {}
- data GenericDrawing p g = Drawing {
- _xdrAnchors :: [Anchor p g]
- type Drawing = GenericDrawing FileInfo ChartSpace
- type UnresolvedDrawing = GenericDrawing RefId RefId
- anchAnchoring :: forall p g f. Functor f => (Anchoring -> f Anchoring) -> Anchor p g -> f (Anchor p g)
- anchClientData :: forall p g f. Functor f => (ClientData -> f ClientData) -> Anchor p g -> f (Anchor p g)
- anchObject :: forall p1 g1 p2 g2 f. Functor f => (DrawingObject p1 g1 -> f (DrawingObject p2 g2)) -> Anchor p1 g1 -> f (Anchor p2 g2)
- grChartSpace :: forall p g1 g2 f. Applicative f => (g1 -> f g2) -> DrawingObject p g1 -> f (DrawingObject p g2)
- grNonVisual :: forall p g f. Applicative f => (GraphNonVisual -> f GraphNonVisual) -> DrawingObject p g -> f (DrawingObject p g)
- grTransform :: forall p g f. Applicative f => (Transform2D -> f Transform2D) -> DrawingObject p g -> f (DrawingObject p g)
- picBlipFill :: forall p1 g p2 f. Applicative f => (BlipFillProperties p1 -> f (BlipFillProperties p2)) -> DrawingObject p1 g -> f (DrawingObject p2 g)
- picMacro :: forall p g f. Applicative f => (Maybe Text -> f (Maybe Text)) -> DrawingObject p g -> f (DrawingObject p g)
- picNonVisual :: forall p g f. Applicative f => (PicNonVisual -> f PicNonVisual) -> DrawingObject p g -> f (DrawingObject p g)
- picPublished :: forall p g f. Applicative f => (Bool -> f Bool) -> DrawingObject p g -> f (DrawingObject p g)
- picShapeProperties :: forall p g f. Applicative f => (ShapeProperties -> f ShapeProperties) -> DrawingObject p g -> f (DrawingObject p g)
- bfpFillMode :: forall a f. Functor f => (Maybe FillMode -> f (Maybe FillMode)) -> BlipFillProperties a -> f (BlipFillProperties a)
- bfpImageInfo :: forall a1 a2 f. Functor f => (Maybe a1 -> f (Maybe a2)) -> BlipFillProperties a1 -> f (BlipFillProperties a2)
- xdrAnchors :: forall p1 g1 p2 g2 p3 f. (Profunctor p3, Functor f) => p3 [Anchor p1 g1] (f [Anchor p2 g2]) -> p3 (GenericDrawing p1 g1) (f (GenericDrawing p2 g2))
- simpleAnchorXY :: (Int, Int) -> PositiveSize2D -> DrawingObject p g -> Anchor p g
- anchoringFromNode :: Node -> [Anchoring]
- drawingObjectFromNode :: Node -> [DrawingObject RefId RefId]
- fillModeFromNode :: Node -> [FillMode]
- anchorToElement :: Anchor RefId RefId -> Element
- anchoringToElement :: Anchoring -> Element
- drawingObjToElement :: DrawingObject RefId RefId -> Element
- fillModeToElement :: FillMode -> Element
- xdr :: Text -> Name
- xlDrawingNs :: Text
Documentation
information about image file as a par of a drawing
Constructors
| FileInfo | |
Fields
| |
Instances
Constructors
| Marker | |
Fields
| |
Instances
| NFData Marker Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Generic Marker Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
| |||||
| Show Marker Source # | |||||
| Eq Marker Source # | |||||
| FromCursor Marker Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [Marker] Source # | |||||
| ToElement Marker Source # | |||||
| type Rep Marker Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep Marker = D1 ('MetaData "Marker" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "Marker" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_mrkCol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_mrkColOff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coordinate)) :*: (S1 ('MetaSel ('Just "_mrkRow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_mrkRowOff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coordinate)))) | |||||
Constructors
| EditAsTwoCell | |
| EditAsOneCell | |
| EditAsAbsolute |
Instances
| NFData EditAs Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Generic EditAs Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
| |||||
| Show EditAs Source # | |||||
| Eq EditAs Source # | |||||
| FromAttrVal EditAs Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods | |||||
| ToAttrVal EditAs Source # | |||||
| type Rep EditAs Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep EditAs = D1 ('MetaData "EditAs" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "EditAsTwoCell" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EditAsOneCell" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EditAsAbsolute" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Constructors
| AbsoluteAnchor | |
Fields
| |
| OneCellAnchor | |
Fields | |
| TwoCellAnchor | |
Instances
| NFData Anchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Generic Anchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
| |||||
| Show Anchoring Source # | |||||
| Eq Anchoring Source # | |||||
| FromCursor Anchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [Anchoring] Source # | |||||
| type Rep Anchoring Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep Anchoring = D1 ('MetaData "Anchoring" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "AbsoluteAnchor" 'PrefixI 'True) (S1 ('MetaSel ('Just "absaPos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Point2D) :*: S1 ('MetaSel ('Just "absaExt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PositiveSize2D)) :+: (C1 ('MetaCons "OneCellAnchor" 'PrefixI 'True) (S1 ('MetaSel ('Just "onecaFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Marker) :*: S1 ('MetaSel ('Just "onecaExt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PositiveSize2D)) :+: C1 ('MetaCons "TwoCellAnchor" 'PrefixI 'True) (S1 ('MetaSel ('Just "tcaFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Marker) :*: (S1 ('MetaSel ('Just "tcaTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Marker) :*: S1 ('MetaSel ('Just "tcaEditAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EditAs))))) | |||||
data DrawingObject p g Source #
Instances
| (NFData p, NFData g) => NFData (DrawingObject p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: DrawingObject p g -> () Source # | |||||
| Generic (DrawingObject p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: DrawingObject p g -> Rep (DrawingObject p g) x Source # to :: Rep (DrawingObject p g) x -> DrawingObject p g Source # | |||||
| (Show p, Show g) => Show (DrawingObject p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| (Eq p, Eq g) => Eq (DrawingObject p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: DrawingObject p g -> DrawingObject p g -> Bool Source # (/=) :: DrawingObject p g -> DrawingObject p g -> Bool Source # | |||||
| FromCursor (DrawingObject RefId RefId) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [DrawingObject RefId RefId] Source # | |||||
| type Rep (DrawingObject p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep (DrawingObject p g) = D1 ('MetaData "DrawingObject" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "Picture" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_picMacro") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_picPublished") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "_picNonVisual") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PicNonVisual) :*: (S1 ('MetaSel ('Just "_picBlipFill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BlipFillProperties p)) :*: S1 ('MetaSel ('Just "_picShapeProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ShapeProperties)))) :+: C1 ('MetaCons "Graphic" 'PrefixI 'True) (S1 ('MetaSel ('Just "_grNonVisual") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GraphNonVisual) :*: (S1 ('MetaSel ('Just "_grChartSpace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 g) :*: S1 ('MetaSel ('Just "_grTransform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Transform2D)))) | |||||
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
| |
Instances
| Default ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods def :: ClientData Source # | |||||
| NFData ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: ClientData -> () Source # | |||||
| Generic ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
| |||||
| Show ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Eq ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: ClientData -> ClientData -> Bool Source # (/=) :: ClientData -> ClientData -> Bool Source # | |||||
| FromCursor ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [ClientData] Source # | |||||
| ToElement ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| type Rep ClientData Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep ClientData = D1 ('MetaData "ClientData" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "ClientData" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cldLcksWithSheet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_cldPrintsWithSheet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) | |||||
data PicNonVisual Source #
Constructors
| PicNonVisual | |
Instances
| NFData PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: PicNonVisual -> () Source # | |||||
| Generic PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: PicNonVisual -> Rep PicNonVisual x Source # to :: Rep PicNonVisual x -> PicNonVisual Source # | |||||
| Show PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Eq PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: PicNonVisual -> PicNonVisual -> Bool Source # (/=) :: PicNonVisual -> PicNonVisual -> Bool Source # | |||||
| FromCursor PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [PicNonVisual] Source # | |||||
| ToElement PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| type Rep PicNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep PicNonVisual = D1 ('MetaData "PicNonVisual" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "PicNonVisual" 'PrefixI 'True) (S1 ('MetaSel ('Just "_pnvDrawingProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonVisualDrawingProperties))) | |||||
data GraphNonVisual Source #
Constructors
| GraphNonVisual | |
Instances
| NFData GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: GraphNonVisual -> () Source # | |||||
| Generic GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: GraphNonVisual -> Rep GraphNonVisual x Source # to :: Rep GraphNonVisual x -> GraphNonVisual Source # | |||||
| Show GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Eq GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: GraphNonVisual -> GraphNonVisual -> Bool Source # (/=) :: GraphNonVisual -> GraphNonVisual -> Bool Source # | |||||
| FromCursor GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [GraphNonVisual] Source # | |||||
| ToElement GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| type Rep GraphNonVisual Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep GraphNonVisual = D1 ('MetaData "GraphNonVisual" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "GraphNonVisual" 'PrefixI 'True) (S1 ('MetaSel ('Just "_gnvDrawingProps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonVisualDrawingProperties))) | |||||
newtype DrawingElementId Source #
Constructors
| DrawingElementId | |
Fields | |
Instances
| NFData DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: DrawingElementId -> () Source # | |||||
| Generic DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: DrawingElementId -> Rep DrawingElementId x Source # to :: Rep DrawingElementId x -> DrawingElementId Source # | |||||
| Show DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Eq DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: DrawingElementId -> DrawingElementId -> Bool Source # (/=) :: DrawingElementId -> DrawingElementId -> Bool Source # | |||||
| FromAttrVal DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods | |||||
| ToAttrVal DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods toAttrVal :: DrawingElementId -> Text Source # | |||||
| type Rep DrawingElementId Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep DrawingElementId = D1 ('MetaData "DrawingElementId" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'True) (C1 ('MetaCons "DrawingElementId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDrawingElementId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
data NonVisualDrawingProperties Source #
Constructors
| NonVisualDrawingProperties | |
Fields
| |
Instances
| NFData NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: NonVisualDrawingProperties -> () Source # | |||||
| Generic NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: NonVisualDrawingProperties -> Rep NonVisualDrawingProperties x Source # to :: Rep NonVisualDrawingProperties x -> NonVisualDrawingProperties Source # | |||||
| Show NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Eq NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: NonVisualDrawingProperties -> NonVisualDrawingProperties -> Bool Source # (/=) :: NonVisualDrawingProperties -> NonVisualDrawingProperties -> Bool Source # | |||||
| FromCursor NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [NonVisualDrawingProperties] Source # | |||||
| ToElement NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| type Rep NonVisualDrawingProperties Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep NonVisualDrawingProperties = D1 ('MetaData "NonVisualDrawingProperties" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "NonVisualDrawingProperties" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_nvdpId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DrawingElementId) :*: S1 ('MetaSel ('Just "_nvdpName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_nvdpDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_nvdpHidden") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_nvdpTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))) | |||||
data BlipFillProperties a Source #
Constructors
| BlipFillProperties | |
Fields
| |
Instances
| NFData a => NFData (BlipFillProperties a) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: BlipFillProperties a -> () Source # | |||||
| Generic (BlipFillProperties a) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: BlipFillProperties a -> Rep (BlipFillProperties a) x Source # to :: Rep (BlipFillProperties a) x -> BlipFillProperties a Source # | |||||
| Show a => Show (BlipFillProperties a) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Eq a => Eq (BlipFillProperties a) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: BlipFillProperties a -> BlipFillProperties a -> Bool Source # (/=) :: BlipFillProperties a -> BlipFillProperties a -> Bool Source # | |||||
| FromCursor (BlipFillProperties RefId) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [BlipFillProperties RefId] Source # | |||||
| ToElement (BlipFillProperties RefId) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| type Rep (BlipFillProperties a) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep (BlipFillProperties a) = D1 ('MetaData "BlipFillProperties" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "BlipFillProperties" 'PrefixI 'True) (S1 ('MetaSel ('Just "_bfpImageInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe a)) :*: S1 ('MetaSel ('Just "_bfpFillMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FillMode)))) | |||||
Constructors
| FillTile | |
| FillStretch |
Instances
| NFData FillMode Source # | |
Defined in Codec.Xlsx.Types.Drawing | |
| Generic FillMode Source # | |
Defined in Codec.Xlsx.Types.Drawing | |
| Show FillMode Source # | |
| Eq FillMode Source # | |
| FromCursor FillMode Source # | |
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [FillMode] Source # | |
| type Rep FillMode Source # | |
Constructors
| Anchor | |
Fields
| |
Instances
| (NFData p, NFData g) => NFData (Anchor p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| Generic (Anchor p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
| |||||
| (Show p, Show g) => Show (Anchor p g) Source # | |||||
| (Eq p, Eq g) => Eq (Anchor p g) Source # | |||||
| FromCursor (Anchor RefId RefId) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| type Rep (Anchor p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep (Anchor p g) = D1 ('MetaData "Anchor" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "Anchor" 'PrefixI 'True) (S1 ('MetaSel ('Just "_anchAnchoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Anchoring) :*: (S1 ('MetaSel ('Just "_anchObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DrawingObject p g)) :*: S1 ('MetaSel ('Just "_anchClientData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ClientData)))) | |||||
data GenericDrawing p g Source #
Constructors
| Drawing | |
Fields
| |
Instances
| FromCursor UnresolvedDrawing Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [UnresolvedDrawing] Source # | |||||
| ToDocument UnresolvedDrawing Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods | |||||
| ToElement UnresolvedDrawing Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| (NFData p, NFData g) => NFData (GenericDrawing p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods rnf :: GenericDrawing p g -> () Source # | |||||
| Generic (GenericDrawing p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Associated Types
Methods from :: GenericDrawing p g -> Rep (GenericDrawing p g) x Source # to :: Rep (GenericDrawing p g) x -> GenericDrawing p g Source # | |||||
| (Show p, Show g) => Show (GenericDrawing p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing | |||||
| (Eq p, Eq g) => Eq (GenericDrawing p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing Methods (==) :: GenericDrawing p g -> GenericDrawing p g -> Bool Source # (/=) :: GenericDrawing p g -> GenericDrawing p g -> Bool Source # | |||||
| type Rep (GenericDrawing p g) Source # | |||||
Defined in Codec.Xlsx.Types.Drawing type Rep (GenericDrawing p g) = D1 ('MetaData "GenericDrawing" "Codec.Xlsx.Types.Drawing" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "Drawing" 'PrefixI 'True) (S1 ('MetaSel ('Just "_xdrAnchors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Anchor p g]))) | |||||
type Drawing = GenericDrawing FileInfo ChartSpace Source #
type UnresolvedDrawing = GenericDrawing RefId RefId Source #
anchAnchoring :: forall p g f. Functor f => (Anchoring -> f Anchoring) -> Anchor p g -> f (Anchor p g) Source #
anchClientData :: forall p g f. Functor f => (ClientData -> f ClientData) -> Anchor p g -> f (Anchor p g) Source #
anchObject :: forall p1 g1 p2 g2 f. Functor f => (DrawingObject p1 g1 -> f (DrawingObject p2 g2)) -> Anchor p1 g1 -> f (Anchor p2 g2) Source #
grChartSpace :: forall p g1 g2 f. Applicative f => (g1 -> f g2) -> DrawingObject p g1 -> f (DrawingObject p g2) Source #
grNonVisual :: forall p g f. Applicative f => (GraphNonVisual -> f GraphNonVisual) -> DrawingObject p g -> f (DrawingObject p g) Source #
grTransform :: forall p g f. Applicative f => (Transform2D -> f Transform2D) -> DrawingObject p g -> f (DrawingObject p g) Source #
picBlipFill :: forall p1 g p2 f. Applicative f => (BlipFillProperties p1 -> f (BlipFillProperties p2)) -> DrawingObject p1 g -> f (DrawingObject p2 g) Source #
picMacro :: forall p g f. Applicative f => (Maybe Text -> f (Maybe Text)) -> DrawingObject p g -> f (DrawingObject p g) Source #
picNonVisual :: forall p g f. Applicative f => (PicNonVisual -> f PicNonVisual) -> DrawingObject p g -> f (DrawingObject p g) Source #
picPublished :: forall p g f. Applicative f => (Bool -> f Bool) -> DrawingObject p g -> f (DrawingObject p g) Source #
picShapeProperties :: forall p g f. Applicative f => (ShapeProperties -> f ShapeProperties) -> DrawingObject p g -> f (DrawingObject p g) Source #
bfpFillMode :: forall a f. Functor f => (Maybe FillMode -> f (Maybe FillMode)) -> BlipFillProperties a -> f (BlipFillProperties a) Source #
bfpImageInfo :: forall a1 a2 f. Functor f => (Maybe a1 -> f (Maybe a2)) -> BlipFillProperties a1 -> f (BlipFillProperties a2) Source #
xdrAnchors :: forall p1 g1 p2 g2 p3 f. (Profunctor p3, Functor f) => p3 [Anchor p1 g1] (f [Anchor p2 g2]) -> p3 (GenericDrawing p1 g1) (f (GenericDrawing p2 g2)) 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
anchoringFromNode :: Node -> [Anchoring] Source #
drawingObjectFromNode :: Node -> [DrawingObject RefId RefId] Source #
fillModeFromNode :: Node -> [FillMode] Source #
fillModeToElement :: FillMode -> Element Source #
xlDrawingNs :: Text Source #