-
I mean this one:
But setting it with odt_extra_styles works:
To make the former work is more preferable, because it looks very bad with all these extra lines. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 3 replies
-
The paragraph style of "Standard" comes from this in <style:default-style style:family="paragraph">
<style:paragraph-properties fo:hyphenation-ladder-count="no-limit"
style:text-autospace="ideograph-alpha"
style:punctuation-wrap="hanging" style:line-break="strict"
style:tab-stop-distance="1.251cm" style:writing-mode="page" />
<style:text-properties style:use-window-font-color="true"
style:font-name="Times New Roman" fo:font-size="12pt"
fo:language="en" fo:country="GB" style:letter-kerning="true"
style:font-name-asian="SimSun" style:font-size-asian="12pt"
style:language-asian="zh" style:country-asian="CN"
style:font-name-complex="Tahoma" style:font-size-complex="12pt"
style:language-complex="hi" style:country-complex="IN"
fo:hyphenate="false" fo:hyphenation-remain-char-count="2"
fo:hyphenation-push-char-count="2" />
</style:default-style> |
Beta Was this translation helpful? Give feedback.
-
The user's "Standard" style in the style file is shadowed by "Standard" style appended in function org-odt-write-styles-file. |
Beta Was this translation helpful? Give feedback.
-
I want the following two styles different:
|
Beta Was this translation helpful? Give feedback.
-
I am having trouble understanding what you are saying ... If I give some more time to think about it, I will be able to figure out your needs. Did the recent changes break any of the new functionality? Btw, "Gridded Table" is based on "CustomContents". It is in `OrgOdtContentTemplate.xml". It derives from "Table_20_Contents" which is undefined. And I will move the "Custom" paragraph styles from content tempate to styles file very soon. |
Beta Was this translation helpful? Give feedback.
-
No, I mean this function "org-odt-write-styles-file" overwrite user's "Standard" style in OrgOdtStyles.xml. |
Beta Was this translation helpful? Give feedback.
-
Here we may need to parse the xml to lisp object first, and merge the change, instead of brutally overwrite. |
Beta Was this translation helpful? Give feedback.
-
I am not sure. I don't enable the language experimetal feature.
|
Beta Was this translation helpful? Give feedback.
-
It works. Thank you so much! |
Beta Was this translation helpful? Give feedback.
I am not sure. I don't enable the language experimetal feature.
At least my change to "Standard" in OrgOdtStyles.xml has no effect.