Ignore:
Timestamp:
02/04/14 15:33:39 (10 years ago)
Author:
jts21
Message:

Add support for writetree to PDF2,
Links followed by writetree are clickable in the PDF (and have the Expeditee linkmark next to them).
To Fix:

  • The clickable bounding box of rotated images is just a non-rotated rectangle covering the entire rotated image (and also covering the whitespace or any other items around the corners of the image). This is due to anchors apparently not working when they're rotated (seriously, there's a way to rotate them, but once rotated they can't be clicked to follow their link)
  • Currently polygons don't get linked, because there doesn't seem to be a way to make a non-rectangular anchor, nor to actually put a polygon inside an anchor (I suppose it could be done by just putting an empty anchor of the correct dimensions over the top of the polygon)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Item.java

    r812 r821  
    638638
    639639        // TODO draw the link with a circle rather than a polygon!!
    640         protected Polygon getLinkPoly() {
     640        public Polygon getLinkPoly() {
    641641                if (_circle == null) {
    642642                        int points = 16;
Note: See TracChangeset for help on using the changeset viewer.