Difference between revisions of "Writer/NumberingEnhancementforMSInteroperability"

From Apache OpenOffice Wiki
Jump to: navigation, search
(+cat)
 
(8 intermediate revisions by 2 users not shown)
Line 23: Line 23:
 
There are two types of numbering rules in writer, one is '''Outline Numbering Rule''' , the other is '''Normal Numbering Rule'''.  
 
There are two types of numbering rules in writer, one is '''Outline Numbering Rule''' , the other is '''Normal Numbering Rule'''.  
  
There are only one Outline Numbering Rule, lots of Normal Numbering Rules in one document. Generally, a Normal Numbering Rule is applied to a paragraph when "Bullets and Numbering" is used to format a paragraph.  
+
There are only one Outline Numbering Rule, lots of Normal Numbering Rules in one document. In general, a Normal Numbering Rule is applied to a paragraph when "Bullets and Numbering" is used to format a paragraph.  
  
 
===There are three ways to use numbering to format a paragraph.===
 
===There are three ways to use numbering to format a paragraph.===
Line 53: Line 53:
  
 
:: User opens the "Bullet and Numbering" toolbar and uses its buttons. [[User:Regina|Regina]] 17:47, 18 August 2012 (UTC)
 
:: User opens the "Bullet and Numbering" toolbar and uses its buttons. [[User:Regina|Regina]] 17:47, 18 August 2012 (UTC)
 +
 +
=Feature implement=
  
 
===Import and Export of paragraph style with attribute "list-level"===
 
===Import and Export of paragraph style with attribute "list-level"===
  
 
Here is a sample file [[File:numbering.odt]] which contains a paragraph style named "ParaStyle", the paragraph style has an attribute list-level=6.
 
Here is a sample file [[File:numbering.odt]] which contains a paragraph style named "ParaStyle", the paragraph style has an attribute list-level=6.
 +
 +
The XML description of the paragraph style is
 +
 +
    <style:style style:name="ParaStyle" style:family="paragraph" style:parent-style-name="Default_20_Text" style:list-style-name="Untitled1" style:list-level="6">
 +
      <style:text-properties fo:font-size="80pt"/>
 +
    </style:style>
 +
 +
===UI used to link a list level to a paragraph style===
 +
 +
Create a new list style from dialog "Style and Formatting", in the options tab page we add a list box control "Paragraph Sytle", give the users an option to link a level of current list style to a paragraph style.
 +
 +
<p style="text-align:center;">[[File:listlevel.png]]</p>
 +
 +
 +
=Graphic Bullets Interoperability with MS Word Binary Format=
 +
Graphic Bullets is a kind of bullets and used in both MS Office and Apache OpenOffice.org. It provides fancy graphics to replace the special characters as bullet,which is used broadly. This wiki will only focus on the graphic bullets in Apache OpenOffice.org Writer.
 +
==Problem Description==
 +
Currently,this feature is missing the fidelity with MS Word binary file format in Apache OpenOffice.org Writer.When loading a MS Word binary file containing graphic bullets into Apache OpenOffice.org Writer,the graphic bullets will be lost,instead of a default normal special character bullet.Reversely,when creating graphic bullets in Apache OpenOffice.org Writer and saving to MS Word binary format,the graphic bullets is also lost,instead of a default normal special character bullet.
 +
 +
==Goal and Scope of the Improvement==
 +
#When loading a MS Word binary document with graphic bullets into Writer,the graphic bullets will be parsed and mapped to Writer's graphic bullet correctly.
 +
#The loaded graphic bullets from a MS Word binary document can be modified and saved back correctly
 +
#The loaded graphic bullets from a MS Word binary document can be saved as an odt file correctly
 +
#The graphic bullets created in Writer can be saved as MS Word binary document correctly
 +
 +
[[Category:Writer Numbering]]

Latest revision as of 14:15, 6 April 2013

Feature Scope

The enhancement contains:

Support the ODF attribute "List Level" for paragraph styles

Loading and saving List Level attribute of paragraph style.

UI support of List Level attribute setting.

New numbering calculating rule.

