Atomik Xport SE: Reference > Chapter 6 Working with Rulesets > 6.6 Boxes tab << >>

6.6.5 Insert Overlapping Boxes

An anchored box is one that has been pasted into the actual text flow. This means that unlike non-anchored boxes, it will move with the flow of the text within a text box. Anchored boxes can be created by copying an existing non-anchored box with the item tool in QuarkXPress and then pasting the box into a text box using the content tool (see QuarkXPress user manual for more details).

Atomik Xport will always extract anchored boxes at the position in the text flow below where they occur.

However sometimes typesetters use floating boxes with run-around applied to achieve a similar visual result.

To handle this kind of scenario, Atomik Xport provides the “Insert Overlapping Boxes” setting.

The “Insert Overlapping Boxes” setting causes Atomik Xport to consider text or image boxes floating over a text box below as part of that text box below and it attempts to insert it “inline” in the right place in the output XML.

For example: If the Insert Overlapping Boxes preference is NOT checked, Atomik Xport will follow the flow of text in a text box and will automatically bypass an overlapping text or picture box, because this is how the text flows.

If the preference IS selected, Atomik Xport will stop and examine the contents of an overlapping text or picture box to see if a rule exists, and if so, will extract the specified content or image reference in the exact position that it appears within the text flow, in other words “inline”.

Image boxes considered “inline” will always be inserted at the end of a paragraph. Text boxes considered “inline” will be inserted exactly in the position they appear within the text flow, unless the “Always Insert between Paragraphs” checkbox is also chosen.

The Insert Overlapping Boxes option is useful for boxes that are floating overlapping but which have runaround (text wrap around object) enabled since the option will effectively cause Atomik Xport to treat these overlapping boxes as if they were anchored boxes (Atomik Xport always extracts anchored objects at the position they appear in the text flow).

Overlapped at Least

This tolerance enables the user to control what Atomik Xport classifies as an “overlapping” box. The tolerance number is expressed as a percentage and refers to the percentage of the area of the box that has to be covering the underlying text box if the box is to be classified as overlapping. For example if the tolerance is set to 80% and only 10% of the area of a box is covering the underlying text box, Atomik Xport will not treat this as “inline”. However if, with the same tolerance setting, the box is moved so that 90% of the box covers the underlying text box, Atomik Xport would treat this as inline. In most layouts a value of 80% would be normal. In summary and to define this more mathematically, there are two rules that must be met for Atomik Xport to decide an overlapping box is to be inserted inline:

Box 1 is considered inline to Box 2 if...

  1. 1 The area of intersection of the two boxes is greater than the area of Box 1 multiplied by the tolerance (e.g. tolerance of 60% equals 0.6).
  2. AND
  3. 2 The area of Box 1 is less than the area of Box 2

Always Insert between Paragraphs

Overlapping image boxes considered “inline” will always be inserted at the end of a paragraph. Text boxes considered “inline” will be inserted exactly in the position they appear within the text flow, unless the “Always Insert between Paragraphs” checkbox is also chosen.

Example of an overlapping which is considered “inline” and inserted in to the text flow below if the ‘Insert Overlapping Boxes’ setting is enabled