Title: Extract, Convert, and Merge 'pdf' Files from 'zip' Files
Version: 1.0.5
Description: Extracts 'zip' files, converts 'Word', 'Excel', and 'html'/'htm' files to 'pdf' format. 'Word' and 'Excel' conversion uses 'VBScript', while 'html'/'htm' conversion uses 'webshot' and 'PhantomJS'. Additionally, the package merges 'pdf' files into a single document. This package is only supported on 'Windows' due to 'VBScript' dependencies.
License: GPL (≥ 3)
Encoding: UTF-8
Imports: fs, pdftools, rstudioapi, utils, webshot
RoxygenNote: 7.3.2
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2025-03-29 07:27:51 UTC; lijin
Author: Lijin Arakkandathil Thekkathil [aut, cre]
Maintainer: Lijin Arakkandathil Thekkathil <lijin5673@gmail.com>
Repository: CRAN
Date/Publication: 2025-03-30 17:30:02 UTC

Convert Word & Excel Files to PDFs using 'VBScript'

Description

Convert Word & Excel Files to PDFs using 'VBScript'

Usage

convert_files_to_pdf(folder_path)

Arguments

folder_path

The directory containing Word and Excel files

Value

No return value, called for side effects.


Convert HTML/HTM Files to PDF Automatically installs 'PhantomJS' if missing.

Description

Convert HTML/HTM Files to PDF Automatically installs 'PhantomJS' if missing.

Usage

convert_html_to_pdf(folder_path)

Arguments

folder_path

The directory where ZIP files are extracted.

Value

No return value, called for side effects.


Extract ZIP Files in a Given Folder

Description

Extract ZIP Files in a Given Folder

Usage

extract_zip_files(folder_path)

Arguments

folder_path

The directory containing ZIP files

Value

No return value, called for side effects.


Merge PDFs in Alphabetical Order

Description

Merge PDFs in Alphabetical Order

Usage

merge_pdfs(folder_path)

Arguments

folder_path

The directory containing sub-folders with PDF files

Value

Character vector with the path of the merged PDF file.


Run the Full Process: Extract, Convert, and Merge PDFs

Description

Run the Full Process: Extract, Convert, and Merge PDFs

Usage

run_app(folder_path = NULL)

Arguments

folder_path

The directory containing files for processing. If NULL, the user is prompted to select a directory interactively.

Value

No return value, called for side effects.