Styles and Themes By T oma Vajngerl @CollaboraOffjce - - PowerPoint PPT Presentation

styles and themes
SMART_READER_LITE
LIVE PREVIEW

Styles and Themes By T oma Vajngerl @CollaboraOffjce - - PowerPoint PPT Presentation

Styles and Themes By T oma Vajngerl @CollaboraOffjce www.CollaboraOffjce.com Styles Styles Preview Added style manager for creating style previews Currently only for Character and Paragraph styles Used it in Styles &


slide-1
SLIDE 1

Styles and Themes

By T

  • maž Vajngerl

@CollaboraOffjce www.CollaboraOffjce.com

slide-2
SLIDE 2

Styles

slide-3
SLIDE 3

3 / 18 LibreOffice Conference 2015, Aarhus | First Last

Styles Preview

  • Added style manager for creating

style previews

  • Currently only for Character and

Paragraph styles

  • Used it in Styles & Formatting

sidebar

slide-4
SLIDE 4

4 / 18 LibreOffice Conference 2015, Aarhus | First Last

Styles and Formatting sidebar

slide-5
SLIDE 5

Styles (pre)sets

slide-6
SLIDE 6

6 / 18 LibreOffice Conference 2015, Aarhus | First Last

Style (pre)sets

  • Experimental feature in LibreOffjce 5.0
slide-7
SLIDE 7

7 / 18 LibreOffice Conference 2015, Aarhus | First Last

Style (pre)sets

  • Easy way to change all styles of a

document

  • Uses the functionality to load styles

from template

  • It only takes the templates that are

stored in “styles” template folder

  • Currently 2 are bundled but we need

more

slide-8
SLIDE 8

8 / 18 LibreOffice Conference 2015, Aarhus | First Last

Style (pre)sets - issues

  • No undo
  • UI not yet fjnalized
slide-9
SLIDE 9

Themes

slide-10
SLIDE 10

10 / 18 LibreOffice Conference 2015, Aarhus | First Last

Themes

  • Introduced in MSO 2007
  • Idea is to make colors / fonts

independent of styles

  • Associate fonts and colors by name
  • Allows to quickly change the

document design

  • Consistency
slide-11
SLIDE 11

11 / 18 LibreOffice Conference 2015, Aarhus | First Last

Color sets

  • 2 foreground colors: “text1”, “text2”
  • 2 background colors: “background1”,

“background2”

  • 6 accent colors: “accent 1” – “accent

6”

  • 2 colors for visited and not visited

hyperlink

slide-12
SLIDE 12

12 / 18 LibreOffice Conference 2015, Aarhus | First Last

Color sets

  • Additional color variants with tinting /

shading

  • Tint – percentage how much the color

mixes with white

  • Shade – precentage how much the

color mixes with black

slide-13
SLIDE 13

13 / 18 LibreOffice Conference 2015, Aarhus | First Last

Font sets

  • 2 fonts in a font set
  • Headings font
  • Body font
  • More than 2 fonts in a document is

discouraged in guidelines

slide-14
SLIDE 14

14 / 18 LibreOffice Conference 2015, Aarhus | First Last

Usage

  • Character / paragraph styles or direct

formatting

  • Font color
  • Background color
  • Border color
slide-15
SLIDE 15

15 / 18 LibreOffice Conference 2015, Aarhus | First Last

Usage

  • Shapes
  • Fill color – automatic gradient
  • Line
  • T

ables

  • Alternating colors
  • Header color
slide-16
SLIDE 16

16 / 18 LibreOffice Conference 2015, Aarhus | First Last

Usage

  • Charts
  • T

ext, background color

  • Colors for lines, bars, points,..
slide-17
SLIDE 17

17 / 18 LibreOffice Conference 2015, Aarhus | First Last

LibreOffjce implementation so far

  • Proof of concept phase
  • Reading of theme and tint/shade

values from OOXML

  • Support only for font color in a

paragraph / character styles

  • Change the color set in theme deck in

sidebar

slide-18
SLIDE 18

18 / 18 LibreOffice Conference 2015, Aarhus | First Last

Theme support in ODF

  • Optional
  • theme-color, tint-or-shade attribute

where color is defjned

  • theme-font attribute where font is

defjned

  • .. and theme defjnition possibly in its
  • wn fjle