Package org.pdfclown.documents.interaction.viewer

Examples of org.pdfclown.documents.interaction.viewer.ViewerPreferences


    String title,
    String subject
    )
  {
    // Viewer preferences.
    ViewerPreferences view = new ViewerPreferences(document); // Instantiates viewer preferences inside the document context.
    document.setViewerPreferences(view); // Assigns the viewer preferences object to the viewer preferences function.
    view.setDisplayDocTitle(true);

    // Document metadata.
    Information info = new Information(document);
    document.setInformation(info);
    info.setAuthor("Stefano Chizzolini");
View Full Code Here


  {
    PdfDirectObject viewerPreferencesObject = getBaseDataObject().get(PdfName.ViewerPreferences);
    if(viewerPreferencesObject == null)
      return null;

    return new ViewerPreferences(viewerPreferencesObject, getContainer());
  }
View Full Code Here

TOP

Related Classes of org.pdfclown.documents.interaction.viewer.ViewerPreferences

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.