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

libreoffice text conversion adn specs fixes #3

Merged
merged 6 commits into from
Jan 15, 2016
Merged

libreoffice text conversion adn specs fixes #3

merged 6 commits into from
Jan 15, 2016

Conversation

mojarra
Copy link
Contributor

@mojarra mojarra commented Dec 30, 2015

please @vjt review when you can


executioner.execute(
'pdftotext',
pdf_file,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need this extra pdf_file variable, "#{job.content_file}.pdf" is enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1

@mojarra
Copy link
Contributor Author

mojarra commented Dec 31, 2015

@vjt fixed and commented

'pdftotext',
"#{job.content_file}.pdf",
target_file
)
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't look right, if to_suffix is txt convert it to a PDF?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I see, you convert it from OO -> PDF -> TXT 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes @lucaspiller because OO -> TXT is not working right for xlsx and ppt

vjt added a commit that referenced this pull request Jan 15, 2016
libreoffice text conversion and specs fixes
@vjt vjt merged commit 63d4fe0 into master Jan 15, 2016
@tagliala tagliala deleted the develop branch April 3, 2020 17:20
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.

None yet

3 participants