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

Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Types.PageSetup

Contents

Synopsis

Main types

data PageSetup Source #

Constructors

PageSetup 

Fields

Instances

Eq PageSetup Source # 
Ord PageSetup Source # 
Show PageSetup Source # 
Generic PageSetup Source # 

Associated Types

type Rep PageSetup :: * -> * #

Default PageSetup Source # 

Methods

def :: PageSetup #

ToElement PageSetup Source #

See CT_PageSetup, p. 3922

FromCursor PageSetup Source #

See CT_PageSetup, p. 3922

type Rep PageSetup Source # 
type Rep PageSetup = D1 (MetaData "PageSetup" "Codec.Xlsx.Types.PageSetup" "xlsx-0.6.0-IZdrXDBRg3BFENqFscUY0N" False) (C1 (MetaCons "PageSetup" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupBlackAndWhite") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_pageSetupCellComments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CellComments)))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupCopies") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_pageSetupDraft") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupErrors") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PrintErrors))) (S1 (MetaSel (Just Symbol "_pageSetupFirstPageNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupFitToHeight") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupFitToWidth") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_pageSetupHorizontalDpi") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pageSetupOrientation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Orientation)))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupPageOrder") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PageOrder))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupPaperHeight") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pageSetupPaperSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PaperSize)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupPaperWidth") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pageSetupScale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupUseFirstPageNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_pageSetupUsePrinterDefaults") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_pageSetupVerticalDpi") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)))))))))

Enumerations

data CellComments Source #

Cell comments

These enumerations specify how cell comments shall be displayed for paper printing purposes.

See 18.18.5 "ST_CellComments (Cell Comments)" (p. 2441).

Constructors

CellCommentsAsDisplayed

Print cell comments as displayed

CellCommentsAtEnd

Print cell comments at end of document

CellCommentsNone

Do not print cell comments

Instances

Eq CellComments Source # 
Ord CellComments Source # 
Show CellComments Source # 
Generic CellComments Source # 

Associated Types

type Rep CellComments :: * -> * #

ToAttrVal CellComments Source #

See ST_CellComments, p. 3923

FromAttrVal CellComments Source #

See ST_CellComments, p. 3923

type Rep CellComments Source # 
type Rep CellComments = D1 (MetaData "CellComments" "Codec.Xlsx.Types.PageSetup" "xlsx-0.6.0-IZdrXDBRg3BFENqFscUY0N" False) ((:+:) (C1 (MetaCons "CellCommentsAsDisplayed" PrefixI False) U1) ((:+:) (C1 (MetaCons "CellCommentsAtEnd" PrefixI False) U1) (C1 (MetaCons "CellCommentsNone" PrefixI False) U1)))

data PrintErrors Source #

Print errors

This enumeration specifies how to display cells with errors when printing the worksheet.

Constructors

PrintErrorsBlank

Display cell errors as blank

PrintErrorsDash

Display cell errors as dashes

PrintErrorsDisplayed

Display cell errors as displayed on screen

PrintErrorsNA

Display cell errors as #N/A

Instances

Eq PrintErrors Source # 
Ord PrintErrors Source # 
Show PrintErrors Source # 
Generic PrintErrors Source # 

Associated Types

type Rep PrintErrors :: * -> * #

ToAttrVal PrintErrors Source #

See ST_PrintError, p. 3923

FromAttrVal PrintErrors Source #

See ST_PrintError, p. 3923