MS doc style mapping, and numbering mapping, filter updating.

Inherited outline level attribute

Child paragraph's Headline styles can associate outline numbering style and be regard as TOC collect-able styles.


Numbering in the writer

Numbering or Bullet is a special character appeared at the front of a paragraph. In writer, the key concept of Numbering/Bullet is the numbering rule. Numbering rule is a numbering calculating rule. Numbering rule defines a serious of attributes for formatting Numbering/Bullet character. These attributes are: Type(Bullet, Picture Bullet and Numbering), Level(Level 1 – Level 10, a number rule have 10 levels), Style, Size, Color, Font, Space, etc.

There are two types of numbering rules in writer, one is Outline Numbering Rule , the other is Normal Numbering Rule.

There are only one Outline Numbering Rule, lots of Normal Numbering Rules in one document. In general, a Normal Numbering Rule is applied to a paragraph when "Bullets and Numbering" is used to format a paragraph.

There are three ways to use numbering to format a paragraph.

1) Outline Number Rule can be configured through "Outline Numbering" dialog (Main Menu->Tools->Outline Numbering). User can configure several options for each outline level, a predefined paragraph style, such as "heading 1", can be bound to an outline level, when user applies this paragraph style to a paragraph, the Outline Number Rule is applied to this paragraph automatically.


Dlg outline numbering.png


2) "Style and Formatting" dialog (Main Menu->Format->Style and Formatting, F11) lists all writer's predefined numbering rules, user can apply those list style directly to a paragraph, the list styles in this dialog are Normal Numbering Rules. User can also create new named customized numbering rule then apply it to a paragraph.


Dlg style and formatting.png


3) "Bullets and Numbering" dialog (Main Menu->Format->Bullets and Numbering), user can use this dialog to create a customized numbering rule then apply it to a paragraph. The name of the applied customized numbering rules can not be controlled by the user.


Dlg bullets and numbering.png

Additional to the dialog:
User can use the buttons in the Formatting Toolbar.
User can use the Auto Correct Option "Apply numbering ..."
User presses F12 or Shift+F12
User opens the "Bullet and Numbering" toolbar and uses its buttons. Regina 17:47, 18 August 2012 (UTC)

Feature implement

Import and Export of paragraph style with attribute "list-level"

Here is a sample file File:Numbering.odt which contains a paragraph style named "ParaStyle", the paragraph style has an attribute list-level=6.

The XML description of the paragraph style is

   <style:style style:name="ParaStyle" style:family="paragraph" style:parent-style-name="Default_20_Text" style:list-style-name="Untitled1" style:list-level="6">
     <style:text-properties fo:font-size="80pt"/>
   </style:style>

UI used to link a list level to a paragraph style

Create a new list style from dialog "Style and Formatting", in the options tab page we add a list box control "Paragraph Sytle", give the users an option to link a level of current list style to a paragraph style.

Listlevel.png


Graphic Bullets Interoperability with MS Word Binary Format

Graphic Bullets is a kind of bullets and used in both MS Office and Apache OpenOffice.org. It provides fancy graphics to replace the special characters as bullet,which is used broadly. This wiki will only focus on the graphic bullets in Apache OpenOffice.org Writer.

Problem Description

Currently,this feature is missing the fidelity with MS Word binary file format in Apache OpenOffice.org Writer.When loading a MS Word binary file containing graphic bullets into Apache OpenOffice.org Writer,the graphic bullets will be lost,instead of a default normal special character bullet.Reversely,when creating graphic bullets in Apache OpenOffice.org Writer and saving to MS Word binary format,the graphic bullets is also lost,instead of a default normal special character bullet.

Goal and Scope of the Improvement

  1. When loading a MS Word binary document with graphic bullets into Writer,the graphic bullets will be parsed and mapped to Writer's graphic bullet correctly.
  2. The loaded graphic bullets from a MS Word binary document can be modified and saved back correctly
  3. The loaded graphic bullets from a MS Word binary document can be saved as an odt file correctly
  4. The graphic bullets created in Writer can be saved as MS Word binary document correctly
Personal tools