Insert logo in my first page
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
Insert logo in my first page
Post by arnaudmrs13 »
Hello
i would like to insert a logo (.png) under my project's name on the first page for pdf and html
is it possible ?
thx
i would like to insert a logo (.png) under my project's name on the first page for pdf and html
is it possible ?
thx
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
You did not specify the type of your document. Do you want to insert the logo in a Docbook document? In that case you have to customize the Docbook schema and the Docbook stylesheets because they do not allow inserting a logo image on the title page of the transformation result (PDF or HTML).
Regards,
Sorin
You did not specify the type of your document. Do you want to insert the logo in a Docbook document? In that case you have to customize the Docbook schema and the Docbook stylesheets because they do not allow inserting a logo image on the title page of the transformation result (PDF or HTML).
Regards,
Sorin
-
- Posts: 2
- Joined: Sat Jan 05, 2008 8:05 am
- Location: Chicago
Sorin is genneraly correct, specifically if you want to get the logo in the header. But in a pinch in Docbook if you just want to see a logo of some sort on the first page of the article or book, you can inline the graphic in for example an author tag. Below is an example where I drop in a logo on the first page that during transforms to PDF uses the SVG version of the logo, and during transforms to HTML uses a PNG version.
Code: Select all
<author>
<personname>
<inlinemediaobject>
<imageobject role="fo">
<imagedata width="48px" valign="bottom" align="left" format="svg" fileref="svg/DP_Tree.svg" />
</imageobject>
<imageobject role="html">
<imagedata width="48px" align="left" format="PNG" fileref="images/DP_Tree.png"/>
</imageobject>
</inlinemediaobject>
</personname>
</author>
Return to “General XML Questions”
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