Got some questions:
1. Is this correct: we can add attributes and the designer won't strip them
out, like <test>
<Image>
<Comment>"more foo"</Comment>
<expr>"./icons/vendor_blue.png"</expr>
<Height>25</Height>
<Show>self.Record["vendor"]</Show>
<test>foo</test>
2. Is what I have in <Show> above the syntax for turning on/off an image?
it is a bool: <TestCursor> <record vendor="False"
3. In the designer, I can select multiple objects. is there a way to move them
around as a group? either by dragging, or opening the Command window and ...
um... doing some sort of x=x+100 operation.
4. anyone have any code scraps that open the rfxml and chunk things around?
like I want to make a 2nd copy of what will be printed on the badge (so that we
can fold it in half and have the same things on both sides.) I think this
could
be done by doing 2 columns, but we may want stuff across the bottom that spans
both sides. which could be done with page headers. but in the event that I
want to do something that can't be done otherwise...
4a. copy a sub set of objects to a new rfxml. I have a full 8x11 page layout,
I
want to make a 2nd rfxml that is just the objects in the upper 4x3" corner, and
set the page size to 4x3.
5. when I resize the detail line smaller, it pushes all the objects off the top
of the page. Is there some way to keep them relative to the top of the page?
6. Watermark - I want "SAMPLE" somehow displayed in big overlapping letters
that
are transparent/translucent/whatever. maybe diagonal.
7. barcodes. anyone done anything? I just want to encode an ID that can be
read by http://jocr.sourceforge.net A free pdf417 would be nifty too.
8. create an image instead of a pdf. just double checking that this "can't be
done" - report-lab list: "The graphics subframework can create charts and
diagrams (but not whole pages with paragraphs and tables)"
9. what is the right way to "install a font"? currently I have this in my code:
pdfmetrics.registerFont(TTFont("FreeSans",
"/usr/share/fonts/truetype/freefont/FreeSans.ttf"))
rw = dReportWriter(OutputFile=buffer, ReportFormFile=xmlfile, Cursor=[ds])
Do I need to do that every time?
Do I need the full path, or is there some search path that will be searched?
I think that's about it for now.
Carl K
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]