A few minor W2X and W4L changes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@99 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
028e30afb6
commit
4ecd5ede1e
5 changed files with 57 additions and 44 deletions
|
@ -98,9 +98,11 @@ public class HeadingConverter extends ConverterHelper {
|
|||
// Export the heading
|
||||
ldp.append(baHardPage.getBefore());
|
||||
ldp.append("\\"+hm.getName(nLevel));
|
||||
if (bUnNumbered) { ldp.append("*"); }
|
||||
// If this heading contains formatting, add optional argument:
|
||||
if (baHardChar.getBefore().length()>0 || containsElements(node)) {
|
||||
if (bUnNumbered) {
|
||||
ldp.append("*");
|
||||
}
|
||||
else if (baHardChar.getBefore().length()>0 || containsElements(node)) {
|
||||
// If this heading contains formatting, add optional argument:
|
||||
ldp.append("[");
|
||||
palette.getInlineCv().traversePlainInlineText(node,ldp,ic);
|
||||
ldp.append("]");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue