Is it possible to show a virtual file with the HTMLview class?
Greetings
Virtual file and HTMLview?
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Virtual file and HTMLview?
Sure:
Code: Select all
moai.Set("htmlview", "contents", FileToString(virtualfile$))
Re: Virtual file and HTMLview?
Thx
Is this also possible with a virtual PDF file?
Because when trying with a virtual PDF, I get the following error message:
Due to the possibility to print a PDF via HTMLview I would like to do that with virtual PDFs too.
Is this also possible with a virtual PDF file?
Because when trying with a virtual PDF, I get the following error message:
The number is the file size.Attribute "321492" not recognized for this class!
Due to the possibility to print a PDF via HTMLview I would like to do that with virtual PDFs too.
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Virtual file and HTMLview?
HTMLview cannot view PDF files. It only views HTML files (version 4 or less on Amiga-like operating systems usually).
Polybios plugin can view PDF files though. If you need to view a PDF on a RapaGUI layout, use the Hollywood Bridge as indicated on https://hollywood-mal.com/docs/html/rap ... ridge.html and https://hollywood-mal.com/docs/html/pol ... Anims.html.
Polybios plugin can view PDF files though. If you need to view a PDF on a RapaGUI layout, use the Hollywood Bridge as indicated on https://hollywood-mal.com/docs/html/rap ... ridge.html and https://hollywood-mal.com/docs/html/pol ... Anims.html.
I'm on registered MorphOS using FlowStudio.
Re: Virtual file and HTMLview?
Ah ok.SamuraiCrow wrote: ↑Tue Sep 11, 2018 11:22 pm HTMLview cannot view PDF files. It only views HTML files (version 4 or less on Amiga-like operating systems usually).
Polybios plugin can view PDF files though. If you need to view a PDF on a RapaGUI layout, use the Hollywood Bridge as indicated on https://hollywood-mal.com/docs/html/rap ... ridge.html and https://hollywood-mal.com/docs/html/pol ... Anims.html.
However, viewing PDFs via HTMLview works fine on Windows, so I was hoping that it could work with virtual PDFs as well.
Nevertheless, thanks for the info, I'll try that.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact: