hgeometry-ipe-0.13: Reading and Writing ipe7 files.
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageHaskell2010

Ipe.IpeToIpe

Description

Use ipetoipe to generate pdf files.

Note that all functions in this module require that ipetoipe is installed (it is bundled with ipe) and available on the path.

Synopsis

Documentation

ipeToIpeWith Source #

Arguments

:: Options

the options to use

-> FileType

output file type

-> FilePath

input file path

-> FilePath

output file path

-> IO () 

Call ipetoipe to produce an image of the specified type.

ipeToIpe :: FileType -> FilePath -> FilePath -> IO () Source #

Call ipetoipe with the default options.

writeIpeFileAsPdf :: IpeWriteText r => FilePath -> IpeFile r -> IO () Source #

Write an ipe file to disk as an ipe readable pdf file.

Note that like all other functions in this module, this requires ipetoipe to be installed (it is bundled with ipe) and available on the path.

Note this will write soem intermediate file to your system temp dir.

data FileType Source #

Constructors

PDF 
XML 

Instances

Instances details
Enum FileType Source # 
Instance details

Defined in Ipe.IpeToIpe

Eq FileType Source # 
Instance details

Defined in Ipe.IpeToIpe

Show FileType Source # 
Instance details

Defined in Ipe.IpeToIpe

data Export Source #

Constructors

RetainIpeInfo 
Export 

Instances

Instances details
Enum Export Source # 
Instance details

Defined in Ipe.IpeToIpe

Eq Export Source # 
Instance details

Defined in Ipe.IpeToIpe

Methods

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

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

Show Export Source # 
Instance details

Defined in Ipe.IpeToIpe

data NoZip Source #

Constructors

NoZip 
Zip 

Instances

Instances details
Enum NoZip Source # 
Instance details

Defined in Ipe.IpeToIpe

Eq NoZip Source # 
Instance details

Defined in Ipe.IpeToIpe

Methods

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

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

Show NoZip Source # 
Instance details

Defined in Ipe.IpeToIpe

Methods

showsPrec :: Int -> NoZip -> ShowS #

show :: NoZip -> String #

showList :: [NoZip] -> ShowS #

data PageRange Source #

Constructors

EntireFile 
PageRange (Range PageNumber)

only closed ranges are supported.

Instances

Instances details
Eq PageRange Source # 
Instance details

Defined in Ipe.IpeToIpe

Show PageRange Source # 
Instance details

Defined in Ipe.IpeToIpe

data Options Source #

Instances

Instances details
Eq Options Source # 
Instance details

Defined in Ipe.IpeToIpe

Methods

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

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

Show Options Source # 
Instance details

Defined in Ipe.IpeToIpe