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: Re: [office] Default values of Symphony Spreadsheet


Hi Michael,

Yes, your assumption is correct. Sorry to bring this confusion. All of items listed here should be default values in Symphony Spreadsheet. Here I explain why this occurred. Since Symphony Speadsheet has only few places to declare the element <style:default-style> in styles.xml explictly. I have to extract those default values that are not contained in the <style:default-style> element. For example, there are 8 automatic styles defined like <style:style style:name="xxx" style:family="graphic"> defaultly when creating a new Spreasheet document. I have to compare all the 8 defined styles and extract their common values as default values. And these extracted common values should belong to <style:default-style style:family="graphic"> though they are not output there explictly. So this operation had kept the trace of "style:style". Other situations you mentioned are similar to the above. The detailed answers for each quesiton are followed up your original response mail.

Best Regards,

Mingfei Jia(¼ÖÃ÷·É)
IBM Lotus Symphony Development
IBM China Software Development LAB, Beijing
Tel: 86-10-82782244-2493 Fax: 86-10-62982924
NOTES:Ming Fei Jia/China/IBM E-mail: jiamingf@cn.ibm.com
Address: 4/F, DeShi Building No.9, East Road, ShangDi, Haidian District, Beijing 100085, PRC

Inactive hide details for Michael Brauer - Sun Germany - ham02 - Hamburg ---03/05/2008 11:28:04 PM---Hi Ming Fei,Michael Brauer - Sun Germany - ham02 - Hamburg ---03/05/2008 11:28:04 PM---Hi Ming Fei,


From:

Michael Brauer - Sun Germany - ham02 - Hamburg <Michael.Brauer@Sun.COM>

To:

Ming Fei Jia/China/IBM@IBMCN

Cc:

office@lists.oasis-open.org

Date:

03/05/2008 11:28 PM

Subject:

Re: [office] Default values of Symphony Spreadsheet





>Hi Ming Fei,

>I just wanted to update the default style comparison document, but have
>a couple of questions:

>You have provided a styles.xml and content.xml. The content.xml contains
>a few <style:style> elements. Am I right that this should be
><style:default-style> elements?


A: Yes, they should be <style:default-style>elements.

>Should the <style:style family="graphic"> element in the styles.xml be
>merged with the <style:default-style family="graphic"> element? Or
>should one of the two be ignored?

A: Yes,merge them together.

>The styles.xml contains two elements that are not contained in any
><style:default-style> element:
><style:page-layout-properties style:writing-mode="lr-tb"/>
><style:header-footer-properties fo:min-height="0.2957in"

>I think they belong into a <style:default-page-layout> element. Is that
>assumption correct?

A: Yes, they should belong to <style:default-page-layout>.

Best regards

Michael

