Open Source Pdf Reader For Mac

PDF Reader Core for iOS

This project is no longer supported or maintained. It is only here for historical reasons.Please see the UXReader PDF Framework for iOS project for a possible replacement.

SumatraPDF is an easy to use free PDF reader for Windows. While it is easy and simple to work with, it's also open for heavy customization if you so choose. Different types of viewing modes are available, like Single Page, Facing, Book View, and Presentation. The latter view is great for. As a free Open Source PDF editor for Windows, you can download it to perform all the basic tasks of a full PDF reader and open source PDF editor. It contains full functions such as removing or adding text or images. Other Free PDF Editors for Mac. Skim – FREE – we’ve written about Skim before, and it works pretty well for making quick notes to PDF documents. Scribus – FREE – an open source desktop publishing app that has limited PDF editing abilities, and the ability to create your own PDF’s. Best Paid Solution for Editing a PDF on Mac. I say this is a tie because PDFPen is great but a lot.

Introduction

I've crafted this open source PDF reader code for fellow iOSdevelopers struggling with wrangling PDF files onto iOS devicescreens.

The code is universal and does not require any XIBs (as all UIelements are code generated, allowing for greatest flexibility).It runs on iPad, iPhone and iPod touch with iOS 6.0 and up. Alsosupported are the Retina displays in all new devices and is readyto be fully internationalized. The idea was to provide a completeproject template that you could start building from, or, just pullthe required files into an existing project to enable PDFreading/viewing in your app(s).

After launching the sample app, tap on the left hand side of thescreen to go back a page. Tap on the right hand side to go to thenext page. You can also swipe left and right to change pages. Tapon the screen to fade in the toolbar and page slider. Double-tapwith one finger (or pinch out) to zoom in. Double tap with twofingers (or pinch in) to zoom out.

This implementation has been tested with large PDF files (over250MB in size and over 2800 pages in length) and with PDF files ofall flavors (from text only documents to graphics heavy magazines).It also works rather well on older devices (such as the iPod touch4th generation and iPhone 3GS) and takes advantage of the dual-coreprocessor (via CATiledLayer and multi-threading) in new devices.

To see an example open source PDF Viewer App that uses this codeas its base, have a look at this project repository on GitHub:https://github.com/vfr/Viewer

Features

Multithreaded: The UI is always quite smooth and responsive.

Adobe

Supports:

  • iBooks-like document navigation.
  • Device rotation and all orientations.
  • Encrypted (password protected) PDFs.
  • PDF links (URI and go to page).
  • PDFs with rotated pages.
Acrobat reader mac

Notes

Version 2.x of the PDF reader code was originally developedand tested under Xcode 3.2.6, LLVM 1.7 and iOS 4 with currentdevelopment and testing under Xcode 7.2, LLVM 7.0 and iOS 9.2.Please note that as of v2.6, the code was refactored to use ARC.

The overall PDF reader functionality is encapsulated in theReaderViewController class. To present a document with this class,you first need to create a ReaderDocument object with the file pathto the PDF document and then initialize a new ReaderViewControllerwith this ReaderDocument object. The ReaderViewController class usesa ReaderDocument object to store information about the document andto keep track of document properties (thumb cache directory path,bookmarks and the current page number for example).

Open Source Pdf Reader Writer

An initialized ReaderViewController can then be presentedmodally, pushed onto a UINavigationController stack, placed ina UITabBarController tab, or be used as a root view controller.Please note that since ReaderViewController implements its owntoolbar, you need to hide the UINavigationController navigationbar before pushing it and then show the navigation bar afterpopping it. The ReaderDemoController class shows how this isdone with a bundled PDF file.

Required Files

The following files are required to incorporate the PDFreader into one of your projects:

Required iOS Frameworks

To incorporate the PDF reader code into one of your projects,all of the following iOS frameworks are required:

Compile Time Options

In ReaderConstants.h the following #define options are available:

