Add image to header

Is there any way to add an image to a header section so that it can repeat on each page?

I'm able to add the image to the header box when I mark the image as inline, but I can't seem to have it on the same line. Maybe I need to add another column to the box like the footer has with the page numbers??? I'm new to Pages so I will just keep playing with it. Thanks!

Similar Messages

  • How do i add images in the header and footer to a PDF using iText

    Hi ,
    I want to add images to the header and footer of every page while i am genrating a pdf i have created a separate class called EndPage which i am instanceiating its default constructor in another class 's button action method.
    The above code genrates a PDF for me however it genrates a file with file size zero bytes and does not open it following is my sample code
    //**********Any Help would be appreciated
    Thank You
    public class My_Class
    public String pdf_action()
    EndPage ep=new EndPage();
    return null;
    }//My_class Ends
    class EndPage extends PdfPageEventHelper
    * Demonstrates the use of PageEvents.
    * @param args no arguments needed
    public EndPage()
    try {
    com.lowagie.text.Document document = new Document(PageSize.A4, 50, 50, 70, 70);
    PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("D://proposals/endpage.pdf"));
    writer.setPageEvent(new EndPage());
    document.open();
    String text = "Lots of text. ";
    for (int k = 0; k < 10; ++k)
    text += text;
    document.add(new Paragraph(text));
    document.close();
    catch (Exception de) {
    de.printStackTrace();
    public void onEndPage(PdfWriter writer, Document document) {
    try {
    Rectangle page = document.getPageSize();
    PdfPTable head = new PdfPTable(3);
    for (int k = 1; k <= 6; ++k)
    head.addCell("head " + k);
    head.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
    head.writeSelectedRows(0, -1, document.leftMargin(), page.height() - document.topMargin() + head.getTotalHeight(),
    writer.getDirectContent());
    PdfPTable foot = new PdfPTable(3);
    for (int k = 1; k <= 6; ++k)
    foot.addCell("foot " + k);
    foot.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
    foot.writeSelectedRows(0, -1, document.leftMargin(), document.bottomMargin(),
    writer.getDirectContent());
    catch (Exception e) {
    throw new ExceptionConverter(e);
    }

    Hi,
    Thanks for the quick response.
    The problem is that when I keep the logo as a watermark, the pdf is not adjusting itself to include the logo as header.
    But if I add a header text via Tools -> Headers and Footers, the pdf is adjusting itself so that the header text is at the beginning , not overlapping with the contents of pdf.
    But while using logo as watermark, some times overlapping of the pdf contents and logo is happening.
    Is there any way to add a logo in the Header and Footer via the option in Tools -> Headers and Footers
    Thanks,
    Vidhya

  • How to add image in jtable header using 'Default table model'

    Hi,
    I created a table using "DefaultTableModel".
    im able to add images in table cells but not in 'table header'.
    i added inages in table by overriding "getColumnClass" of the DefaultTableModel.
    But what to do for headers?
    please help.
    Thanks in advance.

    The 'Java 5 tutorial' is really an outstanding oneI should note the the current tutorial on the Sun website has bee updated for Java 6. It contains updates to reflect the changes made in JDK6. Once of the changes is that sorting of tables is now supported directly which is why I needed to give you the link to the old tutorial.
    http://java.sun.com/docs/books/tutorial/uiswing/TOC.html

  • Add image in Group Header

    Hi All
    Cud anyone tell me how to add/upload image in Header of element "Group"??
    Regards.
    Nikhil.

    Hi Nikhil,
        First Put the Required Image in the following Path
    1.)If it is Web Dynpro Project
    Go to Work Space --> <Project Name>\src\mimes\Components\<Package Name>\<Your Required Image>
    2.)If it is Development Component
    C:\Documents and Settings\<User Name>\.dtc\LocalDevelopment\DCs\<Vendor>\<DC Name>\_comp\src\mimes\Components\<Package Name>\<Your Required Image>
    after that in the Group header properties go to the imageSource = <Image Name>.<Extension Name>
    Ex:- imageSource = Flower.jpg (Image Name is Case Sensitive)
    Note:- Web Dynpro Supports Jpg/Jpeg & gif Images.
    With Regards,
    Roop Kumar.
    Edited by: Roop kumar Annavarapu on Sep 1, 2008 8:30 AM

  • How to add a image to header of exporting pdf in devexpress gridview

    hi guys ;
    how to add a image to header of exporting pdf in devexpress gridview content

    Hi Aly14,
    I am not sure what the type of your project was, is it a C# project or an asp.net project?
    If would be helpful if you could share us more information about your issue.
    In addition, I made a research about your issue and I think the links below might be useful to you:
    # ASPxGridView insert an image for Header and Footer sections for pdf export
    https://www.devexpress.com/Support/Center/Question/Details/Q37155
    # Adding an "Export Header" to PDF export in MvcGridView
    https://www.devexpress.com/Support/Center/Question/Details/T141918
    Best Regards,
    Edward
    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Add Image in ABAP Report

    Hi All,
    I want add image in ABAP Report.
    Please let me know how it can be done?
    Regards,
    Jagdish More

    Hi Jagdish,
    to upload the image follow these steps.
    1. Upload image in web repository.
    Go to Transaction SMW0 to upload the image in SAP web Repository. elect second radiobutton u201DBinary data for WebRFC applicationsu201D and click on find.
    2.     Click on Execute.
    3.     Click on Create and give the obj.name and description and click on import.
    once the image gets uploaded.in your program do the following
    1.     Create a Screen.Go to Layout and create Custom Control.I have named it as u2018CONTAINERu2019.
    2.     Declare container(Custom Control name),picture(child of Container) and url in Top of the program.
    data container type ref to cl_gui_custom_container.
    data picture type ref to cl_gui_picture.
    data url(256).
    3.     Now create the object Container and Picture.
    create object container
           exporting container_name = 'CONTAINER'.//name of the custom control
        create object picture
           exporting  parent = container
           exceptions error = 1.
    4.     Now we have to load the picture from the database which we have uploaded. For this we need to declare the following:-
      data query_table like w3query occurs 1 with header line.
      data html_table like w3html occurs 1.
      data return_code like  w3param-ret_code.
      data content_type like  w3param-cont_type.
      data content_length like  w3param-cont_len.
      data pic_data like w3mime occurs 0.
      data pic_size type i.
    5.     Refresh the Query table and give the name of Query table as u2018_OBJECT_ID_u2019 and value as the name of logo/Image which u have uploaded.Append the value in the Query Table.
      refresh query_table.
      query_table-name = '_OBJECT_ID'.
      query_table-value = 'ZLOGO.GIF'."name of logo
      append query_table.
    6.     Now call the function WWW_GET_MIME_OBJECT to get the logo/image which u have uploaded and call the function DP_CREATE_URL to create the url where the image is present.
    call function 'WWW_GET_MIME_OBJECT'
        tables
          query_string        = query_table
          html                = html_table
          mime                = pic_data
        changing
          return_code         = return_code
          content_type        = content_type
          content_length      = content_length
        exceptions
          object_not_found    = 1
          parameter_not_found = 2
          others              = 3.
      if sy-subrc = 0.
        pic_size = content_length.
      endif.
      call function 'DP_CREATE_URL'
        exporting
          type     = 'image'
          subtype  = cndp_sap_tab_unknown
          size     = pic_size
          lifetime = cndp_lifetime_transaction
        tables
          data     = pic_data
        changing
          url      = url
        exceptions
          others   = 1.
    7.     Finally we have to upload the image from the URL, this can be done by calling the method: picture->load_picture_from_url
    call method picture->load_picture_from_url
    exporting
    url = url.
    Now Save,Activate and Execute the Program , Image/Logo got successfully uploaded.
    I have already done this program and uploaded the image...
    this will surely help you
    Thanks and regards,
    Tanmaya

  • How to add image in ejb web service

    Hello Community,
    I am writing web service to create a PDF file using itext API. In PDF file i want to add an image.
    Can someone please tell that , how can i add image(jpeg, png , etc.) to an ejb web service?
    Thanks in advance
    Regards,
    Dishant Chawla

    Hi,
    Please check the below code which i used to add image to the header using iText . Similarly you can add image directly to the document also as a element.
    Adding image as Header:
    httpServletRequest = request.getServletRequest();
    domainURL=httpServletRequest.getScheme()+"://"+httpServletRequest.getServerName();
    imgLogo=domainURL+request.getWebResourcePath()+"/images/XXXX.jpg";
    image =Image.getInstance(imgLogo);
    image.scalePercent(22);// As per you need
    chunk = new Chunk(image, 0, -20);
    HeaderFooter header_pdf = new HeaderFooter(new Phrase(chunk), false); // here i have added image as header
    header_pdf.disableBorderSide(0);
    header_pdf.setAlignment(Element.ALIGN_CENTER);
    header_pdf.setBorder(0);
    document.setHeader(header_pdf);
    (or)
    Adding Image a Element:
    httpServletRequest = request.getServletRequest();
    domainURL=httpServletRequest.getScheme()+"://"+httpServletRequest.getServerName();
    imgLogo=domainURL+request.getWebResourcePath()+"/images/XXXX.jpg";
    image =Image.getInstance(imgLogo);
    image.scalePercent(22);
    document.add(image);
    Java IText: Image | tutorials.jenkov.com
    Regards,
    Srinivasan V

  • Add Image in the navigation bar of Help page

    Hi,
    I wanted to add image next to to the Search in the Help page navigation bar as in snapshot below:
    I wanted to add an image i.e the the logo next to above button in navigation bar. I tried adding , howevr could only add as Header, not right in the navigation pane. Correct me if I m wrong, the navigation control can be configured while generation web output. I coudnt find any other option to do this.
    Please let me your inputs on this.
    Thanks,
    Pallavi

    Hi all
    Sorry Colum, I think you are wrong. That looks exactly like a WebHelp Search dialog.
    Pallavi, I am thinking the answer for you may be a simple one. Use the WebHelp skin editor. There you should see an option to choose the image used for the Go button.
    I'm not exactly sure what version you are using. But I'll insert a screen capture of RoboHelp 7 below.
    My thought here is that you could create an image that includes your company logo along with the Go button. Then use that image for the Go button. Sure, both the company logo as well as the Go button would be clickable, but it should do the job, no?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • BTF : Add Image in BTF editor in WebUI

    Hello Everyone,
    I have added a view as a assignment block in standard component, everything is working fine, the text gets added to the BTF editor, however, When i insert the image, it shows up as a empty box with nothing inside it.
    Although this is working in the standard mail component, i have noticed that the link which gets created when clicking on HTML code, when an image is added as
    <HTML><HEAD>
    <META content="text/html; charset=utf-8" http-equiv=content-type></HEAD>
    <BODY>
    <P>Test</P>
    <P><IMG alt="" src="/sap/bc/contentserver/810?get&amp;pVersion=0046&amp;contRep=CRMFILESYSTEM&amp;docId=535544E2AA367F60E10000000A3C2861&amp;compId=manoj.jpg&amp;accessMode=r&amp;authId=CN%3DKCL&amp;expiration=20140422112113&amp;secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA0tDTAIHIBMREyBRBTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNDIyMDkyMTEzWjAjBgkqhkiG9w0BCQQxFgQUt2vLLx6bbf5mUpbt09CcyczIugYwCQYHKoZIzjgEAwQuMCwCFE53hCWxhYgv0N2ky80blV7wcjRBAhQBWV41%2B1Gu9UpJmFWRqn68C2YB9w%3D%3D"></P></BODY></HTML>
    However, when I look at my code the link gets created like this
    <P>lets add<STRONG> picture of <FONT color=#009900>Manoj. </FONT></STRONG></P>
    <P><IMG alt=file://C:\Users\pradeep\Desktop\test.jpg></P>
    <P> </P>
    <P> </P>
    <P> </P></BODY></HTML>
    It seems like I am not able to add the image in the content server and fetch it again to display it in my view.
    here is my HTML code in the view
    <%@page language="ABAP" %>
    <%@extension name="btf" prefix="btf" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="thtmlbx" prefix="thtmlbx" %>
             <thtmlbx:btf id                 = "BTFEditor"
                         document            = "<%= s_documentdata-btf_doc %>"
                         height              = "400"
                         width               = "95%"
                         onClientInsertImage = "InsertImage_BTFEditor(id);"
                         onClientInsertLink  = "InsertLink_BTFEditor(id);"
                         sourceView          = "<%= sourceview %>"
                         secureInsertImage   = "X"
                         />
    So my question is, do we have to write separate code to add image, as i am set and getting the text successfully from the content server.
    Could someone please throw a light on this and help with some code logic.
    Regards,
    Pradeep

    Hi Hammad,
    You can do this by adding a text box to your landing page, right clicking it, and selecting "Edit Source". In the source code, you can specify the link of your image, like this:
    <img src="http://imageurlgoeshere.jpg">
    You'll need to make sure the dimensions of the text box are as big as or bigger than the dimensions of your image so the image doesn't get cut off.
    Hope this helps!
    Ida

  • BTF : Add Image BTF editor in WebUI

    Hello Everyone,
    I have added a view as a assignment block in standard component, everything is working fine, the text gets added to the BTF editor, however, When i insert the image, it shows up as a empty box with nothing inside it.
    Although this is working in the standard mail component, i have noticed that the link which gets created when clicking on HTML code, when an image is added as
    <HTML><HEAD>
    <META content="text/html; charset=utf-8" http-equiv=content-type></HEAD>
    <BODY>
    <P>Test</P>
    <P><IMG alt="" src="/sap/bc/contentserver/810?get&amp;pVersion=0046&amp;contRep=CRMFILESYSTEM&amp;docId=535544E2AA367F60E10000000A3C2861&amp;compId=manoj.jpg&amp;accessMode=r&amp;authId=CN%3DKCL&amp;expiration=20140422112113&amp;secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA0tDTAIHIBMREyBRBTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNDIyMDkyMTEzWjAjBgkqhkiG9w0BCQQxFgQUt2vLLx6bbf5mUpbt09CcyczIugYwCQYHKoZIzjgEAwQuMCwCFE53hCWxhYgv0N2ky80blV7wcjRBAhQBWV41%2B1Gu9UpJmFWRqn68C2YB9w%3D%3D"></P></BODY></HTML>
    However, when I look at my code the link gets created like this
    <P>lets add<STRONG> picture of <FONT color=#009900>Manoj. </FONT></STRONG></P>
    <P><IMG alt=file://C:\Users\pradeep\Desktop\test.jpg></P>
    <P> </P>
    <P> </P>
    <P> </P></BODY></HTML>
    It seems like I am not able to add the image in the content server and fetch it again to display it in my view.
    here is my HTML code in the view
    <%@page language="ABAP" %>
    <%@extension name="btf" prefix="btf" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="thtmlbx" prefix="thtmlbx" %>
             <thtmlbx:btf id                 = "BTFEditor"
                         document            = "<%= s_documentdata-btf_doc %>"
                         height              = "400"
                         width               = "95%"
                         onClientInsertImage = "InsertImage_BTFEditor(id);"
                         onClientInsertLink  = "InsertLink_BTFEditor(id);"
                         sourceView          = "<%= sourceview %>"
                         secureInsertImage   = "X"
                         />
    So my question is, do we have to write separate code to add image, as i am set and getting the text successfully from the content server.
    Could someone please throw a light on this and help with some code logic.
    Regards,
    Pradeep

    Sunenny,
    Yes, it would take something like that. Another option, although not any easier really, it to use the latest CKEditor.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • How do I add images to the jquery slider provided in Dreamweaver CC?

    I have inserted the slider using the DW CC Insert > JQueryUI > Slider, but find no Properties options to add images to it. Is there a missing interface for that or some tutorial? Can't find anything. I'm not a coder, which is why I use DW.
    Thanks,
    Jack

    I've never used the widgets in DW because honestly the code seems very bloated for such a simple task.  By comparison, the code for jQuery Cycle2 is very light and easy to understand.   Copy & paste this into a new, blank document.  Change images to your own.  SaveAs cycle-test.html. Preview in your browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Cycle2</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Slideshow Plugin-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    /**CSS Reset**/
    margin:0;
    padding:0;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    /**Slideshow styles**/
    .cycle-slideshow {
        width: 500px; /**adjust width as required**/
        margin: 0 auto;
        text-align: center;
        position:relative;
    .cycle-slideshow img { max-width: 100%;; display:block; vertical-align:baseline; }
    </style>
    </head>
    <body>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-pause-on-hover="true"
        data-cycle-speed="1200"
        data-cycle-timeout="2000"
        data-cycle-slides="> div"
    >
    <!--INSERT YOUR IMAGES & LINKS BELOW-->
    <div>
    <a href="http://example.com"><img alt="description" src="http://placehold.it/500x325/198EBA/FFFFFF&text=SLIDE-1.jpg">Slide 1</a>
    <p>Optional text for slide-1 goes here...</p>
    </div>
    <div>
    <a href="http://example.com"><img alt="description" src="http://placehold.it/500x325/2A4D6B/FFFFFF&text=SLIDE-2.jpg">Slide 2</a>
    <p>Optional text for slide-2 goes here...</p>
    </div>
    <div>
    <a href="http://example.com"><img alt="description" src="http://placehold.it/500x325/FFC000/000000&text=SLIDE-3.jpg">Slide 3</a>
    <p>Optional text for slide-3 goes here...</p>
    </div>
    <!--end slideshow-->
    </div>
    </body>
    </html>
    Nancy O.

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
    Wont send any of these questions through this email anymore but really needed assistance.
    Thanks,
    Gordon

    On the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?

  • How to add Images and PDFs in MDM iView

    Hello!
    We use SAP Portal as interfase to access SAP MDM repository tables.We use MDM Record Set and MDM Item Detail iViews to display and operate with main table content.
    There is a field in the qualified table, which is the lookup to the Images table. And the other field is the lookup to the PDFs table. Both fields are qualifiers.
    In the main table there is a field, which is the lookup to the qualified table. When we try to add values to this field using Item Detail iView, we get a window, where we can fill all values of the qualified table, except Image field and PDF field - they are disabled. So, can we add Images and PDFs to the table using Item Datail iView? Or what is the other way to add them?
    Thanks,
    Vika
    Message was edited by:
            Viktoria Demina

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • Add Image to a Conformation Dialog box button

    Hi All,
          Ho to add Image to a Conformation Dialog box button?????
    2. How to put <b>X</b> (to cancel) at right upper corner of dialog box.
    null

    Hi ,
    It would not be possible to add images in it. Use dialog boxes instead.
    Create a view ... add an image UI element ..use imgSource as ~sapicons/image name or paste the image in src/mimes/components/ur comp name and give that for source.
    You can create linktoaction.. and on its image property add an image for X and put that in one corner of the dialog box. and execute cancel action. when its clicked..
    Regards
    Bharathwaj

  • Question about TextEdit. How do i add a custom header to a multipage document? For example, "Smith, page 2", "Smith, page 3', etc. I can do it in Microsoft Word, but cant figure out how in TextEdit.

    How do i add custom headers to a multipage document in TextEdit? i need to add a custom header in upper right of page, for example: "Smith, page 2", "Smith, page 3" etc.  The add header setting in Textedit file-print only adds date : time in upper right, with "Page 1 of 3" on bottom right.
    Thank you.

    It's just a text editor not a word processor.

Maybe you are looking for