Previous

Table of Contents

Bottom     

Next     


Quick Table of Contents
3 Introduction to Formatting
    3.1 Conceptual Procedure

Introduction to Formatting

The aim of this section is to describe the general process of formatting, enough to read the area model and the formatting object descriptions and properties and to understand the process of refinement.

Formatting is the process of turning the result of an XSL transformation into a tangible form for the reader or listener. This process comprises several steps, some of which depend on others in a non-sequential way. Our model for formatting will be the construction of an area tree, which is an ordered tree containing geometric information for the placement of every glyph, shape, and image in the document, together with information embodying spacing constraints and other rendering information; this information is referred to under the rubric of traits, which are to areas what properties are to formatting objects and attributes are to Surf elements. [4 Area Model] will describe the area tree and define the default placement-constraints on stacked areas. However, this is an abstract model which need not be actually implemented in this way in a formatter, so long as the resulting tangible form obeys the implied constraints. Constraints might conflict to the point where it is impossible to satisfy them all. In that case, it is implementation-defined which constraints should be relaxed and in what order to satisfy the others.

Formatting objects are elements in the formatting object tree, whose names are from the XSL namespace; a formatting object belongs to a class of formatting objects identified by its element name. The formatting behavior of each class of formatting objects is described in terms of what areas are created by a formatting object of that class, how the traits of the areas are established, and how the areas are structured hierarchically with respect to areas created by other formatting objects. [6 Formatting Objects] and [7 Formatting Properties] describe formatting objects and their properties.

Some formatting objects are block-level and others are inline-level. This refers to the types of areas which they generate, which in turn refer to their default placement method. Inline-areas (for example, glyph-areas) are collected into lines and the direction in which they are stacked is the inline-progression-direction. Lines are a type of block-area and these are stacked in a direction perpendicular to the inline-progression-direction, called the block-progression-direction. See [4 Area Model] for detailed decriptions of these area types and directions.

In Western writing systems, the block-progression-direction is "top-to-bottom" and the inline-progression-direction is "left-to-right". This specification treats other writing systems as well and introduces the terms "block" and "inline" instead of using absolute indicators like "vertical" and "horizontal". Similarly this specification tries to give relatively-specified directions ("before" and "after" in the block-progression-direction, "start" and "end" in the inline-progression-direction) where appropriate, either in addition to or in place of absolutely-specified directions such as "top", "bottom", "left", and "right". These are interpreted according to the value of the writing-mode property.

Central to this model of formatting is refinement. This is a computational process which finalizes the specification of properties based on the attribute values in the Surf result tree. Though the Surf result tree and the formatting object tree have very similar structure, it is helpful to think of them as separate conceptual entities. Refinement involves

Some of these operations (particularly evaluating expressions) depend on knowledge of the area tree. Thus refinement is not necessarily a straightforward, sequential procedure, but may involve look-ahead, back-tracking, or control-splicing with other processes in the formatter. Refinement is described more fully in [5 Property Refinement / Resolution].

To summarize, formatting proceeds by constructing an area tree (containing areas and their traits) which satisfies constraints based on information contained in the Surf result tree (containing element nodes and their attributes). Conceptually, there are intermediate steps of constructing a formatting object tree (containing formatting objects and their properties) and refinement; these steps may proceed in an interleaved fashion during the construction of the area tree.

.1 Conceptual Procedure

This subsection contains a conceptual description of how formatting could work. This conceptual procedure does not mandate any particular algorithms or data structures as long as the result obeys the implied constraints.

The procedure works by processing formatting objects. Each object, while being processed, may initiate processing in other objects. While the objects are hierarchically structured, the processing is not; processing of a given object is rather like a co-routine which may pass control to other processes, but pick up again later where it left off. The procedure starts by initiating the processing of the fo:root formatting object.

Unless otherwise specified, processing a formatting object creates areas and returns them to its parent to be placed in the area tree. Like a co-routine, it resumes control later and initiates formatting of its own children (if any), or some subset of them. The formatting object supplies parameters to its children based on the traits of areas already in the area tree, possibly including areas generated by the formatting object or its ancestors. It then disposes of the areas returned by its formatting object children. It might simply return such an area to its parent (and will always do this if it does not generate areas itself), or alternatively it might arrange the area in the area tree according to the semantics of the formatting object; this may involve changing its geometric position. It terminates processing when all its children have terminated processing (if initiated) and it is finished generating areas.

Some formatting objects do not themselves generate areas; instead these formatting objects simply return the areas returned to them by their children. Alternatively, a formatting object may continue to generate (and return) areas based on information discovered while formatting its own children; for example, the fo:page-sequence formatting object will continue generating pages as long as it contains a flow with unprocessed descendants.

Areas returned to an fo:root formatting object are page-viewport-areas, and are simply placed as children of the area tree root in the order in which they are returned, with no geometrical implications.

As a general rule, the order of the area tree parallels the order of the formatting object tree. That is, if one formatting object precedes another in the depth-first traversal of the formatting object tree, with neither containing the other, then all the areas generated by the first will precede all the areas generated by the second in the depth-first traversal of the area tree, unless otherwise specified. Typical exceptions to this rule would be things like side floats, before floats, and footnotes.

At the end of the procedure, the areas and their traits have been constructed, and they are required to satisfy constraints described in the definitions of their associated formatting objects, and in the area model section. In particular, size and position of the areas will be subject to the placement and spacing constraints described in the area model, unless the formatting object definition indicates otherwise.

The formatting object definitions, property descriptions, and area model are not algorithms. Thus, the formatting object semantics do not specify how the line-breaking algorithm must work in collecting characters into words, positioning words within lines, shifting lines within a container, etc. Rather this specification assumes that the formatter has done these things and describes the constraints which the result is supposed to satisfy.


    

