Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDFCLOUD-2811 Add Office file format samples #52

Merged

Conversation

datalogics-cgreen
Copy link
Contributor

@datalogics-cgreen datalogics-cgreen commented Nov 1, 2023

Samples for:

  • /word
  • /excel
  • /powerpoint

@datalogics-cgreen datalogics-cgreen marked this pull request as draft November 1, 2023 22:34
@datalogics-cgreen datalogics-cgreen force-pushed the pdfcloud-2811-office branch 3 times, most recently from 20c63e4 to 983f3c8 Compare November 7, 2023 23:18
@datalogics-cgreen datalogics-cgreen marked this pull request as ready for review November 7, 2023 23:19
@datalogics-tsmith datalogics-tsmith self-assigned this Nov 8, 2023
// Create a new form data instance and append the PDF file and parameters to it
var data = new FormData();
data.append('file', fs.createReadStream('/path/to/file'));
data.append('output', 'pdfrest_linearized_pdf');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data.append('output', 'pdfrest_linearized_pdf');
data.append('output', 'pdfrest_excel_pdf');

// Create a new form data instance and append the PDF file and parameters to it
var data = new FormData();
data.append('file', fs.createReadStream('/path/to/file'));
data.append('output', 'pdfrest_linearized_pdf');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data.append('output', 'pdfrest_linearized_pdf');
data.append('output', 'pdfrest_powerpoint_pdf');

// Create a new form data instance and append the PDF file and parameters to it
var data = new FormData();
data.append('file', fs.createReadStream('/path/to/file'));
data.append('output', 'pdfrest_linearized_pdf');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data.append('output', 'pdfrest_linearized_pdf');
data.append('output', 'pdfrest_word_pdf');

@datalogics-tsmith datalogics-tsmith merged commit 257673e into datalogics:main Nov 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants