MATLAB Report Generator    

Moving a Component

Three move buttons allow you to move components in the setup file outline. If the selected component cannot be moved to a particular position, the corresponding move button is inactive.

You can select multiple components and move them at the same time. Children of a selected component will move with that component.

You must be careful when you move components, especially when there are parent-child relationships involved. Some components cannot have children and some components should not be children of other components. See Components -- By Category for details.

Up, Up and Out

You can move a component "up" or "up and out" with the Up button. The Up button is disabled for the first component after the Report component.

Up.   

"Up" moves the selected component above the component currently listed above it. A component can move up if it is not first in its list of peers (components at the same level). No component can move above the Report component.

When the Up button is enabled for an "up" operation, it has the appearance shown below.

Example.   Select the Graphics Figure Snapshot component in Outline A below. Then click on the Up button. The Graphics Figure Snapshot component moves above the Figure Name component, as shown in Outline B.

Up and Out.   

"Up and out" moves the selected component directly above its parent and up to the level of its parent. A component can move up and out if it is first in its list of peers.

When the Up button is enabled for an "up and out" operation, it has the appearance shown below.

Example.   Select the Figure Name component in Outline A below. Click on the Up button (which is now enabled for "up and out"). The Figure Name moves above the Section component, and is at the same level as the Section component.

Down, Down and Out

The Down button can move a component "down" or "down and out." The Down button is disabled if a component is the last component in the outline.

Down.   

"Down" moves the selected component below the component currently listed below it. A component can move down if it is not last in its list of peers.

When the Down button is enabled for a "down" operation, it has the appearance shown below.

Example.   Select the Figure Name component in Outline A below. Click on the Down button. The Figure Name moves below the Graphics Figure Snapshot component.

Down and Out.   

"Down and out" moves the selected component directly below its parent and to the level of its parent. A component can move down and out if it is last in its list of peers.

When the Down button is enabled for a "down and out" operation, it has the appearance shown below.

Example.   Select the Figure Property Table component in Outline A below. Click on the Down button (which is now enabled for "down and out"). The Figure Property Table component moves to the level of its parent (the Section component) and it is the next component at that level.

Up and In, Down and In

The In button can move a component "up and in" or "down and in." The In button is disabled when neither the component above nor below the selected component can have children.

Up and In.   

If the component listed above the selected component can have children, then "up and in" causes the selected component to become the child of the component listed above it. A component can move "up and in" if the peer component above it can have children.

When the In button is enabled for an "up and in" operation, it has the appearance shown below.

Example.   Select the second Chapter component (Figures in Report) in Outline A below. Click on the In button (which is now enabled for "up and in"). The Chapter component becomes the child of the first Chapter component (Code for Creating Figures), and it becomes a section instead of a chapter.

Down and In.   

If the component listed below the selected component can have children, then the selected component becomes its child and is shown indented under the parent component below it. A component can move "down and in" if the peer component below it can have children.

When the In button is enabled for a "down and in" operation, it has the appearance shown below.

Example.   Select the first Chapter component (Code for Creating Figures) in Outline A below. Click on the Down button (which is now enabled for "down and in"). The Chapter component will become the child of the first component below it that can take children, which is the second Chapter component (Figures in Report), and it becomes a section instead of a chapter.


  Deleting a Component Cutting, Copying, and Pasting a Component