General information
Category:
Reports & Report designer
I have a report that looks exactly as I want when I preview it. When I use the HTMLListener, though, some fields that are marked "Stretch with overflow" show up as the HTML equivalent of editboxes.
Is there a way to turn this behavior off and just have the full text printed?
Ah, Tamar, you should've gone to one of Lisa's sessions over the last couple of years (g,d&r)...
I'm sure you know why HTMLListener uses textareas by default, I won't go into that here.
The HTML is produced via an XSLT transform of an XML version of the report layout + data. Take a look at the contents of the HtmlListener::getDefaultUserXSLTAsString method and you'll see in the default XSLT listing a bunch of XSLT parameters that control various aspects of the process. One in particular is called "useTextAreaForStretchingText".
There's an example in the VFP9.0 Help File (search for the topic "ReportListener HTML Foundation Class") of how to set these parameters to different values during runtime.
Caveat: The process that this example works through will be somewhat changed and improved in Sedna.
- Colin
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only