PageIO-0.0.3: Page-oriented extraction and composition librarySource codeContentsIndex
Text.PageIO.Transform
Documentation
data Doc Source
Constructors
MkDoc
docMeta :: !SheetResult
docContent :: !ByteString
show/hide Instances
type ValueMap = LabelMap [Value]Source
data AppliedVariable Source
Constructors
MkAppliedVariable
avRow :: !Row
avCol :: !Col
avValue :: !Value
show/hide Instances
data Slot Source
Constructors
MkSlot
slotSize :: !Row
slotBlocks :: ![Label]
show/hide Instances
type Ordered a = ([OrderBy (Maybe Value)], a)Source
data BlockData Source
Constructors
MkBlockData
dataSize :: !Row
dataAreas :: ![Ordered FieldBinding]
show/hide Instances
type PageCapacity = [Slot]Source
type FitAttempt = LabelMap BlockDataSource
type PageBinding = LabelMap [FieldBinding]Source
type FieldBinding = (Area, LabelMap Bound)Source
parsePages :: Sheet -> [Page] -> [Doc]Source
emitDoc :: [(SheetResult, Page)] -> DocSource
transformPages :: Sheet -> [Page] -> Sheet -> [Page] -> [Doc]Source
makeDoc :: Sheet -> [DocBinding] -> DocSource
packPages :: [Page] -> ByteStringSource
data DocBinding Source
Constructors
MkDocBinding
docValueMap :: !ValueMap
docResult :: !SheetResult
docPage :: !Page
docBinding :: !PageBinding
show/hide Instances
bindDoc :: Sheet -> [Page] -> [SheetResult] -> [DocBinding]Source
doGroupBlockData :: LabelMap [Label] -> LabelMap (LabelMap Field) -> Label -> BlockData -> BlockDataSource
doExpandFields :: LabelMap Field -> Ordered FieldBinding -> Ordered FieldBindingSource
replaceWith :: Value -> Value -> Value -> ValueSource
doGroupArea :: [Label] -> LabelMap Field -> [Ordered FieldBinding] -> [Ordered FieldBinding]Source
doGroupRows :: LabelMap Field -> [Ordered FieldBinding] -> Ordered FieldBindingSource
repeatTails :: [a] -> [[a]]Source
constToPattern :: Sheet -> SheetSource
fillVariables :: Sheet -> [SheetResult] -> [Page] -> [Page]Source
formatInt :: Int -> Int -> ValueSource
formatFloat :: Int -> Int -> ValueSource
makeValueMap :: SheetResult -> ValueMapSource
makePage :: Sheet -> PageBinding -> Page -> PageSource
doGroupBy :: [(Block, LabelMap Bound)] -> [(Block, LabelMap Bound)]Source
replacePage :: (Page, Box) -> (Block, LabelMap Bound) -> (Page, Box)Source
replaceArea :: Box -> [Area] -> Page -> PageSource
clearArea :: Box -> Page -> PageSource
fillArea :: Row -> Col -> Area -> Page -> PageSource
fillLine :: Col -> (Value, Value) -> ValueSource
doCapacity :: Sheet -> [PageCapacity] -> SheetResult -> [PageCapacity]Source
doAttempt :: LabelMap [OrderBy Label] -> FitAttempt -> SheetResult -> FitAttemptSource
areaRows :: Area -> RowSource
fillPageVariables :: LabelMap AppliedVariable -> Page -> PageSource
valueToArea :: Value -> AreaSource
sheetVariableFields :: Sheet -> (LabelMap Field, LabelMap Field)Source
sheetBlockOrderBys :: Sheet -> LabelMap [OrderBy Label]Source
sheetBlockGroupBys :: Sheet -> LabelMap [Label]Source
sheetBlockFields :: Sheet -> LabelMap (LabelMap Field)Source
gatherForSheetBlock :: (Block -> a) -> Sheet -> LabelMap aSource
tryFit :: [PageCapacity] -> FitAttempt -> Maybe [PageBinding]Source
fitOnePage :: [Slot] -> (PageBinding, FitAttempt) -> (PageBinding, FitAttempt)Source
fitOneSlot :: Slot -> (PageBinding, FitAttempt) -> (PageBinding, FitAttempt)Source
Produced by Haddock version 2.6.0