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

enable more character formatting #64

Open
8 tasks
ewa4boeker opened this issue Feb 20, 2017 · 0 comments
Open
8 tasks

enable more character formatting #64

ewa4boeker opened this issue Feb 20, 2017 · 0 comments

Comments

@ewa4boeker
Copy link
Member

ewa4boeker commented Feb 20, 2017

right now italic works fine but bold, underlines, teletype and others also become italic?!
(tested on document 1174 sequence 11 section 1)

@Jotunbane any rason? or do I get things wrong?

  • seems the substitution wringfully make everything italic for now instead only <text:span text:style-name="Emphasis">. should be possible to fix with $xml->xpath()
  • and custom styles on character lever could be defined in the template just like the paragraph styles where done.

todo:

  • limit italic to <text:span text:style-name="Emphasis"> (prepared)
  • fix bold for <text:span text:style-name="Strong_20_Emphasis"> (prepared)
  • implement source (inline) for <text:span text:style-name="Source_20_Text"> (prepared)
  • implement underlined for e.g. <text:span text:style-name="underlined"> (custom)
  • implement underlined-double for e.g. <text:span text:style-name="underlined-double"> (custom)
  • implement strike-through for e.g. <text:span text:style-name="strike-through"> (custom)
  • implement blackened for e.g. <text:span text:style-name="blackened"> (custom)
  • implement smallcaps for e.g. <text:span text:style-name="smallcaps"> (custom)
  • others needed?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant