Pdf format
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Pdf format

  1. #1
    Join Date
    Jun 2008
    Posts
    37

    Pdf format

    %PDF-1.0
    %®™”™¯
    1 0 obj
    <<
    /CreationDate (Thu Mar 16 03:26:35 2000)
    /Producer (Image Alchemy v1.11)
    >>
    endobj
    2 0 obj
    <<
    /Pages 3 0 R
    /Type /Catalog
    >>
    endobj
    4 0 obj
    <<
    /Type /Page
    /MediaBox [ 0 0 611 792 ]
    /Parent 3 0 R
    /Resources <<
    /XObject <<
    /Image1 7 0 R
    >>
    /ProcSet [ /PDF /ImageB ]
    >>
    /Contents 5 0 R
    >>
    endobj
    5 0 obj
    <<
    /Length 6 0 R
    >>
    stream
    q
    611 0 0 792 0 0 cm
    /Image1 Do
    Q
    endstream
    endobj
    6 0 obj
    38
    endobj
    7 0 obj
    <<
    /Type /XObject
    /Subtype /Image
    /Name /Image1
    /Filter [ /ASCII85Decode /CCITTFaxDecode ]
    /DecodeParms [ null << /K -1 /Columns 2544 /Rows 1650 >> ]
    /Width 2544
    /Height 1650
    /BitsPerComponent 1
    /ColorSpace /DeviceGray
    /Length 8 0 R
    >>
    stream
    //Odd characters
    This is a little peice of pdf file format that start a pdf file I changed into from a odt file by OpenOffice, Let's call it header.
    after the odd characters at the end of the quote, I'd like to double copy the same header and make another odd character string. will the pdf mean to have another page ????

    How can another page is made ? Could someone understand this format help me learn ?
    I look forward to hearing from you. I wish I can get all answers within hours not months or years, please help me see.
    Thanks

  2. #2
    Join Date
    Jun 2008
    Posts
    37

    Re: Pdf format

    Could someone tell me how to add in another page for a given pdf file ? (I'd like to know how the acrobat COM implemented this functinality)

  3. #3
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: Pdf format

    suggestion: first create a pdf with 1 page....then create a pdf adding a page to he first one making it two page and analyze both of the file formats; you will get the clue.
    Please rate my post if it was helpful for you.
    C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

  4. #4
    Join Date
    Mar 2002
    Location
    NY, USA
    Posts
    12,097

    Re: Pdf format

    better suggestion : use one of the established PDF libraries.

    Getting PDF correct is a very detailed process and is not a trivial matter. It is very unlikely that you would be able to derive all of the details by examining a handful of PDF documents.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009
    In theory, there is no difference between theory and paractice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center