In an information processing apparatus for dynamically changing a
container layout in accordance with inserted contents data, a user is
made to understand a change of layout by explicitly displaying a change
before and after the layout change, thereby improving the convenience for
the user in layout correction. More specifically, when the container
layout is changed by inserted contents data, a container having a
standard size before the layout change is explicitly displayed.