[RFH] Page Numbers, Listeners, and populateStrux


Subject: [RFH] Page Numbers, Listeners, and populateStrux
From: sam th (sam@uchicago.edu)
Date: Fri Jul 14 2000 - 01:46:04 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[RFH] == Request For Help

The major bug with my page numbers hack is that they don't display
automatically. Through some good ol digging with grep, I discovered the
code that I want to execute to display the footer/header properly. It is
in fl_DocListener::populateStrux()

This code is called whenever the appropriate PD_Document gets a new
listener. Unfortunately, this only ever happens (AFAIK) when the document
is opened, and therefore the footers never redisplay properly.

So, I would like to use this code, but it doesn't just paste in. And I
don't think that I want to add a new Listener to the Document, since this
is just a one time operation. Should I add the listener? Is there
another way to use this code? What can I do?

I *really* hope someone can help me here.

Thanks

                                     sam th
                                     sam@uchicago.edu
                                http://www.abisource.com/~sam/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5brcut+kM0Mq9M/wRAmC7AJ4tBfgfsMMDTiyFzrwH3Xu3otAUhgCfXYBy
W6pP3RW1P1jzm/UYI6n23Fo=
=ii/y
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Fri Jul 14 2000 - 00:41:31 CDT