---
name: "HTML::Display::Win32::OLE"
section: "3pm"
platform: "linux"
package: "libhtml-display-perl"
version: "0.40-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTML::Display::Win32::OLE"
---

# HTML::Display::Win32::OLE(3pm)

use an OLE object to display HTML

## 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.

## AUTHOR

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

## LICENSE

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