Re: [office] preferred view mode upon opening document

From
[ing Gei Kia
Date
2008-10-26T15:41:51+00:00
ID
Thread
Re: [office] preferred view mode upon opening document
I think without separating an extended-preferred-view-mode attribute works as well, because, according to the string pattern, namespacedToken value can be identified from the pre-defined values. So Michael's concerns can be resolved.



Now the revised proposal should be like as below:



Preferred View Mode

The manifest:preferred-view-mode attribute is meant to provide a preference on how the author of the document would like the document to be presented upon the document is opened. This attribute is only applicable to the root file entry with the full path ※/§.There are 3 view modes pre-defined: ※edit§, ※presentation-slide-show§ and ※read-only§. Beyond that, a namespaced value is defined to enable the specific application to customize its preferred view mode. View modes are not necessarily generally applicable to all MIME types. No default value is defined, and the way in which an application responds when no ※preferred-view-mode§ attribute is specified is undefined.

<define name="file-entry-attlist" combine="interleave">

	<optional>

		<attribute name="manifest:preferred-view-mode">

				<choice>

					<value>edit</value>

					<value>presentation-slide-show</value>

					<value>read-only</value>

					<ref name=§namespacedToken§>

				</choice>

		</attribute>

	</optional>

</define>



I updated the wiki about this proposal at this link:

http://wiki.oasis-open.org/office/proposal%3Aauto-play_presentation_file_format?highlight=(CategoryNewProposal\b)|(CategoryCategory\b)|(ProposalTemplate\b)



Also I updated the odt proposal document at this link:

http://www.oasis-open.org/apps/org/workgroup/office/download.php/29788/08-06-08-proposal00070



I would like to ballot on the next TC call if no fundermental changes occur.



Best Regards,



Mingfei Jia(樂隴滄)

IBM Lotus Symphony Development

IBM China Software Development LAB, Beijing

Tel: 86-10-82452493   Fax: 86-10-82452887

NOTES:Ming Fei Jia/China/IBM   E-mail: 

Address: No.28 Building, Zhong Guan Cun Software Park, No.8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193, P.R.China 



"Warren Turkal" <> wrote on 10/25/2008 12:48:54 AM:



> From:

> 

> "Warren Turkal" <>

> 

> To:

> 

> 

> 

> Cc:

> 

> 

> 

> Date:

> 

> 10/25/2008 12:52 AM

> 

> Subject:

> 

> Re: [office] preferred view mode upon opening document

> 

> I think the namespaced token solution sounds good.

> 

> On the issue of having a separate attrs to specify a standard and a

> custom view. I am not sure that's neccessary. I think that we should

> just leave it up to the user agent. Maybe we could suggest the user

> agent default to read-only or edit depending on whether the file is

> read-only or editable at the FS level?

> 

> wt

> 

> On Fri, Oct 24, 2008 at 6:43 AM,  <> wrote:

> >  wrote on 10/24/2008 06:21:26 AM:

> >

> >

> >>

> >> I'm personally a little bit in favor of using namespaced tokens rather

> >> URIs, simply because this is what we use in ODF already. And they are

> >> actually a subset of a new specification  called CURIE that the W3C is

> >> developing to address the issue of, as they call it, extensible value

> >> collections.

> >>

> >

> > That is fine with me as well.  Since the namespace prefix is associated

> > with a URI, we still are encouraging global uniqueness of the identifiers.

> >

> > -Rob

> >

> > ---------------------------------------------------------------------

> > To unsubscribe from this mail list, you must leave the OASIS TC that

> > generates this mail.  Follow this link to all your TCs in OASIS at:

> > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

> >

> >

> 

> ---------------------------------------------------------------------

> To unsubscribe from this mail list, you must leave the OASIS TC that

> generates this mail.  Follow this link to all your TCs in OASIS at:

> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 

>