projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make DocBook support more coherent.
[gpl/argeo-suite.git]
/
publishing
/
org.argeo.publishing.ui
/
src
/
org
/
argeo
/
docbook
/
ui
/
TextSection.java
diff --git
a/publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/TextSection.java
b/publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/TextSection.java
index d7fe97994532e503dba1aaa2006aaea72edb2a99..76ba661c3fd00461c962f023bd19fe7cff7f9c5d 100644
(file)
--- a/
publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/TextSection.java
+++ b/
publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/TextSection.java
@@
-60,8
+60,8
@@
public class TextSection extends Section {
return titleStyle;
// TODO make base H styles configurable
// Integer relativeDepth = getRelativeDepth();
return titleStyle;
// TODO make base H styles configurable
// Integer relativeDepth = getRelativeDepth();
-// System.out.println("Level: "
+
getLevel());
- return
getLevel() == 0 ? TextStyles.TEXT_TITLE : "h" + getLevel(
);
+// System.out.println("Level: "
+
getLevel());
+ return
"h" + (getLevel() + 1
);
}
public void setDefaultTextStyle(String defaultTextStyle) {
}
public void setDefaultTextStyle(String defaultTextStyle) {