Each part in an OpenDoc document controls the positions, sizes, and shapes of its embedded frames. At the same time, embedded parts may need to change the sizes, shapes, or numbers of the frames in which they are displayed. Read this section if your part expects to negotiate its display frame sizes with its containing part, or if it is a container part and expects to negotiate the sizes of its embedded frames with their parts.
Either party can initiate the negotiation, although the containing part has unilateral control over the outcome. Figure 24 shows an example of frame negotiation, in which an embedded part with a single display frame requests a larger frame size from its containing part, which has two display frames.
Figure 24. Example of Frame Negotiation with Multiple Frames
In this case, the embedded part initiates the frame negotiation. Its frame is wholly contained within frame 1 (the upper frame) of the containing part:
But the embedded part still wants more area for its display, so it tries a different approach; it requests another display frame, this time to be embedded in frame 2 of the embedded part.
Frame negotiation, from the point of view of the embedded part, is discussed in "Resizing a Display Frame" and "Requesting an Additional Display Frame". Frame negotiation, from the point of view of the containing part, is discussed in "Resizing an Embedded Frame" and "Adding an Embedded Frame on Request".