READER_FLAT_UI - If TRUE, follows the Fuglyosity of Flat Fad(flattens the UI).

READER_SHOW_SHADOWS - If TRUE, a shadow is shown around each pageand page thumbnail.

READER_ENABLE_THUMBS - If TRUE, a thumbs button is added to the maintoolbar enabling page thumbnail document navigation.

READER_DISABLE_RETINA - If TRUE, sets the CATiledLayer contentScaleto 1.0f. This effectively disables retina support and results innon-retina device rendering speeds on retina display devices atthe loss of retina display quality.

READER_ENABLE_PREVIEW - If TRUE, a medium resolution page thumbnailis displayed before the CATiledLayer starts to render the PDF page.

READER_DISABLE_IDLE - If TRUE, the iOS idle timer is disabled whileviewing a document (beware of battery drain).

READER_STANDALONE - If FALSE, a 'Done' button is added to the toolbarand the -dismissReaderViewController: delegate method is messaged whenit is tapped.

READER_BOOKMARKS - If TRUE, enables page bookmark support.

ReaderDocument Archiving

To change where the property list for ReaderDocument objects is stored(~/Library/Application Support/ by default), see the +archiveFilePath:method in the ReaderDocument.m source file. Archiving and unarchivingof the ReaderDocument object for a document is mandatory since this iswhere the current page number, bookmarks and directory of the documentpage thumb cache is kept.

Open Source Pdf Viewer Mac

Contact Info

Email: joklamcak(at)gmail(dot)com

Twitter: @joklamcak

Acknowledgements

The PDF link support code in the ReaderContentPage class is based onthe links navigation code by Sorin Nistor fromhttp://ipdfdev.com/.

Sumatra Pdf Reader

License

This code has been made available under the MIT License.

Skim
Developer(s)Christiaan Hofman, Adam Maxwell, and Michael McCracken
Stable release
Written inObjective-C
Operating systemMac OS X
Available inMultilingual
TypePDF reader
LicenseBSD
Websiteskim-app.sourceforge.net

Skim is an open-source PDF reader. It is notably the first free software PDF reader for Mac OS X.[1] It is written in Objective-C, and uses Cocoa APIs. It is released under a BSD license. It is also cited as being able to help annotate and read scientific papers.[2]

History[edit]

Its initial release was in April 2007, at version 0.2.[3] Within its first year it managed to gain a small fan base of users due to its ease of use and features which allowed some flexibility over other PDF browsers for Mac OS X. As of 2008 it had achieved version 1.0. Its main developers were also responsible for another popular open-source program, BibDesk.[4]

Features[edit]

Some of its features include the ability to view and bookmark PDFs, highlight and underline selectable PDF text, and a full-screen and presentation mode. It also allows the adding of circles and boxes, as well as being able to embed and edit notes.[5]

Open Source Pdf Reader Windows

See also[edit]

Evince

References[edit]

  1. ^Pash, Adam (April 4, 2007). 'Download of the Day: Skim (Mac)'. Lifehacker. Retrieved November 6, 2017.
  2. ^'Open Source on Mac'. No Thick Manuals. Archived from the original on June 12, 2007. Retrieved November 6, 2017.
  3. ^Lu, Mat (April 2, 2007). 'Skim PDF reader'. Engadget. Retrieved November 6, 2017.
  4. ^McCracken, Michael (April 2, 2007). 'Announcing Skim: Stop printing – Start Skimming'. Archived from the original on October 11, 2007. Retrieved November 6, 2017.
  5. ^Mckee, Michael (October 7, 2007). 'Skim – A better PDF reader'. Mac the Web. Archived from the original on October 13, 2007. Retrieved November 6, 2017.

Open Source Pdf Reader For Windows

External links[edit]

Open Source Pdf Reader For Mac

  • Skim (software) on SourceForge.net
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Skim_(software)&oldid=895675726'