pdf-toolbox-content-0.1.1: A collection of tools for processing PDF files
Safe HaskellNone
LanguageHaskell2010

Pdf.Content.Ops

Description

Content stream operators

Synopsis

Documentation

data Op Source #

Content stream operators

Constructors

Op_q

Graphics State Operators

Op_Q 
Op_cm 
Op_w 
Op_J 
Op_j 
Op_M 
Op_d 
Op_ri 
Op_i 
Op_gs 
Op_m

Path Construction Operators

Op_l 
Op_c 
Op_v 
Op_y 
Op_h 
Op_re 
Op_S

Path Painting Operators

Op_s 
Op_f 
Op_F 
Op_f_star 
Op_B 
Op_B_star 
Op_b 
Op_b_star 
Op_n 
Op_W

Clipping Path Operators

Op_W_star 
Op_BT

Text Object Operators

Op_ET 
Op_Tc

Text State Operators

Op_Tw 
Op_Tz 
Op_TL 
Op_Tf 
Op_Tr 
Op_Ts 
Op_Td

Text Positioning Operators

Op_TD 
Op_Tm 
Op_T_star 
Op_Tj

Text Showing Operators

Op_apostrophe 
Op_quote 
Op_TJ 
Op_d0

Type 3 Font Operators

Op_d1 
Op_CS

Color Operators

Op_cs 
Op_SC 
Op_SCN 
Op_sc 
Op_scn 
Op_G 
Op_g 
Op_RG 
Op_rg 
Op_K 
Op_k 
Op_sh

Shading Operator

Op_BI

Inline Image Operators

Op_ID 
Op_EI 
Op_Do

XObject Operator

Op_MP

Marked Content Operators

Op_DP 
Op_BMC 
Op_BDC 
Op_EMC 
Op_BX

Compatibility Operators

Op_EX 
UnknownOp ByteString

Unknown

Instances

Instances details
Eq Op Source # 
Instance details

Defined in Pdf.Content.Ops

Methods

(==) :: Op -> Op -> Bool #

(/=) :: Op -> Op -> Bool #

Show Op Source # 
Instance details

Defined in Pdf.Content.Ops

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

data Expr Source #

Expression is a regular objects or an operators

Constructors

Obj Object 
Op Op 

Instances

Instances details
Eq Expr Source # 
Instance details

Defined in Pdf.Content.Ops

Methods

(==) :: Expr -> Expr -> Bool #

(/=) :: Expr -> Expr -> Bool #

Show Expr Source # 
Instance details

Defined in Pdf.Content.Ops

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

type Operator = (Op, [Object]) Source #

Operator with arguments

toOp :: ByteString -> Op Source #

Conversion to operator