Code Monkey home page Code Monkey logo

java-axp's People

Contributors

cgwpope avatar

Stargazers

 avatar

Forkers

houzhanwu

java-axp's Issues

Enhance Swing XPS Viewer UI

Enhance XPS viewer application with some simple enhancements:

1. Basic file menu (Open, close, quit)
2. View menu (zoom, page layout options?)
3. Help/About

Support i18n from the start!

Original issue reported on code.google.com by [email protected] on 11 Jul 2007 at 2:08

Produce executable artifacts for download

Modify build scripts and project structure to allow for at least two
downloadable artifacts

1. Jar providing core API for XPS file access, and XPS file traversal
   - Need to define API for core library
2. Swing viewer application using core XPS API




Original issue reported on code.google.com by [email protected] on 11 Jul 2007 at 2:05

Update model to support XPS Version 1.0

Current implementation was built XPS Version 0.95 Specification.  

-Need to jaxb compile the new schema to generate model elements for the 1.0
spec.
-Need to update Swing renderer for changes in 1.0

Original issue reported on code.google.com by [email protected] on 11 Jul 2007 at 2:33

Support Tiling for ImageBrush

AWTXPSImagePaintContext needs to support tiling.

To Implement:
- Transform the requested raster location to the ImageBrush's co-ordinate space
- Draw tiled instances of the ImageBrush's source image until the entire
requested block has been filled.

Original issue reported on code.google.com by [email protected] on 11 Jul 2007 at 1:59

XPS to PDF conversion

Create module that allows for XPS -> PDF file conversion, using
xps-swingviewer's rendering and iText's PDF output capabilities.

Original issue reported on code.google.com by [email protected] on 1 Dec 2008 at 3:15

Not working on Mac - [NSConditionLock unlock]: unlocked when not locked

Hi, i've managed to get this interesting piece of SW running on my Mac, but I 
had to use SoyLatte 
(OpenJDK 6 BSD port packaged for OS X) which uses X11. It wouldn't start with 
official Apple 
Java.

When I import all project checked out from SVN into eclipse and try running 
'xps-swingviewer' 
with official Java 1.6 I get the following in my console:

2008-12-15 17:33:23.883 java[96877:10b] [Java CocoaComponent compatibility 
mode]: 
Enabled
2008-12-15 17:33:23.884 java[96877:10b] [Java CocoaComponent compatibility 
mode]: Setting 
timeout for SWT to 0.100000
2008-12-15 17:33:24.612 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x10015bde0> '(null)') unlocked when not locked
2008-12-15 17:33:24.613 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:24.718 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x10015a3f0> '(null)') unlocked when not locked
2008-12-15 17:33:24.719 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:25.324 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x10015d080> '(null)') unlocked when not locked
2008-12-15 17:33:25.325 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:25.427 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x12380fe60> '(null)') unlocked when not locked
2008-12-15 17:33:25.428 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:25.531 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x123810360> '(null)') unlocked when not locked
2008-12-15 17:33:25.533 java[96877:1ad03] *** Break on _NSLockError() to debug.

Any hint on where I might start looking for solution? Or is this Apple's bug 
with ObjC/Java 
integration?

It would be nice to have a regular Mac app bundle for this.






Original issue reported on code.google.com by daniel.kvasnicka.jr on 15 Dec 2008 at 4:37

Add superclass for tiled paints

Both ImageBrushPaint and VisualBrushPaint do tiling. Refactor to create a
superclass that handles the tiling, and delegates the tile rendering to the
existing paint contexts


Original issue reported on code.google.com by [email protected] on 21 Jul 2007 at 3:57

Support parsing and rendering of arbirary page elements

Current only a full page or an IVisual element may be rendered. It should
be possible to start rendering at any point in a page's element tree.

It should also be possible to parse fragments of a page into their model
objects.

Eg. Should parse to a pair of IPath elements

<!-- Draw background diamond to show where fill affects background -->
<Path Fill="#CCCC66" Data="M 150,0 L 300,150 L 150,300 L 0,150 Z" />
<Path Data="M 150,0 L 300,150 L 150,300 L 0,150 Z">
<Path.Fill>
<VisualBrush Viewbox="0.25,0.25,0.75,0.75" Viewport="150,75,50,50"
ViewboxUnits="Absolute" ViewportUnits="Absolute" TileMode="Tile">
<VisualBrush.Visual>    
<Canvas>      
<Path Fill="#333399" Data="M 0.1,0.1 L 0.9,0.1 L 0.9,0.9 L 0.1,0.9 Z" />
<Path Fill="#FFFF00" Data="M 0.1,0.35 L 0.35,0.1 L 0.6,0.35 L 0.35,0.6 Z"/>  
</Canvas>
</VisualBrush.Visual>
</VisualBrush> 
</Path.Fill>
</Path>

Original issue reported on code.google.com by [email protected] on 21 Jul 2007 at 4:37

Support VisualBrush

Need to implement and AWTXPSPaint to handle rendering paths that are
stroked or filled with a VisualBrush

Original issue reported on code.google.com by [email protected] on 11 Jul 2007 at 1:55

Create an Apache Tika parser class

Apache Tika (http://tika.apache.org/) is the leading open source text 
extraction framework, written in Java. It allows extracting text from a lot of 
formats including PDF, DOC, ODF and 30 more.

Tika is modular, and it only takes one Java class along with one property file 
to write a parser wrapper for Tika. I think java-axp could easily be exposed as 
a Tika parser plugin with just a few hours work, and will enable all Tika users 
to parse the XPS format.

See this example for how this is done to wrap the MS TNEF format: 
http://github.com/jukka/jtnef/blob/master/src/net/freeutils/tnef/tika/TNEFParser
.java

Original issue reported on code.google.com by [email protected] on 4 Oct 2010 at 9:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.