Examples of XMPSchemaPDF


Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                        display("Description:", dc.getDescription());
                        list("Creators: ", dc.getCreators());
                        list("Dates:", dc.getDates());
                    }
   
                    XMPSchemaPDF pdf = metadata.getPDFSchema();
                    if (pdf != null)
                    {
                        display("Keywords:", pdf.getKeywords());
                        display("PDF Version:", pdf.getPDFVersion());
                        display("PDF Producer:", pdf.getProducer());
                    }
   
                    XMPSchemaBasic basic = metadata.getBasicSchema();
                    if (basic != null)
                    {
View Full Code Here

Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                        display("Description:", dc.getDescription());
                        list("Creators: ", dc.getCreators());
                        list("Dates:", dc.getDates());
                    }
   
                    XMPSchemaPDF pdf = metadata.getPDFSchema();
                    if (pdf != null)
                    {
                        display("Keywords:", pdf.getKeywords());
                        display("PDF Version:", pdf.getPDFVersion());
                        display("PDF Producer:", pdf.getProducer());
                    }
   
                    XMPSchemaBasic basic = metadata.getBasicSchema();
                    if (basic != null)
                    {
View Full Code Here

Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                PDDocumentCatalog catalog = document.getDocumentCatalog();
                PDDocumentInformation info = document.getDocumentInformation();

                XMPMetadata metadata = new XMPMetadata();

                XMPSchemaPDF pdfSchema = metadata.addPDFSchema();
                pdfSchema.setKeywords( info.getKeywords() );
                pdfSchema.setProducer( info.getProducer() );

                XMPSchemaBasic basicSchema = metadata.addBasicSchema();
                basicSchema.setModifyDate( info.getModificationDate() );
                basicSchema.setCreateDate( info.getCreationDate() );
                basicSchema.setCreatorTool( info.getCreator() );
View Full Code Here

Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                        {
                           log.warn("getDate failed: " + e);
                        }
                     }

                     XMPSchemaPDF pdf = metadata.getPDFSchema();
                     if (pdf != null)
                     {
                        try
                        {
                           if (pdf.getKeywords() != null)
                              props.put(DCMetaData.SUBJECT, fixEncoding(pdf.getKeywords()));
                        }
                        catch (Exception e)
                        {
                           log.warn("getKeywords failed: " + e);
                        }

                        try
                        {
                           if (pdf.getProducer() != null)
                              props.put(DCMetaData.PUBLISHER, fixEncoding(pdf.getProducer()));
                        }
                        catch (Exception e)
                        {
                           log.warn("getProducer failed: " + e);
                        }
View Full Code Here

Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                        {
                           log.warn("getDate failed: " + e);
                        }
                     }

                     XMPSchemaPDF pdf = metadata.getPDFSchema();
                     if (pdf != null)
                     {
                        try
                        {
                           if (pdf.getKeywords() != null)
                              props.put(DCMetaData.SUBJECT, pdf.getKeywords());
                        }
                        catch (Exception e)
                        {
                           log.warn("getKeywords failed: " + e);
                        }

                        try
                        {
                           if (pdf.getProducer() != null)
                              props.put(DCMetaData.PUBLISHER, pdf.getProducer());
                        }
                        catch (Exception e)
                        {
                           log.warn("getProducer failed: " + e);
                        }
View Full Code Here

Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                    display("Description:", dc.getDescription());
                    list("Creators: ", dc.getCreators());
                    list("Dates:", dc.getDates());
                }

                XMPSchemaPDF pdf = metadata.getPDFSchema();
                if (pdf != null)
                {
                    display("Keywords:", pdf.getKeywords());
                    display("PDF Version:", pdf.getPDFVersion());
                    display("PDF Producer:", pdf.getProducer());
                }

                XMPSchemaBasic basic = metadata.getBasicSchema();
                if (basic != null)
                {
View Full Code Here

Examples of org.apache.jempbox.xmp.XMPSchemaPDF

                        {
                           LOG.warn("getDate failed: " + e.getMessage());
                        }
                     }

                     XMPSchemaPDF pdf = metadata.getPDFSchema();
                     if (pdf != null)
                     {
                        try
                        {
                           if (pdf.getKeywords() != null)
                              props.put(DCMetaData.SUBJECT, fixEncoding(pdf.getKeywords()));
                        }
                        catch (Exception e)
                        {
                           LOG.warn("getKeywords failed: " + e.getMessage());
                        }

                        try
                        {
                           if (pdf.getProducer() != null)
                              props.put(DCMetaData.PUBLISHER, fixEncoding(pdf.getProducer()));
                        }
                        catch (Exception e)
                        {
                           LOG.warn("getProducer failed: " + e.getMessage());
                        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.