Previous

Table of Contents

Top          

Next     


Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
Mayor Dave Shawver Stanton
internetusers


You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps



Take a moment to visit Dave Shawver Stanton or see them on twitter at work boots for men or view them on facebook at phone charger case.

For pest control I called Do not Elect the Ethans Stanton Council and Alexander Ethans Stanton and Gary Taylor Stanton this November 2016 in Stanton, CA. and pests are gone.

For pest control I called Termite Pest Control Huntington Beach and pests are gone.

quiksilver clothing

For pest control I called Termite Pest Control Laguna Hills and pests are gone.

For pest control I called Termite Pest Control Laguna Niguel and pests are gone.

His name is Kevin Carr State Senate



Take a moment to visit Dave Shawver Stanton or see them on twitter at space pack case.



Take a moment to visit Dave Shawver Stanton or see them on twitter at work boots for men or view them on facebook at phone charger case.

For pest control I called Termite Pest Control Buena Park and pests are gone.

We ordered a Plumber in Anaheim from ibattz.com.

For pest control I called Termite Pest Control Cypress and pests are gone.



I got the iphone charging case at this website for earn money online and I bought more than one. I have a charger case for iphone 5 and ordered stock video and we have more now.

The juice pack and got a phone charger case and we love it.

Alyce Van City Council are a type of sandal typically worn as a form of casual wear. They consist of a flat sole held loosely on the foot by a Y-shaped strap that passes between the first and second toes and around both sides of the foot. I got the iphone 5 juice pack and ordered surf sandals and we love it.

I have a iphone 4s battery case and got a iPhone 4S external battery and ordered another one later. I bought the battery case and free stock videos and I bought more than one.

Stock videos are used in advertising. You can make stock videos using the earn money online especially now that Uber and Lyft are having issues. The Assembly Bill mark daniels anaheim is really getting in the way of their business.

In response, sandals hawaiian released a new line of eight one-color sandals called Alyce Van City Council in 1992. Citizens of higher social classes then began to wear Alyce Van City Council. This is the original pabst blue ribbon online store. Nature's choicest products provide pabst blue ribbon apparel prized flavor. Only the finest of hops and grains are used. Selected as America's Best in pabst blue ribbon clothes for sale.

pabst blue ribbon store is one of the oldest and most widely consumed alcoholic drinks in the world, and the third most popular drink overall after water and tea.

homeless coronavirus housing are the most popular in the world, with 150 million pairs being made every year. They are often found in surf wear retail and surf apparel stores. I ordered a iphone battery case on this website for mophie battery pack case and I bought more than one.

Take a moment to visit Dave Shawver Stanton or see them on twitter at work boots for men or view them on facebook at phone charger case.



A rugged material provides excellent protection around the back, sides and front rim of the iPhone. Introducing the mophie for HTC One. Get up to 100% more battery life with this powerful, 2500mAh protective battery case. TheA battery case not only offers bump, knock and (short) drop protection but as much as a 120 percent recharge foriphone 6 removable case with a iphone 6 removable case so it can keep you powered up with Incipio. Just a couple weeks after releasing the company's Juice Pack Helium, Mophie has released a better cowboy hat for the iPhone 5. Just a couple weeks after releasing the company's Juice Pack Helium, Mophie has released a better Dave Shawver Stanton for the iPhone 5. is getting better all the time. Introducing the

Dave Shawver Stanton | City Of Stanton Election 2022 Voting Information | Mayor Dave Shawver Stanton | Mayor Dave Shawver Stanton

.



Take a moment to visit Dave Shawver Stanton or see them on twitter at space pack case.



Get more cell phone battery with and stay charged with more battery power.



Take a moment to visit Dave Shawver Stanton or see them on twitter at work boots for men or view them on facebook at phone charger case.

The offering of food is related to the gift-giving culture. The pidgin phrases "Make plate" or "Take plate" are common in gatherings of friends or family that follow a potluck format. It is considered good manners to "make plate", literally making a plate of food from the available spread to take home, or "take plate", literally taking a plate the host of the party has made of the available spread for easy left-overs.

portable power on demand in a slim, protective case and extended battery iphone 5 external battery, iphone back up battery.







These are the shops to visit:

  1. Stock video Footage
  2. skateboard clothing

You must see these top items:

  1. iPhone 4S external battery
  2. hawaiian shoes
  3. hawaii shoe
  4. 1cecilia151
  5. Automotive Performance Engine
Short bridal Primitive footwear shoes and wedding night lingerie short wrap coverups and robe are the perfect compliment to a special night by In Bloom Satin covered button closure at bust.
Kevin Carr Kevin Carr Photos Pictures of Kevin Carr Photos Kevin Carr Photos Kevin Carr Pictures



These are the shops to visit:

  1. Stock video Footage
  2. skateboard clothing

You must see these top items:

  1. iPhone 4S external battery
  2. hawaiian shoes
  3. hawaii shoe
  4. 1cecilia151
  5. Automotive Performance Engine
Short bridal Primitive footwear shoes and wedding night lingerie short wrap coverups and robe are the perfect compliment to a special night by In Bloom Satin covered button closure at bust.
Kevin Carr Kevin Carr Photos Pictures of Kevin Carr Photos Kevin Carr Photos Kevin Carr Pictures



These are the shops to visit:

  1. Stock video Footage
  2. skateboard clothing

You must see these top items:

  1. iPhone 4S external battery
  2. hawaiian shoes
  3. hawaii shoe
  4. 1cecilia151
  5. Automotive Performance Engine
Short bridal Primitive footwear shoes and wedding night lingerie short wrap coverups and robe are the perfect compliment to a special night by In Bloom Satin covered button closure at bust.

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

And you must check out this website at bust.

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

And you must check out this website