|
|
@ -96,10 +96,9 @@ public abstract class AbstractWriteHolder extends AbstractHolder implements Writ |
|
|
|
public AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder, |
|
|
|
public AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder, |
|
|
|
Boolean convertAllField) { |
|
|
|
Boolean convertAllField) { |
|
|
|
super(writeBasicParameter, parentAbstractWriteHolder); |
|
|
|
super(writeBasicParameter, parentAbstractWriteHolder); |
|
|
|
|
|
|
|
|
|
|
|
if (writeBasicParameter.getUse1904windowing() == null) { |
|
|
|
if (writeBasicParameter.getUse1904windowing() == null) { |
|
|
|
if (parentAbstractWriteHolder == null) { |
|
|
|
if (parentAbstractWriteHolder != null) { |
|
|
|
getGlobalConfiguration().setUse1904windowing(Boolean.FALSE); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
getGlobalConfiguration() |
|
|
|
getGlobalConfiguration() |
|
|
|
.setUse1904windowing(parentAbstractWriteHolder.getGlobalConfiguration().getUse1904windowing()); |
|
|
|
.setUse1904windowing(parentAbstractWriteHolder.getGlobalConfiguration().getUse1904windowing()); |
|
|
|
} |
|
|
|
} |
|
|
@ -210,7 +209,6 @@ public abstract class AbstractWriteHolder extends AbstractHolder implements Writ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void initAnnotationConfig(List<WriteHandler> handlerList, WriteBasicParameter writeBasicParameter) { |
|
|
|
protected void initAnnotationConfig(List<WriteHandler> handlerList, WriteBasicParameter writeBasicParameter) { |
|
|
|
if (!HeadKindEnum.CLASS.equals(getExcelWriteHeadProperty().getHeadKind())) { |
|
|
|
if (!HeadKindEnum.CLASS.equals(getExcelWriteHeadProperty().getHeadKind())) { |
|
|
|
return; |
|
|
|
return; |
|
|
@ -310,7 +308,6 @@ public abstract class AbstractWriteHolder extends AbstractHolder implements Writ |
|
|
|
handlerList.add(columnWidthStyleStrategy); |
|
|
|
handlerList.add(columnWidthStyleStrategy); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected Map<Class<? extends WriteHandler>, List<WriteHandler>> sortAndClearUpAllHandler( |
|
|
|
protected Map<Class<? extends WriteHandler>, List<WriteHandler>> sortAndClearUpAllHandler( |
|
|
|
List<WriteHandler> handlerList, Map<Class<? extends WriteHandler>, List<WriteHandler>> parentHandlerMap) { |
|
|
|
List<WriteHandler> handlerList, Map<Class<? extends WriteHandler>, List<WriteHandler>> parentHandlerMap) { |
|
|
|
// add
|
|
|
|
// add
|
|
|
|