ウィンドウ 
ドキュメントが表示されているとき、ウィンドウの枠をフレーム、その中に ContainerWindow および ComponentWindow が入っています。
緑の部分と青の部分が ContainerWindow、青の部分が ComponentWindow です。そして、枠がフレームになります。

ContainerWindow 
フレームからアクセスします。
oContainerWindow = oFrame.getContainerWindow()
ComponentWindow 
おなじようにフレームからアクセスします。
oComponentWindow = oFrame.getComponentWindow()
表示と非表示 
- boolean isVisible () 表示状態を返します
- void setVisible ( [in] boolean Visible ) 表示状態を切り替えます
ContainerWindow を非表示にすると含まれている ComponentWindow も非表示になります。また、ContainerWindow を非表示にするとウィンドウ全体が非表示になります。
有効化と無効化 
- boolean isEnabled () 状態を返します
- void setEnable ( [in] boolean bEnabled ) 有効と無効を切り替えます
サイズ 
ContainerWindow の位置とサイズを取得、変更します。
- com.sun.star.awt.Size getPosSize () 位置とサイズを返します
- void setPosSize ( [in] long X, [in] long Y, [in] long Width, [in] long Height, [in] short Flags ) 位置とサイズを設定します
Flags には com.sun.star.awt.PosSize 定数から指定します。X, Y, WIDTH, HEIGHT, POS, SIZE, POSSIZE の加算を指定して特定の座標またはサイズを指定できます。