type Rep PrintErrors Source # 
type Rep PrintErrors = D1 (MetaData "PrintErrors" "Codec.Xlsx.Types.PageSetup" "xlsx-0.6.0-IZdrXDBRg3BFENqFscUY0N" False) ((:+:) ((:+:) (C1 (MetaCons "PrintErrorsBlank" PrefixI False) U1) (C1 (MetaCons "PrintErrorsDash" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PrintErrorsDisplayed" PrefixI False) U1) (C1 (MetaCons "PrintErrorsNA" PrefixI False) U1)))

data Orientation Source #

Print orientation for this sheet

Instances

Eq Orientation Source # 
Ord Orientation Source # 
Show Orientation Source # 
Generic Orientation Source # 

Associated Types

type Rep Orientation :: * -> * #

ToAttrVal Orientation Source #

See ST_Orientation, p. 3923

FromAttrVal Orientation Source #

See ST_Orientation, p. 3923

type Rep Orientation Source # 
type Rep Orientation = D1 (MetaData "Orientation" "Codec.Xlsx.Types.PageSetup" "xlsx-0.6.0-IZdrXDBRg3BFENqFscUY0N" False) ((:+:) (C1 (MetaCons "OrientationDefault" PrefixI False) U1) ((:+:) (C1 (MetaCons "OrientationLandscape" PrefixI False) U1) (C1 (MetaCons "OrientationPortrait" PrefixI False) U1)))

data PageOrder Source #

Specifies printed page order

Constructors

PageOrderDownThenOver

Order pages vertically first, then move horizontally

PageOrderOverThenDown

Order pages horizontally first, then move vertically

Instances

Eq PageOrder Source # 
Ord PageOrder Source # 
Show PageOrder Source # 
Generic PageOrder Source # 

Associated Types

type Rep PageOrder :: * -> * #

ToAttrVal PageOrder Source #

See ST_PageOrder, p. 3923

FromAttrVal PageOrder Source #

See ST_PageOrder, p. 3923

type Rep PageOrder Source # 
type Rep PageOrder = D1 (MetaData "PageOrder" "Codec.Xlsx.Types.PageSetup" "xlsx-0.6.0-IZdrXDBRg3BFENqFscUY0N" False) ((:+:) (C1 (MetaCons "PageOrderDownThenOver" PrefixI False) U1) (C1 (MetaCons "PageOrderOverThenDown" PrefixI False) U1))

data PaperSize Source #

Paper size

Constructors

PaperA2

A2 paper (420 mm by 594 mm)

PaperA3

A3 paper (297 mm by 420 mm)

PaperA3Extra

A3 extra paper (322 mm by 445 mm)

PaperA3ExtraTransverse

A3 extra transverse paper (322 mm by 445 mm)

PaperA3Transverse

A3 transverse paper (297 mm by 420 mm)

PaperA4

A4 paper (210 mm by 297 mm)

PaperA4Extra

A4 extra paper (236 mm by 322 mm)

PaperA4Plus

A4 plus paper (210 mm by 330 mm)

PaperA4Small

A4 small paper (210 mm by 297 mm)

PaperA4Transverse

A4 transverse paper (210 mm by 297 mm)

PaperA5

A5 paper (148 mm by 210 mm)

PaperA5Extra

A5 extra paper (174 mm by 235 mm)

PaperA5Transverse

A5 transverse paper (148 mm by 210 mm)

PaperB4

B4 paper (250 mm by 353 mm)

PaperB5

B5 paper (176 mm by 250 mm)

PaperC

C paper (17 in. by 22 in.)

PaperD

D paper (22 in. by 34 in.)

PaperE

E paper (34 in. by 44 in.)

PaperExecutive

Executive paper (7.25 in. by 10.5 in.)

PaperFanfoldGermanLegal

German legal fanfold (8.5 in. by 13 in.)

PaperFanfoldGermanStandard

German standard fanfold (8.5 in. by 12 in.)

PaperFanfoldUsStandard

US standard fanfold (14.875 in. by 11 in.)

PaperFolio

Folio paper (8.5 in. by 13 in.)

PaperIsoB4

ISO B4 (250 mm by 353 mm)

PaperIsoB5Extra

ISO B5 extra paper (201 mm by 276 mm)

PaperJapaneseDoublePostcard

Japanese double postcard (200 mm by 148 mm)

PaperJisB5Transverse

JIS B5 transverse paper (182 mm by 257 mm)

PaperLedger

Ledger paper (17 in. by 11 in.)

PaperLegal

Legal paper (8.5 in. by 14 in.)

PaperLegalExtra

Legal extra paper (9.275 in. by 15 in.)

PaperLetter

Letter paper (8.5 in. by 11 in.)

PaperLetterExtra

Letter extra paper (9.275 in. by 12 in.)

PaperLetterExtraTransverse

Letter extra transverse paper (9.275 in. by 12 in.)

PaperLetterPlus

Letter plus paper (8.5 in. by 12.69 in.)

PaperLetterSmall

Letter small paper (8.5 in. by 11 in.)

PaperLetterTransverse

Letter transverse paper (8.275 in. by 11 in.)

PaperNote

Note paper (8.5 in. by 11 in.)

PaperQuarto

Quarto paper (215 mm by 275 mm)

PaperStandard9_11

Standard paper (9 in. by 11 in.)

PaperStandard10_11

Standard paper (10 in. by 11 in.)

PaperStandard10_14

Standard paper (10 in. by 14 in.)

PaperStandard11_17

Standard paper (11 in. by 17 in.)

PaperStandard15_11

Standard paper (15 in. by 11 in.)

PaperStatement

Statement paper (5.5 in. by 8.5 in.)

PaperSuperA

SuperASuperAA4 paper (227 mm by 356 mm)

PaperSuperB

SuperBSuperBA3 paper (305 mm by 487 mm)

PaperTabloid

Tabloid paper (11 in. by 17 in.)

PaperTabloidExtra

Tabloid extra paper (11.69 in. by 18 in.)

Envelope6_3_4

6 3/4 envelope (3.625 in. by 6.5 in.)

Envelope9

#9 envelope (3.875 in. by 8.875 in.)

Envelope10

#10 envelope (4.125 in. by 9.5 in.)

Envelope11

#11 envelope (4.5 in. by 10.375 in.)

Envelope12

#12 envelope (4.75 in. by 11 in.)

Envelope14

#14 envelope (5 in. by 11.5 in.)

EnvelopeB4

B4 envelope (250 mm by 353 mm)

EnvelopeB5

B5 envelope (176 mm by 250 mm)

EnvelopeB6

B6 envelope (176 mm by 125 mm)

EnvelopeC3

C3 envelope (324 mm by 458 mm)

EnvelopeC4

C4 envelope (229 mm by 324 mm)

EnvelopeC5

C5 envelope (162 mm by 229 mm)

EnvelopeC6

C6 envelope (114 mm by 162 mm)

EnvelopeC65

C65 envelope (114 mm by 229 mm)

EnvelopeDL

DL envelope (110 mm by 220 mm)

EnvelopeInvite

Invite envelope (220 mm by 220 mm)

EnvelopeItaly

Italy envelope (110 mm by 230 mm)

EnvelopeMonarch

Monarch envelope (3.875 in. by 7.5 in.).

Instances

Eq PaperSize Source # 
Ord PaperSize Source # 
Show PaperSize Source # 
Generic PaperSize Source # 

Associated Types

type Rep PaperSize :: * -> * #

ToAttrVal PaperSize Source #

See paperSize (attribute of pageSetup), p. 1659

FromAttrVal PaperSize Source #

See paperSize (attribute of pageSetup), p. 1659

type Rep PaperSize Source # 
type Rep PaperSize = D1 (MetaData "PaperSize" "Codec.Xlsx.Types.PageSetup" "xlsx-0.6.0-IZdrXDBRg3BFENqFscUY0N" False) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PaperA2" PrefixI False) U1) (C1 (MetaCons "PaperA3" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperA3Extra" PrefixI False) U1) (C1 (MetaCons "PaperA3ExtraTransverse" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PaperA3Transverse" PrefixI False) U1) (C1 (MetaCons "PaperA4" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperA4Extra" PrefixI False) U1) (C1 (MetaCons "PaperA4Plus" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PaperA4Small" PrefixI False) U1) (C1 (MetaCons "PaperA4Transverse" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperA5" PrefixI False) U1) (C1 (MetaCons "PaperA5Extra" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PaperA5Transverse" PrefixI False) U1) (C1 (MetaCons "PaperB4" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperB5" PrefixI False) U1) (C1 (MetaCons "PaperC" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PaperD" PrefixI False) U1) (C1 (MetaCons "PaperE" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperExecutive" PrefixI False) U1) (C1 (MetaCons "PaperFanfoldGermanLegal" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PaperFanfoldGermanStandard" PrefixI False) U1) (C1 (MetaCons "PaperFanfoldUsStandard" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperFolio" PrefixI False) U1) (C1 (MetaCons "PaperIsoB4" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PaperIsoB5Extra" PrefixI False) U1) (C1 (MetaCons "PaperJapaneseDoublePostcard" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperJisB5Transverse" PrefixI False) U1) (C1 (MetaCons "PaperLedger" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PaperLegal" PrefixI False) U1) (C1 (MetaCons "PaperLegalExtra" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperLetter" PrefixI False) U1) ((:+:) (C1 (MetaCons "PaperLetterExtra" PrefixI False) U1) (C1 (MetaCons "PaperLetterExtraTransverse" PrefixI False) U1))))))) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PaperLetterPlus" PrefixI False) U1) (C1 (MetaCons "PaperLetterSmall" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperLetterTransverse" PrefixI False) U1) (C1 (MetaCons "PaperNote" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PaperQuarto" PrefixI False) U1) (C1 (MetaCons "PaperStandard9_11" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperStandard10_11" PrefixI False) U1) (C1 (MetaCons "PaperStandard10_14" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PaperStandard11_17" PrefixI False) U1) (C1 (MetaCons "PaperStandard15_11" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperStatement" PrefixI False) U1) (C1 (MetaCons "PaperSuperA" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PaperSuperB" PrefixI False) U1) (C1 (MetaCons "PaperTabloid" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PaperTabloidExtra" PrefixI False) U1) (C1 (MetaCons "Envelope6_3_4" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Envelope9" PrefixI False) U1) (C1 (MetaCons "Envelope10" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Envelope11" PrefixI False) U1) (C1 (MetaCons "Envelope12" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Envelope14" PrefixI False) U1) (C1 (MetaCons "EnvelopeB4" PrefixI False) U1)) ((:+:) (C1 (MetaCons "EnvelopeB5" PrefixI False) U1) (C1 (MetaCons "EnvelopeB6" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "EnvelopeC3" PrefixI False) U1) (C1 (MetaCons "EnvelopeC4" PrefixI False) U1)) ((:+:) (C1 (MetaCons "EnvelopeC5" PrefixI False) U1) (C1 (MetaCons "EnvelopeC6" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "EnvelopeC65" PrefixI False) U1) (C1 (MetaCons "EnvelopeDL" PrefixI False) U1)) ((:+:) (C1 (MetaCons "EnvelopeInvite" PrefixI False) U1) ((:+:) (C1 (MetaCons "EnvelopeItaly" PrefixI False) U1) (C1 (MetaCons "EnvelopeMonarch" PrefixI False) U1))))))))

Lenses

PageSetup