Difference between revisions of "Documentation/UserGuide/Writer/Intro/Frames"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Wrap tab: Add screenshot of wrap tab and start expanding the section)
(Wrap tab: Completed expansion of section)
Line 79: Line 79:
 
=== Wrap tab ===
 
=== Wrap tab ===
  
Here it is possible to define how the text and other content flow around the frame. For example, if the frame takes only a fraction of the page width it is possible to set the text to surround it: the option "Dynamic" will be the more appropriate in this situation.
+
Here it is possible to define how the text and other content flow around the frame. For example, if the frame takes only a fraction of the page width it is possible to set the text to surround it: the option "Optimal" will be the more appropriate in this situation.
  
  
Line 86: Line 86:
 
The screenshot above shows all the attributes that can be set on this tab.
 
The screenshot above shows all the attributes that can be set on this tab.
 
* Settings
 
* Settings
 +
** None
 +
*** No wrapping of text
 +
**Before
 +
*** Text wraps before the frame only
 +
** After
 +
*** Text wraps after the frame only
 +
** Parallel
 +
*** Text wraps around the frame on all sides
 +
** Through
 +
*** Frame is placed in front of text
 +
** Optimal
 +
*** Automatically wraps text on all four sides of frame
 +
{{Documentation/Note|If the object is less than 2cm from the page margin the text is not wrapped}}
  
 +
* Spacing
 +
** Left
 +
*** Space between text and left side of frame
 +
** Right
 +
*** Space between text and right side of frame
 +
** Top
 +
*** Space between text and top of frame
 +
** Bottom
 +
*** Space between text and bottom of frame
  
There are some option that are valid only for some wrap options:  
+
* Options
 +
** First paragraph
 +
** makes the selected wrap option valid only for the first paragraph: the following paragraphs will move to below the frame
 +
** In background
 +
*** sends frame behind the content
  
* "First paragraph"
+
{{Documentation/Note|Valid only for the Through wrap setting.}}
** valid for all wrap option ''except'' the first one ("None"), makes the selected wrap option valid only for the first paragraph: the following paragraphs will move to below the frame.
+
{{Documentation/Note|To select a frame set "in background", it is necessary to perform a {{Key|Ctrl}}+click over it.}}
 
+
* "In background"
+
** only valid for Continuous Wrap sends the frame behind the content.
+
 
+
{{Documentation/Note|To select again a frame set "in background", it is necessary to perform a {{Key|Ctrl}}+click over it.}}
+
  
 
== Hyperlink tab ==
 
== Hyperlink tab ==

Revision as of 15:14, 31 May 2013

Template:Documentation/DraftPage


Inserting a Frame

Frames in Writer are similar to LaTeX "minipages". Basically, a frame is a small "floating page" on top of a real page. Frames accept any kind of content: text; pictures; tables... even other frames.

Frames are used extensively in Writer: each inserted picture, OLE object (Math objects, charts...), are inside a frame. When a caption is added to a picture, this picture, which is already inside a frame, will be automatically included on another frame that enclose the paragraph with the automatic numbering.

The sceenshot below shows the result of the menu command Insert → Frame. The purpose of the individual tabs will be discussed in the following sections.


AOO-Frame.png

Type tab

On the top left of this tab it is possible to define the Frame size.

  • "Relative" means "Relative to the text area".
  • "Automatic" (for Width) and "AutoSize" (for height) makes the frame grow with the content.
  • "Keep ratio" forces width and height of the frame to grow proportionally.


On the top right it is possible to choose the "Anchoring". This option selects how the frame will be positioned from a reference point, that is the point at which the frame was inserted:

  • To page: this associates the frame with the page on which it was inserted. It is important to be careful with this option because the picture will remain on that page even if all the previous pages are empty.
  • To paragraph: the default option. The picture will follow the paragraph in which it was inserted.
  • To character: similar to the previous option, but considering the exact point inside the paragraph where the image was inserted.
  • As character: the frame will move inside the text as if it were another character. This is the default option for frames associated with Math objects.


On the lower part of this tab the position options are found.

The available options will depend upon the selected anchoring: for example, selecting "As character" we lose the horizontal position options.

Two important options are "Mirror on even/odd pages" and "Follow text flow".

The mirror option will automatically change the frame position when we are on an odd or even page. For example, if we choose "Outside" will be positioned to the right on odd pages and to the left on even pages.

The option "Follow text flow" is useful to avoid the possibility of a frame going outside the limits of the text area on the page.

Options tab

AOO Frame Options Tab.png

As shown above, the Options tab allows the setting of various options for the frame.

  • Name
    • The unique name of the frame
      • This makes it simpler to identify on the Navigator.
      • Default is Framennn where nnn is an increasing number starting at 1.
  • Previous Link
    • The name of the previous frame in a linked set.
  • Next Link
    • The name of the next frame in a linked set.

Template:Documentation/Note

  • Protect
    • This section allows you to protect various attributes of the frame.
  • Contents
    • When checked this option protects the contents of the frame from being changed.
  • Position
    • When checked this option protects the position of the frame from being changed.
  • Size
    • When checked this option protects the size of the frame from being changed.
  • Text Direction
    • This section sets the text direction for the frame. The options are as follows.
      • Left-to-right (horizontal)
        • Left justified text
      • Right-to-left (horizontal)
        • Right justified text
      • Left-to-right (vertical)
        • Vertical text aligned to the left margin
      • Use superordinate object settings
        • Use the default text flow settings for the page. This is the default.

Wrap tab

Here it is possible to define how the text and other content flow around the frame. For example, if the frame takes only a fraction of the page width it is possible to set the text to surround it: the option "Optimal" will be the more appropriate in this situation.


AOO Frame Wrap Tab.png

The screenshot above shows all the attributes that can be set on this tab.

  • Settings
    • None
      • No wrapping of text
    • Before
      • Text wraps before the frame only
    • After
      • Text wraps after the frame only
    • Parallel
      • Text wraps around the frame on all sides
    • Through
      • Frame is placed in front of text
    • Optimal
      • Automatically wraps text on all four sides of frame

Template:Documentation/Note

  • Spacing
    • Left
      • Space between text and left side of frame
    • Right
      • Space between text and right side of frame
    • Top
      • Space between text and top of frame
    • Bottom
      • Space between text and bottom of frame
  • Options
    • First paragraph
    • makes the selected wrap option valid only for the first paragraph: the following paragraphs will move to below the frame
    • In background
      • sends frame behind the content

Template:Documentation/Note Template:Documentation/Note

Hyperlink tab

To associate a hyperlink to the frame. The hyperlink will work with a  Ctrl +Click on the frame.

Borders tab

To draw borders around the frame.

Background tab

To set a background for the frame, either a continuous color or an image.

Columns tab

To set the frame content separated on columns. It is possible to choose the number of columns, their width, spacing, separator line...

Macro tab

To associate a macro with the frame, in a way that the selected macro automatically activates when a selected event is verified, like a click on the frame or the introduction text on it.

Personal tools