Controlling pdf toolbar in Chrome
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 37
- Joined: Tue Apr 13, 2021 9:48 pm
Controlling pdf toolbar in Chrome
Post by Jeff_Reynolds »
When I create an xref to a pdf file, how do I set the attributes to pass the attributes to suppress the toolbar etc.
HTML would be
HTML would be
Code: Select all
<embed
src="http://URL_TO_PDF.com/pdf.pdf#toolbar=0&navpanes=0&scrollbar=0"
width="425" height="425" />
-
- Posts: 37
- Joined: Tue Apr 13, 2021 9:48 pm
Re: Controlling pdf toolbar in Chrome
Post by Jeff_Reynolds »
Got it!
image.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Controlling pdf toolbar in Chrome
Hi Jeff,
That original <embed> structure you showed was probably for embedding the PDF directly in the HTML output.
Your solution seems to be by creating a link to the PDF which is not exactly the same thing but at least it works both in HTML-based and PDF-based outputs.
You could also embed directly HTML content in DITA content for the HTML based outputs:
https://www.oxygenxml.com/doc/versions/ ... -html.html
Regards,
Radu
That original <embed> structure you showed was probably for embedding the PDF directly in the HTML output.
Your solution seems to be by creating a link to the PDF which is not exactly the same thing but at least it works both in HTML-based and PDF-based outputs.
You could also embed directly HTML content in DITA content for the HTML based outputs:
https://www.oxygenxml.com/doc/versions/ ... -html.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 37
- Joined: Tue Apr 13, 2021 9:48 pm
Re: Controlling pdf toolbar in Chrome
Post by Jeff_Reynolds »
Yes you are right, I was focused on the attributes (everything after #) which will suppress the tool bar for both an xref to a pdf and a pdf embedded in a webhelp topic.
Thanks for your quick response!
Thanks for your quick response!
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service