You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Christian Spurk (JIRA)" <ji...@apache.org> on 2009/09/03 09:59:33 UTC

[jira] Created: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
---------------------------------------------------------------------

                 Key: PDFBOX-512
                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 0.8.0-incubator
            Reporter: Christian Spurk
             Fix For: 0.8.0-incubator


The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750897#action_12750897 ] 

Andreas Lehmkühler commented on PDFBOX-512:
-------------------------------------------

Hi Christian,

ooops, obviously I've missed some tests here. Thanks for your contribution. I'll commit your patch later, when I'm back at home

BR
Andreas Lehmkühler

----- original Nachricht --------

Betreff: [jira] Updated: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
Gesendet: Do, 03. Sep 2009
Von: Christian Spurk (JIRA)<ji...@apache.org>


--- original Nachricht Ende ----



> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750897#action_12750897 ] 

Andreas Lehmkühler edited comment on PDFBOX-512 at 9/3/09 9:57 AM:
-------------------------------------------------------------------

Hi Christian,

ooops, obviously I've missed some tests here. Thanks for your contribution. I'll commit your patch later, when I'm back at home

BR
Andreas Lehmkühler



      was (Author: lehmi):
    Hi Christian,

ooops, obviously I've missed some tests here. Thanks for your contribution. I'll commit your patch later, when I'm back at home

BR
Andreas Lehmkühler

----- original Nachricht --------

Betreff: [jira] Updated: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
Gesendet: Do, 03. Sep 2009
Von: Christian Spurk (JIRA)<ji...@apache.org>


--- original Nachricht Ende ----


  
> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-512.
---------------------------------------

    Resolution: Fixed

I've added Christinas patch with version 811030.

Thanks to Christian for the contribution

> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

Posted by "Christian Spurk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Spurk updated PDFBOX-512:
-----------------------------------

    Attachment: getPageMap.patch

a patch fixing the described issue

> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Is there converting system for the fonts?

Posted by Alex Shvartz <al...@yahoo.com>.
Hi,

I have TextPosition object by name "text" and can receive in Java font name and font size.

    PDFont p = text.getFont();
                
    baseFont = p.getBaseFont();
    fontSize = text.getFontSize();

The font name for example has the name: "SNYFUJ+URWBookmanL-Ligh".

This is font taken from PDF. How I can convert this font to regular one
if I build another file format from PDF. Is there converting system for the fonts?
The second question, please, is how I can get more information about font, like "Bold". Also I nee to get color. Which class is responsible to get a color of the text?

Thank you very much.
Alex.

--- On Fri, 9/4/09, Andreas Lehmkühler (JIRA) <ji...@apache.org> wrote:

From: Andreas Lehmkühler (JIRA) <ji...@apache.org>
Subject: [jira] Issue Comment Edited: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
To: pdfbox-dev@incubator.apache.org
Date: Friday, September 4, 2009, 4:20 AM


    [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751087#action_12751087 ] 

Andreas Lehmkühler edited comment on PDFBOX-512 at 9/4/09 1:20 AM:
-------------------------------------------------------------------

I've added Christians patch with version 811030.

Thanks to Christian for the contribution

      was (Author: lehmi):
    I've added Christinas patch with version 811030.

Thanks to Christian for the contribution
  
> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.




      

[jira] Issue Comment Edited: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751087#action_12751087 ] 

Andreas Lehmkühler edited comment on PDFBOX-512 at 9/4/09 1:20 AM:
-------------------------------------------------------------------

I've added Christians patch with version 811030.

Thanks to Christian for the contribution

      was (Author: lehmi):
    I've added Christinas patch with version 811030.

Thanks to Christian for the contribution
  
> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PDFBOX-512) org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null

Posted by "Christian Spurk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751353#action_12751353 ] 

Christian Spurk commented on PDFBOX-512:
----------------------------------------

Andreas, thanks for your quick reaction!

> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never return anything else but null in the current SVN trunk version. The simple patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.