{
File imageFile = new File(file);
imageName = imageFile.getName();
- af.createSVG(imageFile);
+ af.createSVG(imageFile, false);
System.out.println("Creating SVG image: " + file);
continue;
}
}
@Override
- public void createSVG(File f)
+ public void createSVG(File f, boolean forSplitFrame)
{
- alignPanel.makeSVG(f, false);
+ alignPanel.makeSVG(f, forSplitFrame);
}
@Override
}
});
JMenuItem createSplitFrameEPS = new JMenuItem("EPS");
- createEPS.addActionListener(new ActionListener()
+ createSplitFrameEPS.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent e)
@Override
public void actionPerformed(ActionEvent e)
{
- createSVG(null);
+ createSVG(null, false);
+ }
+ });
+ JMenuItem createSplitFrameSVG = new JMenuItem("SVG");
+ createSplitFrameSVG.addActionListener(new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ createSVG(null, true);
}
});
exportImageMenu.add(createSVG);
exportSplitFrameMenu.add(createSplitFrameEPS);
exportSplitFrameMenu.add(createSplitFramePNG);
+ exportSplitFrameMenu.add(createSplitFrameSVG);
addSequenceMenu.add(addFromFile);
addSequenceMenu.add(addFromText);
addSequenceMenu.add(addFromURL);
{
}
- public void createSVG(File f)
+ public void createSVG(File f, boolean forSplitFrame)
{
}