3

I would like to get text of notes for individual slides in PPT to easily accessible format in my linux machine(Ubuntu 12.04).

My goal is to convert PPT slides to image files with meta data, notes as a meta.

I have done till converting PPT to images by using unoconv & convert commands,

initially I converted PPT to PDF by using the following command,

sudo unoconv -f pdf -o output.pdf input.pptx

Second, converted these pdf files to png files using following convert command,

convert output.pdf -density 400 -quality 100 -sharpen 0x1.0 output_%01d.png

Now, I need to get notes out of it,

I tried converting PPT to xhtml to get notes by using the following unoconv command,

sudo unoconv -f xhtml -o output.xhtml input.pptx

But in the above one, can read the notes, but there is no way to parse it by code, it's not in proper structure.

Can anyone help me to get notes out of it?

Thanks in advance.

  • 1
    Please, put the comments in xml and we can try to help you to parse them. – Helio Mar 18 '15 at 12:59
  • It's an xhtml, and there is no specific tag associated with notes content, just looks like a normal div, no where mentioned that it's a notes type. – Ha329is Mar 18 '15 at 13:07
  • 1
    Try unzipping the ppt and digging around the contents:-). I thin that you may find the notes on the ppt content. – Helio Mar 18 '15 at 14:18
  • Wow thank you so much Helio, it helped, able to parse notes after unzipping pptx file. – Ha329is Mar 19 '15 at 5:09
  • 1
    You're welcome! Plese, answer yourself with the method used. – Helio Mar 19 '15 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.