Ming Fei Jia wrote:
> Dear TC members,
>
> Here are the default values of Symphony Spreadsheet.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <office:document-styles
> xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
> xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
> xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
> xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
> xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
> xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
> xmlns:xlink="
http://www.w3.org/1999/xlink"
> xmlns:dc="
http://purl.org/dc/elements/1.1/"
> xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
> xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
> xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
> xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
> xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
> xmlns:math="
http://www.w3.org/1998/Math/MathML"
> xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
> xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
> xmlns:dom="
http://www.w3.org/2001/xml-events"
> xmlns:xforms="
http://www.w3.org/2002/xforms"
> xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
> xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
> xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
> xmlns:prodtools="
http://www.ibm.com/xmlns/prodtools" office:version="1.1">
> <office:styles>
> <style:default-style style:family="table-cell">
> <style:table-cell-properties style:decimal-places="8"/>
> <style:paragraph-properties style:tab-stop-distance="0.5in"/>
> <style:text-properties fo:language="en"
> fo:country="US"
> style:language-asian="none"
> style:country-asian="none"
> style:language-complex="none"
> style:country-complex="none"/>
> </style:default-style>
> <style:default-style style:family="graphic">
> <style:paragraph-properties style:text-autospace="ideograph-alpha"
> style:punctuation-wrap="simple"
> style:line-break="strict"
> style:writing-mode="page">
> </style:paragraph-properties>
> <style:text-properties style:use-window-font-color="true"
> fo:font-family="&apos;Times New Roman&apos;"
> style:font-family-generic="roman"
> style:font-pitch="variable"
> fo:font-size="12pt"
> fo:language="en"
> fo:country="US"
> style:font-size-asian="12pt"
> style:language-asian="none"
> style:country-asian="none"
> style:font-size-complex="12pt"
> style:language-complex="none"
> style:country-complex="none"/>
> </style:default-style>
> <office:automatic-styles>
> <style:page-layout-properties style:writing-mode="lr-tb"/>
> <style:header-footer-properties fo:min-height="0.2957in"
> fo:margin-left="0in"
> fo:margin-right="0in"
> fo:margin-top="0.0984in"
> fo:border="0.0346in solid #000000" fo:padding="0.0071in"
> fo:background-color="#c0c0c0">
> </office:automatic-styles>
> <office:master-styles>
> <style:master-page>
> <style:header-left style:display="false"/>
> <style:footer-left style:display="false"/>
> </style:master-page>
> </office:master-styles>
> </office:document-styles>
>
> -------------------------------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <office:document-content
> xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
> xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
> xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
> xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
> xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
> xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
> xmlns:xlink="
http://www.w3.org/1999/xlink"
> xmlns:dc="
http://purl.org/dc/elements/1.1/"
> xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
> xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
> xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
> xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
> xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
> xmlns:math="
http://www.w3.org/1998/Math/MathML"
> xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
> xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
> xmlns:dom="
http://www.w3.org/2001/xml-events"
> xmlns:xforms="
http://www.w3.org/2002/xforms"
> xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
> xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
> xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
> xmlns:prodtools="
http://www.ibm.com/xmlns/prodtools" office:version="1.1">
>
> <office:automatic-styles>
> <style:style style:family="table-column">
> <style:table-column-properties style:column-width="0.8925in"/>
> </style:style>
>
> <style:style style:family="table-row">
> <style:table-row-properties style:use-optimal-row-height="true"/>
> </style:style>
>
> <style:style style:family="table">
> <style:table-properties table:display="true"/>
> </style:style>
>
> <style:style style:family="graphic">
> <style:graphic-properties draw:textarea-horizontal-align="center"
> draw:textarea-vertical-align="middle"
> draw:fill-color="#ffff99"
> draw:auto-grow-height="false"
> draw:stroke="none"
> svg:stroke-width="0in"
> svg:stroke-color="#000000"
> draw:marker-start-width="0.1181in"
> draw:marker-start-center="false"
> draw:marker-end-width="0.1181in"
> draw:marker-end-center="false"
> svg:stroke-opacity="100%"
> draw:stroke-linejoin="round"
> draw:fill="solid"
> draw:gradient-step-count="0"
> draw:fill-hatch-solid="true"
> draw:opacity="100%"
> style:repeat="repeat"
> draw:fill-image-ref-point-x="0%"
> draw:fill-image-ref-point-y="0%"
> draw:fill-image-ref-point="center"
> draw:shadow="hidden"
> draw:shadow-offset-x="0.1181in"
> draw:shadow-offset-y="0.1181in"
> draw:shadow-color="#808080"
> draw:shadow-opacity="100%"
> draw:color-mode="standard"
> draw:luminance="0%"
> draw:contrast="0%"
> draw:gamma="100%"
> draw:red="0%"
> draw:green="0%"
> draw:blue="0%"
> fo:clip="rect(0in 0in 0in 0in)"
> style:mirror="none"
> dr3d:close-front="true"
> dr3d:close-back="true"
> dr3d:normals-kind="object"
> dr3d:texture-generation-mode-x="object"
> dr3d:texture-generation-mode-y="object"
> dr3d:texture-mode="blend"
> dr3d:shadow="hidden"
> dr3d:backface-culling="enabled"/>
> </style:style>
> <office:automatic-styles>
> </office:document-content>
>
>
> Best Regards,
>
> Mingfei Jia(¼ÖÃ÷·É)
> IBM Lotus Symphony Development
> IBM China Software Development LAB, Beijing
> Tel: 86-10-82782244-2493 Fax: 86-10-62982924
>
NOTES:Ming Fei Jia/China/IBM E-mail: jiamingf@cn.ibm.com
> Address: 4/F, DeShi Building No.9, East Road, ShangDi, Haidian District,
> Beijing 100085, PRC
>


--
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 




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