The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

textconv::pdf - optex::textconv submodule to handle PDF files

VERSION

Version 1.07

SYNOPSIS

optex command -Mtextconv

optex command -Mtextconv::pdf::set(pagebreak=number) -Mtextconv

DESCRIPTION

This is a submodule for App::optex::textconv to handle PDF documents. You don't have to call it explicitly.

OPTIONS

To set options, call textconv::pdf module before textconv.

    optex command -Mtextconv::pdf::set(pagebreak=number) -Mtextconv ...

Accept following parameters.

pagebreak=type

Takes one of follwoing types. Default is rule.

rule

Draw horizontal rule. Default is successive 78 characters of -. Looks width and mark parameter.

number

Print page number. Format is defined by format parameter.

np

Print ASCII new page code (^L, 0x0c).

width

Set length of horizontal rule. Default is 78.

mark

Set character to used in horizontal rule. Default is -.

format

Define format for number parameter. Default is [ Page %d ].

raw

Use -raw option with pdftotext(1) command.

SEE ALSO

https://github.com/kaz-utashiro/optex

https://github.com/kaz-utashiro/optex-textconv

AUTHOR

Kazumasa Utashiro

LICENSE

Copyright 2019-2022 Kazumasa Utashiro.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.