Package com.itextpdf.xmp.options

Examples of com.itextpdf.xmp.options.AliasOptions


    ParameterAsserts.assertPropName(aliasProp);
    ParameterAsserts.assertSchemaNS(actualNS);
    ParameterAsserts.assertPropName(actualProp);
   
    // Fix the alias options
    final AliasOptions aliasOpts = aliasForm != null ?
      new AliasOptions(XMPNodeUtils.verifySetOptions(
        aliasForm.toPropertyOptions(), null).getOptions()) :
      new AliasOptions();
 
    if (p.matcher(aliasProp).find()  ||  p.matcher(actualProp).find())
    {
      throw new XMPException("Alias and actual property names must be simple",
          XMPError.BADXPATH);
View Full Code Here


   *
   * @throws XMPException If the registrations of at least one alias fails.
   */
  private void registerStandardAliases() throws XMPException
  {
    AliasOptions aliasToArrayOrdered = new AliasOptions().setArrayOrdered(true);
    AliasOptions aliasToArrayAltText = new AliasOptions().setArrayAltText(true);
   
   
    // Aliases from XMP to DC.
    registerAlias(NS_XMP, "Author", NS_DC, "creator", aliasToArrayOrdered);
    registerAlias(NS_XMP, "Authors", NS_DC, "creator", null);
View Full Code Here

TOP

Related Classes of com.itextpdf.xmp.options.AliasOptions

Copyright © 2018 www.massapicom. 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.