Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add independent styles #26

Open
genebot opened this issue Jun 30, 2014 · 0 comments
Open

Add independent styles #26

genebot opened this issue Jun 30, 2014 · 0 comments
Assignees
Labels

Comments

@genebot
Copy link
Collaborator

genebot commented Jun 30, 2014

From the docs:

Within a WordprocessingML file, styles are predefined sets of table, numbering, paragraph, and/or character properties which can be applied to text within the document. This allows the formatting properties to be stored and managed independently from the content, allowing the look of document content to be changed in a single location (e.g. the look of all first-level headings is changed by changing the style with styleId Heading1 rather than looking for and changing each paragraph in the document).

Each style defined within a WordprocessingML document requires a style definition. The style definition contains all of the information needed by a consumer to store and display that style within a WordprocessingML document, and is defined using the style element. The style definition for any style in WordprocessingML can be divided into three segments: general style properties, style types, type specific formatting properties.

For the initial implementation of styles, it will be necessary to implement a few general style-level properties. From there, I will extend Style to have all the options for paragraph properties and run properties.

In the future, it will necessary to add numbering styles and table styles, but I'm leaving those out now because I haven't implemented numbering or tables yet.

@genebot genebot added this to the 0.8.0: Styles & Fonts milestone Jun 30, 2014
@genebot genebot self-assigned this Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant