hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
212 stars 59 forks source link

newPage tag not working on sequence diagram, only the last page can be seen in plantUML view #11

Closed Fabrice-Deshayes-aka-Xtream closed 7 years ago

Fabrice-Deshayes-aka-Xtream commented 8 years ago

see http://plantuml.com/sequence-diagram#Splitting_diagrams

SieDa commented 7 years ago

Very long sequence diagrams are ending while scrolling in Eclipse (4.4.2 Luna). Looks like a limit is set to the scroll area. Split into pages is no option due to the issue on newpage. Split into separate files is a weak option due to the alignment of the columns. on each sequence resource.

hallvard commented 7 years ago

@SieDa How big (high) is the image and how much is missing? Does it look like a round-off error or similar? Could you attach the source of plantuml code that triggers the problem, so I can try it myself?

hallvard commented 7 years ago

@Fabrice-Deshayes-aka-Xtream new page tag is supported in 1.1.19 release

SieDa commented 7 years ago

@hallvard The big sequence diagramm exports to 1276 x 3973 png and stops in eclipse at about 2/3 of the diagramm. Have to build an example if you need more information.

Fabrice-Deshayes-aka-Xtream commented 7 years ago

Thanks @hallvard ! It works very well. I think this issue can now be closed.

Regards.

SieDa commented 7 years ago

I Updated form official plantuml plugin 1.1.8 to net.sourceforge.plantuml.feature.feature.group 1.1.19 installed in eclipse luna (need to stay in line with other versions on 4.4.2. for some time).

Newpage is working fine for preview. Thanks.

  1. The export and printing is not supporting !include e.g. for style files (this is independent of the newpage usage) - while the preview is showing the results still perfectly.
    Error Message: Cannnot include c:\eclipse\ ... \style.plantuml while I'm not using an explicit path and work in workspace and the absolut path of eclipse should not be used here, just .\style.plantuml .

  2. Do I need to print and export each page separately ... ;-(( this might be another enhancement selecting several files and pages for print and export in one step just using the filename and defining the needed format png, svg and delivering filename-page.format )