Browse Source

Merge pull request #175 in BA/design from ~NEIL/design:master to master

* commit 'bb7091a4ae8cb4ffa49643205c3b72741a351761':
  文字竖排没了
master
superman 9 years ago
parent
commit
73e2c4845a
  1. 3
      designer_base/src/com/fr/design/gui/style/AlignmentPane.java

3
designer_base/src/com/fr/design/gui/style/AlignmentPane.java

@ -22,6 +22,7 @@ import com.fr.general.ComparatorUtils;
import com.fr.general.Inter;
import com.fr.plugin.ExtraClassManager;
import com.fr.report.fun.VerticalTextProcessor;
import com.fr.report.fun.impl.DefaultVerticalTextProcessor;
import com.fr.stable.Constants;
import javax.swing.*;
@ -134,7 +135,7 @@ public class AlignmentPane extends AbstractBasicStylePane implements GlobalNameO
private void initTextRotationCombox(){
ArrayList<String> selectOption = new ArrayList<String>();
selectOption.add(Inter.getLocText("FR-Designer_Custom-Angle"));
VerticalTextProcessor processor = ExtraClassManager.getInstance().getSingle(VerticalTextProcessor.XML_TAG);
VerticalTextProcessor processor = ExtraClassManager.getInstance().getSingle(VerticalTextProcessor.XML_TAG, DefaultVerticalTextProcessor.class);
if (processor != null){
selectOption.addAll(Arrays.asList(processor.getComboxOption()));
}

Loading…
Cancel
Save