logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::Display::Win32::OLE - use an OLE object to display HTML

Author

       Copyright (c) 2004-2007 Max Maischein "<corion@cpan.org>"

License

       This module is released under the same terms as Perl itself.

perl v5.36.0                                       2022-10-15                     HTML::Display::Win32::OLE(3pm)

Name

       HTML::Display::Win32::OLE - use an OLE object to display HTML

Synopsis

         package HTML::Display::Win32::OleControl;
         use parent 'HTML::Display::Win32::OLE';

         sub new {
           my $class = shift;
           $class->SUPER::new( app_string => "FooBrowser.Application", @_ );
           $self;
         };

         my $browser = HTML::Display->new(
           class => 'HTML::Display::Win32::OleControl',
         );
         $browser->display("<html><body><h1>Hello world!</h1></body></html>");

   setup
       "setup" is a method you can override to provide initial setup of your OLE control. It is called after the
       control is instantiated for the first time.

   control
       This initializes the OLE control and returns it. Only one control is initialized for each object
       instance. You don't need to store it separately.

See Also