Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,14 @@ public void setPageLayout(final String name)
{
setAttribute(OfficeNamespaces.STYLE_NS, "page-layout-name", name);
}

public void setNextMasterPage(final String name)
{
setAttribute(OfficeNamespaces.STYLE_NS, "next-style-name", name);
}

public String getNextMasterPage()
{
return (String) getAttribute(OfficeNamespaces.STYLE_NS, "next-style-name");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -741,10 +741,22 @@ protected GroupContext getGroupContext()
return groupContext;
}

protected void performStyleProcessingAll(final AttributeMap attrs)
throws ReportProcessingException
{
performStyleProcessingOne(attrs, globalStylesCollection);
performStyleProcessingOne(attrs, contentStylesCollection);
}

protected void performStyleProcessing(final AttributeMap attrs)
throws ReportProcessingException
{
final OfficeStylesCollection stylesCollection = getStylesCollection();
performStyleProcessingOne(attrs, stylesCollection);
}
protected void performStyleProcessingOne(final AttributeMap attrs, final OfficeStylesCollection stylesCollection)
throws ReportProcessingException
{
final OfficeStylesCollection predefCollection = getPredefinedStylesCollection();
final OfficeStylesCollection globalStylesCollection = getGlobalStylesCollection();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public Integer getColumnCount()

public String getHeader()
{
if(header==null) {
return "";
}
return header;
}

Expand All @@ -99,6 +102,9 @@ public void setHeader(final String header, final CSSNumericValue height)

public String getFooter()
{
if(footer==null) {
return "";
}
return footer;
}

Expand Down
Loading