summaryrefslogtreecommitdiff
path: root/xps/muxps.h
AgeCommit message (Collapse)Author
2012-11-26Move XML parser into fitz directory.Tor Andersson
2012-11-26xps: Move XML parser into fitz namespace.Tor Andersson
2012-11-26xps: Save text content in XML nodes.Tor Andersson
New accessor xml_text() will return NULL or text content of a node. Tag names for text nodes is the empty string "". Fix bug 692191.
2012-08-28Add fz_open_document_with_stream function.Tor Andersson
Use a "magic" string for filetype detection: filename or mime-type.
2012-03-14Support alternate content / markup compatibility tags in XPS.Tor Andersson
2012-03-13Split XPS header. Update Makefile dependencies. Add pixmap w/h accessors.Tor Andersson
2012-03-06Split fitz.h/mupdf.h into internal/external headers.Robin Watts
Attempt to separate public API from internal functions.
2012-02-26Continued documentation improvements.Sebastian Rasmussen
More changes still to come.
2012-02-03Reference count fz_link objects.Tor Andersson
2012-02-03Add document interface.Tor Andersson
2012-02-02Support remote links in XPS documents.Robin Watts
Update xps path handling to cope with URLs. Fix premature freeing of links. Spot remote URLs and use appropriate link type.
2012-02-02Work on supporting links in xps documents.Robin Watts
Currently, this only works with local links. When running the page, check for NavigateUri entries; if found, and that page is not already marked as having resolved it's links, add a new link entry to doc->current_page links. When the page finishes running, mark the page as having resolved it's links. This avoids the links being generated multiple times. Update the mupdf viewer to use these links - but only AFTER the page has been run.
2012-01-30Move PNG, JPEG and TIFF image loading from muxps into fitz.Tor Andersson
2012-01-27Rename pdf_xref type to pdf_document.Tor Andersson
2012-01-26Pull in XPS commits from GhostXPS to MuXPSRobin Watts
This brings MuXPS up to date with GhostXPS as of today. The commits pulled in are: 856ecdc Whitespace fixes for parsing dashed line attributes 91dc749 Whitespace fixes while parsing points. This commit is tweaked from the original, and the changes will be pushed back into GhostXPS shortly. a298a05 Tiff premultiplied/non-premultiped alpha differences. No changes required for this, as we hold images premultiplied already (and already cope with premultiplying where required). Some changes to comments and cleanup code to avoid leaks though.
2012-01-12Use the same coordinate system for pdf and xps pages in the interface.Tor Andersson
Move coordinate space tweaks into pdf_ and xps_run_page, and provide neutral pdf_ and xps_bound_page functions to return the page size as a zero-origined bounding box.
2012-01-11Add xps_run_page function.Tor Andersson
2011-12-08Throw exceptions in xps code.Tor Andersson
2011-11-15Merge branch 'master' into contextRobin Watts
Mostly redoing the xps_context to xps_document change and adding contexts to newly written code. Conflicts: apps/pdfapp.c apps/pdfapp.h apps/x11_main.c apps/xpsdraw.c draw/draw_device.c draw/draw_scale.c fitz/base_object.c fitz/fitz.h pdf/mupdf.h pdf/pdf_interpret.c pdf/pdf_outline.c pdf/pdf_page.c xps/muxps.h xps/xps_doc.c xps/xps_xml.c
2011-11-10Add XPS outline parsing and move outline data struct to fz_outline.Tor Andersson
2011-10-04Move to exception handling rather than error passing throughout.Robin Watts
This frees us from passing errors back everywhere, and hence enables us to pass results back as return values. Rather than having to explicitly check for errors everywhere and bubble them, we now allow exception handling to do the work for us; the downside to this is that we no longer emit as much debugging information as we did before (though this could be put back in). For now, the debugging information we have lost has been retained in comments with 'RJW:' at the start. This code needs fuller testing, but is being committed as a work in progress.
2011-09-21Rename xps_context to xps_document.Tor Andersson
2011-09-15Add context to mupdf.Robin Watts
Huge pervasive change to lots of files, adding a context for exception handling and allocation. In time we'll move more statics into there. Also fix some for(i = 0; i < function(...); i++) calls.
2011-04-10xps: Use specific font cache struct instead of hash table.Tor Andersson
2011-04-08Various patches from SumatraPDF.Tor Andersson
2011-04-07Use fz_stream instead of FILE* to open XPS files.Tor Andersson
2011-04-05Clean up xps and pdf page access functions.Tor Andersson
2011-04-03xps: Propagate bounding box through canvas and tiles.Tor Andersson
2011-04-03xps: Use fz_pixmap directly instead of wrapping it in xps_image.Tor Andersson
2011-04-03xps: Remove xps_context from hash table implementation.Tor Andersson
2011-04-03xps: Rearrange files, part three.Tor Andersson
2011-04-03xps: Rearrange files, part one.Tor Andersson
2011-04-03xps: Remove dependency on expat.Tor Andersson
2011-04-01apps: Add XPS support to mupdf viewer.Tor Andersson
2011-04-01xps: Pass bounding box to opacity mask brush.Tor Andersson
2011-04-01xps: Remove 'path' and 'text' state objects from context.Tor Andersson
2011-04-01xps: Repeat enough tiles to cover the shape being filled.Tor Andersson
2011-04-01xps: Use Opacity attribute for setting constant alpha.Tor Andersson
2011-04-01xps: Use opacity masks, and draw gradients with opacity.Tor Andersson
2011-03-31xps: Clean up image loading code, and handle images with alpha.Tor Andersson
2011-03-30xps: Decode and draw images.Tor Andersson
2011-03-30xps: Use fitz memory and string functions.Tor Andersson
2011-03-30xps: remove _t wartTor Andersson
2011-03-28xps: More fixes and cleanups to parsing.Tor Andersson
2011-03-22xps: use fitz runtime and remove ghostscript specific code so it compiles.Tor Andersson