Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Importing Content Style on Template

0 views
Skip to first unread message

raj

unread,
Jul 21, 2003, 6:56:35 AM7/21/03
to
Hi,

I have written a custom print template embedded in an ATL control to
be deployed in a J2EE system, to provide preview functionality of a
scrollable subset of a page, and that subset has many different types
of content contained in divs, tables, spans, graphs etc etc... all
with different styles dpending on the content.

I have managed to get most of the content required now into template
using recursion in dynamic building of devicerects and layoutrects,
but lose all the styles of the source when previewed in the template.
What I really require is WYSIWYG style functionality for the grabbed
content.

Is there a tried and tested way for this.

My alternative approach is to drill down the document object model
from the dialogArguments.__IE_BrowseDocument and do a very long switch
statement and test each dhtml id individually and apply relative
style.

But I want to avoid all this as much as possiblem, hence looking for
suggestions for maintaining WYSIWYG feautures. Can anybody help...

Regards,

Raj Chanian

0 new messages