Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

XPS 0.95 Change: BleedBox/ContentBox

Feedback

In this article

We are making a change in version 0.95 of the XPS with how bleed boxes and content boxes are specified, in order to match the rectangle model used elsewhere in the spec. In addition, you may have noticed that the .NET 3.0 implementation always functioned as described below.

The key changes are:

  1. The Right and Bottom values of the BleedBox and ContentBox have been replaced by width and height values. Left and Top have been renamed to better indicate they are the origin X and Y values. 
  2. The BleedBox is required to fully contain the FixedPage (previously it only was required to contain the ContentBox).
  3. The recommendation to generate an error in the case of an invalid content box or bleed box has been replaced by ignoring the box in favor of the default (the fixed page boundaries).

TheBleedBox andContentBox attribute descriptions in 3.3 "<FixedPage> Element" are changing as follows:

BleedBox:

Specifies the area including crop marks that extends outside of the physical page. Contains a list of four coordinate values (BleedOriginX, BleedOriginY, BleedWidth, BleedHeight), expressed as comma-separated real numbers. If omitted, the default value is (0,0,Width,Height).

ContentBox:

Specifies the area of the page containing imageable content that is to be fit within the imageable area when printing or viewing. Contains a list of four coordinate values (ContentOriginX, ContentOriginY, ContentWidth, ContentHeight), expressed as comma-separated real numbers. Specifying a value is RECOMMENDED [S3.1]. If omitted, the default value is (0,0,Width,Height).

The following sections have also been revised:

3.3.1 BleedBox Attribute

TheBleedBox attribute defines the area (inclusive of crop marks) that extends outside of the physical page. The bleed box is expressed as four comma-separated, real-number coordinate values that correspond to BleedOriginX, BleedOriginY, BleedWidth, BleedHeight. Additional whitespace MAY appear. These values are specified in units of 1/96". The bleed box is not affected by any render transformation of the fixed page.

Bleed boxes that do not satisfy the following conditions are invalid and SHOULD be ignored in favor of the default bleed box [S3.2]:

  • TheBleedBox BleedOriginX value MUST be less than or equal to 0 [M3.7].
  • TheBleedBox BleedOriginY value MUST be less than or equal to 0 [M3.8].
  • TheBleedBox BleedWidth value MUST be greater than or equal to the fixed pageWidth attribute value plus the absolute value of theBleedbox BleedOriginX value [M3.9].
  • TheBleedBox BleedHeight value MUST be greater than or equal to the fixed pageHeight attribute value plus the absolute value of theBleedBox BleedOriginY value [M3.10].

If theBleedBox attribute is omitted, the default value is “0,0,Width,Height”.

3.3.2 ContentBox Attribute

TheContentBox attribute specifies the area of the page that contains imageable content that must fit in the imageable area when printing or viewing. Specifying this attribute is RECOMMENDED. The content box is expressed as four comma-separated, real-number coordinate values that correspond to ContentOriginX, ContentOriginY, ContentWidth, ContentHeight. Additional whitespace MAY appear. These values are specified in units of 1/96". The content box is not affected by any render transformation of the fixed page.

Content boxes that do not satisfy the following conditions are invalid and SHOULD be ignored in favor of the default content box [S3.3]:

  • TheContentBox ContentOriginX value MUST be greater than or equal to 0 and less than the fixed pageWidth attribute value [M3.11].
  • TheContentBox ContentOriginY value MUST be greater than or equal to 0 and less than the fixed pageHeight attribute value [M3.12].
  • TheContentBox ContentWidth value MUST be less than or equal to the difference between theWidth attribute value and theContentBox ContentOriginX value [M3.13].
  • TheContentBox ContentHeight value MUST be less than or equal to the difference between theHeight attribute value and theContentBox ContentOriginY value [M3.14].

If theContentBox attribute is omitted, the default value is “0,0,Width,Height”.

Comments

  • Anonymous
    February 18, 2007
    The comment has been removed
  • Anonymous
    February 19, 2007
    The comment has been removed

  • Last updated on

In this article