You can dock the toolbars and floating windows in OpenOffice.org.
Usually you can take any window, drag it toward the side of your work area (or any of the four sides, technically) and when the gray dotted outline appears, release your mouse. (Then to undock, click and hold down on the blank gray area between the icons at the top, and drag back toward the middle.)
However, this doesn't always work. The docking process, that is. The gray line doesn't always show up.
Here's a key combination to dock the Styles and Formatting window that always (to my knowledge) works.
Click on the title bar of the undocked window so that it's selected. Then press Ctrl Shift F10
Press that key combo and the Styles and Formatting window docks immediately. Then as described above, drag the gray area between the icons back toward the middle of the work area to undock.
And -- here's the beautiful thing -- IT WORKS WITH THE SLIDE PANE IN OPENOFFICE.ORG IMPRESS, TOO!!! And that thing is really tricky to dock.