public class AclExcelLayoutBuilderMultiColumn extends AclExcelLayoutBuilder
Modifier and Type | Field and Description |
---|---|
protected org.apache.poi.ss.usermodel.CellStyle |
acceptStyle |
protected org.apache.poi.ss.usermodel.CellStyle |
acceptStyleLeft |
protected org.apache.poi.ss.usermodel.CellStyle |
acceptStyleRight |
protected org.apache.poi.ss.usermodel.CellStyle |
denyStyle |
protected org.apache.poi.ss.usermodel.CellStyle |
denyStyleLeft |
protected org.apache.poi.ss.usermodel.CellStyle |
denyStyleRight |
protected org.apache.poi.ss.usermodel.CellStyle |
emptyStyle |
protected org.apache.poi.ss.usermodel.CellStyle |
emptyStyleLeft |
protected org.apache.poi.ss.usermodel.CellStyle |
emptyStyleRight |
protected int |
logoPictureId |
protected static int |
PERMISSIONS_ROW |
protected static int |
USERS_ROW |
aclHeaderStyle, CELL_WIDTH_UNIT, data, excel, filter, grayTextStyle, layout, layoutSettings, legendLockInheritance, legendPermissionDenied, legendSheetId, legendSheetName, lockInheritanceStyle, log, mainSheetId, mainSheetName, PROPERTY_LEGEND_LOCK_INHERITANCE, PROPERTY_LEGEND_PERM_DENIED, PROPERTY_LEGEND_SHEET_NAME, PROPERTY_MAIN_SHEET_NAME, shortner, STATUS_COL, STATUS_ROW, treeLineCursor, userHeaderStyle
Constructor and Description |
---|
AclExcelLayoutBuilderMultiColumn() |
AclExcelLayoutBuilderMultiColumn(IContentFilter filter) |
AclExcelLayoutBuilderMultiColumn(ReportLayoutSettings layout,
IContentFilter filter) |
Modifier and Type | Method and Description |
---|---|
static ReportLayoutSettings |
defaultLayout() |
protected void |
formatHeaderRowHeight() |
protected void |
renderAcceptCell(boolean isFirst,
boolean isLast,
int aclColumn,
String aceText)
Render a cell with a 'accept' color with left, right or no border according to its position.
|
protected void |
renderAcl(com.google.common.collect.Multimap<String,Pair<String,Boolean>> userAcls)
Render a row with all ACL of a given input file.
|
protected void |
renderDenyCell(boolean isFirst,
boolean isLast,
int aclColumn,
String aceText)
Render a cell with a 'deny' color with left, right or no border according to its position.
|
protected void |
renderHeader(int tableStartColumn,
Set<String> userOrGroups,
Set<String> permissions)
Write users and groups on the first row.
|
protected void |
renderHeaderAcl(Set<String> userOrGroups,
Set<String> permissions) |
protected void |
renderHeaderPicture() |
protected void |
renderHeaderUsers(int tableStartColumn,
Set<String> userOrGroups,
Set<String> permissions) |
protected void |
renderInit()
Initialize layout data model and pre-built cell styles
|
analyzeAndRender, configure, formatAce, formatAcl, formatFileTreeCellLayout, formatPermission, getExcel, render, renderAcl, renderAcl, renderAudit, renderAudit, renderAudit, renderAudit, renderFilename, renderFileTreeAndAclMatrix, renderFinal, renderHeaderUsers, renderLegend, renderLegendAcl, renderLegendErrorMessage
protected static int USERS_ROW
protected static int PERMISSIONS_ROW
protected org.apache.poi.ss.usermodel.CellStyle acceptStyle
protected org.apache.poi.ss.usermodel.CellStyle acceptStyleLeft
protected org.apache.poi.ss.usermodel.CellStyle acceptStyleRight
protected org.apache.poi.ss.usermodel.CellStyle denyStyle
protected org.apache.poi.ss.usermodel.CellStyle denyStyleLeft
protected org.apache.poi.ss.usermodel.CellStyle denyStyleRight
protected org.apache.poi.ss.usermodel.CellStyle emptyStyle
protected org.apache.poi.ss.usermodel.CellStyle emptyStyleLeft
protected org.apache.poi.ss.usermodel.CellStyle emptyStyleRight
protected int logoPictureId
public AclExcelLayoutBuilderMultiColumn()
public AclExcelLayoutBuilderMultiColumn(IContentFilter filter)
public AclExcelLayoutBuilderMultiColumn(ReportLayoutSettings layout, IContentFilter filter)
public static ReportLayoutSettings defaultLayout()
protected void renderInit()
AclExcelLayoutBuilder
renderInit
in class AclExcelLayoutBuilder
protected void renderHeader(int tableStartColumn, Set<String> userOrGroups, Set<String> permissions)
renderHeader
in class AclExcelLayoutBuilder
protected void renderHeaderPicture()
protected void renderHeaderUsers(int tableStartColumn, Set<String> userOrGroups, Set<String> permissions)
protected void renderHeaderAcl(Set<String> userOrGroups, Set<String> permissions)
protected void formatHeaderRowHeight()
protected void renderAcl(com.google.common.collect.Multimap<String,Pair<String,Boolean>> userAcls)
AclExcelLayoutBuilder
renderAcl
in class AclExcelLayoutBuilder
protected void renderDenyCell(boolean isFirst, boolean isLast, int aclColumn, String aceText)
protected void renderAcceptCell(boolean isFirst, boolean isLast, int aclColumn, String aceText)
Copyright © 2015 Nuxeo SA. All rights reserved.