OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] (OFFICE-3938) Page layout allows to set only width or heighth instead of both

    [ https://issues.oasis-open.org/browse/OFFICE-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=67923#comment-67923 ] 

Andreas Guelzow commented on OFFICE-3938:

In [XSL]:
7.25.15 "page-width"

XSL Definition:
Value: 	auto | indefinite | <length> | inherit
Initial: 	auto
Applies to: 	fo:simple-page-master
Inherited: 	no
Percentages: 	N/A
Media: 	visual

Values have the following meanings:

    The "page-width" shall be determined, in the case of continuous media, from the size of the User Agent window, otherwise from the size of the media. If media information is not available this dimension shall be implementation-defined.
    NOTE:  A fallback to 8.26in would fit on both 8+1/2x11 and A4 pages.

   The width of the page is determined from the size of the laid-out content. "Page-width" and "page-height" properties may not both be set to "indefinite". Should that occur, the dimension that is parallel to the block-progression-direction, as determined by the "reference-orientation" and "writing-mode" on the fo:simple-page-master, of the page-reference-area will remain "indefinite" and the other will revert to "auto".

    Specifies a fixed width for the page.

Specifies the width of a page.

I think this makes it clear why a page width or height need not be set for a fixed value. Lots of spreadsheets never have a page width set.

> Page layout allows to set only width or heighth instead of both
> ---------------------------------------------------------------
>                 Key: OFFICE-3938
>                 URL: https://issues.oasis-open.org/browse/OFFICE-3938
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Formatting Properties
>    Affects Versions: ODF 1.2
>            Reporter: Svante Schubert
>            Priority: Minor
> In the ODF RelaxNG XML schema of ODF it is possible to set the width or the height of a page, but both attributes are optional.
> See http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419862_253892949
> As for the minimum of the two dimensional page both values are mandatory, I suggest for interoperability of page layout to drop their optional usage and make them for every page layout mandatory.
> Or is there a use case known to someone to omit page height / width but using some other value?
> Here the existing description from the ODF 1.2 RelaxNG (see http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-schema.rng) 
> <define name="style-page-layout-properties-attlist">
> 	<interleave>
> 		<optional>
> 			<attribute name="fo:page-width">
> 				<ref name="length"/>
> 			</attribute>
> 		</optional>
> 		<optional>
> 			<attribute name="fo:page-height">
> 				<ref name="length"/>
> 			</attribute>
> 		</optional>

This message was sent by Atlassian JIRA

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]