summaryrefslogtreecommitdiff
path: root/platform/java/mupdf_native.h
AgeCommit message (Collapse)Author
2016-11-16pdf: Add 'compressed/raw' flag to pdf_add_stream.Tor Andersson
Also expose the argument to JS and JNI.
2016-10-26Update ios/android to use new way of passion stext options.Sebastian Rasmussen
In addition, make all callers passing 0 as a point pass NULL instead.
2016-10-21jni: Update mupdf_native.h.Tor Andersson
2016-09-23Clean up annotation enum names.Tor Andersson
Put them in the PDF name space and separate words with underscores. Remove redundant namespace prefixes in java constants. Device.FLAG_MASK rather than Device.FZ_DEVFLAG_MASK. Use namespace for PDF annotation flag enum.
2016-09-14Android example - Add proofing support.fred ross-perry
2016-09-08Add options to control heuristics in structured text.Sebastian Rasmussen
2016-09-08JNI: Make exceptions unchecked.Sebastian Rasmussen
Previously all exceptions thrown by the library would be converted into checked exceptions, but there was no sensible response to expect from a client.
2016-09-01JNI: Support size() and push() for arrays.Sebastian Rasmussen
2016-08-23Java - correct the JNI signatures for bbox fields in StructuredText inner ↵Fred Ross-Perry
classes.
2016-08-02JNI: Add/change PDFDocument.save() related methods.Sebastian Rasmussen
Added methods: * PDFDocument.hasUnsavedChanges() * PDFDocument.canBeSavedIncrementally() The interface for PDFDocument.save() now returns the number of errors encountered while saving.
2016-07-20JNI: Add PDFDocument methods for grafting objects onto documents.Sebastian Rasmussen
2016-07-20JNI: Add DisplayList.toStructuredText().Sebastian Rasmussen
2016-07-20JNI: Implement PDFOBject.write*() methods.Sebastian Rasmussen
2016-07-17JNI: Implement document Outline.Sebastian Rasmussen
2016-07-17JNI: Implement Link for hyperlinks in document.Sebastian Rasmussen
2016-07-17JNI: When adding stream/page contents, accept String.Sebastian Rasmussen
This is for easy of use, in addition to accepting Buffer.
2016-07-17JNI: Add BufferInputStream, BufferOutputStream.Sebastian Rasmussen
These are meant to make it easy to interact with mupdf's Buffer object in a normal Java fashion.
2016-07-17JNI: Extend Buffer interface, especially for reading.Sebastian Rasmussen
2016-07-15Adding missing JNI interfaces.Sebastian Rasmussen
Some objects get their interfaces expanded or the entire object is added both corresponding to what was already present in the mujs interface. Some interfaces, e.g. Buffer.writeLines() has been adapted to suit Java.
2016-06-23Update JNI code. Take explicit alpha argument in toPixmap functions.Tor Andersson
2016-06-16Update JNI bindings for pixmap alpha changes.Tor Andersson
2016-04-27Add fz_close_device function.Tor Andersson
Garbage collected languages need a way to signal that they are done with a device other than freeing it. Call it implicitly on fz_drop_device; so take care not to call it again in case it has been explicitly called already.
2016-03-14Remove begin_page and end_page device calls.Tor Andersson
To be moved into a new document writer interface later.
2016-02-29jni: Use boolean wmode in text and font classes.Tor Andersson
2016-02-29jni: Add font and image constructors.Tor Andersson
2016-02-29jni: Fix scissor rect arguments to clipping functions.Tor Andersson
2016-02-29jni: Various cleanups.Tor Andersson
jni: Various cleanups. Fix gcc and clang warnings. Android specific functions are guarded by HAVE_ANDROID define. The java guts of the android stuff is removed for now, to be added back in later. Set up a makefile and simple tests to build for desktop java. Rerig device classes to: Device, NativeDevice, JavaDevice and DrawDevice. Add Pixmap class. Regularize naming. General cleanups and abbreviate naming. Use to_JavaClass and from_JavaClass rather than fz_mupdf_struct_from_JavaClass and JavaClass_from_fz_mupdf_struct. Check for exceptions thrown by java devices and path processor. Tweak constructors and finalizers to remove the JavaDevice subclass. Use toString when rethrowing java exceptions as fitz exceptions.