HansBug commited on
Commit
10b2298
·
1 Parent(s): b28bf29

+plantuml/1.2023.6/.meta.json, +plantuml/1.2023.6/plantuml-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-asl-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-bsd-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-epl-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-gplv2-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-jar-asl-1.2023.6.zip, +plantuml/1.2023.6/plantuml-jar-bsd-1.2023.6.zip, +plantuml/1.2023.6/plantuml-jar-epl-1.2023.6.zip, +plantuml/1.2023.6/plantuml-jar-gplv2-1.2023.6.zip, +plantuml/1.2023.6/plantuml-jar-lgpl-1.2023.6.zip, +plantuml/1.2023.6/plantuml-jar-mit-1.2023.6.zip, +plantuml/1.2023.6/plantuml-lgpl-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-mit-1.2023.6.tar.gz, +plantuml/1.2023.6/plantuml-nodot.1.2023.6.jar, +plantuml/1.2023.6/plantuml.1.2023.6.jar, +plantuml/1.2023.6/plantuml.1.2023.6.war, +plantuml/1.2023.7/.meta.json, +plantuml/1.2023.7/plantuml-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-asl-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-bsd-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-epl-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-gplv2-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-jar-asl-1.2023.7.zip, +plantuml/1.2023.7/plantuml-jar-bsd-1.2023.7.zip, +plantuml/1.2023.7/plantuml-jar-epl-1.2023.7.zip, +plantuml/1.2023.7/plantuml-jar-gplv2-1.2023.7.zip, +plantuml/1.2023.7/plantuml-jar-lgpl-1.2023.7.zip, +plantuml/1.2023.7/plantuml-jar-mit-1.2023.7.zip, +plantuml/1.2023.7/plantuml-lgpl-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-mit-1.2023.7.tar.gz, +plantuml/1.2023.7/plantuml-nodot.1.2023.7.jar, +plantuml/1.2023.7/plantuml.1.2023.7.jar, +plantuml/old/.meta.json, +plantuml/old/Module1.bas, +plantuml/old/PlantUML Language Reference Guide.pdf, +plantuml/old/PlantUML.bas, +plantuml/old/PlantUML_Template_v23.dotm, +plantuml/old/PlantUML_Template_v27.dotm, +plantuml/old/PlantUML_Template_v30.dotm, +plantuml/old/PlantUML_V004.bas, +plantuml/old/PlantUML_V005.bas, +plantuml/old/PlantUML_V006.bas, +plantuml/old/PlantUML_V007.bas, +plantuml/old/plantuml-7971.tar.gz, +plantuml/old/plantuml-7972.tar.gz, +plantuml/old/plantuml-7973.tar.gz, +plantuml/old/plantuml-7974.tar.gz, +plantuml/old/plantuml-7975.tar.gz, +plantuml/old/plantuml-7976.tar.gz, +plantuml/old/plantuml-7977.tar.gz, +plantuml/old/plantuml-7978.tar.gz, +plantuml/old/plantuml-7979.tar.gz, +plantuml/old/plantuml-7980.tar.gz, +plantuml/old/plantuml-7981.tar.gz, +plantuml/old/plantuml-7982.tar.gz, +plantuml/old/plantuml-7983.tar.gz, +plantuml/old/plantuml-7984.tar.gz, +plantuml/old/plantuml-7985.tar.gz, +plantuml/old/plantuml-7986.tar.gz, +plantuml/old/plantuml-7987.tar.gz, +plantuml/old/plantuml-7988.tar.gz, +plantuml/old/plantuml-7989.tar.gz, +plantuml/old/plantuml-7990.tar.gz, +plantuml/old/plantuml-7991.tar.gz, +plantuml/old/plantuml-7992.tar.gz, +plantuml/old/plantuml-7993.tar.gz, +plantuml/old/plantuml-7994.tar.gz, +plantuml/old/plantuml-7995.tar.gz, +plantuml/old/plantuml-7996.tar.gz, +plantuml/old/plantuml-7997.tar.gz, +plantuml/old/plantuml-7999.tar.gz, +plantuml/old/plantuml-8000.tar.gz, +plantuml/old/plantuml-8001.tar.gz, +plantuml/old/plantuml-8002.tar.gz, +plantuml/old/plantuml-8003.tar.gz, +plantuml/old/plantuml-8004.tar.gz, +plantuml/old/plantuml-8005.tar.gz, +plantuml/old/plantuml-8006.tar.gz, +plantuml/old/plantuml-8007.tar.gz, +plantuml/old/plantuml-8008.tar.gz, +plantuml/old/plantuml-8009.tar.gz, +plantuml/old/plantuml-8010.tar.gz, +plantuml/old/plantuml-8011.tar.gz, +plantuml/old/plantuml-8012.tar.gz, +plantuml/old/plantuml-8013.tar.gz, +plantuml/old/plantuml-8014.tar.gz, +plantuml/old/plantuml-8015.tar.gz, +plantuml/old/plantuml-8016.tar.gz, +plantuml/old/plantuml-8017.tar.gz, +plantuml/old/plantuml-8018.tar.gz, +plantuml/old/plantuml-8019.tar.gz, +plantuml/old/plantuml-8020.tar.gz, +plantuml/old/plantuml-8021.tar.gz, +plantuml/old/plantuml-8022.tar.gz, +plantuml/old/plantuml-8023.tar.gz, +plantuml/old/plantuml-8024.tar.gz, +plantuml/old/plantuml-8025.tar.gz, +plantuml/old/plantuml-8026.tar.gz, +plantuml/old/plantuml-8027.tar.gz, +plantuml/old/plantuml-8028.tar.gz, +plantuml/old/plantuml-8029.tar.gz, +plantuml/old/plantuml-8030.tar.gz, +plantuml/old/plantuml-8031.tar.gz, +plantuml/old/plantuml-8032.tar.gz, +plantuml/old/plantuml-8033.tar.gz, +plantuml/old/plantuml-8034.tar.gz, +plantuml/old/plantuml-8035.tar.gz, +plantuml/old/plantuml-8036.tar.gz, +plantuml/old/plantuml-8037.tar.gz, +plantuml/old/plantuml-8038.tar.gz, +plantuml/old/plantuml-8039.tar.gz, +plantuml/old/plantuml-8040.tar.gz, +plantuml/old/plantuml-8041.tar.gz, +plantuml/old/plantuml-8042.tar.gz, +plantuml/old/plantuml-8043.tar.gz, +plantuml/old/plantuml-8045.tar.gz, +plantuml/old/plantuml-8046.tar.gz, +plantuml/old/plantuml-8047.tar.gz, +plantuml/old/plantuml-8048.tar.gz, +plantuml/old/plantuml-8049.tar.gz, +plantuml/old/plantuml-8050.tar.gz, +plantuml/old/plantuml-8051.tar.gz, +plantuml/old/plantuml-8052.tar.gz, +plantuml/old/plantuml-8053.tar.gz, +plantuml/old/plantuml-8054.tar.gz, +plantuml/old/plantuml-8055.tar.gz, +plantuml/old/plantuml-8056.tar.gz, +plantuml/old/plantuml-8057.tar.gz, +plantuml/old/plantuml-8058.tar.gz, +plantuml/old/plantuml-8059.tar.gz, +plantuml/old/plantuml-asl-7971.tar.gz, +plantuml/old/plantuml-asl-7972.tar.gz, +plantuml/old/plantuml-asl-7973.tar.gz, +plantuml/old/plantuml-asl-7974.tar.gz, +plantuml/old/plantuml-asl-7975.tar.gz, +plantuml/old/plantuml-asl-7976.tar.gz, +plantuml/old/plantuml-asl-7977.tar.gz, +plantuml/old/plantuml-asl-7978.tar.gz, +plantuml/old/plantuml-asl-7979.tar.gz, +plantuml/old/plantuml-asl-7980.tar.gz, +plantuml/old/plantuml-asl-7981.tar.gz, +plantuml/old/plantuml-asl-7982.tar.gz, +plantuml/old/plantuml-asl-7983.tar.gz, +plantuml/old/plantuml-asl-7984.tar.gz, +plantuml/old/plantuml-asl-7985.tar.gz, +plantuml/old/plantuml-asl-7986.tar.gz, +plantuml/old/plantuml-asl-7987.tar.gz, +plantuml/old/plantuml-asl-7988.tar.gz, +plantuml/old/plantuml-asl-7989.tar.gz, +plantuml/old/plantuml-asl-7990.tar.gz, +plantuml/old/plantuml-asl-7991.tar.gz, +plantuml/old/plantuml-asl-7992.tar.gz, +plantuml/old/plantuml-asl-7993.tar.gz, +plantuml/old/plantuml-asl-7994.tar.gz, +plantuml/old/plantuml-asl-7995.tar.gz, +plantuml/old/plantuml-asl-7996.tar.gz, +plantuml/old/plantuml-asl-7997.tar.gz, +plantuml/old/plantuml-asl-7999.tar.gz, +plantuml/old/plantuml-asl-8000.tar.gz, +plantuml/old/plantuml-asl-8001.tar.gz, +plantuml/old/plantuml-asl-8002.tar.gz, +plantuml/old/plantuml-asl-8003.tar.gz, +plantuml/old/plantuml-asl-8004.tar.gz, +plantuml/old/plantuml-asl-8005.tar.gz, +plantuml/old/plantuml-asl-8006.tar.gz, +plantuml/old/plantuml-asl-8007.tar.gz, +plantuml/old/plantuml-asl-8008.tar.gz, +plantuml/old/plantuml-asl-8009.tar.gz, +plantuml/old/plantuml-asl-8010.tar.gz, +plantuml/old/plantuml-asl-8011.tar.gz, +plantuml/old/plantuml-asl-8012.tar.gz, +plantuml/old/plantuml-asl-8013.tar.gz, +plantuml/old/plantuml-asl-8014.tar.gz, +plantuml/old/plantuml-asl-8015.tar.gz, +plantuml/old/plantuml-asl-8016.tar.gz, +plantuml/old/plantuml-asl-8017.tar.gz, +plantuml/old/plantuml-asl-8018.tar.gz, +plantuml/old/plantuml-asl-8019.tar.gz, +plantuml/old/plantuml-asl-8020.tar.gz, +plantuml/old/plantuml-asl-8021.tar.gz, +plantuml/old/plantuml-asl-8022.tar.gz, +plantuml/old/plantuml-asl-8023.tar.gz, +plantuml/old/plantuml-asl-8024.tar.gz, +plantuml/old/plantuml-asl-8025.tar.gz, +plantuml/old/plantuml-asl-8026.tar.gz, +plantuml/old/plantuml-asl-8027.tar.gz, +plantuml/old/plantuml-asl-8028.tar.gz, +plantuml/old/plantuml-asl-8029.tar.gz, +plantuml/old/plantuml-asl-8030.tar.gz, +plantuml/old/plantuml-asl-8031.tar.gz, +plantuml/old/plantuml-asl-8032.tar.gz, +plantuml/old/plantuml-asl-8033.tar.gz, +plantuml/old/plantuml-asl-8034.tar.gz, +plantuml/old/plantuml-asl-8035.tar.gz, +plantuml/old/plantuml-asl-8036.tar.gz, +plantuml/old/plantuml-asl-8037.tar.gz, +plantuml/old/plantuml-asl-8038.tar.gz, +plantuml/old/plantuml-asl-8039.tar.gz, +plantuml/old/plantuml-asl-8040.tar.gz, +plantuml/old/plantuml-asl-8041.tar.gz, +plantuml/old/plantuml-asl-8042.tar.gz, +plantuml/old/plantuml-asl-8043.tar.gz, +plantuml/old/plantuml-asl-8045.tar.gz, +plantuml/old/plantuml-asl-8046.tar.gz, +plantuml/old/plantuml-asl-8047.tar.gz, +plantuml/old/plantuml-asl-8048.tar.gz, +plantuml/old/plantuml-asl-8049.tar.gz, +plantuml/old/plantuml-asl-8050.tar.gz, +plantuml/old/plantuml-asl-8051.tar.gz, +plantuml/old/plantuml-asl-8052.tar.gz, +plantuml/old/plantuml-asl-8053.tar.gz, +plantuml/old/plantuml-asl-8054.tar.gz, +plantuml/old/plantuml-asl-8055.tar.gz, +plantuml/old/plantuml-asl-8056.tar.gz, +plantuml/old/plantuml-asl-8057.tar.gz, +plantuml/old/plantuml-asl-8058.tar.gz, +plantuml/old/plantuml-asl-8059.tar.gz, +plantuml/old/plantuml-bsd-8040.tar.gz, +plantuml/old/plantuml-bsd-8041.tar.gz, +plantuml/old/plantuml-bsd-8042.tar.gz, +plantuml/old/plantuml-bsd-8043.tar.gz, +plantuml/old/plantuml-bsd-8045.tar.gz, +plantuml/old/plantuml-bsd-8046.tar.gz, +plantuml/old/plantuml-bsd-8047.tar.gz, +plantuml/old/plantuml-bsd-8048.tar.gz, +plantuml/old/plantuml-bsd-8049.tar.gz, +plantuml/old/plantuml-bsd-8050.tar.gz, +plantuml/old/plantuml-bsd-8051.tar.gz, +plantuml/old/plantuml-bsd-8052.tar.gz, +plantuml/old/plantuml-bsd-8053.tar.gz, +plantuml/old/plantuml-bsd-8054.tar.gz, +plantuml/old/plantuml-bsd-8055.tar.gz, +plantuml/old/plantuml-bsd-8056.tar.gz, +plantuml/old/plantuml-bsd-8057.tar.gz, +plantuml/old/plantuml-bsd-8058.tar.gz, +plantuml/old/plantuml-bsd-8059.tar.gz, +plantuml/old/plantuml-epl-7963.tar.gz, +plantuml/old/plantuml-epl-7964.tar.gz, +plantuml/old/plantuml-epl-7965.tar.gz, +plantuml/old/plantuml-epl-7966.tar.gz, +plantuml/old/plantuml-epl-7967.tar.gz, +plantuml/old/plantuml-epl-7968.tar.gz, +plantuml/old/plantuml-epl-7969.tar.gz, +plantuml/old/plantuml-epl-7970.tar.gz, +plantuml/old/plantuml-epl-7971.tar.gz, +plantuml/old/plantuml-epl-7972.tar.gz, +plantuml/old/plantuml-epl-7973.tar.gz, +plantuml/old/plantuml-epl-7974.tar.gz, +plantuml/old/plantuml-epl-7975.tar.gz, +plantuml/old/plantuml-epl-7976.tar.gz, +plantuml/old/plantuml-epl-7977.tar.gz, +plantuml/old/plantuml-epl-7978.tar.gz, +plantuml/old/plantuml-epl-7979.tar.gz, +plantuml/old/plantuml-epl-7980.tar.gz, +plantuml/old/plantuml-epl-7981.tar.gz, +plantuml/old/plantuml-epl-7982.tar.gz, +plantuml/old/plantuml-epl-7983.tar.gz, +plantuml/old/plantuml-epl-7984.tar.gz, +plantuml/old/plantuml-epl-7985.tar.gz, +plantuml/old/plantuml-epl-7986.tar.gz, +plantuml/old/plantuml-epl-7987.tar.gz, +plantuml/old/plantuml-epl-7988.tar.gz, +plantuml/old/plantuml-epl-7989.tar.gz, +plantuml/old/plantuml-epl-7990.tar.gz, +plantuml/old/plantuml-epl-7991.tar.gz, +plantuml/old/plantuml-epl-7992.tar.gz, +plantuml/old/plantuml-epl-7993.tar.gz, +plantuml/old/plantuml-epl-7994.tar.gz, +plantuml/old/plantuml-epl-7995.tar.gz, +plantuml/old/plantuml-epl-7996.tar.gz, +plantuml/old/plantuml-epl-7997.tar.gz, +plantuml/old/plantuml-epl-7999.tar.gz, +plantuml/old/plantuml-epl-8000.tar.gz, +plantuml/old/plantuml-epl-8001.tar.gz, +plantuml/old/plantuml-epl-8002.tar.gz, +plantuml/old/plantuml-epl-8003.tar.gz, +plantuml/old/plantuml-epl-8004.tar.gz, +plantuml/old/plantuml-epl-8005.tar.gz, +plantuml/old/plantuml-epl-8006.tar.gz, +plantuml/old/plantuml-epl-8007.tar.gz, +plantuml/old/plantuml-epl-8008.tar.gz, +plantuml/old/plantuml-epl-8009.tar.gz, +plantuml/old/plantuml-epl-8010.tar.gz, +plantuml/old/plantuml-epl-8011.tar.gz, +plantuml/old/plantuml-epl-8012.tar.gz, +plantuml/old/plantuml-epl-8013.tar.gz, +plantuml/old/plantuml-epl-8014.tar.gz, +plantuml/old/plantuml-epl-8015.tar.gz, +plantuml/old/plantuml-epl-8016.tar.gz, +plantuml/old/plantuml-epl-8017.tar.gz, +plantuml/old/plantuml-epl-8018.tar.gz, +plantuml/old/plantuml-epl-8019.tar.gz, +plantuml/old/plantuml-epl-8020.tar.gz, +plantuml/old/plantuml-epl-8021.tar.gz, +plantuml/old/plantuml-epl-8022.tar.gz, +plantuml/old/plantuml-epl-8023.tar.gz, +plantuml/old/plantuml-epl-8024.tar.gz, +plantuml/old/plantuml-epl-8025.tar.gz, +plantuml/old/plantuml-epl-8026.tar.gz, +plantuml/old/plantuml-epl-8027.tar.gz, +plantuml/old/plantuml-epl-8028.tar.gz, +plantuml/old/plantuml-epl-8029.tar.gz, +plantuml/old/plantuml-epl-8030.tar.gz, +plantuml/old/plantuml-epl-8031.tar.gz, +plantuml/old/plantuml-epl-8032.tar.gz, +plantuml/old/plantuml-epl-8033.tar.gz, +plantuml/old/plantuml-epl-8034.tar.gz, +plantuml/old/plantuml-epl-8035.tar.gz, +plantuml/old/plantuml-epl-8036.tar.gz, +plantuml/old/plantuml-epl-8037.tar.gz, +plantuml/old/plantuml-epl-8038.tar.gz, +plantuml/old/plantuml-epl-8039.tar.gz, +plantuml/old/plantuml-epl-8040.tar.gz, +plantuml/old/plantuml-epl-8041.tar.gz, +plantuml/old/plantuml-epl-8042.tar.gz, +plantuml/old/plantuml-epl-8043.tar.gz, +plantuml/old/plantuml-epl-8045.tar.gz, +plantuml/old/plantuml-epl-8046.tar.gz, +plantuml/old/plantuml-epl-8047.tar.gz, +plantuml/old/plantuml-epl-8048.tar.gz, +plantuml/old/plantuml-epl-8049.tar.gz, +plantuml/old/plantuml-epl-8050.tar.gz, +plantuml/old/plantuml-epl-8051.tar.gz, +plantuml/old/plantuml-epl-8052.tar.gz, +plantuml/old/plantuml-epl-8053.tar.gz, +plantuml/old/plantuml-epl-8054.tar.gz, +plantuml/old/plantuml-epl-8055.tar.gz, +plantuml/old/plantuml-epl-8056.tar.gz, +plantuml/old/plantuml-epl-8057.tar.gz, +plantuml/old/plantuml-epl-8058.tar.gz, +plantuml/old/plantuml-epl-8059.tar.gz, +plantuml/old/plantuml-gplv2-8045.tar.gz, +plantuml/old/plantuml-gplv2-8046.tar.gz, +plantuml/old/plantuml-gplv2-8047.tar.gz, +plantuml/old/plantuml-gplv2-8048.tar.gz, +plantuml/old/plantuml-gplv2-8049.tar.gz, +plantuml/old/plantuml-gplv2-8050.tar.gz, +plantuml/old/plantuml-gplv2-8051.tar.gz, +plantuml/old/plantuml-gplv2-8052.tar.gz, +plantuml/old/plantuml-gplv2-8053.tar.gz, +plantuml/old/plantuml-gplv2-8054.tar.gz, +plantuml/old/plantuml-gplv2-8055.tar.gz, +plantuml/old/plantuml-gplv2-8056.tar.gz, +plantuml/old/plantuml-gplv2-8057.tar.gz, +plantuml/old/plantuml-gplv2-8058.tar.gz, +plantuml/old/plantuml-gplv2-8059.tar.gz, +plantuml/old/plantuml-jar-asl-7971.zip, +plantuml/old/plantuml-jar-asl-7972.zip, +plantuml/old/plantuml-jar-asl-7973.zip, +plantuml/old/plantuml-jar-asl-7974.zip, +plantuml/old/plantuml-jar-asl-7975.zip, +plantuml/old/plantuml-jar-asl-7976.zip, +plantuml/old/plantuml-jar-asl-7977.zip, +plantuml/old/plantuml-jar-asl-7978.zip, +plantuml/old/plantuml-jar-asl-7979.zip, +plantuml/old/plantuml-jar-asl-7980.zip, +plantuml/old/plantuml-jar-asl-7981.zip, +plantuml/old/plantuml-jar-asl-7982.zip, +plantuml/old/plantuml-jar-asl-7983.zip, +plantuml/old/plantuml-jar-asl-7984.zip, +plantuml/old/plantuml-jar-asl-7985.zip, +plantuml/old/plantuml-jar-asl-7986.zip, +plantuml/old/plantuml-jar-asl-7987.zip, +plantuml/old/plantuml-jar-asl-7988.zip, +plantuml/old/plantuml-jar-asl-7989.zip, +plantuml/old/plantuml-jar-asl-7990.zip, +plantuml/old/plantuml-jar-asl-7991.zip, +plantuml/old/plantuml-jar-asl-7992.zip, +plantuml/old/plantuml-jar-asl-7993.zip, +plantuml/old/plantuml-jar-asl-7994.zip, +plantuml/old/plantuml-jar-asl-7995.zip, +plantuml/old/plantuml-jar-asl-7996.zip, +plantuml/old/plantuml-jar-asl-7997.zip, +plantuml/old/plantuml-jar-asl-7999.zip, +plantuml/old/plantuml-jar-asl-8000.zip, +plantuml/old/plantuml-jar-asl-8001.zip, +plantuml/old/plantuml-jar-asl-8002.zip, +plantuml/old/plantuml-jar-asl-8003.zip, +plantuml/old/plantuml-jar-asl-8004.zip, +plantuml/old/plantuml-jar-asl-8005.zip, +plantuml/old/plantuml-jar-asl-8006.zip, +plantuml/old/plantuml-jar-asl-8007.zip, +plantuml/old/plantuml-jar-asl-8008.zip, +plantuml/old/plantuml-jar-asl-8009.zip, +plantuml/old/plantuml-jar-asl-8010.zip, +plantuml/old/plantuml-jar-asl-8011.zip, +plantuml/old/plantuml-jar-asl-8012.zip, +plantuml/old/plantuml-jar-asl-8013.zip, +plantuml/old/plantuml-jar-asl-8014.zip, +plantuml/old/plantuml-jar-asl-8015.zip, +plantuml/old/plantuml-jar-asl-8016.zip, +plantuml/old/plantuml-jar-asl-8017.zip, +plantuml/old/plantuml-jar-asl-8018.zip, +plantuml/old/plantuml-jar-asl-8019.zip, +plantuml/old/plantuml-jar-asl-8020.zip, +plantuml/old/plantuml-jar-asl-8021.zip, +plantuml/old/plantuml-jar-asl-8022.zip, +plantuml/old/plantuml-jar-asl-8023.zip, +plantuml/old/plantuml-jar-asl-8024.zip, +plantuml/old/plantuml-jar-asl-8025.zip, +plantuml/old/plantuml-jar-asl-8026.zip, +plantuml/old/plantuml-jar-asl-8027.zip, +plantuml/old/plantuml-jar-asl-8028.zip, +plantuml/old/plantuml-jar-asl-8029.zip, +plantuml/old/plantuml-jar-asl-8030.zip, +plantuml/old/plantuml-jar-asl-8031.zip, +plantuml/old/plantuml-jar-asl-8032.zip, +plantuml/old/plantuml-jar-asl-8033.zip, +plantuml/old/plantuml-jar-asl-8034.zip, +plantuml/old/plantuml-jar-asl-8035.zip, +plantuml/old/plantuml-jar-asl-8036.zip, +plantuml/old/plantuml-jar-asl-8037.zip, +plantuml/old/plantuml-jar-asl-8038.zip, +plantuml/old/plantuml-jar-asl-8039.zip, +plantuml/old/plantuml-jar-asl-8040.zip, +plantuml/old/plantuml-jar-asl-8041.zip, +plantuml/old/plantuml-jar-asl-8042.zip, +plantuml/old/plantuml-jar-asl-8043.zip, +plantuml/old/plantuml-jar-asl-8045.zip, +plantuml/old/plantuml-jar-asl-8046.zip, +plantuml/old/plantuml-jar-asl-8047.zip, +plantuml/old/plantuml-jar-asl-8048.zip, +plantuml/old/plantuml-jar-asl-8049.zip, +plantuml/old/plantuml-jar-asl-8050.zip, +plantuml/old/plantuml-jar-asl-8051.zip, +plantuml/old/plantuml-jar-asl-8052.zip, +plantuml/old/plantuml-jar-asl-8053.zip, +plantuml/old/plantuml-jar-asl-8054.zip, +plantuml/old/plantuml-jar-asl-8055.zip, +plantuml/old/plantuml-jar-asl-8056.zip, +plantuml/old/plantuml-jar-asl-8057.zip, +plantuml/old/plantuml-jar-asl-8058.zip, +plantuml/old/plantuml-jar-asl-8059.zip, +plantuml/old/plantuml-jar-bsd-8040.zip, +plantuml/old/plantuml-jar-bsd-8041.zip, +plantuml/old/plantuml-jar-bsd-8042.zip, +plantuml/old/plantuml-jar-bsd-8043.zip, +plantuml/old/plantuml-jar-bsd-8045.zip, +plantuml/old/plantuml-jar-bsd-8046.zip, +plantuml/old/plantuml-jar-bsd-8047.zip, +plantuml/old/plantuml-jar-bsd-8048.zip, +plantuml/old/plantuml-jar-bsd-8049.zip, +plantuml/old/plantuml-jar-bsd-8050.zip, +plantuml/old/plantuml-jar-bsd-8051.zip, +plantuml/old/plantuml-jar-bsd-8052.zip, +plantuml/old/plantuml-jar-bsd-8053.zip, +plantuml/old/plantuml-jar-bsd-8054.zip, +plantuml/old/plantuml-jar-bsd-8055.zip, +plantuml/old/plantuml-jar-bsd-8056.zip, +plantuml/old/plantuml-jar-bsd-8057.zip, +plantuml/old/plantuml-jar-bsd-8058.zip, +plantuml/old/plantuml-jar-bsd-8059.zip, +plantuml/old/plantuml-jar-epl-7971.zip, +plantuml/old/plantuml-jar-epl-7972.zip, +plantuml/old/plantuml-jar-epl-7973.zip, +plantuml/old/plantuml-jar-epl-7974.zip, +plantuml/old/plantuml-jar-epl-7975.zip, +plantuml/old/plantuml-jar-epl-7976.zip, +plantuml/old/plantuml-jar-epl-7977.zip, +plantuml/old/plantuml-jar-epl-7978.zip, +plantuml/old/plantuml-jar-epl-7979.zip, +plantuml/old/plantuml-jar-epl-7980.zip, +plantuml/old/plantuml-jar-epl-7981.zip, +plantuml/old/plantuml-jar-epl-7982.zip, +plantuml/old/plantuml-jar-epl-7983.zip, +plantuml/old/plantuml-jar-epl-7984.zip, +plantuml/old/plantuml-jar-epl-7985.zip, +plantuml/old/plantuml-jar-epl-7986.zip, +plantuml/old/plantuml-jar-epl-7987.zip, +plantuml/old/plantuml-jar-epl-7988.zip, +plantuml/old/plantuml-jar-epl-7989.zip, +plantuml/old/plantuml-jar-epl-7990.zip, +plantuml/old/plantuml-jar-epl-7991.zip, +plantuml/old/plantuml-jar-epl-7992.zip, +plantuml/old/plantuml-jar-epl-7993.zip, +plantuml/old/plantuml-jar-epl-7994.zip, +plantuml/old/plantuml-jar-epl-7995.zip, +plantuml/old/plantuml-jar-epl-7996.zip, +plantuml/old/plantuml-jar-epl-7997.zip, +plantuml/old/plantuml-jar-epl-7999.zip, +plantuml/old/plantuml-jar-epl-8000.zip, +plantuml/old/plantuml-jar-epl-8001.zip, +plantuml/old/plantuml-jar-epl-8002.zip, +plantuml/old/plantuml-jar-epl-8003.zip, +plantuml/old/plantuml-jar-epl-8004.zip, +plantuml/old/plantuml-jar-epl-8005.zip, +plantuml/old/plantuml-jar-epl-8006.zip, +plantuml/old/plantuml-jar-epl-8007.zip, +plantuml/old/plantuml-jar-epl-8008.zip, +plantuml/old/plantuml-jar-epl-8009.zip, +plantuml/old/plantuml-jar-epl-8010.zip, +plantuml/old/plantuml-jar-epl-8011.zip, +plantuml/old/plantuml-jar-epl-8012.zip, +plantuml/old/plantuml-jar-epl-8013.zip, +plantuml/old/plantuml-jar-epl-8014.zip, +plantuml/old/plantuml-jar-epl-8015.zip, +plantuml/old/plantuml-jar-epl-8016.zip, +plantuml/old/plantuml-jar-epl-8017.zip, +plantuml/old/plantuml-jar-epl-8018.zip, +plantuml/old/plantuml-jar-epl-8019.zip, +plantuml/old/plantuml-jar-epl-8020.zip, +plantuml/old/plantuml-jar-epl-8021.zip, +plantuml/old/plantuml-jar-epl-8022.zip, +plantuml/old/plantuml-jar-epl-8023.zip, +plantuml/old/plantuml-jar-epl-8024.zip, +plantuml/old/plantuml-jar-epl-8025.zip, +plantuml/old/plantuml-jar-epl-8026.zip, +plantuml/old/plantuml-jar-epl-8027.zip, +plantuml/old/plantuml-jar-epl-8028.zip, +plantuml/old/plantuml-jar-epl-8029.zip, +plantuml/old/plantuml-jar-epl-8030.zip, +plantuml/old/plantuml-jar-epl-8031.zip, +plantuml/old/plantuml-jar-epl-8032.zip, +plantuml/old/plantuml-jar-epl-8033.zip, +plantuml/old/plantuml-jar-epl-8034.zip, +plantuml/old/plantuml-jar-epl-8035.zip, +plantuml/old/plantuml-jar-epl-8036.zip, +plantuml/old/plantuml-jar-epl-8037.zip, +plantuml/old/plantuml-jar-epl-8038.zip, +plantuml/old/plantuml-jar-epl-8039.zip, +plantuml/old/plantuml-jar-epl-8040.zip, +plantuml/old/plantuml-jar-epl-8041.zip, +plantuml/old/plantuml-jar-epl-8042.zip, +plantuml/old/plantuml-jar-epl-8043.zip, +plantuml/old/plantuml-jar-epl-8045.zip, +plantuml/old/plantuml-jar-epl-8046.zip, +plantuml/old/plantuml-jar-epl-8047.zip, +plantuml/old/plantuml-jar-epl-8048.zip, +plantuml/old/plantuml-jar-epl-8049.zip, +plantuml/old/plantuml-jar-epl-8050.zip, +plantuml/old/plantuml-jar-epl-8051.zip, +plantuml/old/plantuml-jar-epl-8052.zip, +plantuml/old/plantuml-jar-epl-8053.zip, +plantuml/old/plantuml-jar-epl-8054.zip, +plantuml/old/plantuml-jar-epl-8055.zip, +plantuml/old/plantuml-jar-epl-8056.zip, +plantuml/old/plantuml-jar-epl-8057.zip, +plantuml/old/plantuml-jar-epl-8058.zip, +plantuml/old/plantuml-jar-epl-8059.zip, +plantuml/old/plantuml-jar-gplv2-8045.zip, +plantuml/old/plantuml-jar-gplv2-8046.zip, +plantuml/old/plantuml-jar-gplv2-8047.zip, +plantuml/old/plantuml-jar-gplv2-8048.zip, +plantuml/old/plantuml-jar-gplv2-8049.zip, +plantuml/old/plantuml-jar-gplv2-8050.zip, +plantuml/old/plantuml-jar-gplv2-8051.zip, +plantuml/old/plantuml-jar-gplv2-8052.zip, +plantuml/old/plantuml-jar-gplv2-8053.zip, +plantuml/old/plantuml-jar-gplv2-8054.zip, +plantuml/old/plantuml-jar-gplv2-8055.zip, +plantuml/old/plantuml-jar-gplv2-8056.zip, +plantuml/old/plantuml-jar-gplv2-8057.zip, +plantuml/old/plantuml-jar-gplv2-8058.zip, +plantuml/old/plantuml-jar-gplv2-8059.zip, +plantuml/old/plantuml-jar-lgpl-7971.zip, +plantuml/old/plantuml-jar-lgpl-7972.zip, +plantuml/old/plantuml-jar-lgpl-7973.zip, +plantuml/old/plantuml-jar-lgpl-7974.zip, +plantuml/old/plantuml-jar-lgpl-7975.zip, +plantuml/old/plantuml-jar-lgpl-7976.zip, +plantuml/old/plantuml-jar-lgpl-7977.zip, +plantuml/old/plantuml-jar-lgpl-7978.zip, +plantuml/old/plantuml-jar-lgpl-7979.zip, +plantuml/old/plantuml-jar-lgpl-7980.zip, +plantuml/old/plantuml-jar-lgpl-7981.zip, +plantuml/old/plantuml-jar-lgpl-7982.zip, +plantuml/old/plantuml-jar-lgpl-7983.zip, +plantuml/old/plantuml-jar-lgpl-7984.zip, +plantuml/old/plantuml-jar-lgpl-7985.zip, +plantuml/old/plantuml-jar-lgpl-7986.zip, +plantuml/old/plantuml-jar-lgpl-7987.zip, +plantuml/old/plantuml-jar-lgpl-7988.zip, +plantuml/old/plantuml-jar-lgpl-7989.zip, +plantuml/old/plantuml-jar-lgpl-7990.zip, +plantuml/old/plantuml-jar-lgpl-7991.zip, +plantuml/old/plantuml-jar-lgpl-7992.zip, +plantuml/old/plantuml-jar-lgpl-7993.zip, +plantuml/old/plantuml-jar-lgpl-7994.zip, +plantuml/old/plantuml-jar-lgpl-7995.zip, +plantuml/old/plantuml-jar-lgpl-7996.zip, +plantuml/old/plantuml-jar-lgpl-7997.zip, +plantuml/old/plantuml-jar-lgpl-7999.zip, +plantuml/old/plantuml-jar-lgpl-8000.zip, +plantuml/old/plantuml-jar-lgpl-8001.zip, +plantuml/old/plantuml-jar-lgpl-8002.zip, +plantuml/old/plantuml-jar-lgpl-8003.zip, +plantuml/old/plantuml-jar-lgpl-8004.zip, +plantuml/old/plantuml-jar-lgpl-8005.zip, +plantuml/old/plantuml-jar-lgpl-8006.zip, +plantuml/old/plantuml-jar-lgpl-8007.zip, +plantuml/old/plantuml-jar-lgpl-8008.zip, +plantuml/old/plantuml-jar-lgpl-8009.zip, +plantuml/old/plantuml-jar-lgpl-8010.zip, +plantuml/old/plantuml-jar-lgpl-8011.zip, +plantuml/old/plantuml-jar-lgpl-8012.zip, +plantuml/old/plantuml-jar-lgpl-8013.zip, +plantuml/old/plantuml-jar-lgpl-8014.zip, +plantuml/old/plantuml-jar-lgpl-8015.zip, +plantuml/old/plantuml-jar-lgpl-8016.zip, +plantuml/old/plantuml-jar-lgpl-8017.zip, +plantuml/old/plantuml-jar-lgpl-8018.zip, +plantuml/old/plantuml-jar-lgpl-8019.zip, +plantuml/old/plantuml-jar-lgpl-8020.zip, +plantuml/old/plantuml-jar-lgpl-8021.zip, +plantuml/old/plantuml-jar-lgpl-8022.zip, +plantuml/old/plantuml-jar-lgpl-8023.zip, +plantuml/old/plantuml-jar-lgpl-8024.zip, +plantuml/old/plantuml-jar-lgpl-8025.zip, +plantuml/old/plantuml-jar-lgpl-8026.zip, +plantuml/old/plantuml-jar-lgpl-8027.zip, +plantuml/old/plantuml-jar-lgpl-8028.zip, +plantuml/old/plantuml-jar-lgpl-8029.zip, +plantuml/old/plantuml-jar-lgpl-8030.zip, +plantuml/old/plantuml-jar-lgpl-8031.zip, +plantuml/old/plantuml-jar-lgpl-8032.zip, +plantuml/old/plantuml-jar-lgpl-8033.zip, +plantuml/old/plantuml-jar-lgpl-8034.zip, +plantuml/old/plantuml-jar-lgpl-8035.zip, +plantuml/old/plantuml-jar-lgpl-8036.zip, +plantuml/old/plantuml-jar-lgpl-8037.zip, +plantuml/old/plantuml-jar-lgpl-8038.zip, +plantuml/old/plantuml-jar-lgpl-8039.zip, +plantuml/old/plantuml-jar-lgpl-8040.zip, +plantuml/old/plantuml-jar-lgpl-8041.zip, +plantuml/old/plantuml-jar-lgpl-8042.zip, +plantuml/old/plantuml-jar-lgpl-8043.zip, +plantuml/old/plantuml-jar-lgpl-8045.zip, +plantuml/old/plantuml-jar-lgpl-8046.zip, +plantuml/old/plantuml-jar-lgpl-8047.zip, +plantuml/old/plantuml-jar-lgpl-8048.zip, +plantuml/old/plantuml-jar-lgpl-8049.zip, +plantuml/old/plantuml-jar-lgpl-8050.zip, +plantuml/old/plantuml-jar-lgpl-8051.zip, +plantuml/old/plantuml-jar-lgpl-8052.zip, +plantuml/old/plantuml-jar-lgpl-8053.zip, +plantuml/old/plantuml-jar-lgpl-8054.zip, +plantuml/old/plantuml-jar-lgpl-8055.zip, +plantuml/old/plantuml-jar-lgpl-8056.zip, +plantuml/old/plantuml-jar-lgpl-8057.zip, +plantuml/old/plantuml-jar-lgpl-8058.zip, +plantuml/old/plantuml-jar-lgpl-8059.zip, +plantuml/old/plantuml-jar-mit-7996.zip, +plantuml/old/plantuml-jar-mit-7997.zip, +plantuml/old/plantuml-jar-mit-7999.zip, +plantuml/old/plantuml-jar-mit-8000.zip, +plantuml/old/plantuml-jar-mit-8001.zip, +plantuml/old/plantuml-jar-mit-8002.zip, +plantuml/old/plantuml-jar-mit-8003.zip, +plantuml/old/plantuml-jar-mit-8004.zip, +plantuml/old/plantuml-jar-mit-8005.zip, +plantuml/old/plantuml-jar-mit-8006.zip, +plantuml/old/plantuml-jar-mit-8007.zip, +plantuml/old/plantuml-jar-mit-8008.zip, +plantuml/old/plantuml-jar-mit-8009.zip, +plantuml/old/plantuml-jar-mit-8010.zip, +plantuml/old/plantuml-jar-mit-8011.zip, +plantuml/old/plantuml-jar-mit-8012.zip, +plantuml/old/plantuml-jar-mit-8013.zip, +plantuml/old/plantuml-jar-mit-8014.zip, +plantuml/old/plantuml-jar-mit-8015.zip, +plantuml/old/plantuml-jar-mit-8016.zip, +plantuml/old/plantuml-jar-mit-8017.zip, +plantuml/old/plantuml-jar-mit-8018.zip, +plantuml/old/plantuml-jar-mit-8019.zip, +plantuml/old/plantuml-jar-mit-8020.zip, +plantuml/old/plantuml-jar-mit-8021.zip, +plantuml/old/plantuml-jar-mit-8022.zip, +plantuml/old/plantuml-jar-mit-8023.zip, +plantuml/old/plantuml-jar-mit-8024.zip, +plantuml/old/plantuml-jar-mit-8025.zip, +plantuml/old/plantuml-jar-mit-8026.zip, +plantuml/old/plantuml-jar-mit-8027.zip, +plantuml/old/plantuml-jar-mit-8028.zip, +plantuml/old/plantuml-jar-mit-8029.zip, +plantuml/old/plantuml-jar-mit-8030.zip, +plantuml/old/plantuml-jar-mit-8031.zip, +plantuml/old/plantuml-jar-mit-8032.zip, +plantuml/old/plantuml-jar-mit-8033.zip, +plantuml/old/plantuml-jar-mit-8034.zip, +plantuml/old/plantuml-jar-mit-8035.zip, +plantuml/old/plantuml-jar-mit-8036.zip, +plantuml/old/plantuml-jar-mit-8037.zip, +plantuml/old/plantuml-jar-mit-8038.zip, +plantuml/old/plantuml-jar-mit-8039.zip, +plantuml/old/plantuml-jar-mit-8040.zip, +plantuml/old/plantuml-jar-mit-8041.zip, +plantuml/old/plantuml-jar-mit-8042.zip, +plantuml/old/plantuml-jar-mit-8043.zip, +plantuml/old/plantuml-jar-mit-8045.zip, +plantuml/old/plantuml-jar-mit-8046.zip, +plantuml/old/plantuml-jar-mit-8047.zip, +plantuml/old/plantuml-jar-mit-8048.zip, +plantuml/old/plantuml-jar-mit-8049.zip, +plantuml/old/plantuml-jar-mit-8050.zip, +plantuml/old/plantuml-jar-mit-8051.zip, +plantuml/old/plantuml-jar-mit-8052.zip, +plantuml/old/plantuml-jar-mit-8053.zip, +plantuml/old/plantuml-jar-mit-8054.zip, +plantuml/old/plantuml-jar-mit-8055.zip, +plantuml/old/plantuml-jar-mit-8056.zip, +plantuml/old/plantuml-jar-mit-8057.zip, +plantuml/old/plantuml-jar-mit-8058.zip, +plantuml/old/plantuml-jar-mit-8059.zip, +plantuml/old/plantuml-lgpl-7971.tar.gz, +plantuml/old/plantuml-lgpl-7972.tar.gz, +plantuml/old/plantuml-lgpl-7973.tar.gz, +plantuml/old/plantuml-lgpl-7974.tar.gz, +plantuml/old/plantuml-lgpl-7975.tar.gz, +plantuml/old/plantuml-lgpl-7976.tar.gz, +plantuml/old/plantuml-lgpl-7977.tar.gz, +plantuml/old/plantuml-lgpl-7978.tar.gz, +plantuml/old/plantuml-lgpl-7979.tar.gz, +plantuml/old/plantuml-lgpl-7980.tar.gz, +plantuml/old/plantuml-lgpl-7981.tar.gz, +plantuml/old/plantuml-lgpl-7982.tar.gz, +plantuml/old/plantuml-lgpl-7983.tar.gz, +plantuml/old/plantuml-lgpl-7984.tar.gz, +plantuml/old/plantuml-lgpl-7985.tar.gz, +plantuml/old/plantuml-lgpl-7986.tar.gz, +plantuml/old/plantuml-lgpl-7987.tar.gz, +plantuml/old/plantuml-lgpl-7988.tar.gz, +plantuml/old/plantuml-lgpl-7989.tar.gz, +plantuml/old/plantuml-lgpl-7990.tar.gz, +plantuml/old/plantuml-lgpl-7991.tar.gz, +plantuml/old/plantuml-lgpl-7992.tar.gz, +plantuml/old/plantuml-lgpl-7993.tar.gz, +plantuml/old/plantuml-lgpl-7994.tar.gz, +plantuml/old/plantuml-lgpl-7995.tar.gz, +plantuml/old/plantuml-lgpl-7996.tar.gz, +plantuml/old/plantuml-lgpl-7997.tar.gz, +plantuml/old/plantuml-lgpl-7999.tar.gz, +plantuml/old/plantuml-lgpl-8000.tar.gz, +plantuml/old/plantuml-lgpl-8001.tar.gz, +plantuml/old/plantuml-lgpl-8002.tar.gz, +plantuml/old/plantuml-lgpl-8003.tar.gz, +plantuml/old/plantuml-lgpl-8004.tar.gz, +plantuml/old/plantuml-lgpl-8005.tar.gz, +plantuml/old/plantuml-lgpl-8006.tar.gz, +plantuml/old/plantuml-lgpl-8007.tar.gz, +plantuml/old/plantuml-lgpl-8008.tar.gz, +plantuml/old/plantuml-lgpl-8009.tar.gz, +plantuml/old/plantuml-lgpl-8010.tar.gz, +plantuml/old/plantuml-lgpl-8011.tar.gz, +plantuml/old/plantuml-lgpl-8012.tar.gz, +plantuml/old/plantuml-lgpl-8013.tar.gz, +plantuml/old/plantuml-lgpl-8014.tar.gz, +plantuml/old/plantuml-lgpl-8015.tar.gz, +plantuml/old/plantuml-lgpl-8016.tar.gz, +plantuml/old/plantuml-lgpl-8017.tar.gz, +plantuml/old/plantuml-lgpl-8018.tar.gz, +plantuml/old/plantuml-lgpl-8019.tar.gz, +plantuml/old/plantuml-lgpl-8020.tar.gz, +plantuml/old/plantuml-lgpl-8021.tar.gz, +plantuml/old/plantuml-lgpl-8022.tar.gz, +plantuml/old/plantuml-lgpl-8023.tar.gz, +plantuml/old/plantuml-lgpl-8024.tar.gz, +plantuml/old/plantuml-lgpl-8025.tar.gz, +plantuml/old/plantuml-lgpl-8026.tar.gz, +plantuml/old/plantuml-lgpl-8027.tar.gz, +plantuml/old/plantuml-lgpl-8028.tar.gz, +plantuml/old/plantuml-lgpl-8029.tar.gz, +plantuml/old/plantuml-lgpl-8030.tar.gz, +plantuml/old/plantuml-lgpl-8031.tar.gz, +plantuml/old/plantuml-lgpl-8032.tar.gz, +plantuml/old/plantuml-lgpl-8033.tar.gz, +plantuml/old/plantuml-lgpl-8034.tar.gz, +plantuml/old/plantuml-lgpl-8035.tar.gz, +plantuml/old/plantuml-lgpl-8036.tar.gz, +plantuml/old/plantuml-lgpl-8037.tar.gz, +plantuml/old/plantuml-lgpl-8038.tar.gz, +plantuml/old/plantuml-lgpl-8039.tar.gz, +plantuml/old/plantuml-lgpl-8040.tar.gz, +plantuml/old/plantuml-lgpl-8041.tar.gz, +plantuml/old/plantuml-lgpl-8042.tar.gz, +plantuml/old/plantuml-lgpl-8043.tar.gz, +plantuml/old/plantuml-lgpl-8045.tar.gz, +plantuml/old/plantuml-lgpl-8046.tar.gz, +plantuml/old/plantuml-lgpl-8047.tar.gz, +plantuml/old/plantuml-lgpl-8048.tar.gz, +plantuml/old/plantuml-lgpl-8049.tar.gz, +plantuml/old/plantuml-lgpl-8050.tar.gz, +plantuml/old/plantuml-lgpl-8051.tar.gz, +plantuml/old/plantuml-lgpl-8052.tar.gz, +plantuml/old/plantuml-lgpl-8053.tar.gz, +plantuml/old/plantuml-lgpl-8054.tar.gz, +plantuml/old/plantuml-lgpl-8055.tar.gz, +plantuml/old/plantuml-lgpl-8056.tar.gz, +plantuml/old/plantuml-lgpl-8057.tar.gz, +plantuml/old/plantuml-lgpl-8058.tar.gz, +plantuml/old/plantuml-lgpl-8059.tar.gz, +plantuml/old/plantuml-mit-7996.tar.gz, +plantuml/old/plantuml-mit-7997.tar.gz, +plantuml/old/plantuml-mit-7999.tar.gz, +plantuml/old/plantuml-mit-8000.tar.gz, +plantuml/old/plantuml-mit-8001.tar.gz, +plantuml/old/plantuml-mit-8002.tar.gz, +plantuml/old/plantuml-mit-8003.tar.gz, +plantuml/old/plantuml-mit-8004.tar.gz, +plantuml/old/plantuml-mit-8005.tar.gz, +plantuml/old/plantuml-mit-8006.tar.gz, +plantuml/old/plantuml-mit-8007.tar.gz, +plantuml/old/plantuml-mit-8008.tar.gz, +plantuml/old/plantuml-mit-8009.tar.gz, +plantuml/old/plantuml-mit-8010.tar.gz, +plantuml/old/plantuml-mit-8011.tar.gz, +plantuml/old/plantuml-mit-8012.tar.gz, +plantuml/old/plantuml-mit-8013.tar.gz, +plantuml/old/plantuml-mit-8014.tar.gz, +plantuml/old/plantuml-mit-8015.tar.gz, +plantuml/old/plantuml-mit-8016.tar.gz, +plantuml/old/plantuml-mit-8017.tar.gz, +plantuml/old/plantuml-mit-8018.tar.gz, +plantuml/old/plantuml-mit-8019.tar.gz, +plantuml/old/plantuml-mit-8020.tar.gz, +plantuml/old/plantuml-mit-8021.tar.gz, +plantuml/old/plantuml-mit-8022.tar.gz, +plantuml/old/plantuml-mit-8023.tar.gz, +plantuml/old/plantuml-mit-8024.tar.gz, +plantuml/old/plantuml-mit-8025.tar.gz, +plantuml/old/plantuml-mit-8026.tar.gz, +plantuml/old/plantuml-mit-8027.tar.gz, +plantuml/old/plantuml-mit-8028.tar.gz, +plantuml/old/plantuml-mit-8029.tar.gz, +plantuml/old/plantuml-mit-8030.tar.gz, +plantuml/old/plantuml-mit-8031.tar.gz, +plantuml/old/plantuml-mit-8032.tar.gz, +plantuml/old/plantuml-mit-8033.tar.gz, +plantuml/old/plantuml-mit-8034.tar.gz, +plantuml/old/plantuml-mit-8035.tar.gz, +plantuml/old/plantuml-mit-8036.tar.gz, +plantuml/old/plantuml-mit-8037.tar.gz, +plantuml/old/plantuml-mit-8038.tar.gz, +plantuml/old/plantuml-mit-8039.tar.gz, +plantuml/old/plantuml-mit-8040.tar.gz, +plantuml/old/plantuml-mit-8041.tar.gz, +plantuml/old/plantuml-mit-8042.tar.gz, +plantuml/old/plantuml-mit-8043.tar.gz, +plantuml/old/plantuml-mit-8045.tar.gz, +plantuml/old/plantuml-mit-8046.tar.gz, +plantuml/old/plantuml-mit-8047.tar.gz, +plantuml/old/plantuml-mit-8048.tar.gz, +plantuml/old/plantuml-mit-8049.tar.gz, +plantuml/old/plantuml-mit-8050.tar.gz, +plantuml/old/plantuml-mit-8051.tar.gz, +plantuml/old/plantuml-mit-8052.tar.gz, +plantuml/old/plantuml-mit-8053.tar.gz, +plantuml/old/plantuml-mit-8054.tar.gz, +plantuml/old/plantuml-mit-8055.tar.gz, +plantuml/old/plantuml-mit-8056.tar.gz, +plantuml/old/plantuml-mit-8057.tar.gz, +plantuml/old/plantuml-mit-8058.tar.gz, +plantuml/old/plantuml-mit-8059.tar.gz, +plantuml/old/plantuml.7977.jar, +plantuml/old/plantuml.7978.jar, +plantuml/old/plantuml.7979.jar, +plantuml/old/plantuml.7980.jar, +plantuml/old/plantuml.7981.jar, +plantuml/old/plantuml.7982.jar, +plantuml/old/plantuml.7983.jar, +plantuml/old/plantuml.7984.jar, +plantuml/old/plantuml.7985.jar, +plantuml/old/plantuml.7986.jar, +plantuml/old/plantuml.7987.jar, +plantuml/old/plantuml.7988.jar, +plantuml/old/plantuml.7989.jar, +plantuml/old/plantuml.7990.jar, +plantuml/old/plantuml.7991.jar, +plantuml/old/plantuml.7992.jar, +plantuml/old/plantuml.7993.jar, +plantuml/old/plantuml.7994.jar, +plantuml/old/plantuml.7995.jar, +plantuml/old/plantuml.7996.jar, +plantuml/old/plantuml.7997.jar, +plantuml/old/plantuml.7999.jar, +plantuml/old/plantuml.8000.jar, +plantuml/old/plantuml.8001.jar, +plantuml/old/plantuml.8002.jar, +plantuml/old/plantuml.8003.jar, +plantuml/old/plantuml.8004.jar, +plantuml/old/plantuml.8005.jar, +plantuml/old/plantuml.8006.jar, +plantuml/old/plantuml.8007.jar, +plantuml/old/plantuml.8008.jar, +plantuml/old/plantuml.8009.jar, +plantuml/old/plantuml.8010.jar, +plantuml/old/plantuml.8011.jar, +plantuml/old/plantuml.8012.jar, +plantuml/old/plantuml.8013.jar, +plantuml/old/plantuml.8014.jar, +plantuml/old/plantuml.8015.jar, +plantuml/old/plantuml.8016.jar, +plantuml/old/plantuml.8017.jar, +plantuml/old/plantuml.8018.jar, +plantuml/old/plantuml.8019.jar, +plantuml/old/plantuml.8020.jar, +plantuml/old/plantuml.8021.jar, +plantuml/old/plantuml.8022.jar, +plantuml/old/plantuml.8023.jar, +plantuml/old/plantuml.8024.jar, +plantuml/old/plantuml.8025.jar, +plantuml/old/plantuml.8026.jar, +plantuml/old/plantuml.8027.jar, +plantuml/old/plantuml.8028.jar, +plantuml/old/plantuml.8029.jar, +plantuml/old/plantuml.8030.jar, +plantuml/old/plantuml.8031.jar, +plantuml/old/plantuml.8032.jar, +plantuml/old/plantuml.8033.jar, +plantuml/old/plantuml.8034.jar, +plantuml/old/plantuml.8035.jar, +plantuml/old/plantuml.8036.jar, +plantuml/old/plantuml.8037.jar, +plantuml/old/plantuml.8038.jar, +plantuml/old/plantuml.8039.jar, +plantuml/old/plantuml.8040.jar, +plantuml/old/plantuml.8041.jar, +plantuml/old/plantuml.8042.jar, +plantuml/old/plantuml.8043.jar, +plantuml/old/plantuml.8045.jar, +plantuml/old/plantuml.8046.jar, +plantuml/old/plantuml.8047.jar, +plantuml/old/plantuml.8048.jar, +plantuml/old/plantuml.8049.jar, +plantuml/old/plantuml.8050.jar, +plantuml/old/plantuml.8051.jar, +plantuml/old/plantuml.8052.jar, +plantuml/old/plantuml.8053.jar, +plantuml/old/plantuml.8054.jar, +plantuml/old/plantuml.8055.jar, +plantuml/old/plantuml.8056.jar, +plantuml/old/plantuml.8057.jar, +plantuml/old/plantuml.8058.jar, +plantuml/old/plantuml.8059.jar, +plantuml/old/plantumldoc-7971.tar.gz, +plantuml/old/plantumldoc-7972.tar.gz, +plantuml/old/plantumldoc-7973.tar.gz, +plantuml/old/plantumldoc-7974.tar.gz, +plantuml/old/plantumldoc-7975.tar.gz, +plantuml/old/plantumldoc-7976.tar.gz, +plantuml/old/plantumldoc-7977.tar.gz, +plantuml/old/plantumldoc-7978.tar.gz, +plantuml/old/plantumldoc-7979.tar.gz, +plantuml/old/plantumldoc-7980.tar.gz, +plantuml/old/plantumldoc-7981.tar.gz, +plantuml/old/plantumldoc-7982.tar.gz, +plantuml/old/plantumldoc-7983.tar.gz, +plantuml/old/plantumldoc-7984.tar.gz, +plantuml/old/plantumldoc-7985.tar.gz, +plantuml/old/plantumldoc-7986.tar.gz, +plantuml/old/plantumldoc-7987.tar.gz, +plantuml/old/plantumldoc-7988.tar.gz, +plantuml/old/plantumldoc-7989.tar.gz, +plantuml/old/plantumldoc-7990.tar.gz, +plantuml/old/plantumldoc-7991.tar.gz, +plantuml/old/plantumldoc-7992.tar.gz, +plantuml/old/plantumldoc-7993.tar.gz, +plantuml/old/plantumldoc-7994.tar.gz, +plantuml/old/plantumldoc-7995.tar.gz, +plantuml/old/plantumldoc-7996.tar.gz, +plantuml/old/plantumldoc-7997.tar.gz, +plantuml/old/plantumldoc-7999.tar.gz, +plantuml/old/plantumldoc-8000.tar.gz, +plantuml/old/plantumldoc-8001.tar.gz, +plantuml/old/plantumldoc-8002.tar.gz, +plantuml/old/plantumldoc-8003.tar.gz, +plantuml/old/plantumldoc-8004.tar.gz, +plantuml/old/plantumldoc-8005.tar.gz, +plantuml/old/plantumldoc-8006.tar.gz, +plantuml/old/plantumldoc-8007.tar.gz, +plantuml/old/plantumldoc-8008.tar.gz, +plantuml/old/plantumldoc-8009.tar.gz, on 2023-08-02 19:30:10 UTC

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +87 -0
  2. plantuml/1.2023.6/.meta.json +201 -0
  3. plantuml/1.2023.6/plantuml-1.2023.6.tar.gz +3 -0
  4. plantuml/1.2023.6/plantuml-asl-1.2023.6.tar.gz +3 -0
  5. plantuml/1.2023.6/plantuml-bsd-1.2023.6.tar.gz +3 -0
  6. plantuml/1.2023.6/plantuml-epl-1.2023.6.tar.gz +3 -0
  7. plantuml/1.2023.6/plantuml-gplv2-1.2023.6.tar.gz +3 -0
  8. plantuml/1.2023.6/plantuml-jar-asl-1.2023.6.zip +3 -0
  9. plantuml/1.2023.6/plantuml-jar-bsd-1.2023.6.zip +3 -0
  10. plantuml/1.2023.6/plantuml-jar-epl-1.2023.6.zip +3 -0
  11. plantuml/1.2023.6/plantuml-jar-gplv2-1.2023.6.zip +3 -0
  12. plantuml/1.2023.6/plantuml-jar-lgpl-1.2023.6.zip +3 -0
  13. plantuml/1.2023.6/plantuml-jar-mit-1.2023.6.zip +3 -0
  14. plantuml/1.2023.6/plantuml-lgpl-1.2023.6.tar.gz +3 -0
  15. plantuml/1.2023.6/plantuml-mit-1.2023.6.tar.gz +3 -0
  16. plantuml/1.2023.6/plantuml-nodot.1.2023.6.jar +3 -0
  17. plantuml/1.2023.6/plantuml.1.2023.6.jar +3 -0
  18. plantuml/1.2023.6/plantuml.1.2023.6.war +3 -0
  19. plantuml/1.2023.7/.meta.json +189 -0
  20. plantuml/1.2023.7/plantuml-1.2023.7.tar.gz +3 -0
  21. plantuml/1.2023.7/plantuml-asl-1.2023.7.tar.gz +3 -0
  22. plantuml/1.2023.7/plantuml-bsd-1.2023.7.tar.gz +3 -0
  23. plantuml/1.2023.7/plantuml-epl-1.2023.7.tar.gz +3 -0
  24. plantuml/1.2023.7/plantuml-gplv2-1.2023.7.tar.gz +3 -0
  25. plantuml/1.2023.7/plantuml-jar-asl-1.2023.7.zip +3 -0
  26. plantuml/1.2023.7/plantuml-jar-bsd-1.2023.7.zip +3 -0
  27. plantuml/1.2023.7/plantuml-jar-epl-1.2023.7.zip +3 -0
  28. plantuml/1.2023.7/plantuml-jar-gplv2-1.2023.7.zip +3 -0
  29. plantuml/1.2023.7/plantuml-jar-lgpl-1.2023.7.zip +3 -0
  30. plantuml/1.2023.7/plantuml-jar-mit-1.2023.7.zip +3 -0
  31. plantuml/1.2023.7/plantuml-lgpl-1.2023.7.tar.gz +3 -0
  32. plantuml/1.2023.7/plantuml-mit-1.2023.7.tar.gz +3 -0
  33. plantuml/1.2023.7/plantuml-nodot.1.2023.7.jar +3 -0
  34. plantuml/1.2023.7/plantuml.1.2023.7.jar +3 -0
  35. plantuml/old/.meta.json +0 -0
  36. plantuml/old/Module1.bas +633 -0
  37. plantuml/old/PlantUML Language Reference Guide.pdf +3 -0
  38. plantuml/old/PlantUML.bas +610 -0
  39. plantuml/old/PlantUML_Template_v23.dotm +0 -0
  40. plantuml/old/PlantUML_Template_v27.dotm +0 -0
  41. plantuml/old/PlantUML_Template_v30.dotm +0 -0
  42. plantuml/old/PlantUML_V004.bas +597 -0
  43. plantuml/old/PlantUML_V005.bas +640 -0
  44. plantuml/old/PlantUML_V006.bas +644 -0
  45. plantuml/old/PlantUML_V007.bas +628 -0
  46. plantuml/old/plantuml-7971.tar.gz +3 -0
  47. plantuml/old/plantuml-7972.tar.gz +3 -0
  48. plantuml/old/plantuml-7973.tar.gz +3 -0
  49. plantuml/old/plantuml-7974.tar.gz +3 -0
  50. plantuml/old/plantuml-7975.tar.gz +3 -0
.gitattributes CHANGED
@@ -251,3 +251,90 @@ plantuml/1.2023.4/plantuml.1.2023.4.jar filter=lfs diff=lfs merge=lfs -text
251
  plantuml/1.2023.5/plantuml-nodot.1.2023.5.jar filter=lfs diff=lfs merge=lfs -text
252
  plantuml/1.2023.5/plantuml.1.2023.5.jar filter=lfs diff=lfs merge=lfs -text
253
  plantuml/1.2023.5/plantuml.1.2023.5.war filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  plantuml/1.2023.5/plantuml-nodot.1.2023.5.jar filter=lfs diff=lfs merge=lfs -text
252
  plantuml/1.2023.5/plantuml.1.2023.5.jar filter=lfs diff=lfs merge=lfs -text
253
  plantuml/1.2023.5/plantuml.1.2023.5.war filter=lfs diff=lfs merge=lfs -text
254
+ plantuml/1.2023.6/plantuml-nodot.1.2023.6.jar filter=lfs diff=lfs merge=lfs -text
255
+ plantuml/1.2023.6/plantuml.1.2023.6.jar filter=lfs diff=lfs merge=lfs -text
256
+ plantuml/1.2023.6/plantuml.1.2023.6.war filter=lfs diff=lfs merge=lfs -text
257
+ plantuml/1.2023.7/plantuml-nodot.1.2023.7.jar filter=lfs diff=lfs merge=lfs -text
258
+ plantuml/1.2023.7/plantuml.1.2023.7.jar filter=lfs diff=lfs merge=lfs -text
259
+ plantuml/old/PlantUML[[:space:]]Language[[:space:]]Reference[[:space:]]Guide.pdf filter=lfs diff=lfs merge=lfs -text
260
+ plantuml/old/plantuml.7977.jar filter=lfs diff=lfs merge=lfs -text
261
+ plantuml/old/plantuml.7978.jar filter=lfs diff=lfs merge=lfs -text
262
+ plantuml/old/plantuml.7979.jar filter=lfs diff=lfs merge=lfs -text
263
+ plantuml/old/plantuml.7980.jar filter=lfs diff=lfs merge=lfs -text
264
+ plantuml/old/plantuml.7981.jar filter=lfs diff=lfs merge=lfs -text
265
+ plantuml/old/plantuml.7982.jar filter=lfs diff=lfs merge=lfs -text
266
+ plantuml/old/plantuml.7983.jar filter=lfs diff=lfs merge=lfs -text
267
+ plantuml/old/plantuml.7984.jar filter=lfs diff=lfs merge=lfs -text
268
+ plantuml/old/plantuml.7985.jar filter=lfs diff=lfs merge=lfs -text
269
+ plantuml/old/plantuml.7986.jar filter=lfs diff=lfs merge=lfs -text
270
+ plantuml/old/plantuml.7987.jar filter=lfs diff=lfs merge=lfs -text
271
+ plantuml/old/plantuml.7988.jar filter=lfs diff=lfs merge=lfs -text
272
+ plantuml/old/plantuml.7989.jar filter=lfs diff=lfs merge=lfs -text
273
+ plantuml/old/plantuml.7990.jar filter=lfs diff=lfs merge=lfs -text
274
+ plantuml/old/plantuml.7991.jar filter=lfs diff=lfs merge=lfs -text
275
+ plantuml/old/plantuml.7992.jar filter=lfs diff=lfs merge=lfs -text
276
+ plantuml/old/plantuml.7993.jar filter=lfs diff=lfs merge=lfs -text
277
+ plantuml/old/plantuml.7994.jar filter=lfs diff=lfs merge=lfs -text
278
+ plantuml/old/plantuml.7995.jar filter=lfs diff=lfs merge=lfs -text
279
+ plantuml/old/plantuml.7996.jar filter=lfs diff=lfs merge=lfs -text
280
+ plantuml/old/plantuml.7997.jar filter=lfs diff=lfs merge=lfs -text
281
+ plantuml/old/plantuml.7999.jar filter=lfs diff=lfs merge=lfs -text
282
+ plantuml/old/plantuml.8000.jar filter=lfs diff=lfs merge=lfs -text
283
+ plantuml/old/plantuml.8001.jar filter=lfs diff=lfs merge=lfs -text
284
+ plantuml/old/plantuml.8002.jar filter=lfs diff=lfs merge=lfs -text
285
+ plantuml/old/plantuml.8003.jar filter=lfs diff=lfs merge=lfs -text
286
+ plantuml/old/plantuml.8004.jar filter=lfs diff=lfs merge=lfs -text
287
+ plantuml/old/plantuml.8005.jar filter=lfs diff=lfs merge=lfs -text
288
+ plantuml/old/plantuml.8006.jar filter=lfs diff=lfs merge=lfs -text
289
+ plantuml/old/plantuml.8007.jar filter=lfs diff=lfs merge=lfs -text
290
+ plantuml/old/plantuml.8008.jar filter=lfs diff=lfs merge=lfs -text
291
+ plantuml/old/plantuml.8009.jar filter=lfs diff=lfs merge=lfs -text
292
+ plantuml/old/plantuml.8010.jar filter=lfs diff=lfs merge=lfs -text
293
+ plantuml/old/plantuml.8011.jar filter=lfs diff=lfs merge=lfs -text
294
+ plantuml/old/plantuml.8012.jar filter=lfs diff=lfs merge=lfs -text
295
+ plantuml/old/plantuml.8013.jar filter=lfs diff=lfs merge=lfs -text
296
+ plantuml/old/plantuml.8014.jar filter=lfs diff=lfs merge=lfs -text
297
+ plantuml/old/plantuml.8015.jar filter=lfs diff=lfs merge=lfs -text
298
+ plantuml/old/plantuml.8016.jar filter=lfs diff=lfs merge=lfs -text
299
+ plantuml/old/plantuml.8017.jar filter=lfs diff=lfs merge=lfs -text
300
+ plantuml/old/plantuml.8018.jar filter=lfs diff=lfs merge=lfs -text
301
+ plantuml/old/plantuml.8019.jar filter=lfs diff=lfs merge=lfs -text
302
+ plantuml/old/plantuml.8020.jar filter=lfs diff=lfs merge=lfs -text
303
+ plantuml/old/plantuml.8021.jar filter=lfs diff=lfs merge=lfs -text
304
+ plantuml/old/plantuml.8022.jar filter=lfs diff=lfs merge=lfs -text
305
+ plantuml/old/plantuml.8023.jar filter=lfs diff=lfs merge=lfs -text
306
+ plantuml/old/plantuml.8024.jar filter=lfs diff=lfs merge=lfs -text
307
+ plantuml/old/plantuml.8025.jar filter=lfs diff=lfs merge=lfs -text
308
+ plantuml/old/plantuml.8026.jar filter=lfs diff=lfs merge=lfs -text
309
+ plantuml/old/plantuml.8027.jar filter=lfs diff=lfs merge=lfs -text
310
+ plantuml/old/plantuml.8028.jar filter=lfs diff=lfs merge=lfs -text
311
+ plantuml/old/plantuml.8029.jar filter=lfs diff=lfs merge=lfs -text
312
+ plantuml/old/plantuml.8030.jar filter=lfs diff=lfs merge=lfs -text
313
+ plantuml/old/plantuml.8031.jar filter=lfs diff=lfs merge=lfs -text
314
+ plantuml/old/plantuml.8032.jar filter=lfs diff=lfs merge=lfs -text
315
+ plantuml/old/plantuml.8033.jar filter=lfs diff=lfs merge=lfs -text
316
+ plantuml/old/plantuml.8034.jar filter=lfs diff=lfs merge=lfs -text
317
+ plantuml/old/plantuml.8035.jar filter=lfs diff=lfs merge=lfs -text
318
+ plantuml/old/plantuml.8036.jar filter=lfs diff=lfs merge=lfs -text
319
+ plantuml/old/plantuml.8037.jar filter=lfs diff=lfs merge=lfs -text
320
+ plantuml/old/plantuml.8038.jar filter=lfs diff=lfs merge=lfs -text
321
+ plantuml/old/plantuml.8039.jar filter=lfs diff=lfs merge=lfs -text
322
+ plantuml/old/plantuml.8040.jar filter=lfs diff=lfs merge=lfs -text
323
+ plantuml/old/plantuml.8041.jar filter=lfs diff=lfs merge=lfs -text
324
+ plantuml/old/plantuml.8042.jar filter=lfs diff=lfs merge=lfs -text
325
+ plantuml/old/plantuml.8043.jar filter=lfs diff=lfs merge=lfs -text
326
+ plantuml/old/plantuml.8045.jar filter=lfs diff=lfs merge=lfs -text
327
+ plantuml/old/plantuml.8046.jar filter=lfs diff=lfs merge=lfs -text
328
+ plantuml/old/plantuml.8047.jar filter=lfs diff=lfs merge=lfs -text
329
+ plantuml/old/plantuml.8048.jar filter=lfs diff=lfs merge=lfs -text
330
+ plantuml/old/plantuml.8049.jar filter=lfs diff=lfs merge=lfs -text
331
+ plantuml/old/plantuml.8050.jar filter=lfs diff=lfs merge=lfs -text
332
+ plantuml/old/plantuml.8051.jar filter=lfs diff=lfs merge=lfs -text
333
+ plantuml/old/plantuml.8052.jar filter=lfs diff=lfs merge=lfs -text
334
+ plantuml/old/plantuml.8053.jar filter=lfs diff=lfs merge=lfs -text
335
+ plantuml/old/plantuml.8054.jar filter=lfs diff=lfs merge=lfs -text
336
+ plantuml/old/plantuml.8055.jar filter=lfs diff=lfs merge=lfs -text
337
+ plantuml/old/plantuml.8056.jar filter=lfs diff=lfs merge=lfs -text
338
+ plantuml/old/plantuml.8057.jar filter=lfs diff=lfs merge=lfs -text
339
+ plantuml/old/plantuml.8058.jar filter=lfs diff=lfs merge=lfs -text
340
+ plantuml/old/plantuml.8059.jar filter=lfs diff=lfs merge=lfs -text
plantuml/1.2023.6/.meta.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "path": "1.2023.6",
3
+ "metadata": {
4
+ "page_url": "https://sourceforge.net/projects/plantuml/files/1.2023.6/"
5
+ },
6
+ "files": [
7
+ {
8
+ "name": "plantuml-1.2023.6.tar.gz",
9
+ "type": "wget",
10
+ "mark": {
11
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-1.2023.6.tar.gz",
12
+ "etag": "\"643ecab9-a80001\"",
13
+ "expires": null,
14
+ "content_length": 11010049,
15
+ "content_type": "application/x-gzip"
16
+ },
17
+ "metadata": {}
18
+ },
19
+ {
20
+ "name": "plantuml-asl-1.2023.6.tar.gz",
21
+ "type": "wget",
22
+ "mark": {
23
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-asl-1.2023.6.tar.gz",
24
+ "etag": "\"643ecafe-6136e2\"",
25
+ "expires": null,
26
+ "content_length": 6371042,
27
+ "content_type": "application/x-gzip"
28
+ },
29
+ "metadata": {}
30
+ },
31
+ {
32
+ "name": "plantuml-bsd-1.2023.6.tar.gz",
33
+ "type": "wget",
34
+ "mark": {
35
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-bsd-1.2023.6.tar.gz",
36
+ "etag": "\"643ecb40-61f0c9\"",
37
+ "expires": null,
38
+ "content_length": 6418633,
39
+ "content_type": "application/x-gzip"
40
+ },
41
+ "metadata": {}
42
+ },
43
+ {
44
+ "name": "plantuml-epl-1.2023.6.tar.gz",
45
+ "type": "wget",
46
+ "mark": {
47
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-epl-1.2023.6.tar.gz",
48
+ "etag": "\"643ecb82-613e5a\"",
49
+ "expires": null,
50
+ "content_length": 6372954,
51
+ "content_type": "application/x-gzip"
52
+ },
53
+ "metadata": {}
54
+ },
55
+ {
56
+ "name": "plantuml-gplv2-1.2023.6.tar.gz",
57
+ "type": "wget",
58
+ "mark": {
59
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-gplv2-1.2023.6.tar.gz",
60
+ "etag": "\"643ecbc6-65cda4\"",
61
+ "expires": null,
62
+ "content_length": 6671780,
63
+ "content_type": "application/x-gzip"
64
+ },
65
+ "metadata": {}
66
+ },
67
+ {
68
+ "name": "plantuml-jar-asl-1.2023.6.zip",
69
+ "type": "wget",
70
+ "mark": {
71
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-jar-asl-1.2023.6.zip",
72
+ "etag": "\"643ecc29-9ace42\"",
73
+ "expires": null,
74
+ "content_length": 10145346,
75
+ "content_type": "application/octet-stream"
76
+ },
77
+ "metadata": {}
78
+ },
79
+ {
80
+ "name": "plantuml-jar-bsd-1.2023.6.zip",
81
+ "type": "wget",
82
+ "mark": {
83
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-jar-bsd-1.2023.6.zip",
84
+ "etag": "\"643ecc8c-9acbf5\"",
85
+ "expires": null,
86
+ "content_length": 10144757,
87
+ "content_type": "application/octet-stream"
88
+ },
89
+ "metadata": {}
90
+ },
91
+ {
92
+ "name": "plantuml-jar-epl-1.2023.6.zip",
93
+ "type": "wget",
94
+ "mark": {
95
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-jar-epl-1.2023.6.zip",
96
+ "etag": "\"643eccef-9ad347\"",
97
+ "expires": null,
98
+ "content_length": 10146631,
99
+ "content_type": "application/octet-stream"
100
+ },
101
+ "metadata": {}
102
+ },
103
+ {
104
+ "name": "plantuml-jar-gplv2-1.2023.6.zip",
105
+ "type": "wget",
106
+ "mark": {
107
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-jar-gplv2-1.2023.6.zip",
108
+ "etag": "\"643ecd57-a2a595\"",
109
+ "expires": null,
110
+ "content_length": 10659221,
111
+ "content_type": "application/octet-stream"
112
+ },
113
+ "metadata": {}
114
+ },
115
+ {
116
+ "name": "plantuml-jar-lgpl-1.2023.6.zip",
117
+ "type": "wget",
118
+ "mark": {
119
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-jar-lgpl-1.2023.6.zip",
120
+ "etag": "\"643ecdba-9acd4c\"",
121
+ "expires": null,
122
+ "content_length": 10145100,
123
+ "content_type": "application/octet-stream"
124
+ },
125
+ "metadata": {}
126
+ },
127
+ {
128
+ "name": "plantuml-jar-mit-1.2023.6.zip",
129
+ "type": "wget",
130
+ "mark": {
131
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-jar-mit-1.2023.6.zip",
132
+ "etag": "\"643ece20-9ac80f\"",
133
+ "expires": null,
134
+ "content_length": 10143759,
135
+ "content_type": "application/octet-stream"
136
+ },
137
+ "metadata": {}
138
+ },
139
+ {
140
+ "name": "plantuml-lgpl-1.2023.6.tar.gz",
141
+ "type": "wget",
142
+ "mark": {
143
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-lgpl-1.2023.6.tar.gz",
144
+ "etag": "\"643ece68-61338a\"",
145
+ "expires": null,
146
+ "content_length": 6370186,
147
+ "content_type": "application/x-gzip"
148
+ },
149
+ "metadata": {}
150
+ },
151
+ {
152
+ "name": "plantuml-mit-1.2023.6.tar.gz",
153
+ "type": "wget",
154
+ "mark": {
155
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-mit-1.2023.6.tar.gz",
156
+ "etag": "\"643eceae-61ad3b\"",
157
+ "expires": null,
158
+ "content_length": 6401339,
159
+ "content_type": "application/x-gzip"
160
+ },
161
+ "metadata": {}
162
+ },
163
+ {
164
+ "name": "plantuml-nodot.1.2023.6.jar",
165
+ "type": "wget",
166
+ "mark": {
167
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml-nodot.1.2023.6.jar",
168
+ "etag": "\"643ecf1b-a3aeea\"",
169
+ "expires": null,
170
+ "content_length": 10727146,
171
+ "content_type": "application/java-archive"
172
+ },
173
+ "metadata": {}
174
+ },
175
+ {
176
+ "name": "plantuml.1.2023.6.jar",
177
+ "type": "wget",
178
+ "mark": {
179
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml.1.2023.6.jar",
180
+ "etag": "\"643ecf87-a9d71e\"",
181
+ "expires": null,
182
+ "content_length": 11130654,
183
+ "content_type": "application/java-archive"
184
+ },
185
+ "metadata": {}
186
+ },
187
+ {
188
+ "name": "plantuml.1.2023.6.war",
189
+ "type": "wget",
190
+ "mark": {
191
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.6/plantuml.1.2023.6.war",
192
+ "etag": "\"643f0429-19c1750\"",
193
+ "expires": null,
194
+ "content_length": 27006800,
195
+ "content_type": "application/octet-stream"
196
+ },
197
+ "metadata": {}
198
+ }
199
+ ],
200
+ "folders": []
201
+ }
plantuml/1.2023.6/plantuml-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b9284317f06ee09d6ca634ab13d55df23c068184f8de8a5ac52733be45239c
3
+ size 11010049
plantuml/1.2023.6/plantuml-asl-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acd7ec103626e5efbb879318ace5ed100dfa3fd21284739c0a491485cbb47a60
3
+ size 6371042
plantuml/1.2023.6/plantuml-bsd-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e521d2240e4837a1f20a79c64d236fb67e04ff5329b3e874bfce0dd39c550bb6
3
+ size 6418633
plantuml/1.2023.6/plantuml-epl-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae4a49215d9e40418efd6c9d0e11a04168539f81a9943b748710cb14c755f9d6
3
+ size 6372954
plantuml/1.2023.6/plantuml-gplv2-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fd1ff731cce8709f119564ba281350f69d317a544fef54d5e4549ac55e97bec
3
+ size 6671780
plantuml/1.2023.6/plantuml-jar-asl-1.2023.6.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65dddfda6c9b85efe843a30da58561dabca88b56ad0aa949d897707485459d57
3
+ size 10145346
plantuml/1.2023.6/plantuml-jar-bsd-1.2023.6.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:915fa6fd6d197b712e634cf5decddf55e4a43a960cd824fd6db2d4ccca3dadb2
3
+ size 10144757
plantuml/1.2023.6/plantuml-jar-epl-1.2023.6.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30837562c6e1592bcfadd7d96d597bdac110cb7d76e6dfe4ce7a9cd737575a1a
3
+ size 10146631
plantuml/1.2023.6/plantuml-jar-gplv2-1.2023.6.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f4e60e03fc64d1026663a099ae56e91a60e9a69bdd7c89855e0daa96c2af041
3
+ size 10659221
plantuml/1.2023.6/plantuml-jar-lgpl-1.2023.6.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b961d84b0421b192c43bf844f3805d60461e2d4ab74b87a35d7b44f92682680b
3
+ size 10145100
plantuml/1.2023.6/plantuml-jar-mit-1.2023.6.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a3218db626e86a73825a90f9260dbc65e6c87382fe763b688522cb190ff1dc
3
+ size 10143759
plantuml/1.2023.6/plantuml-lgpl-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed25ad2f75355278052c8298d6c219c864a861ca37ce8c34c5840e20ed19f7cc
3
+ size 6370186
plantuml/1.2023.6/plantuml-mit-1.2023.6.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebc630bf38db1224ee2a20504a9d8a3214c9ff4df5e1c1fd252599a977ae11c4
3
+ size 6401339
plantuml/1.2023.6/plantuml-nodot.1.2023.6.jar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ad5388366a6de3e46c82c9d496bd2385dd13e7fe31849f165398b298575618
3
+ size 10727146
plantuml/1.2023.6/plantuml.1.2023.6.jar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4493dae18c737fd75c274c5c83e6ecd4b97dfd19e89dae01be1d3ac027295629
3
+ size 11130654
plantuml/1.2023.6/plantuml.1.2023.6.war ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:672048df16cc0b756a6743c94cb09c5197b3ede448e21b7de9f9980d97345b79
3
+ size 27006800
plantuml/1.2023.7/.meta.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "path": "1.2023.7",
3
+ "metadata": {
4
+ "page_url": "https://sourceforge.net/projects/plantuml/files/1.2023.7/"
5
+ },
6
+ "files": [
7
+ {
8
+ "name": "plantuml-1.2023.7.tar.gz",
9
+ "type": "wget",
10
+ "mark": {
11
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-1.2023.7.tar.gz",
12
+ "etag": "\"645f5163-a926a4\"",
13
+ "expires": null,
14
+ "content_length": 11085476,
15
+ "content_type": "application/x-gzip"
16
+ },
17
+ "metadata": {}
18
+ },
19
+ {
20
+ "name": "plantuml-asl-1.2023.7.tar.gz",
21
+ "type": "wget",
22
+ "mark": {
23
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-asl-1.2023.7.tar.gz",
24
+ "etag": "\"645f51a2-6203ea\"",
25
+ "expires": null,
26
+ "content_length": 6423530,
27
+ "content_type": "application/x-gzip"
28
+ },
29
+ "metadata": {}
30
+ },
31
+ {
32
+ "name": "plantuml-bsd-1.2023.7.tar.gz",
33
+ "type": "wget",
34
+ "mark": {
35
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-bsd-1.2023.7.tar.gz",
36
+ "etag": "\"645f51e2-62dd6c\"",
37
+ "expires": null,
38
+ "content_length": 6479212,
39
+ "content_type": "application/x-gzip"
40
+ },
41
+ "metadata": {}
42
+ },
43
+ {
44
+ "name": "plantuml-epl-1.2023.7.tar.gz",
45
+ "type": "wget",
46
+ "mark": {
47
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-epl-1.2023.7.tar.gz",
48
+ "etag": "\"645f5221-622a56\"",
49
+ "expires": null,
50
+ "content_length": 6433366,
51
+ "content_type": "application/x-gzip"
52
+ },
53
+ "metadata": {}
54
+ },
55
+ {
56
+ "name": "plantuml-gplv2-1.2023.7.tar.gz",
57
+ "type": "wget",
58
+ "mark": {
59
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-gplv2-1.2023.7.tar.gz",
60
+ "etag": "\"645f5263-66d469\"",
61
+ "expires": null,
62
+ "content_length": 6739049,
63
+ "content_type": "application/x-gzip"
64
+ },
65
+ "metadata": {}
66
+ },
67
+ {
68
+ "name": "plantuml-jar-asl-1.2023.7.zip",
69
+ "type": "wget",
70
+ "mark": {
71
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-jar-asl-1.2023.7.zip",
72
+ "etag": "\"645f52c6-9bc6e0\"",
73
+ "expires": null,
74
+ "content_length": 10208992,
75
+ "content_type": "application/octet-stream"
76
+ },
77
+ "metadata": {}
78
+ },
79
+ {
80
+ "name": "plantuml-jar-bsd-1.2023.7.zip",
81
+ "type": "wget",
82
+ "mark": {
83
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-jar-bsd-1.2023.7.zip",
84
+ "etag": "\"645f532a-9bc810\"",
85
+ "expires": null,
86
+ "content_length": 10209296,
87
+ "content_type": "application/octet-stream"
88
+ },
89
+ "metadata": {}
90
+ },
91
+ {
92
+ "name": "plantuml-jar-epl-1.2023.7.zip",
93
+ "type": "wget",
94
+ "mark": {
95
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-jar-epl-1.2023.7.zip",
96
+ "etag": "\"645f538c-9bd2f8\"",
97
+ "expires": null,
98
+ "content_length": 10212088,
99
+ "content_type": "application/octet-stream"
100
+ },
101
+ "metadata": {}
102
+ },
103
+ {
104
+ "name": "plantuml-jar-gplv2-1.2023.7.zip",
105
+ "type": "wget",
106
+ "mark": {
107
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-jar-gplv2-1.2023.7.zip",
108
+ "etag": "\"a3aa5f-5fb8f97c0cdfa\"",
109
+ "expires": null,
110
+ "content_length": 10725983,
111
+ "content_type": "application/octet-stream"
112
+ },
113
+ "metadata": {}
114
+ },
115
+ {
116
+ "name": "plantuml-jar-lgpl-1.2023.7.zip",
117
+ "type": "wget",
118
+ "mark": {
119
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-jar-lgpl-1.2023.7.zip",
120
+ "etag": "\"645f547a-9bc9e0\"",
121
+ "expires": null,
122
+ "content_length": 10209760,
123
+ "content_type": "application/octet-stream"
124
+ },
125
+ "metadata": {}
126
+ },
127
+ {
128
+ "name": "plantuml-jar-mit-1.2023.7.zip",
129
+ "type": "wget",
130
+ "mark": {
131
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-jar-mit-1.2023.7.zip",
132
+ "etag": "\"645f54e7-9bca5b\"",
133
+ "expires": null,
134
+ "content_length": 10209883,
135
+ "content_type": "application/octet-stream"
136
+ },
137
+ "metadata": {}
138
+ },
139
+ {
140
+ "name": "plantuml-lgpl-1.2023.7.tar.gz",
141
+ "type": "wget",
142
+ "mark": {
143
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-lgpl-1.2023.7.tar.gz",
144
+ "etag": "\"645f5528-62214d\"",
145
+ "expires": null,
146
+ "content_length": 6431053,
147
+ "content_type": "application/x-gzip"
148
+ },
149
+ "metadata": {}
150
+ },
151
+ {
152
+ "name": "plantuml-mit-1.2023.7.tar.gz",
153
+ "type": "wget",
154
+ "mark": {
155
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-mit-1.2023.7.tar.gz",
156
+ "etag": "\"645f5568-62977b\"",
157
+ "expires": null,
158
+ "content_length": 6461307,
159
+ "content_type": "application/x-gzip"
160
+ },
161
+ "metadata": {}
162
+ },
163
+ {
164
+ "name": "plantuml-nodot.1.2023.7.jar",
165
+ "type": "wget",
166
+ "mark": {
167
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml-nodot.1.2023.7.jar",
168
+ "etag": "\"a4b18e-5fb8fb33fbc35\"",
169
+ "expires": null,
170
+ "content_length": 10793358,
171
+ "content_type": "application/java-archive"
172
+ },
173
+ "metadata": {}
174
+ },
175
+ {
176
+ "name": "plantuml.1.2023.7.jar",
177
+ "type": "wget",
178
+ "mark": {
179
+ "url": "https://downloads.sourceforge.net/project/plantuml/1.2023.7/plantuml.1.2023.7.jar",
180
+ "etag": "\"645f5642-aad9c2\"",
181
+ "expires": null,
182
+ "content_length": 11196866,
183
+ "content_type": "application/java-archive"
184
+ },
185
+ "metadata": {}
186
+ }
187
+ ],
188
+ "folders": []
189
+ }
plantuml/1.2023.7/plantuml-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:806c5726ff1c8ee7c8314880f964bbb07d4dbaf055b73fb80bf76f5e21850019
3
+ size 11085476
plantuml/1.2023.7/plantuml-asl-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8fc668c074322a931ce39590be474b56da8833a6d8db15b84dec5c279dc4a11
3
+ size 6423530
plantuml/1.2023.7/plantuml-bsd-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3732a1d2ae5ef6a5c66b14a9fd8f97c6b06a3a3544b4cda8a83987464c4bea7
3
+ size 6479212
plantuml/1.2023.7/plantuml-epl-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c5b852cd8b59a7da590b43d38f467ea10ad1a7970fc03458e0cf7cd7c63ed10
3
+ size 6433366
plantuml/1.2023.7/plantuml-gplv2-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40bc59a4eb4ff2933a7e6e26f4f32d4dfe300dedffcc7e071db4049bb049a505
3
+ size 6739049
plantuml/1.2023.7/plantuml-jar-asl-1.2023.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a84042319d522bfbaaa146ee5161e2767b28503cf107f5042f5e4f65589a5de
3
+ size 10208992
plantuml/1.2023.7/plantuml-jar-bsd-1.2023.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:735511b5d43d82656b880ffc106760c40b66afd97c8f46041644d79f030ae6f7
3
+ size 10209296
plantuml/1.2023.7/plantuml-jar-epl-1.2023.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:354f4296d657148a699fb233c039f5f9ddb5d86e51eb17fbb7df7ecff4cfd2e9
3
+ size 10212088
plantuml/1.2023.7/plantuml-jar-gplv2-1.2023.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77d5db5a955624d0e8ee0d419046053ee818ef13d709aee36257d15d7d9a9bec
3
+ size 10725983
plantuml/1.2023.7/plantuml-jar-lgpl-1.2023.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:883b10b0659ff0104ea98e3e5ba9b18b906fcbe599714efdfd060a8729fe50a9
3
+ size 10209760
plantuml/1.2023.7/plantuml-jar-mit-1.2023.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db20262e8ca4516286398085d531e4773305e3391cd1845aff8c588e2ee6825b
3
+ size 10209883
plantuml/1.2023.7/plantuml-lgpl-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d45281acf29979433299f81687b2e3ddebff3a9d6b70f83632acbc036c78d063
3
+ size 6431053
plantuml/1.2023.7/plantuml-mit-1.2023.7.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:900c54ab157a525cf9d2c52b2a0c745cbf4094505941ea65d1b69ea754938af7
3
+ size 6461307
plantuml/1.2023.7/plantuml-nodot.1.2023.7.jar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0470b8795fc7a3fd0bd14d03204309aeea503cff7e5081d44724e1c0ca9d2575
3
+ size 10793358
plantuml/1.2023.7/plantuml.1.2023.7.jar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11e3b72e430b6c09fa0985e48afc226b4e930d639254f35eba64cca7802262a4
3
+ size 11196866
plantuml/old/.meta.json ADDED
The diff for this file is too large to render. See raw diff
 
plantuml/old/Module1.bas ADDED
@@ -0,0 +1,633 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ' ========================================================================
2
+ ' Plantuml : a free UML diagram generator
3
+ ' ========================================================================
4
+ '
5
+ ' (C) Copyright 2009, Arnaud Roques
6
+ '
7
+ ' Project Info: http://plantuml.sourceforge.net
8
+ '
9
+ ' This file is part of Plantuml.
10
+ '
11
+ ' Plantuml is free software; you can redistribute it and/or modify it
12
+ ' under the terms of the GNU General Public License as published by
13
+ ' the Free Software Foundation, either version 3 of the License, or
14
+ ' (at your option) any later version.
15
+ '
16
+ ' Plantuml distributed in the hope that it will be useful, but
17
+ ' WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
+ ' or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19
+ ' License for more details.
20
+ '
21
+ ' You should have received a copy of the GNU General Public
22
+ ' License along with this library; if not, write to the Free Software
23
+ ' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24
+ ' USA.
25
+ '
26
+ ' [Java is a trademark or registered trademark of Sun Microsystems, Inc.
27
+ ' in the United States and other countries.]
28
+ '
29
+ ' Original Author: Arnaud Roques
30
+ ' Word Macro: Alain Bertucat
31
+ '
32
+ Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
33
+ Sub Macro_UML_all()
34
+ Macro_UML ("all")
35
+ End Sub
36
+ Sub Macro_UML_parg()
37
+ Macro_UML ("parg")
38
+ End Sub
39
+ Sub Macro_Masquer()
40
+ Gestion_Masquer
41
+ End Sub
42
+ Function Macro_UML(l_scope)
43
+ '
44
+ ' Macro_UML : generation de diagramme dans un document a partir de la description
45
+ ' "textuelle" de ces diagrammes dans le document
46
+ ' Macro creee le 31/03/2009 par bertucat_a
47
+ '
48
+ ' - Initialisations
49
+ '
50
+ Gestion_Barre
51
+ Set w_but = CommandBars("UML").Controls(4)
52
+
53
+ Gestion_Style ("")
54
+ '
55
+ ' --- Reperage debut et fin de description de schema
56
+ '
57
+ w_Diag_d = "@startuml"
58
+ w_Diag_f = "@enduml"
59
+
60
+ w_Diag_idr = False
61
+ w_Diag_no = 0
62
+
63
+ Set f_Doc = ActiveDocument
64
+ Set w_Crs = Selection.Range
65
+ w_Hid = ActiveDocument.ActiveWindow.View.ShowHiddenText
66
+ If w_Hid = False Then
67
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
68
+ End If
69
+
70
+ ' MSR - verif du cas particulier : un paragraphe
71
+ Call controlParagraphe("@startuml", "@enduml")
72
+
73
+ w_Crs.Select
74
+ '
75
+ ' --- Identifiant fichier sans extension et repertoire courant
76
+ '
77
+ w_Fdoc_id = f_Doc.Name
78
+ w_Fdoc_id = Left(w_Fdoc_id, Len(w_Fdoc_id) - 4)
79
+ w_Fdoc_dir = f_Doc.Path
80
+
81
+ ' MSR - Gestion de l existance du module java
82
+ ' Verification du fichier plantuml.jar
83
+
84
+ Dim iRetVal As Integer
85
+
86
+ 'w_Fdoc_dir_Install = Environ("PLANTUML_INSTALL ")
87
+ 'If w_Fdoc_dir_Install <> "" Then
88
+ ' w_Fdoc_dir = w_Fdoc_dir_Install
89
+ 'End If
90
+ 'str_test = "test -> " + w_Fdoc_dir
91
+ 'MsgBox (str_test)
92
+ Dim nbTemplates As Integer
93
+
94
+ nbTemplates = ActiveDocument.Parent.Templates.Count
95
+ If nbTemplates > 1 Then
96
+ For i = 1 To nbTemplates
97
+ 'MsgBox (ActiveDocument.Parent.Templates.Item(i).Name)
98
+ If ActiveDocument.Parent.Templates.Item(i).Name = "PlantUML.dot" Then
99
+ w_Fdoc_dir = ActiveDocument.Parent.Templates.Item(i).Path
100
+ End If
101
+ Next i
102
+ End If
103
+
104
+
105
+
106
+ 'ActiveDocument.AttachedTemplate
107
+
108
+ ' chercher si "plantuml.jar" existe !
109
+ Set fs = CreateObject("Scripting.FileSystemObject")
110
+ filespec = w_Fdoc_dir + "\plantuml.jar"
111
+ If Not (fs.FileExists(filespec)) Then
112
+ MsgBox ("Warning : not find plantuml.jar !")
113
+ GoTo Macro_UML_exit
114
+ End If
115
+
116
+ '
117
+ ' - Phase 1 : Creation d'un fichier texte par bloc de description de schema
118
+ ' Recherche debut de bloc : "@startuml"
119
+ ' Fichier texte ouvert en "arriere-plan" (visible:=false)
120
+ ' Nom suffixe par numero d'ordre sur 4 digits
121
+ ' Chaque paragraphe d'un bloc est mis en style "UML"
122
+ ' puis le bloc est copie/colle dans le fichier texte
123
+ '
124
+ w_but.Caption = "Extract"
125
+ w_but.Visible = False
126
+ w_but.Visible = True
127
+ If l_scope = "all" Then
128
+ Set w_Fnd_rng = ActiveDocument.Content
129
+ w_Fwd = True
130
+ Else
131
+ Set w_Fnd_rng = w_Crs
132
+ w_Fnd_rng.Collapse
133
+ w_Fwd = False
134
+ End If
135
+
136
+ w_Fnd_rng.Find.Execute FindText:=w_Diag_d, Forward:=w_Fwd
137
+ If w_Fnd_rng.Find.Found = True Then
138
+ 'MSR - on garde pour premiere ligne uniquement "w_Diag_d" avec le retour de ligne !
139
+ 'w_Fnd_rng.Paragraphs(1).Range.Text = w_Diag_d & Right(w_Fnd_rng.Paragraphs(1).Range, 1)
140
+
141
+ Set w_Deb_rng = w_Fnd_rng.Paragraphs(1).Range
142
+ w_Deb_rng.Collapse
143
+
144
+ Else
145
+ GoTo Macro_UML_exit
146
+ End If
147
+ Do While w_Fnd_rng.Find.Found = True And _
148
+ (l_scope = "all" Or w_Diag_no < 1)
149
+ w_but.Caption = "Extract." & w_Diag_no + 1
150
+ w_but.Visible = False
151
+ w_but.Visible = True
152
+ Set w_Prgph = w_Fnd_rng.Paragraphs(1)
153
+ Set w_Txt_rng = w_Prgph.Range
154
+ w_Txt_rng.Collapse
155
+ w_Diag_idr = True
156
+ Do Until w_Diag_idr = False
157
+ If Left(w_Prgph.Range.Text, Len(w_Diag_d)) = w_Diag_d Then
158
+ 'w_Prgph.Range.Text = w_Diag_d & vbCrLf
159
+ Set w_Txt_rng = w_Prgph.Range
160
+ w_Txt_rng.Collapse
161
+
162
+ End If
163
+ w_Txt_rng.MoveEnd Unit:=wdParagraph
164
+ If Left(w_Prgph.Range.Text, Len(w_Diag_f)) = w_Diag_f Then
165
+ 'w_Prgph.Range.Text = w_Diag_f & vbCrLf
166
+ w_Txt_rng.Style = "PlantUML"
167
+ w_Txt_rng.Copy
168
+ Set f_Txt = Documents.Add(Visible:=False)
169
+ f_Txt.Content.Paste
170
+ w_Diag_no = w_Diag_no + 1
171
+ w_Ftxt_id = w_Fdoc_id & "_extr" & Right("000" & w_Diag_no, 4) & ".txt"
172
+ f_Txt.SaveAs FileName:=w_Fdoc_dir & "\" & w_Ftxt_id, FileFormat:=wdFormatText
173
+ f_Txt.Close
174
+ w_Diag_idr = False
175
+ End If
176
+
177
+ Set w_Prgph = w_Prgph.Next
178
+
179
+ If w_Prgph Is Nothing Then
180
+ w_Diag_idr = False
181
+ End If
182
+ Loop
183
+ w_Fnd_rng.Collapse Direction:=wdCollapseEnd
184
+ If l_scope = "all" Then
185
+ w_Fnd_rng.Find.Execute FindText:=w_Diag_d, Forward:=True
186
+ End If
187
+ Loop
188
+ '
189
+ ' - Creation d'un fichier de reservation qui sera detruit a la fin de la procedure Java
190
+ '
191
+ w_but.Caption = "Gener"
192
+ w_but.Visible = False
193
+ w_but.Visible = True
194
+ Set f_Loc = Documents.Add(Visible:=False)
195
+ f_Loc.SaveAs FileName:=w_Fdoc_dir & "\javaumllock.tmp", FileFormat:=wdFormatText
196
+ f_Loc.Close
197
+
198
+ '
199
+ ' - Appel de l'utilitaire de creation des schemas au format PNG a partir des fichiers texte
200
+ '
201
+
202
+
203
+ w_Cmd = "java -classpath """ & w_Fdoc_dir & "\plantuml.jar;" & _
204
+ w_Fdoc_dir & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -word """ & w_Fdoc_dir & """"
205
+ Shell (w_Cmd)
206
+ ' This sleep is needed, but we don't know why...
207
+ Sleep 500
208
+ '
209
+ ' - Phase 2 : Insertion des schemas dans le documents apres validation de leur creation
210
+ ' (boite de dialogue : la fenetre de commandes DOS doit etre refermee ou bien
211
+ ' suppression par traitement Java du fichier javaumllock.temp)
212
+ ' Insertion apres chaque paragraphe de fin de bloc de description
213
+ ' (autant de fois que de blocs detectes en phase 1,
214
+ ' recherche de la chaine de reperage de fin de bloc)
215
+ ' Si une image est deja rattachee au paragraphe suivant et si ce paragraphe
216
+ ' est en style "PlantUML", le paragraphe est supprime
217
+ ' Un nouveau paragraphe (style "PlantUML", non cache) est cree pour recevoir l'image
218
+ ' Nom image idem fichier texte, avec extension .png (genere par utilitaire)
219
+ ' Gestion d'une boucle pour le cas o� plusieurs images sont generees pour un shema
220
+ '
221
+
222
+ w_suite_idr = 0
223
+ Set fso = CreateObject("Scripting.FileSystemObject")
224
+ w_bctr = 0
225
+
226
+ Do
227
+ w_bctr = w_bctr + 1
228
+ w_but.Caption = "Gener." & w_bctr
229
+ w_but.Visible = False
230
+ w_but.Visible = True
231
+ DoEvents
232
+ Sleep 1000
233
+ If fso.FileExists(w_Fdoc_dir & "\javaumllock.tmp") = False Then
234
+ w_suite_idr = 1
235
+ Exit Do
236
+ End If
237
+ If w_bctr > 30 Then
238
+ MsgBox ("Java Timeout. Aborted.")
239
+ Exit Do
240
+ End If
241
+ Loop
242
+
243
+ If w_suite_idr <> 1 Then
244
+ End
245
+ End If
246
+
247
+ w_but.Caption = "Inser"
248
+ w_but.Visible = False
249
+ w_but.Visible = True
250
+
251
+ If l_scope = "all" Then
252
+ Set w_Fnd_rng = ActiveDocument.Content
253
+ w_Fwd = True
254
+ Else
255
+ Set w_Fnd_rng = w_Deb_rng
256
+ w_Fwd = True
257
+ End If
258
+ w_Fnd_rng.Find.Execute FindText:=w_Diag_f, Forward:=w_Fwd
259
+ w_i1 = 0
260
+ Do While w_Fnd_rng.Find.Found = True And _
261
+ (l_scope = "all" Or w_i1 < 1)
262
+ w_i1 = w_i1 + 1
263
+ w_but.Caption = "Inser." & w_i1
264
+ w_but.Visible = False
265
+ w_but.Visible = True
266
+ Set w_Prgph_rng = w_Fnd_rng.Paragraphs(1).Next.Range
267
+ Do While w_Prgph_rng.InlineShapes.Count > 0 And w_Prgph_rng.Style = "PlantUML"
268
+ w_Prgph_rng.Delete
269
+ Set w_Prgph_rng = w_Fnd_rng.Paragraphs(1).Next.Range
270
+ Loop
271
+ Set w_Inser_rng = w_Prgph_rng
272
+ w_Fpng_gen = w_Fdoc_dir & "\" & w_Fdoc_id & "_extr" & Right("000" & w_i1, 4) & "*.png"
273
+ w_Fpng_id = Dir(w_Fpng_gen)
274
+ While w_Fpng_id <> ""
275
+ Set w_Prgph_rng = ActiveDocument.Paragraphs.Add(Range:=w_Inser_rng).Range
276
+ Set w_Inser_rng = w_Prgph_rng.Paragraphs(1).Next.Range
277
+ w_Prgph_rng.Style = "PlantUML"
278
+ w_Prgph_rng.Font.Hidden = False
279
+ w_Prgph_rng.Collapse
280
+ Set w_Img = w_Prgph_rng.InlineShapes.AddPicture _
281
+ (FileName:=w_Fdoc_dir & "\" & w_Fpng_id _
282
+ , LinkToFile:=False, SaveWithDocument:=True)
283
+ If w_Img.ScaleHeight > 100 Or w_Img.ScaleWidth > 100 Then
284
+ w_Img.Reset
285
+ End If
286
+ w_Fpng_id = Dir()
287
+ Wend
288
+ w_Fnd_rng.Collapse Direction:=wdCollapseEnd
289
+ w_Fnd_rng.Find.Execute FindText:=w_Diag_f, Forward:=True
290
+ Loop
291
+
292
+ '
293
+ ' - Phase 3 : suppression des fichiers de travail (texte et PNG)
294
+ ' variante en commentaire : Generation et execution d'un fichier .bat
295
+ ' pour suppression des fichiers de travail (texte et PNG)
296
+ ' A partir d'un fichier "squelette"
297
+ ' Fichiers de commandes ouverts en "arriere-plan" (visible:=false)
298
+ ' --> particularisation avec le repertoire courant et l'identifiant generique
299
+ ' des fichiers a supprimer
300
+ '
301
+ w_but.Caption = "Delete"
302
+ w_but.Visible = False
303
+ w_but.Visible = True
304
+ On Error Resume Next
305
+ Kill (w_Fdoc_dir & "\" & w_Fdoc_id & "_extr*.*")
306
+ On Error GoTo 0
307
+
308
+ 'MSR - gestion du bouton afficher/masquer
309
+
310
+ Macro_UML_exit:
311
+
312
+ w_but.Visible = False
313
+ Set w_Bar = ActiveDocument.CommandBars("UML")
314
+ Set w_but = w_Bar.Controls(1)
315
+
316
+ w_but.Visible = False
317
+
318
+ If w_Hid = False Then
319
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
320
+
321
+ w_but.Caption = "Show PlantUML"
322
+ Else
323
+ w_but.Caption = "Hide PlantUML"
324
+ End If
325
+ w_but.Visible = True
326
+
327
+ ' w_Crs.Select
328
+ ' MsgBox ("Traitement UML termine")
329
+ ' on affiche le text
330
+ ActiveDocument.ActiveWindow.View.ShowAll = False
331
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
332
+
333
+ End Function
334
+ Sub Gestion_Barre()
335
+
336
+ On Error GoTo Barre_Creat
337
+ Set w_Bar = ActiveDocument.CommandBars("UML")
338
+ On Error GoTo 0
339
+ w_Bar.Visible = True
340
+
341
+ On Error GoTo Bouton_Creat
342
+ Set w_but = w_Bar.Controls(1)
343
+ On Error GoTo 0
344
+ ' w_but.Type = msoControlButton
345
+ w_but.OnAction = "Module1.Macro_Masquer"
346
+ w_but.Style = msoButtonCaption
347
+ w_but.Caption = "Hide PlantUML"
348
+ w_but.Visible = True
349
+
350
+ On Error GoTo Bouton_Creat
351
+ Set w_but = w_Bar.Controls(2)
352
+ On Error GoTo 0
353
+ ' w_but.Type = msoControlButton
354
+ w_but.OnAction = "Module1.Macro_UML_all"
355
+ w_but.Style = msoButtonCaption
356
+ w_but.Caption = "UML.*"
357
+ w_but.Visible = True
358
+
359
+ On Error GoTo Bouton_Creat
360
+ Set w_but = w_Bar.Controls(3)
361
+ On Error GoTo 0
362
+ ' w_but.Type = msoControlButton
363
+ w_but.OnAction = "Module1.Macro_UML_parg"
364
+ w_but.Style = msoButtonCaption
365
+ w_but.Caption = "UML.1"
366
+ w_but.Visible = True
367
+
368
+ On Error GoTo Bouton_Creat
369
+ Set w_but = w_Bar.Controls(4)
370
+ On Error GoTo 0
371
+ ' w_but.Type = msoControlButton
372
+ w_but.OnAction = ""
373
+ w_but.Style = msoButtonCaption
374
+ w_but.Caption = "Trace"
375
+ w_but.Visible = True
376
+
377
+
378
+ Barre_Exit:
379
+
380
+ Exit Sub
381
+
382
+
383
+ Barre_Creat:
384
+
385
+ Set w_Bar = ActiveDocument.CommandBars.Add(Name:="UML")
386
+
387
+ Resume Next
388
+
389
+
390
+ Bouton_Creat:
391
+
392
+ Set w_but = w_Bar.Controls.Add(Type:=msoControlButton, Before:=w_Bar.Controls.Count + 1)
393
+
394
+ Resume Next
395
+
396
+
397
+ End Sub
398
+ Sub Gestion_Style(testModif As String)
399
+ 'Cette fonction permet de gerer le style PlantUML
400
+ ' - Creation du style avec testModif=""
401
+ ' - Modification du style (masquer) avec testModif=Hide
402
+ ' - Re-initialisaiton du style (re-afficher) avec testModif=Show
403
+ ' - Existe deja avec testModif="" -> pas de modif
404
+
405
+ On Error GoTo Style_Creat
406
+ Set w_Stl = ActiveDocument.Styles("PlantUML")
407
+ On Error GoTo 0
408
+
409
+ ' MSR ajout d'un test pour gestion de l'affichage
410
+ If testModif = "Hide PlantUML" Then
411
+ GoTo Style_Modif
412
+ ElseIf testModif = "Show PlantUML" Then
413
+ GoTo Style_Init
414
+ End If
415
+
416
+
417
+ Style_Exit:
418
+
419
+ Exit Sub
420
+
421
+ Style_Creat:
422
+
423
+ Set w_Stl = ActiveDocument.Styles.Add(Name:="PlantUML", Type:=wdStyleTypeParagraph)
424
+ w_Stl.BaseStyle = "Normal"
425
+ w_Stl.AutomaticallyUpdate = True
426
+
427
+ Style_Init:
428
+
429
+ With w_Stl.Font
430
+ .Name = "Courier New"
431
+ .Size = 9
432
+ .Hidden = True
433
+ .Color = wdColorGreen
434
+ End With
435
+ With w_Stl.ParagraphFormat
436
+ With .Shading
437
+ .Texture = wdTextureNone
438
+ .ForegroundPatternColor = wdColorAutomatic
439
+ .BackgroundPatternColor = wdColorLightGreen
440
+ End With
441
+
442
+ .LeftIndent = CentimetersToPoints(0)
443
+ With .Shading
444
+ .Texture = wdTextureNone
445
+ .ForegroundPatternColor = wdColorAutomatic
446
+ .BackgroundPatternColor = 12254650
447
+ End With
448
+ With .Borders(wdBorderLeft)
449
+ .LineStyle = wdLineStyleDashLargeGap
450
+ .LineWidth = wdLineWidth050pt
451
+ .Color = 3910491
452
+ End With
453
+ With .Borders(wdBorderRight)
454
+ .LineStyle = wdLineStyleDashLargeGap
455
+ .LineWidth = wdLineWidth050pt
456
+ .Color = 3910491
457
+ End With
458
+ With .Borders(wdBorderTop)
459
+ .LineStyle = wdLineStyleDashLargeGap
460
+ .LineWidth = wdLineWidth050pt
461
+ .Color = 3910491
462
+ End With
463
+ With .Borders(wdBorderBottom)
464
+ .LineStyle = wdLineStyleDashLargeGap
465
+ .LineWidth = wdLineWidth050pt
466
+ .Color = 3910491
467
+ End With
468
+ With .Borders
469
+ .DistanceFromTop = 1
470
+ .DistanceFromLeft = 4
471
+ .DistanceFromBottom = 1
472
+ .DistanceFromRight = 4
473
+ .Shadow = False
474
+ End With
475
+ End With
476
+
477
+ ' ajout des tabulations
478
+ w_Stl.NoSpaceBetweenParagraphsOfSameStyle = _
479
+ False
480
+ w_Stl.ParagraphFormat.TabStops.ClearAll
481
+ w_Stl.ParagraphFormat.TabStops.Add Position:= _
482
+ CentimetersToPoints(1), Alignment:=wdAlignTabLeft, Leader:= _
483
+ wdTabLeaderSpaces
484
+ w_Stl.ParagraphFormat.TabStops.Add Position:= _
485
+ CentimetersToPoints(2), Alignment:=wdAlignTabLeft, Leader:= _
486
+ wdTabLeaderSpaces
487
+ w_Stl.ParagraphFormat.TabStops.Add Position:= _
488
+ CentimetersToPoints(3), Alignment:=wdAlignTabLeft, Leader:= _
489
+ wdTabLeaderSpaces
490
+ w_Stl.ParagraphFormat.TabStops.Add Position:= _
491
+ CentimetersToPoints(4), Alignment:=wdAlignTabLeft, Leader:= _
492
+ wdTabLeaderSpaces
493
+ Exit Sub
494
+
495
+ Style_Modif:
496
+
497
+ ' Modification du style pour ne pas afficher le code plantUML, le cadre et le fond
498
+ Set w_Stl = ActiveDocument.Styles("PlantUML")
499
+
500
+ With w_Stl.Font
501
+ .Name = "Courier New"
502
+ .Size = 9
503
+ .Hidden = True
504
+ .Color = wdColorGreen
505
+ End With
506
+ 'Cas particulier pour debuguer ! MSR ??
507
+ If w_Stl.Font.Hidden <> -1 Then
508
+ w_Stl.Font.Hidden = -1
509
+ End If
510
+ With w_Stl.ParagraphFormat
511
+ With .Shading
512
+ .Texture = wdTextureNone
513
+ .ForegroundPatternColor = wdColorAutomatic
514
+ .BackgroundPatternColor = wdColorAutomatic
515
+ End With
516
+ .Borders(wdBorderLeft).LineStyle = wdLineStyleNone
517
+ .Borders(wdBorderRight).LineStyle = wdLineStyleNone
518
+ .Borders(wdBorderTop).LineStyle = wdLineStyleNone
519
+ .Borders(wdBorderBottom).LineStyle = wdLineStyleNone
520
+ End With
521
+
522
+ End Sub
523
+
524
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
525
+ Sub Gestion_Masquer()
526
+
527
+
528
+ ' On positionne un repere pour y retourner apres traitement
529
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
530
+
531
+ ' Changement du nom du bouton
532
+ Set w_Bar = ActiveDocument.CommandBars("UML")
533
+ Set w_but = w_Bar.Controls(1)
534
+ 'w_but.State = msoButtonDown
535
+ w_but.State = msoButtonUp
536
+ If w_but.Caption = "Hide PlantUML" Then
537
+ w_but.Caption = "Show PlantUML"
538
+ w_Bar.Controls(2).Visible = Flase
539
+ w_Bar.Controls(3).Visible = Flase
540
+
541
+ Else
542
+ w_but.Caption = "Hide PlantUML"
543
+ w_Bar.Controls(2).Visible = True
544
+ w_Bar.Controls(3).Visible = True
545
+ End If
546
+
547
+ On Error GoTo Gestion_Masquer_Exit
548
+ Set w_Stl = ActiveDocument.Styles("PlantUML")
549
+ On Error GoTo 0
550
+
551
+ ' Gestion de l'option d'affiche des zones masquees de Word
552
+ w_Hid = ActiveDocument.ActiveWindow.View.ShowHiddenText
553
+
554
+ 'Verifier l'etat reel !
555
+ If w_Bar.Controls(2).Visible = True And w_Hid = True Then
556
+ w_Hid = False
557
+ End If
558
+ If w_Bar.Controls(2).Visible = False And w_Hid = False Then
559
+ w_Hid = True
560
+ End If
561
+
562
+
563
+ If w_Hid = False Then
564
+ ' on affiche le fond et la bordure
565
+ Gestion_Style ("Show PlantUML")
566
+
567
+ ' on affiche le text
568
+ ActiveDocument.ActiveWindow.View.ShowAll = False
569
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
570
+ Else
571
+ ' on n'affiche pas le fond et la bordure
572
+ Gestion_Style ("Hide PlantUML")
573
+
574
+ ' on n'affiche pas le text
575
+ ActiveDocument.ActiveWindow.View.ShowAll = False
576
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
577
+ End If
578
+
579
+ 'Gestion_Etat
580
+
581
+ Gestion_Masquer_Exit:
582
+ 'On se repostionne sur le repere et on l'efface
583
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
584
+ ActiveDocument.Bookmarks(Index:="Position").Delete
585
+
586
+ End Sub
587
+
588
+ ' MSR ajout de cette fonction pour ajouter une ligne (paragraphe) avant et apres les bornes
589
+ ' Cette fonction permet de gerer le cas particulier de la demo : pas d'autre texte que le code plantuml dans le document
590
+ Sub controlParagraphe(nameDeb As String, nameFin As String)
591
+ Dim test As Boolean
592
+
593
+ If Left(ActiveDocument.Paragraphs(1).Range.Text, Len(nameDeb)) = nameDeb Then
594
+ ActiveDocument.Paragraphs(1).Range.Select
595
+ Selection.InsertParagraphBefore
596
+ ActiveDocument.Paragraphs(1).Range.Select
597
+ Selection.ClearFormatting
598
+ End If
599
+
600
+ If Left(ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count).Range.Text, Len(nameFin)) = nameFin Then
601
+ ActiveDocument.Paragraphs.Add
602
+ ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count).Range.Select
603
+ Selection.ClearFormatting
604
+ End If
605
+ If ActiveDocument.Paragraphs.Count > 1 Then
606
+ If Left(ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count - 1).Range.Text, Len(nameFin)) = nameFin Then
607
+ ActiveDocument.Paragraphs.Add
608
+ ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count).Range.Select
609
+ Selection.ClearFormatting
610
+ End If
611
+ End If
612
+
613
+ End Sub
614
+
615
+ Sub Gestion_Etat()
616
+
617
+ ' Gestion de l'option d'affiche des zones masquees de Word
618
+ w_Hid = ActiveDocument.ActiveWindow.View.ShowHiddenText
619
+ 'If ActiveDocument.Styles("PlantUML2") Then
620
+ '
621
+ 'End If
622
+
623
+
624
+ ' on affiche le text
625
+ ' ActiveDocument.ActiveWindow.View.ShowAll = False
626
+ ' ActiveDocument.ActiveWindow.View.ShowHiddenText = True
627
+ ' Gestion_Style ("Show PlantUML")
628
+
629
+ End Sub
630
+
631
+
632
+
633
+
plantuml/old/PlantUML Language Reference Guide.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ec8be441f42940926a3a2ae5631b44c83ee83eebc7348b6eef347761742edc8
3
+ size 1610757
plantuml/old/PlantUML.bas ADDED
@@ -0,0 +1,610 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ' ========================================================================
2
+ ' Plantuml : a free UML diagram generator
3
+ ' ========================================================================
4
+ '
5
+ ' (C) Copyright 2009, Arnaud Roques
6
+ '
7
+ ' Project Info: http://plantuml.sourceforge.net
8
+ '
9
+ ' This file is part of Plantuml.
10
+ '
11
+ ' Plantuml is free software; you can redistribute it and/or modify it
12
+ ' under the terms of the GNU General Public License as published by
13
+ ' the Free Software Foundation, either version 3 of the License, or
14
+ ' (at your option) any later version.
15
+ '
16
+ ' Plantuml distributed in the hope that it will be useful, but
17
+ ' WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
+ ' or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19
+ ' License for more details.
20
+ '
21
+ ' You should have received a copy of the GNU General Public
22
+ ' License along with this library; if not, write to the Free Software
23
+ ' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24
+ ' USA.
25
+ '
26
+ ' [Java is a trademark or registered trademark of Sun Microsystems, Inc.
27
+ ' in the United States and other countries.]
28
+ '
29
+ ' Original Author: Arnaud Roques
30
+ ' Word Macro: Alain Bertucat
31
+ '
32
+ Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
33
+
34
+ Const startuml = "@startuml"
35
+ Const enduml = "@enduml"
36
+
37
+ Function getJarPath() As String
38
+ Set fs = CreateObject("Scripting.FileSystemObject")
39
+ nbTemplates = ActiveDocument.Parent.Templates.Count
40
+ mainPath = ActiveDocument.Path
41
+ try = ActiveDocument.Path & "\"
42
+
43
+ nb = InStrRev(mainPath, "\")
44
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
45
+ mainPath = Left(mainPath, nb - 1)
46
+ try = try & vbCrLf & mainPath & "\"
47
+ nb = InStrRev(mainPath, "\")
48
+ Loop
49
+
50
+ For i = 1 To nbTemplates
51
+ If fs.FileExists(mainPath + "\plantuml.jar") = False Then
52
+ mainPath = ActiveDocument.Parent.Templates.Item(i).Path
53
+ try = try & vbCrLf & ActiveDocument.Parent.Templates.Item(i).Path & "\"
54
+ nb = InStrRev(mainPath, "\")
55
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
56
+ mainPath = Left(mainPath, nb - 1)
57
+ try = try & vbCrLf & mainPath & "\"
58
+ nb = InStrRev(mainPath, "\")
59
+ Loop
60
+ End If
61
+ Next i
62
+
63
+ If fs.FileExists(mainPath + "\plantuml.jar") Then
64
+ getJarPath = mainPath
65
+ Else
66
+ getJarPath = "Error : Cannot find plantuml.jar in :" & vbCrLf & try
67
+ End If
68
+
69
+ End Function
70
+ ' =========================================================
71
+ Sub ShowPlantumlJarPath()
72
+ Set fs = CreateObject("Scripting.FileSystemObject")
73
+ jarPath = getJarPath()
74
+ If fs.FileExists(jarPath & "\plantuml.jar") Then
75
+ MsgBox "OK : " & jarPath & "\plantuml.jar"
76
+ Else
77
+ MsgBox jarPath
78
+ End If
79
+ End Sub
80
+ ' =========================================================
81
+
82
+ Sub RemoveOldVersionPlantUMLSyles()
83
+ On Error GoTo DeleteEnd
84
+ ActiveDocument.Styles("PlantUML").Delete
85
+ On Error GoTo 0
86
+ DeleteEnd:
87
+ On Error GoTo 0
88
+ Call Macro_UML_all
89
+
90
+ End Sub
91
+ ' =========================================================
92
+
93
+ Sub Macro_UML_all()
94
+ Macro_UML ("all")
95
+ End Sub
96
+
97
+ ' =========================================================
98
+
99
+ Function Macro_UML_parg()
100
+ Macro_UML ("parg")
101
+ End Function
102
+
103
+ ' =========================================================
104
+
105
+ Function Macro_UML(scope)
106
+ '
107
+ ' Macro_UML : generation de diagramme dans un document a partir de la description
108
+ ' "textuelle" de ces diagrammes dans le document
109
+ ' Macro creee le 31/03/2009 par bertucat_a
110
+ '
111
+ ' - Initialisations
112
+ '
113
+ Call ToolbarInit
114
+ Set statusButton = CommandBars("UML").Controls(6)
115
+
116
+ Call CreateStyle
117
+ Call CreateStyleImg
118
+ Call ShowPlantuml
119
+ '
120
+ ' --- Reperage debut et fin de description de schema
121
+ '
122
+ Call ShowHiddenText
123
+ Selection.Range.Select
124
+ '
125
+ ' --- Identifiant fichier sans extension et repertoire courant
126
+ '
127
+ documentId = ActiveDocument.Name
128
+ documentId = Left(documentId, Len(documentId) - 4)
129
+
130
+ ' MSR - Gestion de l existence du module java
131
+ ' Verification du fichier plantuml.jar
132
+
133
+ Set fs = CreateObject("Scripting.FileSystemObject")
134
+ jarPath = getJarPath()
135
+ If fs.FileExists(jarPath & "\plantuml.jar") = False Then
136
+ MsgBox jarPath
137
+ GoTo Macro_UML_exit
138
+ End If
139
+
140
+ '
141
+ ' - Phase 1 : Creation d'un fichier texte par bloc de description de schema
142
+ ' Recherche debut de bloc : "@startuml"
143
+ ' Fichier texte ouvert en "arriere-plan" (visible:=false)
144
+ ' Nom suffixe par numero d'ordre sur 4 digits
145
+ ' Chaque paragraphe d'un bloc est mis en style "UML"
146
+ ' puis le bloc est copie/colle dans le fichier texte
147
+ '
148
+ statusButton.Caption = "Extract"
149
+ statusButton.Visible = False
150
+ statusButton.Visible = True
151
+ If scope = "all" Then
152
+ Set parsedText = ActiveDocument.Content
153
+ isForward = True
154
+ Else
155
+ Set parsedText = Selection.Range
156
+ parsedText.Collapse
157
+ isForward = False
158
+ End If
159
+
160
+ parsedText.Find.Execute FindText:=startuml, Forward:=isForward
161
+ If parsedText.Find.Found = True Then
162
+ 'MSR - on garde pour premiere ligne uniquement "@plantuml" avec le retour de ligne !
163
+ Set singleParagraph = parsedText.Paragraphs(1).Range
164
+ singleParagraph.Collapse
165
+ Else
166
+ GoTo Macro_UML_exit
167
+ End If
168
+
169
+ Do While parsedText.Find.Found = True And _
170
+ (scope = "all" Or currentIndex < 1)
171
+ statusButton.Caption = "Extract." & currentIndex + 1
172
+ statusButton.Visible = False
173
+ statusButton.Visible = True
174
+ Set currentParagraph = parsedText.Paragraphs(1)
175
+ Set paragraphRange = currentParagraph.Range
176
+ paragraphRange.Collapse
177
+ jobDone = False
178
+ Do Until jobDone
179
+ If Left(currentParagraph.Range.Text, Len(startuml)) = startuml Then
180
+ Set paragraphRange = currentParagraph.Range
181
+ paragraphRange.Collapse
182
+
183
+ End If
184
+ paragraphRange.MoveEnd Unit:=wdParagraph
185
+ If Left(currentParagraph.Range.Text, Len(enduml)) = enduml Then
186
+ paragraphRange.Style = "PlantUML"
187
+ paragraphRange.Copy
188
+ Set textFile = Documents.Add(Visible:=False)
189
+ textFile.Content.Paste
190
+ currentIndex = currentIndex + 1
191
+ textFileId = documentId & "_extr" & Right("000" & currentIndex, 4) & ".txt"
192
+ textFile.SaveAs FileName:=jarPath & "\" & textFileId, FileFormat:=wdFormatText
193
+ textFile.Close
194
+ jobDone = True
195
+ End If
196
+
197
+ Set currentParagraph = currentParagraph.Next
198
+
199
+ If currentParagraph Is Nothing Then
200
+ jobDone = True
201
+ End If
202
+ Loop
203
+ parsedText.Collapse Direction:=wdCollapseEnd
204
+ If scope = "all" Then
205
+ parsedText.Find.Execute FindText:=startuml, Forward:=True
206
+ End If
207
+ Loop
208
+ '
209
+ ' - Creation d'un fichier de reservation qui sera detruit a la fin de la procedure Java
210
+ '
211
+ statusButton.Caption = "Gener"
212
+ statusButton.Visible = False
213
+ statusButton.Visible = True
214
+ Set lockFile = Documents.Add(Visible:=False)
215
+ lockFile.SaveAs FileName:=jarPath & "\javaumllock.tmp", FileFormat:=wdFormatText
216
+ lockFile.Close
217
+
218
+ '
219
+ ' - Call to PlantUML to generate images from text descriptions
220
+ '
221
+ javaCommand = "java -classpath """ & jarPath & "\plantuml.jar;" & _
222
+ jarPath & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -word """ & jarPath & """"
223
+ Shell (javaCommand)
224
+ ' This sleep is needed, but we don't know why...
225
+ Sleep 500
226
+ '
227
+ ' - Phase 2 : Insertion des schemas dans le documents apres validation de leur creation
228
+ ' (boite de dialogue : la fenetre de commandes DOS doit etre refermee ou bien
229
+ ' suppression par traitement Java du fichier javaumllock.temp)
230
+ ' Insertion apres chaque paragraphe de fin de bloc de description
231
+ ' (autant de fois que de blocs detectes en phase 1,
232
+ ' recherche de la chaine de reperage de fin de bloc)
233
+ ' Si une image est deja rattachee au paragraphe suivant et si ce paragraphe
234
+ ' est en style "PlantUML", le paragraphe est supprime
235
+ ' Un nouveau paragraphe (style "PlantUML", non cache) est cree pour recevoir l'image
236
+ ' Nom image idem fichier texte, avec extension .png (genere par utilitaire)
237
+ ' Gestion d'une boucle pour le cas o� plusieurs images sont generees pour un shema
238
+ '
239
+ jobDone = False
240
+ currentIndex = 0
241
+
242
+ Do
243
+ currentIndex = currentIndex + 1
244
+ statusButton.Caption = "Gener." & currentIndex
245
+ statusButton.Visible = False
246
+ statusButton.Visible = True
247
+ DoEvents
248
+ Sleep 1000
249
+ If fs.FileExists(jarPath & "\javaumllock.tmp") = False Then
250
+ jobDone = True
251
+ Exit Do
252
+ End If
253
+ If currentIndex > 30 Then
254
+ statusButton.Visible = False
255
+ MsgBox ("Java Timeout. Aborted.")
256
+ Exit Do
257
+ End If
258
+ Loop
259
+
260
+ If jobDone = False Then
261
+ End
262
+ End If
263
+
264
+ statusButton.Caption = "Inser"
265
+ statusButton.Visible = False
266
+ statusButton.Visible = True
267
+
268
+ If scope = "all" Then
269
+ Set parsedText = ActiveDocument.Content
270
+ isForward = True
271
+ Else
272
+ Set parsedText = singleParagraph
273
+ isForward = True
274
+ End If
275
+ parsedText.Find.Execute FindText:=enduml, Forward:=isForward
276
+ currentIndex = 0
277
+ Do While parsedText.Find.Found = True And (scope = "all" Or currentIndex < 1)
278
+ currentIndex = currentIndex + 1
279
+ statusButton.Caption = "Inser." & currentIndex
280
+ statusButton.Visible = False
281
+ statusButton.Visible = True
282
+ On Error GoTo LastParagraph
283
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
284
+ Do While currentParagraph.InlineShapes.Count > 0 And currentParagraph.Style = "PlantUMLImg"
285
+ currentParagraph.Delete
286
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
287
+ Loop
288
+ On Error GoTo 0
289
+ Set currentRange = currentParagraph
290
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
291
+ image = Dir(imagesDirectory)
292
+ While image <> ""
293
+ Set currentParagraph = ActiveDocument.Paragraphs.Add(Range:=currentRange).Range
294
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
295
+ currentParagraph.Style = "PlantUMLImg"
296
+ currentParagraph.Collapse
297
+
298
+ Set image = currentParagraph.InlineShapes.AddPicture _
299
+ (FileName:=jarPath & "\" & image _
300
+ , LinkToFile:=False, SaveWithDocument:=True)
301
+ image.AlternativeText = "Generated by PlantUML"
302
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
303
+ image.Reset
304
+ End If
305
+ image = Dir()
306
+ Wend
307
+ parsedText.Collapse Direction:=wdCollapseEnd
308
+ parsedText.Find.Execute FindText:=enduml, Forward:=True
309
+ Loop
310
+
311
+ '
312
+ ' - Phase 3 : suppression des fichiers de travail (texte et PNG)
313
+ '
314
+ Phase3:
315
+ statusButton.Caption = "Delete"
316
+ statusButton.Visible = False
317
+ statusButton.Visible = True
318
+ On Error Resume Next
319
+ Kill (jarPath & "\" & documentId & "_extr*.*")
320
+ On Error GoTo 0
321
+
322
+ 'MSR - gestion du bouton afficher/masquer
323
+
324
+ Macro_UML_exit:
325
+
326
+ statusButton.Visible = False
327
+
328
+ ' on affiche le text
329
+ Call ShowHiddenText
330
+ Exit Function
331
+
332
+ LastParagraph:
333
+ Selection.EndKey Unit:=wdStory
334
+ Selection.TypeParagraph
335
+ Selection.ClearFormatting
336
+
337
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
338
+ image = Dir(imagesDirectory)
339
+ While image <> ""
340
+ Set currentParagraph = ActiveDocument.Paragraphs.Add.Range
341
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
342
+ currentParagraph.Style = "PlantUMLImg"
343
+ currentParagraph.Collapse
344
+
345
+ Set image = currentParagraph.InlineShapes.AddPicture _
346
+ (FileName:=jarPath & "\" & image _
347
+ , LinkToFile:=False, SaveWithDocument:=True)
348
+ image.AlternativeText = "Generated by PlantUML"
349
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
350
+ image.Reset
351
+ End If
352
+ image = Dir()
353
+ Wend
354
+
355
+
356
+
357
+ 'Resume Next
358
+ GoTo Phase3
359
+
360
+ End Function
361
+
362
+ ' =========================================================
363
+
364
+ Function ToolbarInit()
365
+
366
+ On Error GoTo ToolbarCreation
367
+ Set toolBar = ActiveDocument.CommandBars("UML")
368
+ On Error GoTo 0
369
+ toolBar.Visible = True
370
+
371
+ On Error GoTo ButtonAdd
372
+ Set currentButton = toolBar.Controls(1)
373
+ On Error GoTo 0
374
+ currentButton.OnAction = "Module1.SwitchP"
375
+ currentButton.Style = msoButtonCaption
376
+ currentButton.Caption = Chr(182)
377
+ currentButton.Visible = True
378
+
379
+ On Error GoTo ButtonAdd
380
+ Set currentButton = toolBar.Controls(2)
381
+ On Error GoTo 0
382
+ currentButton.OnAction = "Module1.ShowPlantuml"
383
+ currentButton.Style = msoButtonCaption
384
+ currentButton.Caption = "Show PlantUML"
385
+ currentButton.Visible = True
386
+
387
+ On Error GoTo ButtonAdd
388
+ Set currentButton = toolBar.Controls(3)
389
+ On Error GoTo 0
390
+ currentButton.OnAction = "Module1.HidePlantuml"
391
+ currentButton.Style = msoButtonCaption
392
+ currentButton.Caption = "Hide PlantUML"
393
+ currentButton.Visible = True
394
+
395
+ On Error GoTo ButtonAdd
396
+ Set currentButton = toolBar.Controls(4)
397
+ On Error GoTo 0
398
+ currentButton.OnAction = "Module1.Macro_UML_all"
399
+ currentButton.Style = msoButtonCaption
400
+ currentButton.Caption = "UML.*"
401
+ currentButton.Visible = True
402
+
403
+ On Error GoTo ButtonAdd
404
+ Set currentButton = toolBar.Controls(5)
405
+ On Error GoTo 0
406
+ currentButton.OnAction = "Module1.Macro_UML_parg"
407
+ currentButton.Style = msoButtonCaption
408
+ currentButton.Caption = "UML.1"
409
+ currentButton.Visible = True
410
+
411
+ On Error GoTo ButtonAdd
412
+ Set currentButton = toolBar.Controls(6)
413
+ On Error GoTo 0
414
+ currentButton.OnAction = ""
415
+ currentButton.Style = msoButtonCaption
416
+ currentButton.Caption = "Trace"
417
+ currentButton.Visible = True
418
+ Exit Function
419
+
420
+ ToolbarCreation:
421
+ Set toolBar = ActiveDocument.CommandBars.Add(Name:="UML")
422
+ Resume Next
423
+
424
+ ButtonAdd:
425
+ Set currentButton = toolBar.Controls.Add(Type:=msoControlButton, Before:=toolBar.Controls.Count + 1)
426
+ Resume Next
427
+
428
+ End Function
429
+
430
+ ' =========================================================
431
+ Function CreateStyle()
432
+ On Error GoTo CreateStyleAdding
433
+ Set myStyle = ActiveDocument.Styles("PlantUML")
434
+ Exit Function
435
+ CreateStyleAdding:
436
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUML", Type:=wdStyleTypeParagraph)
437
+ myStyle.BaseStyle = "Normal"
438
+ myStyle.AutomaticallyUpdate = True
439
+ With myStyle.Font
440
+ .Name = "Courier New"
441
+ .Size = 9
442
+ .Hidden = True
443
+ .Color = wdColorGreen
444
+ End With
445
+ With myStyle.ParagraphFormat
446
+ With .Shading
447
+ .Texture = wdTextureNone
448
+ .ForegroundPatternColor = wdColorAutomatic
449
+ .BackgroundPatternColor = wdColorLightGreen
450
+ End With
451
+
452
+ .LeftIndent = CentimetersToPoints(0)
453
+ With .Shading
454
+ .Texture = wdTextureNone
455
+ .ForegroundPatternColor = wdColorAutomatic
456
+ .BackgroundPatternColor = 12254650
457
+ End With
458
+ With .Borders(wdBorderLeft)
459
+ .LineStyle = wdLineStyleDashLargeGap
460
+ .LineWidth = wdLineWidth050pt
461
+ .Color = 3910491
462
+ End With
463
+ With .Borders(wdBorderRight)
464
+ .LineStyle = wdLineStyleDashLargeGap
465
+ .LineWidth = wdLineWidth050pt
466
+ .Color = 3910491
467
+ End With
468
+ With .Borders(wdBorderTop)
469
+ .LineStyle = wdLineStyleDashLargeGap
470
+ .LineWidth = wdLineWidth050pt
471
+ .Color = 3910491
472
+ End With
473
+ With .Borders(wdBorderBottom)
474
+ .LineStyle = wdLineStyleDashLargeGap
475
+ .LineWidth = wdLineWidth050pt
476
+ .Color = 3910491
477
+ End With
478
+ With .Borders
479
+ .DistanceFromTop = 1
480
+ .DistanceFromLeft = 4
481
+ .DistanceFromBottom = 1
482
+ .DistanceFromRight = 4
483
+ .Shadow = False
484
+ End With
485
+ End With
486
+
487
+ ' ajout des tabulations
488
+ myStyle.NoSpaceBetweenParagraphsOfSameStyle = False
489
+ myStyle.ParagraphFormat.TabStops.ClearAll
490
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
491
+ CentimetersToPoints(1), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
492
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
493
+ CentimetersToPoints(2), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
494
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
495
+ CentimetersToPoints(3), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
496
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
497
+ CentimetersToPoints(4), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
498
+
499
+
500
+ End Function
501
+
502
+ ' =========================================================
503
+ Function CreateStyleImg()
504
+ On Error GoTo CreateStyleImgAdding
505
+ Set myStyle = ActiveDocument.Styles("PlantUMLImg")
506
+ On Error GoTo 0
507
+ Exit Function
508
+ CreateStyleImgAdding:
509
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUMLImg", Type:=wdStyleTypeParagraph)
510
+ myStyle.BaseStyle = "Normal"
511
+ myStyle.AutomaticallyUpdate = True
512
+ End Function
513
+
514
+ ' =========================================================
515
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
516
+ Function ShowPlantuml()
517
+
518
+ 'WordBasic.ShowComments
519
+ ' On positionne un repere pour y retourner apres traitement
520
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
521
+
522
+ Set myStyle = ActiveDocument.Styles("PlantUML")
523
+ Set toolBar = ActiveDocument.CommandBars("UML")
524
+
525
+ toolBar.Controls(2).Visible = False
526
+ toolBar.Controls(3).Visible = True
527
+ toolBar.Controls(4).Visible = True
528
+ toolBar.Controls(5).Visible = True
529
+
530
+ Call ShowHiddenText
531
+
532
+ 'On se repostionne sur le repere et on l'efface
533
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
534
+ ActiveDocument.Bookmarks(Index:="Position").Delete
535
+
536
+ End Function
537
+
538
+
539
+ ' =========================================================
540
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
541
+ Function HidePlantuml()
542
+
543
+ 'WordBasic.ShowComments
544
+ ' On positionne un repere pour y retourner apres traitement
545
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
546
+
547
+ Set myStyle = ActiveDocument.Styles("PlantUML")
548
+ Set toolBar = ActiveDocument.CommandBars("UML")
549
+
550
+ toolBar.Controls(2).Visible = True
551
+ toolBar.Controls(3).Visible = False
552
+ toolBar.Controls(4).Visible = False
553
+ toolBar.Controls(5).Visible = False
554
+
555
+ Call HideHiddenText
556
+
557
+ 'On se repostionne sur le repere et on l'efface
558
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
559
+ ActiveDocument.Bookmarks(Index:="Position").Delete
560
+
561
+ End Function
562
+
563
+ ' =========================================================
564
+ Function HideHiddenText()
565
+ ActiveDocument.ActiveWindow.View.ShowAll = False
566
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
567
+ End Function
568
+
569
+ ' =========================================================
570
+ Function ShowHiddenText()
571
+ ActiveDocument.ActiveWindow.View.ShowAll = False
572
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
573
+ End Function
574
+
575
+ ' =========================================================
576
+ Function SwitchP()
577
+ flag = Not (ActiveDocument.ActiveWindow.View.ShowTabs)
578
+ ActiveDocument.ActiveWindow.View.ShowParagraphs = flag
579
+ ActiveDocument.ActiveWindow.View.ShowTabs = flag
580
+ ActiveDocument.ActiveWindow.View.ShowSpaces = flag
581
+ ActiveDocument.ActiveWindow.View.ShowHyphens = flag
582
+ ActiveDocument.ActiveWindow.View.ShowAll = False
583
+ End Function
584
+
585
+ ' =========================================================
586
+ ' MSR ajout de cette fonction pour ajouter une ligne (paragraphe) avant et apres les bornes
587
+ ' Cette fonction permet de gerer le cas particulier de la demo : pas d'autre texte que le code plantuml dans le document
588
+ Function controlParagraphe()
589
+
590
+ If Left(ActiveDocument.Paragraphs(1).Range.Text, Len(startuml)) = startuml Then
591
+ ActiveDocument.Paragraphs(1).Range.Select
592
+ Selection.InsertParagraphBefore
593
+ ActiveDocument.Paragraphs(1).Range.Select
594
+ Selection.ClearFormatting
595
+ End If
596
+
597
+ If Left(ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count).Range.Text, Len(enduml)) = enduml Then
598
+ ActiveDocument.Paragraphs.Add
599
+ ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count).Range.Select
600
+ Selection.ClearFormatting
601
+ End If
602
+ If ActiveDocument.Paragraphs.Count > 1 Then
603
+ If Left(ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count - 1).Range.Text, Len(enduml)) = enduml Then
604
+ ActiveDocument.Paragraphs.Add
605
+ ActiveDocument.Paragraphs(ActiveDocument.Paragraphs.Count).Range.Select
606
+ Selection.ClearFormatting
607
+ End If
608
+ End If
609
+
610
+ End Function
plantuml/old/PlantUML_Template_v23.dotm ADDED
Binary file (246 kB). View file
 
plantuml/old/PlantUML_Template_v27.dotm ADDED
Binary file (282 kB). View file
 
plantuml/old/PlantUML_Template_v30.dotm ADDED
Binary file (345 kB). View file
 
plantuml/old/PlantUML_V004.bas ADDED
@@ -0,0 +1,597 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ' ========================================================================
2
+ ' Plantuml : a free UML diagram generator
3
+ ' ========================================================================
4
+ '
5
+ ' (C) Copyright 2009, Arnaud Roques
6
+ '
7
+ ' Project Info: http://plantuml.sourceforge.net
8
+ '
9
+ ' This file is part of Plantuml.
10
+ '
11
+ ' Plantuml is free software; you can redistribute it and/or modify it
12
+ ' under the terms of the GNU General Public License as published by
13
+ ' the Free Software Foundation, either version 3 of the License, or
14
+ ' (at your option) any later version.
15
+ '
16
+ ' Plantuml distributed in the hope that it will be useful, but
17
+ ' WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
+ ' or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19
+ ' License for more details.
20
+ '
21
+ ' You should have received a copy of the GNU General Public
22
+ ' License along with this library; if not, write to the Free Software
23
+ ' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24
+ ' USA.
25
+ '
26
+ ' [Java is a trademark or registered trademark of Sun Microsystems, Inc.
27
+ ' in the United States and other countries.]
28
+ '
29
+ ' Original Author: Arnaud Roques
30
+ ' Word Macro: Alain Bertucat
31
+ ' Version 003
32
+
33
+ Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
34
+
35
+ Const startuml = "@start"
36
+ Const enduml = "@end"
37
+
38
+ ' =========================================================
39
+ ' This function returns the path for plantuml.jar
40
+ Function getJarPath() As String
41
+ Set fs = CreateObject("Scripting.FileSystemObject")
42
+ nbTemplates = ActiveDocument.Parent.Templates.Count
43
+ mainPath = ActiveDocument.Path
44
+ try = ActiveDocument.Path & "\"
45
+
46
+ nb = InStrRev(mainPath, "\")
47
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
48
+ mainPath = Left(mainPath, nb - 1)
49
+ try = try & vbCrLf & mainPath & "\"
50
+ nb = InStrRev(mainPath, "\")
51
+ Loop
52
+
53
+ For i = 1 To nbTemplates
54
+ If fs.FileExists(mainPath + "\plantuml.jar") = False Then
55
+ mainPath = ActiveDocument.Parent.Templates.Item(i).Path
56
+ try = try & vbCrLf & ActiveDocument.Parent.Templates.Item(i).Path & "\"
57
+ nb = InStrRev(mainPath, "\")
58
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
59
+ mainPath = Left(mainPath, nb - 1)
60
+ try = try & vbCrLf & mainPath & "\"
61
+ nb = InStrRev(mainPath, "\")
62
+ Loop
63
+ End If
64
+ Next i
65
+
66
+ If fs.FileExists(mainPath + "\plantuml.jar") Then
67
+ getJarPath = mainPath
68
+ Else
69
+ getJarPath = "Error : Cannot find plantuml.jar in :" & vbCrLf & try
70
+ End If
71
+
72
+ End Function
73
+
74
+ ' =========================================================
75
+ ' Print out the used plantuml.jar
76
+ Sub ShowPlantumlJarPath()
77
+ Set fs = CreateObject("Scripting.FileSystemObject")
78
+ jarPath = getJarPath()
79
+ If fs.FileExists(jarPath & "\plantuml.jar") Then
80
+ MsgBox "OK : " & jarPath & "\plantuml.jar"
81
+ Else
82
+ MsgBox jarPath
83
+ End If
84
+ End Sub
85
+ ' =========================================================
86
+ ' Used to migrate from previous PlantUML macro version
87
+ Sub RemoveOldVersionPlantUMLSyles()
88
+ On Error GoTo DeleteEnd
89
+ ActiveDocument.Styles("PlantUML").Delete
90
+ On Error GoTo 0
91
+ DeleteEnd:
92
+ On Error GoTo 0
93
+ Call Macro_UML_all
94
+
95
+ End Sub
96
+ ' =========================================================
97
+ ' Called when the user click on "UML.*"
98
+ Sub Macro_UML_all()
99
+ Macro_UML ("all")
100
+ End Sub
101
+
102
+ ' =========================================================
103
+ ' Called when the user click on "UML.1"
104
+ Function Macro_UML_parg()
105
+ Macro_UML ("parg")
106
+ End Function
107
+
108
+ ' =========================================================
109
+
110
+ Function Macro_UML(scope)
111
+ ' Generate diagrams image from a PlantUML source textual description in the Word Document
112
+ ' Scope can be "parg" or "all"
113
+ '
114
+ ' - Initialisations
115
+ '
116
+ Call ToolbarInit
117
+ Set statusButton = CommandBars("UML").Controls(6)
118
+
119
+ Call CreateStyle
120
+ Call CreateStyleImg
121
+ Call ShowPlantuml
122
+
123
+ Call ShowHiddenText
124
+ Selection.Range.Select
125
+ '
126
+ ' documentId is the filename with its path, without extension
127
+ '
128
+ documentId = ActiveDocument.Name
129
+ documentId = Left(documentId, Len(documentId) - 4)
130
+
131
+ ' Check for the presente of plantuml.jar
132
+
133
+ Set fs = CreateObject("Scripting.FileSystemObject")
134
+ jarPath = getJarPath()
135
+ If fs.FileExists(jarPath & "\plantuml.jar") = False Then
136
+ MsgBox jarPath
137
+ GoTo Macro_UML_exit
138
+ End If
139
+
140
+ ' - Phase 1
141
+ ' We create a file text per bloc of diagrams
142
+ ' We look for @startuml
143
+ ' We open the textfile in background (visible:=false)
144
+ ' We add to the name a number on 4 digit
145
+ ' The text bloc is put on "PlantUML" style
146
+ ' Then the bloc is copied into the text file
147
+
148
+ statusButton.Caption = "Extract"
149
+ statusButton.Visible = False
150
+ statusButton.Visible = True
151
+ If scope = "all" Then
152
+ Set parsedText = ActiveDocument.Content
153
+ isForward = True
154
+ Else
155
+ Set parsedText = Selection.Range
156
+ parsedText.Collapse
157
+ isForward = False
158
+ End If
159
+
160
+ parsedText.Find.Execute FindText:=startuml, Forward:=isForward
161
+ If parsedText.Find.Found = True Then
162
+ 'We keep the the first line only "@startuml" with the carriage return
163
+ Set singleParagraph = parsedText.Paragraphs(1).Range
164
+ singleParagraph.Collapse
165
+ Else
166
+ GoTo Macro_UML_exit
167
+ End If
168
+
169
+ Do While parsedText.Find.Found = True And _
170
+ (scope = "all" Or currentIndex < 1)
171
+ statusButton.Caption = "Extract." & currentIndex + 1
172
+ statusButton.Visible = False
173
+ statusButton.Visible = True
174
+ Set currentParagraph = parsedText.Paragraphs(1)
175
+ Set paragraphRange = currentParagraph.Range
176
+ paragraphRange.Collapse
177
+ jobDone = False
178
+ Do Until jobDone
179
+ If Left(currentParagraph.Range.Text, Len(startuml)) = startuml Then
180
+ Set paragraphRange = currentParagraph.Range
181
+ paragraphRange.Collapse
182
+
183
+ End If
184
+ paragraphRange.MoveEnd Unit:=wdParagraph
185
+ If Left(currentParagraph.Range.Text, Len(enduml)) = enduml Then
186
+ paragraphRange.Style = "PlantUML"
187
+ paragraphRange.Copy
188
+ Set textFile = Documents.Add(Visible:=False)
189
+ textFile.Content.Paste
190
+ currentIndex = currentIndex + 1
191
+ textFileId = documentId & "_extr" & Right("000" & currentIndex, 4) & ".txt"
192
+ textFile.SaveAs FileName:=jarPath & "\" & textFileId, FileFormat:=wdFormatText, Encoding:=65001
193
+ textFile.Close
194
+ jobDone = True
195
+ End If
196
+
197
+ Set currentParagraph = currentParagraph.Next
198
+
199
+ If currentParagraph Is Nothing Then
200
+ jobDone = True
201
+ End If
202
+ Loop
203
+ parsedText.Collapse Direction:=wdCollapseEnd
204
+ If scope = "all" Then
205
+ parsedText.Find.Execute FindText:=startuml, Forward:=True
206
+ End If
207
+ Loop
208
+ '
209
+ ' We create a lock file that will be deleted by the Java program to indicate the end of Java process
210
+ '
211
+ statusButton.Caption = "Gener"
212
+ statusButton.Visible = False
213
+ statusButton.Visible = True
214
+ Set lockFile = Documents.Add(Visible:=False)
215
+ lockFile.SaveAs FileName:=jarPath & "\javaumllock.tmp", FileFormat:=wdFormatText
216
+ lockFile.Close
217
+
218
+ '
219
+ ' Call to PlantUML to generate images from text descriptions
220
+ '
221
+ javaCommand = "java -classpath """ & jarPath & "\plantuml.jar;" & _
222
+ jarPath & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -charset UTF8 -word """ & jarPath & "/"""
223
+ Shell (javaCommand)
224
+ ' This sleep is needed, but we don't know why...
225
+ Sleep 500
226
+ '
227
+ ' Phase 2 :
228
+ ' Insertion of images into the word document
229
+ ' We insert the image after the textual block that describe the diagram
230
+ '
231
+ jobDone = False
232
+ currentIndex = 0
233
+
234
+ ' We wait for the file javaumllock.tmp to be deleted by Java
235
+ ' which means that the process is ended
236
+ '
237
+ Do
238
+ currentIndex = currentIndex + 1
239
+ statusButton.Caption = "Gener." & currentIndex
240
+ statusButton.Visible = False
241
+ statusButton.Visible = True
242
+ DoEvents
243
+ Sleep 1000
244
+ If fs.FileExists(jarPath & "\javaumllock.tmp") = False Then
245
+ jobDone = True
246
+ Exit Do
247
+ End If
248
+ If currentIndex > 30 Then
249
+ statusButton.Visible = False
250
+ MsgBox ("Java Timeout. Aborted.")
251
+ Exit Do
252
+ End If
253
+ Loop
254
+
255
+ If jobDone = False Then
256
+ End
257
+ End If
258
+
259
+ statusButton.Caption = "Inser"
260
+ statusButton.Visible = False
261
+ statusButton.Visible = True
262
+
263
+ If scope = "all" Then
264
+ Set parsedText = ActiveDocument.Content
265
+ isForward = True
266
+ Else
267
+ Set parsedText = singleParagraph
268
+ isForward = True
269
+ End If
270
+ parsedText.Find.Execute FindText:=enduml, Forward:=isForward
271
+ currentIndex = 0
272
+ Do While parsedText.Find.Found = True And (scope = "all" Or currentIndex < 1)
273
+ currentIndex = currentIndex + 1
274
+ statusButton.Caption = "Inser." & currentIndex
275
+ statusButton.Visible = False
276
+ statusButton.Visible = True
277
+ On Error GoTo LastParagraph
278
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
279
+ Do While currentParagraph.InlineShapes.Count > 0 And currentParagraph.Style = "PlantUMLImg"
280
+ currentParagraph.Delete
281
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
282
+ Loop
283
+ On Error GoTo 0
284
+ Set currentRange = currentParagraph
285
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
286
+ image = Dir(imagesDirectory)
287
+ While image <> ""
288
+ Set currentParagraph = ActiveDocument.Paragraphs.Add(Range:=currentRange).Range
289
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
290
+ currentParagraph.Style = "PlantUMLImg"
291
+ currentParagraph.Collapse
292
+
293
+ Set image = currentParagraph.InlineShapes.AddPicture _
294
+ (FileName:=jarPath & "\" & image _
295
+ , LinkToFile:=False, SaveWithDocument:=True)
296
+ image.AlternativeText = "Generated by PlantUML"
297
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
298
+ image.Reset
299
+ End If
300
+ image = Dir()
301
+ Wend
302
+ parsedText.Collapse Direction:=wdCollapseEnd
303
+ parsedText.Find.Execute FindText:=enduml, Forward:=True
304
+ Loop
305
+
306
+ '
307
+ ' Phase 3 : suppression of temporary files (texte and PNG)
308
+ '
309
+ Phase3:
310
+ statusButton.Caption = "Delete"
311
+ statusButton.Visible = False
312
+ statusButton.Visible = True
313
+ On Error Resume Next
314
+ Kill (jarPath & "\" & documentId & "_extr*.*")
315
+ On Error GoTo 0
316
+
317
+ Macro_UML_exit:
318
+
319
+ statusButton.Visible = False
320
+
321
+ 'We show the hidden description text
322
+ Call ShowHiddenText
323
+ DoubleCheckStyle
324
+ Exit Function
325
+
326
+
327
+ ' This is need when the very last line of the Word document is @enduml
328
+ LastParagraph:
329
+ Selection.EndKey Unit:=wdStory
330
+ Selection.TypeParagraph
331
+ Selection.ClearFormatting
332
+
333
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
334
+ image = Dir(imagesDirectory)
335
+ While image <> ""
336
+ Set currentParagraph = ActiveDocument.Paragraphs.Add.Range
337
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
338
+ currentParagraph.Style = "PlantUMLImg"
339
+ currentParagraph.Collapse
340
+
341
+ Set image = currentParagraph.InlineShapes.AddPicture _
342
+ (FileName:=jarPath & "\" & image _
343
+ , LinkToFile:=False, SaveWithDocument:=True)
344
+ image.AlternativeText = "Generated by PlantUML"
345
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
346
+ image.Reset
347
+ End If
348
+ image = Dir()
349
+ Wend
350
+
351
+ 'Resume Next
352
+ GoTo Phase3
353
+
354
+ End Function
355
+
356
+ ' =========================================================
357
+ ' Initialize the plantuml ToolBar
358
+ Function ToolbarInit()
359
+
360
+ On Error GoTo ToolbarCreation
361
+ Set toolBar = ActiveDocument.CommandBars("UML")
362
+ On Error GoTo 0
363
+ toolBar.Visible = True
364
+
365
+ On Error GoTo ButtonAdd
366
+ Set currentButton = toolBar.Controls(1)
367
+ On Error GoTo 0
368
+ currentButton.OnAction = "Module1.SwitchP"
369
+ currentButton.Style = msoButtonCaption
370
+ currentButton.Caption = Chr(182)
371
+ currentButton.Visible = True
372
+
373
+ On Error GoTo ButtonAdd
374
+ Set currentButton = toolBar.Controls(2)
375
+ On Error GoTo 0
376
+ currentButton.OnAction = "Module1.ShowPlantuml"
377
+ currentButton.Style = msoButtonCaption
378
+ currentButton.Caption = "Show PlantUML"
379
+ currentButton.Visible = True
380
+
381
+ On Error GoTo ButtonAdd
382
+ Set currentButton = toolBar.Controls(3)
383
+ On Error GoTo 0
384
+ currentButton.OnAction = "Module1.HidePlantuml"
385
+ currentButton.Style = msoButtonCaption
386
+ currentButton.Caption = "Hide PlantUML"
387
+ currentButton.Visible = True
388
+
389
+ On Error GoTo ButtonAdd
390
+ Set currentButton = toolBar.Controls(4)
391
+ On Error GoTo 0
392
+ currentButton.OnAction = "Module1.Macro_UML_all"
393
+ currentButton.Style = msoButtonCaption
394
+ currentButton.Caption = "UML.*"
395
+ currentButton.Visible = True
396
+
397
+ On Error GoTo ButtonAdd
398
+ Set currentButton = toolBar.Controls(5)
399
+ On Error GoTo 0
400
+ currentButton.OnAction = "Module1.Macro_UML_parg"
401
+ currentButton.Style = msoButtonCaption
402
+ currentButton.Caption = "UML.1"
403
+ currentButton.Visible = True
404
+
405
+ On Error GoTo ButtonAdd
406
+ Set currentButton = toolBar.Controls(6)
407
+ On Error GoTo 0
408
+ currentButton.OnAction = ""
409
+ currentButton.Style = msoButtonCaption
410
+ currentButton.Caption = "Trace"
411
+ currentButton.Visible = True
412
+ Exit Function
413
+
414
+ ToolbarCreation:
415
+ Set toolBar = ActiveDocument.CommandBars.Add(Name:="UML")
416
+ Resume Next
417
+
418
+ ButtonAdd:
419
+ Set currentButton = toolBar.Controls.Add(Type:=msoControlButton, Before:=toolBar.Controls.Count + 1)
420
+ Resume Next
421
+
422
+ End Function
423
+
424
+ ' =========================================================
425
+ ' We need to double check that the style is present in the document
426
+ Function DoubleCheckStyle()
427
+ CreateStyle
428
+ CreateStyleImg
429
+ Set myStyle = ActiveDocument.Styles("PlantUML")
430
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
431
+
432
+ myStyle.AutomaticallyUpdate = True
433
+ With myStyle.Font
434
+ .Name = "Courier New"
435
+ .Size = 9
436
+ .Hidden = False
437
+ .Hidden = True
438
+ .Color = wdColorGreen
439
+ End With
440
+ End Function
441
+
442
+ ' =========================================================
443
+ Function CreateStyle()
444
+ On Error GoTo CreateStyleAdding
445
+ Set myStyle = ActiveDocument.Styles("PlantUML")
446
+ Exit Function
447
+ CreateStyleAdding:
448
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUML", Type:=wdStyleTypeParagraph)
449
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
450
+ myStyle.AutomaticallyUpdate = True
451
+ With myStyle.Font
452
+ .Name = "Courier New"
453
+ .Size = 9
454
+ .Hidden = False
455
+ .Hidden = True
456
+ .Color = wdColorGreen
457
+ End With
458
+ With myStyle.ParagraphFormat
459
+ With .Shading
460
+ .Texture = wdTextureNone
461
+ .ForegroundPatternColor = wdColorAutomatic
462
+ .BackgroundPatternColor = wdColorLightGreen
463
+ End With
464
+
465
+ .LeftIndent = CentimetersToPoints(0)
466
+ With .Shading
467
+ .Texture = wdTextureNone
468
+ .ForegroundPatternColor = wdColorAutomatic
469
+ .BackgroundPatternColor = 12254650
470
+ End With
471
+ With .Borders(wdBorderLeft)
472
+ .LineStyle = wdLineStyleDashLargeGap
473
+ .LineWidth = wdLineWidth050pt
474
+ .Color = 3910491
475
+ End With
476
+ With .Borders(wdBorderRight)
477
+ .LineStyle = wdLineStyleDashLargeGap
478
+ .LineWidth = wdLineWidth050pt
479
+ .Color = 3910491
480
+ End With
481
+ With .Borders(wdBorderTop)
482
+ .LineStyle = wdLineStyleDashLargeGap
483
+ .LineWidth = wdLineWidth050pt
484
+ .Color = 3910491
485
+ End With
486
+ With .Borders(wdBorderBottom)
487
+ .LineStyle = wdLineStyleDashLargeGap
488
+ .LineWidth = wdLineWidth050pt
489
+ .Color = 3910491
490
+ End With
491
+ With .Borders
492
+ .DistanceFromTop = 1
493
+ .DistanceFromLeft = 4
494
+ .DistanceFromBottom = 1
495
+ .DistanceFromRight = 4
496
+ .Shadow = False
497
+ End With
498
+ End With
499
+
500
+ ' ajout des tabulations
501
+ myStyle.NoSpaceBetweenParagraphsOfSameStyle = False
502
+ myStyle.ParagraphFormat.TabStops.ClearAll
503
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
504
+ CentimetersToPoints(1), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
505
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
506
+ CentimetersToPoints(2), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
507
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
508
+ CentimetersToPoints(3), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
509
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
510
+ CentimetersToPoints(4), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
511
+
512
+
513
+ End Function
514
+
515
+ ' =========================================================
516
+ Function CreateStyleImg()
517
+ On Error GoTo CreateStyleImgAdding
518
+ Set myStyle = ActiveDocument.Styles("PlantUMLImg")
519
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
520
+ On Error GoTo 0
521
+ Exit Function
522
+ CreateStyleImgAdding:
523
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUMLImg", Type:=wdStyleTypeParagraph)
524
+ myStyle.AutomaticallyUpdate = True
525
+ End Function
526
+
527
+ ' =========================================================
528
+ ' We show the hidden text
529
+ Function ShowPlantuml()
530
+ DoubleCheckStyle
531
+
532
+ 'WordBasic.ShowComments
533
+ ' We put a bookmark to retrieve position after showing the text
534
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
535
+
536
+ Set myStyle = ActiveDocument.Styles("PlantUML")
537
+ Set toolBar = ActiveDocument.CommandBars("UML")
538
+
539
+ toolBar.Controls(2).Visible = False
540
+ toolBar.Controls(3).Visible = True
541
+ toolBar.Controls(4).Visible = True
542
+ toolBar.Controls(5).Visible = True
543
+
544
+ Call ShowHiddenText
545
+
546
+ 'We go back to the bookmark and we delete it
547
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
548
+ ActiveDocument.Bookmarks(Index:="Position").Delete
549
+
550
+ End Function
551
+
552
+
553
+ ' =========================================================
554
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
555
+ Function HidePlantuml()
556
+ DoubleCheckStyle
557
+ 'WordBasic.ShowComments
558
+ ' We put a bookmark to retrieve position after showing the text
559
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
560
+
561
+ Set myStyle = ActiveDocument.Styles("PlantUML")
562
+ Set toolBar = ActiveDocument.CommandBars("UML")
563
+
564
+ toolBar.Controls(2).Visible = True
565
+ toolBar.Controls(3).Visible = False
566
+ toolBar.Controls(4).Visible = False
567
+ toolBar.Controls(5).Visible = False
568
+
569
+ Call HideHiddenText
570
+
571
+ 'We go back to the bookmark and we delete it
572
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
573
+ ActiveDocument.Bookmarks(Index:="Position").Delete
574
+
575
+ End Function
576
+
577
+ ' =========================================================
578
+ Function HideHiddenText()
579
+ ActiveDocument.ActiveWindow.View.ShowAll = False
580
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
581
+ End Function
582
+
583
+ ' =========================================================
584
+ Function ShowHiddenText()
585
+ ActiveDocument.ActiveWindow.View.ShowAll = False
586
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
587
+ End Function
588
+
589
+ ' =========================================================
590
+ Function SwitchP()
591
+ flag = Not (ActiveDocument.ActiveWindow.View.ShowTabs)
592
+ ActiveDocument.ActiveWindow.View.ShowParagraphs = flag
593
+ ActiveDocument.ActiveWindow.View.ShowTabs = flag
594
+ ActiveDocument.ActiveWindow.View.ShowSpaces = flag
595
+ ActiveDocument.ActiveWindow.View.ShowHyphens = flag
596
+ ActiveDocument.ActiveWindow.View.ShowAll = False
597
+ End Function
plantuml/old/PlantUML_V005.bas ADDED
@@ -0,0 +1,640 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ' ========================================================================
2
+ ' Plantuml : a free UML diagram generator
3
+ ' ========================================================================
4
+ '
5
+ ' (C) Copyright 2009, Arnaud Roques
6
+ '
7
+ ' Project Info: http://plantuml.sourceforge.net
8
+ '
9
+ ' This file is part of Plantuml.
10
+ '
11
+ ' Plantuml is free software; you can redistribute it and/or modify it
12
+ ' under the terms of the GNU General Public License as published by
13
+ ' the Free Software Foundation, either version 3 of the License, or
14
+ ' (at your option) any later version.
15
+ '
16
+ ' Plantuml distributed in the hope that it will be useful, but
17
+ ' WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
+ ' or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19
+ ' License for more details.
20
+ '
21
+ ' You should have received a copy of the GNU General Public
22
+ ' License along with this library; if not, write to the Free Software
23
+ ' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24
+ ' USA.
25
+ '
26
+ ' [Java is a trademark or registered trademark of Sun Microsystems, Inc.
27
+ ' in the United States and other countries.]
28
+ '
29
+ ' Original Author: Arnaud Roques
30
+ ' Word Macro: Alain Bertucat / Matthieu Sabatier
31
+ ' Improved error management : Christopher Fuhrman
32
+ ' Version 005
33
+
34
+ Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
35
+
36
+ Const startuml = "@start"
37
+ Const enduml = "@end"
38
+
39
+ ' =========================================================
40
+ ' This function returns the path for plantuml.jar
41
+ Function getJarPath() As String
42
+ Set fs = CreateObject("Scripting.FileSystemObject")
43
+ nbTemplates = ActiveDocument.Parent.Templates.Count
44
+ mainPath = ActiveDocument.Path
45
+ try = ActiveDocument.Path & "\"
46
+
47
+ nb = InStrRev(mainPath, "\")
48
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
49
+ mainPath = Left(mainPath, nb - 1)
50
+ try = try & vbCrLf & mainPath & "\"
51
+ nb = InStrRev(mainPath, "\")
52
+ Loop
53
+
54
+ For i = 1 To nbTemplates
55
+ If fs.FileExists(mainPath + "\plantuml.jar") = False Then
56
+ mainPath = ActiveDocument.Parent.Templates.Item(i).Path
57
+ try = try & vbCrLf & ActiveDocument.Parent.Templates.Item(i).Path & "\"
58
+ nb = InStrRev(mainPath, "\")
59
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
60
+ mainPath = Left(mainPath, nb - 1)
61
+ try = try & vbCrLf & mainPath & "\"
62
+ nb = InStrRev(mainPath, "\")
63
+ Loop
64
+ End If
65
+ Next i
66
+
67
+ If fs.FileExists(mainPath + "\plantuml.jar") Then
68
+ getJarPath = mainPath
69
+ Else
70
+ getJarPath = "Error : Cannot find plantuml.jar in :" & vbCrLf & try
71
+ End If
72
+
73
+ End Function
74
+
75
+ ' =========================================================
76
+ ' Print out the used plantuml.jar
77
+ Sub ShowPlantumlJarPath()
78
+ Set fs = CreateObject("Scripting.FileSystemObject")
79
+ jarPath = getJarPath()
80
+ If fs.FileExists(jarPath & "\plantuml.jar") Then
81
+ MsgBox "OK : " & jarPath & "\plantuml.jar"
82
+ Else
83
+ MsgBox jarPath
84
+ End If
85
+ End Sub
86
+ ' =========================================================
87
+ ' Used to migrate from previous PlantUML macro version
88
+ Sub RemoveOldVersionPlantUMLSyles()
89
+ On Error GoTo DeleteEnd
90
+ ActiveDocument.Styles("PlantUML").Delete
91
+ On Error GoTo 0
92
+ DeleteEnd:
93
+ On Error GoTo 0
94
+ Call Macro_UML_all
95
+
96
+ End Sub
97
+ ' =========================================================
98
+ ' Called when the user click on "UML.*"
99
+ Sub Macro_UML_all()
100
+ Macro_UML ("all")
101
+ End Sub
102
+
103
+ ' =========================================================
104
+ ' Called when the user click on "UML.1"
105
+ Function Macro_UML_parg()
106
+ Macro_UML ("parg")
107
+ End Function
108
+
109
+ ' =========================================================
110
+
111
+ Function Macro_UML(scope)
112
+ ' Generate diagrams image from a PlantUML source textual description in the Word Document
113
+ ' Scope can be "parg" or "all"
114
+ '
115
+ ' - Initialisations
116
+ '
117
+ Call ToolbarInit
118
+ Set statusButton = CommandBars("UML").Controls(6)
119
+
120
+ Call CreateStyle
121
+ Call CreateStyleImg
122
+ Call ShowPlantuml
123
+
124
+ Call ShowHiddenText
125
+ Selection.Range.Select
126
+ '
127
+ ' documentId is the filename with its path, without extension
128
+ '
129
+ documentId = ActiveDocument.Name
130
+ documentId = Left(documentId, Len(documentId) - 4)
131
+
132
+ ' Check for the presente of plantuml.jar
133
+
134
+ Set fs = CreateObject("Scripting.FileSystemObject")
135
+ jarPath = getJarPath()
136
+ If fs.FileExists(jarPath & "\plantuml.jar") = False Then
137
+ MsgBox jarPath
138
+ GoTo Macro_UML_exit
139
+ End If
140
+
141
+ ' - Phase 1
142
+ ' We create a file text per bloc of diagrams
143
+ ' We look for @startuml
144
+ ' We open the textfile in background (visible:=false)
145
+ ' We add to the name a number on 4 digit
146
+ ' The text bloc is put on "PlantUML" style
147
+ ' Then the bloc is copied into the text file
148
+
149
+ statusButton.Caption = "Extract"
150
+ statusButton.Visible = False
151
+ statusButton.Visible = True
152
+ If scope = "all" Then
153
+ Set parsedText = ActiveDocument.Content
154
+ isForward = True
155
+ Else
156
+ Set parsedText = Selection.Range
157
+ parsedText.Collapse
158
+ isForward = False
159
+ End If
160
+
161
+ parsedText.Find.Execute FindText:=startuml, Forward:=isForward
162
+ If parsedText.Find.Found = True Then
163
+ 'We keep the the first line only "@startuml" with the carriage return
164
+ Set singleParagraph = parsedText.Paragraphs(1).Range
165
+ singleParagraph.Collapse
166
+ Else
167
+ GoTo Macro_UML_exit
168
+ End If
169
+
170
+ Do While parsedText.Find.Found = True And _
171
+ (scope = "all" Or currentIndex < 1)
172
+ statusButton.Caption = "Extract." & currentIndex + 1
173
+ statusButton.Visible = False
174
+ statusButton.Visible = True
175
+ Set currentParagraph = parsedText.Paragraphs(1)
176
+ Set paragraphRange = currentParagraph.Range
177
+ paragraphRange.Collapse
178
+ jobDone = False
179
+ Do Until jobDone
180
+ If Left(currentParagraph.Range.Text, Len(startuml)) = startuml Then
181
+ Set paragraphRange = currentParagraph.Range
182
+ paragraphRange.Collapse
183
+
184
+ End If
185
+ paragraphRange.MoveEnd Unit:=wdParagraph
186
+ If Left(currentParagraph.Range.Text, Len(enduml)) = enduml Then
187
+ paragraphRange.Style = "PlantUML"
188
+ paragraphRange.Copy
189
+ Set textFile = Documents.Add(Visible:=False)
190
+ textFile.Content.Paste
191
+ currentIndex = currentIndex + 1
192
+ textFileId = documentId & "_extr" & Right("000" & currentIndex, 4) & ".txt"
193
+ textFile.SaveAs FileName:=jarPath & "\" & textFileId, FileFormat:=wdFormatText, Encoding:=65001
194
+ textFile.Close
195
+ jobDone = True
196
+ End If
197
+
198
+ Set currentParagraph = currentParagraph.Next
199
+
200
+ If currentParagraph Is Nothing Then
201
+ jobDone = True
202
+ End If
203
+ Loop
204
+ parsedText.Collapse Direction:=wdCollapseEnd
205
+ If scope = "all" Then
206
+ parsedText.Find.Execute FindText:=startuml, Forward:=True
207
+ End If
208
+ Loop
209
+ '
210
+ ' We create a lock file that will be deleted by the Java program to indicate the end of Java process
211
+ '
212
+ statusButton.Caption = "Gener"
213
+ statusButton.Visible = False
214
+ statusButton.Visible = True
215
+ Set lockFile = Documents.Add(Visible:=False)
216
+ lockFile.SaveAs FileName:=jarPath & "\javaumllock.tmp", FileFormat:=wdFormatText
217
+ lockFile.Close
218
+
219
+ '
220
+ ' Call to PlantUML to generate images from text descriptions
221
+ '
222
+ javaCommand = "java -classpath """ & jarPath & "\plantuml.jar;" & _
223
+ jarPath & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -charset UTF8 -word """ & jarPath & "/"""
224
+ Shell (javaCommand)
225
+ ' This sleep is needed, but we don't know why...
226
+ Sleep 500
227
+ '
228
+ ' Phase 2 :
229
+ ' Insertion of images into the word document
230
+ ' We insert the image after the textual block that describe the diagram
231
+ '
232
+ jobDone = False
233
+ currentIndex = 0
234
+
235
+ ' We wait for the file javaumllock.tmp to be deleted by Java
236
+ ' which means that the process is ended
237
+ '
238
+ Do
239
+ currentIndex = currentIndex + 1
240
+ statusButton.Caption = "Gener." & currentIndex
241
+ statusButton.Visible = False
242
+ statusButton.Visible = True
243
+ DoEvents
244
+ Sleep 1000
245
+ If fs.FileExists(jarPath & "\javaumllock.tmp") = False Then
246
+ jobDone = True
247
+ Exit Do
248
+ End If
249
+ If currentIndex > 30 Then
250
+ statusButton.Visible = False
251
+ MsgBox ("Java Timeout. Aborted.")
252
+ Exit Do
253
+ End If
254
+ Loop
255
+
256
+ If jobDone = False Then
257
+ End
258
+ End If
259
+
260
+ statusButton.Caption = "Inser"
261
+ statusButton.Visible = False
262
+ statusButton.Visible = True
263
+
264
+ If scope = "all" Then
265
+ Set parsedText = ActiveDocument.Content
266
+ isForward = True
267
+ Else
268
+ Set parsedText = singleParagraph
269
+ isForward = True
270
+ End If
271
+ parsedText.Find.Execute FindText:=enduml, Forward:=isForward
272
+ currentIndex = 0
273
+ Do While parsedText.Find.Found = True And (scope = "all" Or currentIndex < 1)
274
+ currentIndex = currentIndex + 1
275
+ statusButton.Caption = "Inser." & currentIndex
276
+ statusButton.Visible = False
277
+ statusButton.Visible = True
278
+ On Error GoTo LastParagraph
279
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
280
+ Do While currentParagraph.InlineShapes.Count > 0 And currentParagraph.Style = "PlantUMLImg"
281
+ currentParagraph.Delete
282
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
283
+ Loop
284
+ On Error GoTo 0
285
+ Set currentRange = currentParagraph
286
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
287
+ image = Dir(imagesDirectory)
288
+ While image <> ""
289
+ ' Contain the text of the error
290
+ errorTextFile = jarPath & "\" & Left(image, Len(image) - 4) & ".err"
291
+ Set currentParagraph = ActiveDocument.Paragraphs.Add(Range:=currentRange).Range
292
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
293
+ currentParagraph.Style = "PlantUMLImg"
294
+ currentParagraph.Collapse
295
+
296
+ Set image = currentParagraph.InlineShapes.AddPicture _
297
+ (FileName:=jarPath & "\" & image _
298
+ , LinkToFile:=False, SaveWithDocument:=True)
299
+
300
+ If fs.FileExists(errorTextFile) Then
301
+ image.AlternativeText = LoadTextFile(errorTextFile)
302
+ Beep
303
+ Else
304
+ image.AlternativeText = "Generated by PlantUML"
305
+ End If
306
+
307
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
308
+ image.Reset
309
+ End If
310
+ image = Dir()
311
+ Wend
312
+ parsedText.Collapse Direction:=wdCollapseEnd
313
+ parsedText.Find.Execute FindText:=enduml, Forward:=True
314
+ Loop
315
+
316
+ '
317
+ ' Phase 3 : suppression of temporary files (texte and PNG)
318
+ '
319
+ Phase3:
320
+ statusButton.Caption = "Delete"
321
+ statusButton.Visible = False
322
+ statusButton.Visible = True
323
+ On Error Resume Next
324
+ Kill (jarPath & "\" & documentId & "_extr*.*")
325
+ On Error GoTo 0
326
+
327
+ Macro_UML_exit:
328
+
329
+ statusButton.Visible = False
330
+
331
+ 'We show the hidden description text
332
+ Call ShowHiddenText
333
+ DoubleCheckStyle
334
+ Exit Function
335
+
336
+
337
+ ' This is need when the very last line of the Word document is @enduml
338
+ LastParagraph:
339
+ Selection.EndKey Unit:=wdStory
340
+ Selection.TypeParagraph
341
+ Selection.ClearFormatting
342
+
343
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
344
+ image = Dir(imagesDirectory)
345
+ While image <> ""
346
+ ' Contain the text of the error
347
+ errorTextFile = jarPath & "\" & Left(image, Len(image) - 4) & ".err"
348
+
349
+ Set currentParagraph = ActiveDocument.Paragraphs.Add.Range
350
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
351
+ currentParagraph.Style = "PlantUMLImg"
352
+ currentParagraph.Collapse
353
+
354
+ Set image = currentParagraph.InlineShapes.AddPicture _
355
+ (FileName:=jarPath & "\" & image _
356
+ , LinkToFile:=False, SaveWithDocument:=True)
357
+
358
+ If fs.FileExists(errorTextFile) Then
359
+ image.AlternativeText = LoadTextFile(errorTextFile)
360
+ Beep
361
+ Else
362
+ image.AlternativeText = "Generated by PlantUML"
363
+ End If
364
+
365
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
366
+ image.Reset
367
+ End If
368
+ image = Dir()
369
+ Wend
370
+
371
+ 'Resume Next
372
+ GoTo Phase3
373
+
374
+ End Function
375
+
376
+ ' =========================================================
377
+ ' Initialize the plantuml ToolBar
378
+ Function ToolbarInit()
379
+
380
+ On Error GoTo ToolbarCreation
381
+ Set toolBar = ActiveDocument.CommandBars("UML")
382
+ On Error GoTo 0
383
+ toolBar.Visible = True
384
+
385
+ On Error GoTo ButtonAdd
386
+ Set currentButton = toolBar.Controls(1)
387
+ On Error GoTo 0
388
+ currentButton.OnAction = "Module1.SwitchP"
389
+ currentButton.Style = msoButtonCaption
390
+ currentButton.Caption = Chr(182)
391
+ currentButton.Visible = True
392
+
393
+ On Error GoTo ButtonAdd
394
+ Set currentButton = toolBar.Controls(2)
395
+ On Error GoTo 0
396
+ currentButton.OnAction = "Module1.ShowPlantuml"
397
+ currentButton.Style = msoButtonCaption
398
+ currentButton.Caption = "Show PlantUML"
399
+ currentButton.Visible = True
400
+
401
+ On Error GoTo ButtonAdd
402
+ Set currentButton = toolBar.Controls(3)
403
+ On Error GoTo 0
404
+ currentButton.OnAction = "Module1.HidePlantuml"
405
+ currentButton.Style = msoButtonCaption
406
+ currentButton.Caption = "Hide PlantUML"
407
+ currentButton.Visible = True
408
+
409
+ On Error GoTo ButtonAdd
410
+ Set currentButton = toolBar.Controls(4)
411
+ On Error GoTo 0
412
+ currentButton.OnAction = "Module1.Macro_UML_all"
413
+ currentButton.Style = msoButtonCaption
414
+ currentButton.Caption = "UML.*"
415
+ currentButton.Visible = True
416
+
417
+ On Error GoTo ButtonAdd
418
+ Set currentButton = toolBar.Controls(5)
419
+ On Error GoTo 0
420
+ currentButton.OnAction = "Module1.Macro_UML_parg"
421
+ currentButton.Style = msoButtonCaption
422
+ currentButton.Caption = "UML.1"
423
+ currentButton.Visible = True
424
+
425
+ On Error GoTo ButtonAdd
426
+ Set currentButton = toolBar.Controls(6)
427
+ On Error GoTo 0
428
+ currentButton.OnAction = ""
429
+ currentButton.Style = msoButtonCaption
430
+ currentButton.Caption = "Trace"
431
+ currentButton.Visible = True
432
+ Exit Function
433
+
434
+ ToolbarCreation:
435
+ Set toolBar = ActiveDocument.CommandBars.Add(Name:="UML")
436
+ Resume Next
437
+
438
+ ButtonAdd:
439
+ Set currentButton = toolBar.Controls.Add(Type:=msoControlButton, Before:=toolBar.Controls.Count + 1)
440
+ Resume Next
441
+
442
+ End Function
443
+
444
+ ' =========================================================
445
+ ' We need to double check that the style is present in the document
446
+ Function DoubleCheckStyle()
447
+ CreateStyle
448
+ CreateStyleImg
449
+ Set myStyle = ActiveDocument.Styles("PlantUML")
450
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
451
+
452
+ myStyle.AutomaticallyUpdate = True
453
+ With myStyle.Font
454
+ .Name = "Courier New"
455
+ .Size = 9
456
+ .Hidden = False
457
+ .Hidden = True
458
+ .Color = wdColorGreen
459
+ End With
460
+ End Function
461
+
462
+ ' =========================================================
463
+ Function CreateStyle()
464
+ On Error GoTo CreateStyleAdding
465
+ Set myStyle = ActiveDocument.Styles("PlantUML")
466
+ Exit Function
467
+ CreateStyleAdding:
468
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUML", Type:=wdStyleTypeParagraph)
469
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
470
+ myStyle.AutomaticallyUpdate = True
471
+ With myStyle.Font
472
+ .Name = "Courier New"
473
+ .Size = 9
474
+ .Hidden = False
475
+ .Hidden = True
476
+ .Color = wdColorGreen
477
+ End With
478
+ With myStyle.ParagraphFormat
479
+ With .Shading
480
+ .Texture = wdTextureNone
481
+ .ForegroundPatternColor = wdColorAutomatic
482
+ .BackgroundPatternColor = wdColorLightGreen
483
+ End With
484
+
485
+ .LeftIndent = CentimetersToPoints(0)
486
+ With .Shading
487
+ .Texture = wdTextureNone
488
+ .ForegroundPatternColor = wdColorAutomatic
489
+ .BackgroundPatternColor = 12254650
490
+ End With
491
+ With .Borders(wdBorderLeft)
492
+ .LineStyle = wdLineStyleDashLargeGap
493
+ .LineWidth = wdLineWidth050pt
494
+ .Color = 3910491
495
+ End With
496
+ With .Borders(wdBorderRight)
497
+ .LineStyle = wdLineStyleDashLargeGap
498
+ .LineWidth = wdLineWidth050pt
499
+ .Color = 3910491
500
+ End With
501
+ With .Borders(wdBorderTop)
502
+ .LineStyle = wdLineStyleDashLargeGap
503
+ .LineWidth = wdLineWidth050pt
504
+ .Color = 3910491
505
+ End With
506
+ With .Borders(wdBorderBottom)
507
+ .LineStyle = wdLineStyleDashLargeGap
508
+ .LineWidth = wdLineWidth050pt
509
+ .Color = 3910491
510
+ End With
511
+ With .Borders
512
+ .DistanceFromTop = 1
513
+ .DistanceFromLeft = 4
514
+ .DistanceFromBottom = 1
515
+ .DistanceFromRight = 4
516
+ .Shadow = False
517
+ End With
518
+ End With
519
+
520
+ ' ajout des tabulations
521
+ myStyle.NoSpaceBetweenParagraphsOfSameStyle = False
522
+ myStyle.ParagraphFormat.TabStops.ClearAll
523
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
524
+ CentimetersToPoints(1), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
525
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
526
+ CentimetersToPoints(2), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
527
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
528
+ CentimetersToPoints(3), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
529
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
530
+ CentimetersToPoints(4), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
531
+
532
+
533
+ End Function
534
+
535
+ ' =========================================================
536
+ Function CreateStyleImg()
537
+ On Error GoTo CreateStyleImgAdding
538
+ Set myStyle = ActiveDocument.Styles("PlantUMLImg")
539
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
540
+ On Error GoTo 0
541
+ Exit Function
542
+ CreateStyleImgAdding:
543
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUMLImg", Type:=wdStyleTypeParagraph)
544
+ myStyle.AutomaticallyUpdate = True
545
+ End Function
546
+
547
+ ' =========================================================
548
+ ' We show the hidden text
549
+ Function ShowPlantuml()
550
+ DoubleCheckStyle
551
+
552
+ 'WordBasic.ShowComments
553
+ ' We put a bookmark to retrieve position after showing the text
554
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
555
+
556
+ Set myStyle = ActiveDocument.Styles("PlantUML")
557
+ Set toolBar = ActiveDocument.CommandBars("UML")
558
+
559
+ toolBar.Controls(2).Visible = False
560
+ toolBar.Controls(3).Visible = True
561
+ toolBar.Controls(4).Visible = True
562
+ toolBar.Controls(5).Visible = True
563
+
564
+ Call ShowHiddenText
565
+
566
+ 'We go back to the bookmark and we delete it
567
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
568
+ ActiveDocument.Bookmarks(Index:="Position").Delete
569
+
570
+ End Function
571
+
572
+
573
+ ' =========================================================
574
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
575
+ Function HidePlantuml()
576
+ DoubleCheckStyle
577
+ 'WordBasic.ShowComments
578
+ ' We put a bookmark to retrieve position after showing the text
579
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
580
+
581
+ Set myStyle = ActiveDocument.Styles("PlantUML")
582
+ Set toolBar = ActiveDocument.CommandBars("UML")
583
+
584
+ toolBar.Controls(2).Visible = True
585
+ toolBar.Controls(3).Visible = False
586
+ toolBar.Controls(4).Visible = False
587
+ toolBar.Controls(5).Visible = False
588
+
589
+ Call HideHiddenText
590
+
591
+ 'We go back to the bookmark and we delete it
592
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
593
+ ActiveDocument.Bookmarks(Index:="Position").Delete
594
+
595
+ End Function
596
+
597
+ ' =========================================================
598
+ Function HideHiddenText()
599
+ ActiveDocument.ActiveWindow.View.ShowAll = False
600
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
601
+ End Function
602
+
603
+ ' =========================================================
604
+ Function ShowHiddenText()
605
+ ActiveDocument.ActiveWindow.View.ShowAll = False
606
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
607
+ End Function
608
+
609
+ ' =========================================================
610
+ Function SwitchP()
611
+ flag = Not (ActiveDocument.ActiveWindow.View.ShowTabs)
612
+ ActiveDocument.ActiveWindow.View.ShowParagraphs = flag
613
+ ActiveDocument.ActiveWindow.View.ShowTabs = flag
614
+ ActiveDocument.ActiveWindow.View.ShowSpaces = flag
615
+ ActiveDocument.ActiveWindow.View.ShowHyphens = flag
616
+ ActiveDocument.ActiveWindow.View.ShowAll = False
617
+ End Function
618
+
619
+ ' =========================================================
620
+ ' \\ Function to return the full content of a text file as a string
621
+ 'from http://www.vbaexpress.com/kb/getarticle.php?kb_id=699
622
+ Function LoadTextFile(sFile) As String
623
+ Dim iFile As Integer
624
+
625
+ On Local Error Resume Next
626
+ ' \\ Use FreeFile to supply a file number that is not already in use
627
+ iFile = FreeFile
628
+
629
+ ' \\ ' Open file for input.
630
+ Open sFile For Input As #iFile
631
+
632
+ ' \\ Return (Read) the whole content of the file to the function
633
+ LoadTextFile = Input$(LOF(iFile), iFile)
634
+
635
+ Close #iFile
636
+
637
+ End Function
638
+
639
+
640
+
plantuml/old/PlantUML_V006.bas ADDED
@@ -0,0 +1,644 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ' ========================================================================
2
+ ' Plantuml : a free UML diagram generator
3
+ ' ========================================================================
4
+ '
5
+ ' (C) Copyright 2013, Arnaud Roques
6
+ '
7
+ ' Project Info: http://plantuml.sourceforge.net
8
+ '
9
+ ' This file is part of Plantuml.
10
+ '
11
+ ' Plantuml is free software; you can redistribute it and/or modify it
12
+ ' under the terms of the GNU General Public License as published by
13
+ ' the Free Software Foundation, either version 3 of the License, or
14
+ ' (at your option) any later version.
15
+ '
16
+ ' Plantuml distributed in the hope that it will be useful, but
17
+ ' WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
+ ' or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19
+ ' License for more details.
20
+ '
21
+ ' You should have received a copy of the GNU General Public
22
+ ' License along with this library; if not, write to the Free Software
23
+ ' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24
+ ' USA.
25
+ '
26
+ ' [Java is a trademark or registered trademark of Sun Microsystems, Inc.
27
+ ' in the United States and other countries.]
28
+ '
29
+ ' Original Author: Arnaud Roques
30
+ ' Word Macro: Alain Bertucat / Matthieu Sabatier
31
+ ' Improved error management : Christopher Fuhrman
32
+ ' http://vbadud.blogspot.fr/2008/12/how-to-set-and-reset-track-changes.html
33
+ ' Version 006
34
+
35
+ Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
36
+
37
+ Const startuml = "@start"
38
+ Const enduml = "@end"
39
+
40
+ ' =========================================================
41
+ ' This function returns the path for plantuml.jar
42
+ Function getJarPath() As String
43
+ Set fs = CreateObject("Scripting.FileSystemObject")
44
+ nbTemplates = ActiveDocument.Parent.Templates.Count
45
+ mainPath = ActiveDocument.Path
46
+ try = ActiveDocument.Path & "\"
47
+
48
+ nb = InStrRev(mainPath, "\")
49
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
50
+ mainPath = Left(mainPath, nb - 1)
51
+ try = try & vbCrLf & mainPath & "\"
52
+ nb = InStrRev(mainPath, "\")
53
+ Loop
54
+
55
+ For i = 1 To nbTemplates
56
+ If fs.FileExists(mainPath + "\plantuml.jar") = False Then
57
+ mainPath = ActiveDocument.Parent.Templates.Item(i).Path
58
+ try = try & vbCrLf & ActiveDocument.Parent.Templates.Item(i).Path & "\"
59
+ nb = InStrRev(mainPath, "\")
60
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
61
+ mainPath = Left(mainPath, nb - 1)
62
+ try = try & vbCrLf & mainPath & "\"
63
+ nb = InStrRev(mainPath, "\")
64
+ Loop
65
+ End If
66
+ Next i
67
+
68
+ If fs.FileExists(mainPath + "\plantuml.jar") Then
69
+ getJarPath = mainPath
70
+ Else
71
+ getJarPath = "Error : Cannot find plantuml.jar in :" & vbCrLf & try
72
+ End If
73
+
74
+ End Function
75
+
76
+ ' =========================================================
77
+ ' Print out the used plantuml.jar
78
+ Sub ShowPlantumlJarPath()
79
+ Set fs = CreateObject("Scripting.FileSystemObject")
80
+ jarPath = getJarPath()
81
+ If fs.FileExists(jarPath & "\plantuml.jar") Then
82
+ MsgBox "OK : " & jarPath & "\plantuml.jar"
83
+ Else
84
+ MsgBox jarPath
85
+ End If
86
+ End Sub
87
+ ' =========================================================
88
+ ' Used to migrate from previous PlantUML macro version
89
+ Sub RemoveOldVersionPlantUMLSyles()
90
+ On Error GoTo DeleteEnd
91
+ ActiveDocument.Styles("PlantUML").Delete
92
+ On Error GoTo 0
93
+ DeleteEnd:
94
+ On Error GoTo 0
95
+ Call Macro_UML_all
96
+
97
+ End Sub
98
+ ' =========================================================
99
+ ' Called when the user click on "UML.*"
100
+ Sub Macro_UML_all()
101
+ Macro_UML ("all")
102
+ End Sub
103
+
104
+ ' =========================================================
105
+ ' Called when the user click on "UML.1"
106
+ Function Macro_UML_parg()
107
+ Macro_UML ("parg")
108
+ End Function
109
+
110
+ ' =========================================================
111
+
112
+ Function Macro_UML(scope)
113
+ ' Generate diagrams image from a PlantUML source textual description in the Word Document
114
+ ' Scope can be "parg" or "all"
115
+ '
116
+ ' - Initialisations
117
+ '
118
+ Call ToolbarInit
119
+ Set statusButton = CommandBars("UML").Controls(6)
120
+
121
+ Call CreateStyle
122
+ Call CreateStyleImg
123
+ Call ShowPlantuml
124
+
125
+ Call ShowHiddenText
126
+ Selection.Range.Select
127
+ '
128
+ ' documentId is the filename with its path, without extension
129
+ '
130
+ documentId = ActiveDocument.Name
131
+ documentId = Left(documentId, Len(documentId) - 4)
132
+
133
+ ' Check for the presente of plantuml.jar
134
+
135
+ Set fs = CreateObject("Scripting.FileSystemObject")
136
+ jarPath = getJarPath()
137
+ If fs.FileExists(jarPath & "\plantuml.jar") = False Then
138
+ MsgBox jarPath
139
+ GoTo Macro_UML_exit
140
+ End If
141
+
142
+ ' - Phase 1
143
+ ' We create a file text per bloc of diagrams
144
+ ' We look for @startuml
145
+ ' We open the textfile in background (visible:=false)
146
+ ' We add to the name a number on 4 digit
147
+ ' The text bloc is put on "PlantUML" style
148
+ ' Then the bloc is copied into the text file
149
+
150
+ statusButton.Caption = "Extract"
151
+ statusButton.Visible = False
152
+ statusButton.Visible = True
153
+ If scope = "all" Then
154
+ Set parsedText = ActiveDocument.Content
155
+ isForward = True
156
+ Else
157
+ Set parsedText = Selection.Range
158
+ parsedText.Collapse
159
+ isForward = False
160
+ End If
161
+
162
+ parsedText.Find.Execute FindText:=startuml, Forward:=isForward
163
+ If parsedText.Find.Found = True Then
164
+ 'We keep the the first line only "@startuml" with the carriage return
165
+ Set singleParagraph = parsedText.Paragraphs(1).Range
166
+ singleParagraph.Collapse
167
+ Else
168
+ GoTo Macro_UML_exit
169
+ End If
170
+
171
+ Do While parsedText.Find.Found = True And _
172
+ (scope = "all" Or currentIndex < 1)
173
+ statusButton.Caption = "Extract." & currentIndex + 1
174
+ statusButton.Visible = False
175
+ statusButton.Visible = True
176
+ Set currentParagraph = parsedText.Paragraphs(1)
177
+ Set paragraphRange = currentParagraph.Range
178
+ paragraphRange.Collapse
179
+ jobDone = False
180
+ Do Until jobDone
181
+ If Left(currentParagraph.Range.Text, Len(startuml)) = startuml Then
182
+ Set paragraphRange = currentParagraph.Range
183
+ paragraphRange.Collapse
184
+
185
+ End If
186
+ paragraphRange.MoveEnd Unit:=wdParagraph
187
+ If Left(currentParagraph.Range.Text, Len(enduml)) = enduml Then
188
+ paragraphRange.Style = "PlantUML"
189
+ paragraphRange.Copy
190
+ Set textFile = Documents.Add(Visible:=False)
191
+ textFile.Content.Paste
192
+ currentIndex = currentIndex + 1
193
+ textFileId = documentId & "_extr" & Right("000" & currentIndex, 4) & ".txt"
194
+ textFile.SaveAs FileName:=jarPath & "\" & textFileId, FileFormat:=wdFormatText, Encoding:=65001
195
+ textFile.Close
196
+ jobDone = True
197
+ End If
198
+
199
+ Set currentParagraph = currentParagraph.Next
200
+
201
+ If currentParagraph Is Nothing Then
202
+ jobDone = True
203
+ End If
204
+ Loop
205
+ parsedText.Collapse Direction:=wdCollapseEnd
206
+ If scope = "all" Then
207
+ parsedText.Find.Execute FindText:=startuml, Forward:=True
208
+ End If
209
+ Loop
210
+ '
211
+ ' We create a lock file that will be deleted by the Java program to indicate the end of Java process
212
+ '
213
+ statusButton.Caption = "Gener"
214
+ statusButton.Visible = False
215
+ statusButton.Visible = True
216
+ Set lockFile = Documents.Add(Visible:=False)
217
+ lockFile.SaveAs FileName:=jarPath & "\javaumllock.tmp", FileFormat:=wdFormatText
218
+ lockFile.Close
219
+
220
+ '
221
+ ' Call to PlantUML to generate images from text descriptions
222
+ '
223
+ javaCommand = "java -classpath """ & jarPath & "\plantuml.jar;" & _
224
+ jarPath & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -charset UTF8 -word """ & jarPath & "/"""
225
+ Shell (javaCommand)
226
+ ' This sleep is needed, but we don't know why...
227
+ Sleep 500
228
+ '
229
+ ' Phase 2 :
230
+ ' Insertion of images into the word document
231
+ ' We insert the image after the textual block that describe the diagram
232
+ '
233
+ jobDone = False
234
+ currentIndex = 0
235
+
236
+ ' We wait for the file javaumllock.tmp to be deleted by Java
237
+ ' which means that the process is ended
238
+ '
239
+ Do
240
+ currentIndex = currentIndex + 1
241
+ statusButton.Caption = "Gener." & currentIndex
242
+ statusButton.Visible = False
243
+ statusButton.Visible = True
244
+ DoEvents
245
+ Sleep 1000
246
+ If fs.FileExists(jarPath & "\javaumllock.tmp") = False Then
247
+ jobDone = True
248
+ Exit Do
249
+ End If
250
+ If currentIndex > 30 Then
251
+ statusButton.Visible = False
252
+ MsgBox ("Java Timeout. Aborted.")
253
+ Exit Do
254
+ End If
255
+ Loop
256
+
257
+ If jobDone = False Then
258
+ End
259
+ End If
260
+
261
+ statusButton.Caption = "Inser"
262
+ statusButton.Visible = False
263
+ statusButton.Visible = True
264
+
265
+ If scope = "all" Then
266
+ Set parsedText = ActiveDocument.Content
267
+ isForward = True
268
+ Else
269
+ Set parsedText = singleParagraph
270
+ isForward = True
271
+ End If
272
+ parsedText.Find.Execute FindText:=enduml, Forward:=isForward
273
+ currentIndex = 0
274
+ bTrackRevFlag = ActiveDocument.TrackRevisions
275
+ ActiveDocument.TrackRevisions = False
276
+ Do While parsedText.Find.Found = True And (scope = "all" Or currentIndex < 1)
277
+ currentIndex = currentIndex + 1
278
+ statusButton.Caption = "Inser." & currentIndex
279
+ statusButton.Visible = False
280
+ statusButton.Visible = True
281
+ On Error GoTo LastParagraph
282
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
283
+ Do While currentParagraph.InlineShapes.Count > 0 And currentParagraph.Style = "PlantUMLImg"
284
+ currentParagraph.Delete
285
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
286
+ Loop
287
+ On Error GoTo 0
288
+ Set currentRange = currentParagraph
289
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
290
+ image = Dir(imagesDirectory)
291
+ While image <> ""
292
+ ' Contain the text of the error
293
+ errorTextFile = jarPath & "\" & Left(image, Len(image) - 4) & ".err"
294
+ Set currentParagraph = ActiveDocument.Paragraphs.Add(Range:=currentRange).Range
295
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
296
+ currentParagraph.Style = "PlantUMLImg"
297
+ currentParagraph.Collapse
298
+
299
+ Set image = currentParagraph.InlineShapes.AddPicture _
300
+ (FileName:=jarPath & "\" & image _
301
+ , LinkToFile:=False, SaveWithDocument:=True)
302
+
303
+ If fs.FileExists(errorTextFile) Then
304
+ image.AlternativeText = LoadTextFile(errorTextFile)
305
+ Beep
306
+ Else
307
+ image.AlternativeText = "Generated by PlantUML"
308
+ End If
309
+
310
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
311
+ image.Reset
312
+ End If
313
+ image = Dir()
314
+ Wend
315
+ parsedText.Collapse Direction:=wdCollapseEnd
316
+ parsedText.Find.Execute FindText:=enduml, Forward:=True
317
+ Loop
318
+ ActiveDocument.TrackRevisions = bTrackRevFlag
319
+
320
+ '
321
+ ' Phase 3 : suppression of temporary files (text and PNG)
322
+ '
323
+ Phase3:
324
+ statusButton.Caption = "Delete"
325
+ statusButton.Visible = False
326
+ statusButton.Visible = True
327
+ On Error Resume Next
328
+ Kill (jarPath & "\" & documentId & "_extr*.*")
329
+ On Error GoTo 0
330
+
331
+ Macro_UML_exit:
332
+
333
+ statusButton.Visible = False
334
+
335
+ 'We show the hidden description text
336
+ Call ShowHiddenText
337
+ DoubleCheckStyle
338
+ Exit Function
339
+
340
+
341
+ ' This is need when the very last line of the Word document is @enduml
342
+ LastParagraph:
343
+ Selection.EndKey Unit:=wdStory
344
+ Selection.TypeParagraph
345
+ Selection.ClearFormatting
346
+
347
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
348
+ image = Dir(imagesDirectory)
349
+ While image <> ""
350
+ ' Contain the text of the error
351
+ errorTextFile = jarPath & "\" & Left(image, Len(image) - 4) & ".err"
352
+
353
+ Set currentParagraph = ActiveDocument.Paragraphs.Add.Range
354
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
355
+ currentParagraph.Style = "PlantUMLImg"
356
+ currentParagraph.Collapse
357
+
358
+ Set image = currentParagraph.InlineShapes.AddPicture _
359
+ (FileName:=jarPath & "\" & image _
360
+ , LinkToFile:=False, SaveWithDocument:=True)
361
+
362
+ If fs.FileExists(errorTextFile) Then
363
+ image.AlternativeText = LoadTextFile(errorTextFile)
364
+ Beep
365
+ Else
366
+ image.AlternativeText = "Generated by PlantUML"
367
+ End If
368
+
369
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
370
+ image.Reset
371
+ End If
372
+ image = Dir()
373
+ Wend
374
+
375
+ 'Resume Next
376
+ GoTo Phase3
377
+
378
+ End Function
379
+
380
+ ' =========================================================
381
+ ' Initialize the plantuml ToolBar
382
+ Function ToolbarInit()
383
+
384
+ On Error GoTo ToolbarCreation
385
+ Set toolBar = ActiveDocument.CommandBars("UML")
386
+ On Error GoTo 0
387
+ toolBar.Visible = True
388
+
389
+ On Error GoTo ButtonAdd
390
+ Set currentButton = toolBar.Controls(1)
391
+ On Error GoTo 0
392
+ currentButton.OnAction = "Module1.SwitchP"
393
+ currentButton.Style = msoButtonCaption
394
+ currentButton.Caption = Chr(182)
395
+ currentButton.Visible = True
396
+
397
+ On Error GoTo ButtonAdd
398
+ Set currentButton = toolBar.Controls(2)
399
+ On Error GoTo 0
400
+ currentButton.OnAction = "Module1.ShowPlantuml"
401
+ currentButton.Style = msoButtonCaption
402
+ currentButton.Caption = "Show PlantUML"
403
+ currentButton.Visible = True
404
+
405
+ On Error GoTo ButtonAdd
406
+ Set currentButton = toolBar.Controls(3)
407
+ On Error GoTo 0
408
+ currentButton.OnAction = "Module1.HidePlantuml"
409
+ currentButton.Style = msoButtonCaption
410
+ currentButton.Caption = "Hide PlantUML"
411
+ currentButton.Visible = True
412
+
413
+ On Error GoTo ButtonAdd
414
+ Set currentButton = toolBar.Controls(4)
415
+ On Error GoTo 0
416
+ currentButton.OnAction = "Module1.Macro_UML_all"
417
+ currentButton.Style = msoButtonCaption
418
+ currentButton.Caption = "UML.*"
419
+ currentButton.Visible = True
420
+
421
+ On Error GoTo ButtonAdd
422
+ Set currentButton = toolBar.Controls(5)
423
+ On Error GoTo 0
424
+ currentButton.OnAction = "Module1.Macro_UML_parg"
425
+ currentButton.Style = msoButtonCaption
426
+ currentButton.Caption = "UML.1"
427
+ currentButton.Visible = True
428
+
429
+ On Error GoTo ButtonAdd
430
+ Set currentButton = toolBar.Controls(6)
431
+ On Error GoTo 0
432
+ currentButton.OnAction = ""
433
+ currentButton.Style = msoButtonCaption
434
+ currentButton.Caption = "Trace"
435
+ currentButton.Visible = True
436
+ Exit Function
437
+
438
+ ToolbarCreation:
439
+ Set toolBar = ActiveDocument.CommandBars.Add(Name:="UML")
440
+ Resume Next
441
+
442
+ ButtonAdd:
443
+ Set currentButton = toolBar.Controls.Add(Type:=msoControlButton, Before:=toolBar.Controls.Count + 1)
444
+ Resume Next
445
+
446
+ End Function
447
+
448
+ ' =========================================================
449
+ ' We need to double check that the style is present in the document
450
+ Function DoubleCheckStyle()
451
+ CreateStyle
452
+ CreateStyleImg
453
+ Set myStyle = ActiveDocument.Styles("PlantUML")
454
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
455
+
456
+ myStyle.AutomaticallyUpdate = True
457
+ With myStyle.Font
458
+ .Name = "Courier New"
459
+ .Size = 9
460
+ .Hidden = False
461
+ .Hidden = True
462
+ .Color = wdColorGreen
463
+ End With
464
+ End Function
465
+
466
+ ' =========================================================
467
+ Function CreateStyle()
468
+ On Error GoTo CreateStyleAdding
469
+ Set myStyle = ActiveDocument.Styles("PlantUML")
470
+ Exit Function
471
+ CreateStyleAdding:
472
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUML", Type:=wdStyleTypeParagraph)
473
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
474
+ myStyle.AutomaticallyUpdate = True
475
+ With myStyle.Font
476
+ .Name = "Courier New"
477
+ .Size = 9
478
+ .Hidden = False
479
+ .Hidden = True
480
+ .Color = wdColorGreen
481
+ End With
482
+ With myStyle.ParagraphFormat
483
+ With .Shading
484
+ .Texture = wdTextureNone
485
+ .ForegroundPatternColor = wdColorAutomatic
486
+ .BackgroundPatternColor = wdColorLightGreen
487
+ End With
488
+
489
+ .LeftIndent = CentimetersToPoints(0)
490
+ With .Shading
491
+ .Texture = wdTextureNone
492
+ .ForegroundPatternColor = wdColorAutomatic
493
+ .BackgroundPatternColor = 12254650
494
+ End With
495
+ With .Borders(wdBorderLeft)
496
+ .LineStyle = wdLineStyleDashLargeGap
497
+ .LineWidth = wdLineWidth050pt
498
+ .Color = 3910491
499
+ End With
500
+ With .Borders(wdBorderRight)
501
+ .LineStyle = wdLineStyleDashLargeGap
502
+ .LineWidth = wdLineWidth050pt
503
+ .Color = 3910491
504
+ End With
505
+ With .Borders(wdBorderTop)
506
+ .LineStyle = wdLineStyleDashLargeGap
507
+ .LineWidth = wdLineWidth050pt
508
+ .Color = 3910491
509
+ End With
510
+ With .Borders(wdBorderBottom)
511
+ .LineStyle = wdLineStyleDashLargeGap
512
+ .LineWidth = wdLineWidth050pt
513
+ .Color = 3910491
514
+ End With
515
+ With .Borders
516
+ .DistanceFromTop = 1
517
+ .DistanceFromLeft = 4
518
+ .DistanceFromBottom = 1
519
+ .DistanceFromRight = 4
520
+ .Shadow = False
521
+ End With
522
+ End With
523
+
524
+ ' ajout des tabulations
525
+ myStyle.NoSpaceBetweenParagraphsOfSameStyle = False
526
+ myStyle.ParagraphFormat.TabStops.ClearAll
527
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
528
+ CentimetersToPoints(1), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
529
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
530
+ CentimetersToPoints(2), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
531
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
532
+ CentimetersToPoints(3), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
533
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
534
+ CentimetersToPoints(4), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
535
+
536
+
537
+ End Function
538
+
539
+ ' =========================================================
540
+ Function CreateStyleImg()
541
+ On Error GoTo CreateStyleImgAdding
542
+ Set myStyle = ActiveDocument.Styles("PlantUMLImg")
543
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
544
+ On Error GoTo 0
545
+ Exit Function
546
+ CreateStyleImgAdding:
547
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUMLImg", Type:=wdStyleTypeParagraph)
548
+ myStyle.AutomaticallyUpdate = True
549
+ End Function
550
+
551
+ ' =========================================================
552
+ ' We show the hidden text
553
+ Function ShowPlantuml()
554
+ DoubleCheckStyle
555
+
556
+ 'WordBasic.ShowComments
557
+ ' We put a bookmark to retrieve position after showing the text
558
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
559
+
560
+ Set myStyle = ActiveDocument.Styles("PlantUML")
561
+ Set toolBar = ActiveDocument.CommandBars("UML")
562
+
563
+ toolBar.Controls(2).Visible = False
564
+ toolBar.Controls(3).Visible = True
565
+ toolBar.Controls(4).Visible = True
566
+ toolBar.Controls(5).Visible = True
567
+
568
+ Call ShowHiddenText
569
+
570
+ 'We go back to the bookmark and we delete it
571
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
572
+ ActiveDocument.Bookmarks(Index:="Position").Delete
573
+
574
+ End Function
575
+
576
+
577
+ ' =========================================================
578
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
579
+ Function HidePlantuml()
580
+ DoubleCheckStyle
581
+ 'WordBasic.ShowComments
582
+ ' We put a bookmark to retrieve position after showing the text
583
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
584
+
585
+ Set myStyle = ActiveDocument.Styles("PlantUML")
586
+ Set toolBar = ActiveDocument.CommandBars("UML")
587
+
588
+ toolBar.Controls(2).Visible = True
589
+ toolBar.Controls(3).Visible = False
590
+ toolBar.Controls(4).Visible = False
591
+ toolBar.Controls(5).Visible = False
592
+
593
+ Call HideHiddenText
594
+
595
+ 'We go back to the bookmark and we delete it
596
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
597
+ ActiveDocument.Bookmarks(Index:="Position").Delete
598
+
599
+ End Function
600
+
601
+ ' =========================================================
602
+ Function HideHiddenText()
603
+ ActiveDocument.ActiveWindow.View.ShowAll = False
604
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
605
+ End Function
606
+
607
+ ' =========================================================
608
+ Function ShowHiddenText()
609
+ ActiveDocument.ActiveWindow.View.ShowAll = False
610
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
611
+ End Function
612
+
613
+ ' =========================================================
614
+ Function SwitchP()
615
+ flag = Not (ActiveDocument.ActiveWindow.View.ShowTabs)
616
+ ActiveDocument.ActiveWindow.View.ShowParagraphs = flag
617
+ ActiveDocument.ActiveWindow.View.ShowTabs = flag
618
+ ActiveDocument.ActiveWindow.View.ShowSpaces = flag
619
+ ActiveDocument.ActiveWindow.View.ShowHyphens = flag
620
+ ActiveDocument.ActiveWindow.View.ShowAll = False
621
+ End Function
622
+
623
+ ' =========================================================
624
+ ' \\ Function to return the full content of a text file as a string
625
+ 'from http://www.vbaexpress.com/kb/getarticle.php?kb_id=699
626
+ Function LoadTextFile(sFile) As String
627
+ Dim iFile As Integer
628
+
629
+ On Local Error Resume Next
630
+ ' \\ Use FreeFile to supply a file number that is not already in use
631
+ iFile = FreeFile
632
+
633
+ ' \\ ' Open file for input.
634
+ Open sFile For Input As #iFile
635
+
636
+ ' \\ Return (Read) the whole content of the file to the function
637
+ LoadTextFile = Input$(LOF(iFile), iFile)
638
+
639
+ Close #iFile
640
+
641
+ End Function
642
+
643
+
644
+
plantuml/old/PlantUML_V007.bas ADDED
@@ -0,0 +1,628 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ' ========================================================================
2
+ ' VBA code for Plantuml
3
+ ' ========================================================================
4
+ '
5
+ ' This file is distributed under the GNU All-Permissive License
6
+ ' http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html
7
+ '
8
+ ' Copying and distribution of this file, with or without modification,
9
+ ' are permitted in any medium without royalty provided the copyright
10
+ ' notice and this notice are preserved. This file is offered as-is,
11
+ ' without any warranty.
12
+ '
13
+ ' Original Author: Arnaud Roques
14
+ ' Word Macro: Alain Bertucat / Matthieu Sabatier
15
+ ' Improved error management : Christopher Fuhrman
16
+ ' http://vbadud.blogspot.fr/2008/12/how-to-set-and-reset-track-changes.html
17
+ ' Version 007
18
+
19
+ Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
20
+
21
+ Const startuml = "@start"
22
+ Const enduml = "@end"
23
+
24
+ ' =========================================================
25
+ ' This function returns the path for plantuml.jar
26
+ Function getJarPath() As String
27
+ Set fs = CreateObject("Scripting.FileSystemObject")
28
+ nbTemplates = ActiveDocument.Parent.Templates.Count
29
+ mainPath = ActiveDocument.Path
30
+ try = ActiveDocument.Path & "\"
31
+
32
+ nb = InStrRev(mainPath, "\")
33
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
34
+ mainPath = Left(mainPath, nb - 1)
35
+ try = try & vbCrLf & mainPath & "\"
36
+ nb = InStrRev(mainPath, "\")
37
+ Loop
38
+
39
+ For i = 1 To nbTemplates
40
+ If fs.FileExists(mainPath + "\plantuml.jar") = False Then
41
+ mainPath = ActiveDocument.Parent.Templates.Item(i).Path
42
+ try = try & vbCrLf & ActiveDocument.Parent.Templates.Item(i).Path & "\"
43
+ nb = InStrRev(mainPath, "\")
44
+ Do While nb > 1 And fs.FileExists(mainPath + "\plantuml.jar") = False
45
+ mainPath = Left(mainPath, nb - 1)
46
+ try = try & vbCrLf & mainPath & "\"
47
+ nb = InStrRev(mainPath, "\")
48
+ Loop
49
+ End If
50
+ Next i
51
+
52
+ If fs.FileExists(mainPath + "\plantuml.jar") Then
53
+ getJarPath = mainPath
54
+ Else
55
+ getJarPath = "Error : Cannot find plantuml.jar in :" & vbCrLf & try
56
+ End If
57
+
58
+ End Function
59
+
60
+ ' =========================================================
61
+ ' Print out the used plantuml.jar
62
+ Sub ShowPlantumlJarPath()
63
+ Set fs = CreateObject("Scripting.FileSystemObject")
64
+ jarPath = getJarPath()
65
+ If fs.FileExists(jarPath & "\plantuml.jar") Then
66
+ MsgBox "OK : " & jarPath & "\plantuml.jar"
67
+ Else
68
+ MsgBox jarPath
69
+ End If
70
+ End Sub
71
+ ' =========================================================
72
+ ' Used to migrate from previous PlantUML macro version
73
+ Sub RemoveOldVersionPlantUMLSyles()
74
+ On Error GoTo DeleteEnd
75
+ ActiveDocument.Styles("PlantUML").Delete
76
+ On Error GoTo 0
77
+ DeleteEnd:
78
+ On Error GoTo 0
79
+ Call Macro_UML_all
80
+
81
+ End Sub
82
+ ' =========================================================
83
+ ' Called when the user click on "UML.*"
84
+ Sub Macro_UML_all()
85
+ Macro_UML ("all")
86
+ End Sub
87
+
88
+ ' =========================================================
89
+ ' Called when the user click on "UML.1"
90
+ Function Macro_UML_parg()
91
+ Macro_UML ("parg")
92
+ End Function
93
+
94
+ ' =========================================================
95
+
96
+ Function Macro_UML(scope)
97
+ ' Generate diagrams image from a PlantUML source textual description in the Word Document
98
+ ' Scope can be "parg" or "all"
99
+ '
100
+ ' - Initialisations
101
+ '
102
+ Call ToolbarInit
103
+ Set statusButton = CommandBars("UML").Controls(6)
104
+
105
+ Call CreateStyle
106
+ Call CreateStyleImg
107
+ Call ShowPlantuml
108
+
109
+ Call ShowHiddenText
110
+ Selection.Range.Select
111
+ '
112
+ ' documentId is the filename with its path, without extension
113
+ '
114
+ documentId = ActiveDocument.Name
115
+ documentId = Left(documentId, Len(documentId) - 4)
116
+
117
+ ' Check for the presente of plantuml.jar
118
+
119
+ Set fs = CreateObject("Scripting.FileSystemObject")
120
+ jarPath = getJarPath()
121
+ If fs.FileExists(jarPath & "\plantuml.jar") = False Then
122
+ MsgBox jarPath
123
+ GoTo Macro_UML_exit
124
+ End If
125
+
126
+ ' - Phase 1
127
+ ' We create a file text per bloc of diagrams
128
+ ' We look for @startuml
129
+ ' We open the textfile in background (visible:=false)
130
+ ' We add to the name a number on 4 digit
131
+ ' The text bloc is put on "PlantUML" style
132
+ ' Then the bloc is copied into the text file
133
+
134
+ statusButton.Caption = "Extract"
135
+ statusButton.Visible = False
136
+ statusButton.Visible = True
137
+ If scope = "all" Then
138
+ Set parsedText = ActiveDocument.Content
139
+ isForward = True
140
+ Else
141
+ Set parsedText = Selection.Range
142
+ parsedText.Collapse
143
+ isForward = False
144
+ End If
145
+
146
+ parsedText.Find.Execute FindText:=startuml, Forward:=isForward
147
+ If parsedText.Find.Found = True Then
148
+ 'We keep the the first line only "@startuml" with the carriage return
149
+ Set singleParagraph = parsedText.Paragraphs(1).Range
150
+ singleParagraph.Collapse
151
+ Else
152
+ GoTo Macro_UML_exit
153
+ End If
154
+
155
+ Do While parsedText.Find.Found = True And _
156
+ (scope = "all" Or currentIndex < 1)
157
+ statusButton.Caption = "Extract." & currentIndex + 1
158
+ statusButton.Visible = False
159
+ statusButton.Visible = True
160
+ Set currentParagraph = parsedText.Paragraphs(1)
161
+ Set paragraphRange = currentParagraph.Range
162
+ paragraphRange.Collapse
163
+ jobDone = False
164
+ Do Until jobDone
165
+ If Left(currentParagraph.Range.Text, Len(startuml)) = startuml Then
166
+ Set paragraphRange = currentParagraph.Range
167
+ paragraphRange.Collapse
168
+
169
+ End If
170
+ paragraphRange.MoveEnd Unit:=wdParagraph
171
+ If Left(currentParagraph.Range.Text, Len(enduml)) = enduml Then
172
+ paragraphRange.Style = "PlantUML"
173
+ paragraphRange.Copy
174
+ Set textFile = Documents.Add(Visible:=False)
175
+ textFile.Content.Paste
176
+ currentIndex = currentIndex + 1
177
+ textFileId = documentId & "_extr" & Right("000" & currentIndex, 4) & ".txt"
178
+ textFile.SaveAs FileName:=jarPath & "\" & textFileId, FileFormat:=wdFormatText, Encoding:=65001
179
+ textFile.Close
180
+ jobDone = True
181
+ End If
182
+
183
+ Set currentParagraph = currentParagraph.Next
184
+
185
+ If currentParagraph Is Nothing Then
186
+ jobDone = True
187
+ End If
188
+ Loop
189
+ parsedText.Collapse Direction:=wdCollapseEnd
190
+ If scope = "all" Then
191
+ parsedText.Find.Execute FindText:=startuml, Forward:=True
192
+ End If
193
+ Loop
194
+ '
195
+ ' We create a lock file that will be deleted by the Java program to indicate the end of Java process
196
+ '
197
+ statusButton.Caption = "Gener"
198
+ statusButton.Visible = False
199
+ statusButton.Visible = True
200
+ Set lockFile = Documents.Add(Visible:=False)
201
+ lockFile.SaveAs FileName:=jarPath & "\javaumllock.tmp", FileFormat:=wdFormatText
202
+ lockFile.Close
203
+
204
+ '
205
+ ' Call to PlantUML to generate images from text descriptions
206
+ '
207
+ javaCommand = "java -classpath """ & jarPath & "\plantuml.jar;" & _
208
+ jarPath & "\plantumlskins.jar"" net.sourceforge.plantuml.Run -charset UTF8 -word """ & jarPath & "/"""
209
+ Shell (javaCommand)
210
+ ' This sleep is needed, but we don't know why...
211
+ Sleep 500
212
+ '
213
+ ' Phase 2 :
214
+ ' Insertion of images into the word document
215
+ ' We insert the image after the textual block that describe the diagram
216
+ '
217
+ jobDone = False
218
+ currentIndex = 0
219
+
220
+ ' We wait for the file javaumllock.tmp to be deleted by Java
221
+ ' which means that the process is ended
222
+ '
223
+ Do
224
+ currentIndex = currentIndex + 1
225
+ statusButton.Caption = "Gener." & currentIndex
226
+ statusButton.Visible = False
227
+ statusButton.Visible = True
228
+ DoEvents
229
+ Sleep 1000
230
+ If fs.FileExists(jarPath & "\javaumllock.tmp") = False Then
231
+ jobDone = True
232
+ Exit Do
233
+ End If
234
+ If currentIndex > 30 Then
235
+ statusButton.Visible = False
236
+ MsgBox ("Java Timeout. Aborted.")
237
+ Exit Do
238
+ End If
239
+ Loop
240
+
241
+ If jobDone = False Then
242
+ End
243
+ End If
244
+
245
+ statusButton.Caption = "Inser"
246
+ statusButton.Visible = False
247
+ statusButton.Visible = True
248
+
249
+ If scope = "all" Then
250
+ Set parsedText = ActiveDocument.Content
251
+ isForward = True
252
+ Else
253
+ Set parsedText = singleParagraph
254
+ isForward = True
255
+ End If
256
+ parsedText.Find.Execute FindText:=enduml, Forward:=isForward
257
+ currentIndex = 0
258
+ bTrackRevFlag = ActiveDocument.TrackRevisions
259
+ ActiveDocument.TrackRevisions = False
260
+ Do While parsedText.Find.Found = True And (scope = "all" Or currentIndex < 1)
261
+ currentIndex = currentIndex + 1
262
+ statusButton.Caption = "Inser." & currentIndex
263
+ statusButton.Visible = False
264
+ statusButton.Visible = True
265
+ On Error GoTo LastParagraph
266
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
267
+ Do While currentParagraph.InlineShapes.Count > 0 And currentParagraph.Style = "PlantUMLImg"
268
+ currentParagraph.Delete
269
+ Set currentParagraph = parsedText.Paragraphs(1).Next.Range
270
+ Loop
271
+ On Error GoTo 0
272
+ Set currentRange = currentParagraph
273
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
274
+ image = Dir(imagesDirectory)
275
+ While image <> ""
276
+ ' Contain the text of the error
277
+ errorTextFile = jarPath & "\" & Left(image, Len(image) - 4) & ".err"
278
+ Set currentParagraph = ActiveDocument.Paragraphs.Add(Range:=currentRange).Range
279
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
280
+ currentParagraph.Style = "PlantUMLImg"
281
+ currentParagraph.Collapse
282
+
283
+ Set image = currentParagraph.InlineShapes.AddPicture _
284
+ (FileName:=jarPath & "\" & image _
285
+ , LinkToFile:=False, SaveWithDocument:=True)
286
+
287
+ If fs.FileExists(errorTextFile) Then
288
+ image.AlternativeText = LoadTextFile(errorTextFile)
289
+ Beep
290
+ Else
291
+ image.AlternativeText = "Generated by PlantUML"
292
+ End If
293
+
294
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
295
+ image.Reset
296
+ End If
297
+ image = Dir()
298
+ Wend
299
+ parsedText.Collapse Direction:=wdCollapseEnd
300
+ parsedText.Find.Execute FindText:=enduml, Forward:=True
301
+ Loop
302
+ ActiveDocument.TrackRevisions = bTrackRevFlag
303
+
304
+ '
305
+ ' Phase 3 : suppression of temporary files (text and PNG)
306
+ '
307
+ Phase3:
308
+ statusButton.Caption = "Delete"
309
+ statusButton.Visible = False
310
+ statusButton.Visible = True
311
+ On Error Resume Next
312
+ Kill (jarPath & "\" & documentId & "_extr*.*")
313
+ On Error GoTo 0
314
+
315
+ Macro_UML_exit:
316
+
317
+ statusButton.Visible = False
318
+
319
+ 'We show the hidden description text
320
+ Call ShowHiddenText
321
+ DoubleCheckStyle
322
+ Exit Function
323
+
324
+
325
+ ' This is need when the very last line of the Word document is @enduml
326
+ LastParagraph:
327
+ Selection.EndKey Unit:=wdStory
328
+ Selection.TypeParagraph
329
+ Selection.ClearFormatting
330
+
331
+ imagesDirectory = jarPath & "\" & documentId & "_extr" & Right("000" & currentIndex, 4) & "*.png"
332
+ image = Dir(imagesDirectory)
333
+ While image <> ""
334
+ ' Contain the text of the error
335
+ errorTextFile = jarPath & "\" & Left(image, Len(image) - 4) & ".err"
336
+
337
+ Set currentParagraph = ActiveDocument.Paragraphs.Add.Range
338
+ Set currentRange = currentParagraph.Paragraphs(1).Next.Range
339
+ currentParagraph.Style = "PlantUMLImg"
340
+ currentParagraph.Collapse
341
+
342
+ Set image = currentParagraph.InlineShapes.AddPicture _
343
+ (FileName:=jarPath & "\" & image _
344
+ , LinkToFile:=False, SaveWithDocument:=True)
345
+
346
+ If fs.FileExists(errorTextFile) Then
347
+ image.AlternativeText = LoadTextFile(errorTextFile)
348
+ Beep
349
+ Else
350
+ image.AlternativeText = "Generated by PlantUML"
351
+ End If
352
+
353
+ If image.ScaleHeight > 100 Or image.ScaleWidth > 100 Then
354
+ image.Reset
355
+ End If
356
+ image = Dir()
357
+ Wend
358
+
359
+ 'Resume Next
360
+ GoTo Phase3
361
+
362
+ End Function
363
+
364
+ ' =========================================================
365
+ ' Initialize the plantuml ToolBar
366
+ Function ToolbarInit()
367
+
368
+ On Error GoTo ToolbarCreation
369
+ Set toolBar = ActiveDocument.CommandBars("UML")
370
+ On Error GoTo 0
371
+ toolBar.Visible = True
372
+
373
+ On Error GoTo ButtonAdd
374
+ Set currentButton = toolBar.Controls(1)
375
+ On Error GoTo 0
376
+ currentButton.OnAction = "Module1.SwitchP"
377
+ currentButton.Style = msoButtonCaption
378
+ currentButton.Caption = Chr(182)
379
+ currentButton.Visible = True
380
+
381
+ On Error GoTo ButtonAdd
382
+ Set currentButton = toolBar.Controls(2)
383
+ On Error GoTo 0
384
+ currentButton.OnAction = "Module1.ShowPlantuml"
385
+ currentButton.Style = msoButtonCaption
386
+ currentButton.Caption = "Show PlantUML"
387
+ currentButton.Visible = True
388
+
389
+ On Error GoTo ButtonAdd
390
+ Set currentButton = toolBar.Controls(3)
391
+ On Error GoTo 0
392
+ currentButton.OnAction = "Module1.HidePlantuml"
393
+ currentButton.Style = msoButtonCaption
394
+ currentButton.Caption = "Hide PlantUML"
395
+ currentButton.Visible = True
396
+
397
+ On Error GoTo ButtonAdd
398
+ Set currentButton = toolBar.Controls(4)
399
+ On Error GoTo 0
400
+ currentButton.OnAction = "Module1.Macro_UML_all"
401
+ currentButton.Style = msoButtonCaption
402
+ currentButton.Caption = "UML.*"
403
+ currentButton.Visible = True
404
+
405
+ On Error GoTo ButtonAdd
406
+ Set currentButton = toolBar.Controls(5)
407
+ On Error GoTo 0
408
+ currentButton.OnAction = "Module1.Macro_UML_parg"
409
+ currentButton.Style = msoButtonCaption
410
+ currentButton.Caption = "UML.1"
411
+ currentButton.Visible = True
412
+
413
+ On Error GoTo ButtonAdd
414
+ Set currentButton = toolBar.Controls(6)
415
+ On Error GoTo 0
416
+ currentButton.OnAction = ""
417
+ currentButton.Style = msoButtonCaption
418
+ currentButton.Caption = "Trace"
419
+ currentButton.Visible = True
420
+ Exit Function
421
+
422
+ ToolbarCreation:
423
+ Set toolBar = ActiveDocument.CommandBars.Add(Name:="UML")
424
+ Resume Next
425
+
426
+ ButtonAdd:
427
+ Set currentButton = toolBar.Controls.Add(Type:=msoControlButton, Before:=toolBar.Controls.Count + 1)
428
+ Resume Next
429
+
430
+ End Function
431
+
432
+ ' =========================================================
433
+ ' We need to double check that the style is present in the document
434
+ Function DoubleCheckStyle()
435
+ CreateStyle
436
+ CreateStyleImg
437
+ Set myStyle = ActiveDocument.Styles("PlantUML")
438
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
439
+
440
+ myStyle.AutomaticallyUpdate = True
441
+ With myStyle.Font
442
+ .Name = "Courier New"
443
+ .Size = 9
444
+ .Hidden = False
445
+ .Hidden = True
446
+ .Color = wdColorGreen
447
+ End With
448
+ End Function
449
+
450
+ ' =========================================================
451
+ Function CreateStyle()
452
+ On Error GoTo CreateStyleAdding
453
+ Set myStyle = ActiveDocument.Styles("PlantUML")
454
+ Exit Function
455
+ CreateStyleAdding:
456
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUML", Type:=wdStyleTypeParagraph)
457
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
458
+ myStyle.AutomaticallyUpdate = True
459
+ With myStyle.Font
460
+ .Name = "Courier New"
461
+ .Size = 9
462
+ .Hidden = False
463
+ .Hidden = True
464
+ .Color = wdColorGreen
465
+ End With
466
+ With myStyle.ParagraphFormat
467
+ With .Shading
468
+ .Texture = wdTextureNone
469
+ .ForegroundPatternColor = wdColorAutomatic
470
+ .BackgroundPatternColor = wdColorLightGreen
471
+ End With
472
+
473
+ .LeftIndent = CentimetersToPoints(0)
474
+ With .Shading
475
+ .Texture = wdTextureNone
476
+ .ForegroundPatternColor = wdColorAutomatic
477
+ .BackgroundPatternColor = 12254650
478
+ End With
479
+ With .Borders(wdBorderLeft)
480
+ .LineStyle = wdLineStyleDashLargeGap
481
+ .LineWidth = wdLineWidth050pt
482
+ .Color = 3910491
483
+ End With
484
+ With .Borders(wdBorderRight)
485
+ .LineStyle = wdLineStyleDashLargeGap
486
+ .LineWidth = wdLineWidth050pt
487
+ .Color = 3910491
488
+ End With
489
+ With .Borders(wdBorderTop)
490
+ .LineStyle = wdLineStyleDashLargeGap
491
+ .LineWidth = wdLineWidth050pt
492
+ .Color = 3910491
493
+ End With
494
+ With .Borders(wdBorderBottom)
495
+ .LineStyle = wdLineStyleDashLargeGap
496
+ .LineWidth = wdLineWidth050pt
497
+ .Color = 3910491
498
+ End With
499
+ With .Borders
500
+ .DistanceFromTop = 1
501
+ .DistanceFromLeft = 4
502
+ .DistanceFromBottom = 1
503
+ .DistanceFromRight = 4
504
+ .Shadow = False
505
+ End With
506
+ End With
507
+
508
+ ' ajout des tabulations
509
+ myStyle.NoSpaceBetweenParagraphsOfSameStyle = False
510
+ myStyle.ParagraphFormat.TabStops.ClearAll
511
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
512
+ CentimetersToPoints(1), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
513
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
514
+ CentimetersToPoints(2), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
515
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
516
+ CentimetersToPoints(3), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
517
+ myStyle.ParagraphFormat.TabStops.Add Position:= _
518
+ CentimetersToPoints(4), Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
519
+
520
+
521
+ End Function
522
+
523
+ ' =========================================================
524
+ Function CreateStyleImg()
525
+ On Error GoTo CreateStyleImgAdding
526
+ Set myStyle = ActiveDocument.Styles("PlantUMLImg")
527
+ myStyle.BaseStyle = ActiveDocument.Styles.Item(1).BaseStyle
528
+ On Error GoTo 0
529
+ Exit Function
530
+ CreateStyleImgAdding:
531
+ Set myStyle = ActiveDocument.Styles.Add(Name:="PlantUMLImg", Type:=wdStyleTypeParagraph)
532
+ myStyle.AutomaticallyUpdate = True
533
+ End Function
534
+
535
+ ' =========================================================
536
+ ' We show the hidden text
537
+ Function ShowPlantuml()
538
+ DoubleCheckStyle
539
+
540
+ 'WordBasic.ShowComments
541
+ ' We put a bookmark to retrieve position after showing the text
542
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
543
+
544
+ Set myStyle = ActiveDocument.Styles("PlantUML")
545
+ Set toolBar = ActiveDocument.CommandBars("UML")
546
+
547
+ toolBar.Controls(2).Visible = False
548
+ toolBar.Controls(3).Visible = True
549
+ toolBar.Controls(4).Visible = True
550
+ toolBar.Controls(5).Visible = True
551
+
552
+ Call ShowHiddenText
553
+
554
+ 'We go back to the bookmark and we delete it
555
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
556
+ ActiveDocument.Bookmarks(Index:="Position").Delete
557
+
558
+ End Function
559
+
560
+
561
+ ' =========================================================
562
+ ' MSR - gestion de l'option d'affichage des textes masques du style : "PlantUML"
563
+ Function HidePlantuml()
564
+ DoubleCheckStyle
565
+ 'WordBasic.ShowComments
566
+ ' We put a bookmark to retrieve position after showing the text
567
+ ActiveDocument.Bookmarks.Add Name:="Position", Range:=Selection.Range
568
+
569
+ Set myStyle = ActiveDocument.Styles("PlantUML")
570
+ Set toolBar = ActiveDocument.CommandBars("UML")
571
+
572
+ toolBar.Controls(2).Visible = True
573
+ toolBar.Controls(3).Visible = False
574
+ toolBar.Controls(4).Visible = False
575
+ toolBar.Controls(5).Visible = False
576
+
577
+ Call HideHiddenText
578
+
579
+ 'We go back to the bookmark and we delete it
580
+ Selection.GoTo What:=wdGoToBookmark, Name:="Position"
581
+ ActiveDocument.Bookmarks(Index:="Position").Delete
582
+
583
+ End Function
584
+
585
+ ' =========================================================
586
+ Function HideHiddenText()
587
+ ActiveDocument.ActiveWindow.View.ShowAll = False
588
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = False
589
+ End Function
590
+
591
+ ' =========================================================
592
+ Function ShowHiddenText()
593
+ ActiveDocument.ActiveWindow.View.ShowAll = False
594
+ ActiveDocument.ActiveWindow.View.ShowHiddenText = True
595
+ End Function
596
+
597
+ ' =========================================================
598
+ Function SwitchP()
599
+ flag = Not (ActiveDocument.ActiveWindow.View.ShowTabs)
600
+ ActiveDocument.ActiveWindow.View.ShowParagraphs = flag
601
+ ActiveDocument.ActiveWindow.View.ShowTabs = flag
602
+ ActiveDocument.ActiveWindow.View.ShowSpaces = flag
603
+ ActiveDocument.ActiveWindow.View.ShowHyphens = flag
604
+ ActiveDocument.ActiveWindow.View.ShowAll = False
605
+ End Function
606
+
607
+ ' =========================================================
608
+ ' \\ Function to return the full content of a text file as a string
609
+ 'from http://www.vbaexpress.com/kb/getarticle.php?kb_id=699
610
+ Function LoadTextFile(sFile) As String
611
+ Dim iFile As Integer
612
+
613
+ On Local Error Resume Next
614
+ ' \\ Use FreeFile to supply a file number that is not already in use
615
+ iFile = FreeFile
616
+
617
+ ' \\ ' Open file for input.
618
+ Open sFile For Input As #iFile
619
+
620
+ ' \\ Return (Read) the whole content of the file to the function
621
+ LoadTextFile = Input$(LOF(iFile), iFile)
622
+
623
+ Close #iFile
624
+
625
+ End Function
626
+
627
+
628
+
plantuml/old/plantuml-7971.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fe2855c50ef9f9b8e1257a53482d8fac4cd717cf4934d6638291d274b982fb9
3
+ size 855952
plantuml/old/plantuml-7972.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1053ec9ca0f83e88faa53e2110117f3622e9ec3fa8d0588c4171124008a89590
3
+ size 863798
plantuml/old/plantuml-7973.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56db46fcba9d5a6daa831b05d8d35e3bfe83f11f1d012032465e3121dee3f73d
3
+ size 866663
plantuml/old/plantuml-7974.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b02826e144032099f5bfe16a7ef105a73eea3fa144c0d2e5426cd1d73d417b45
3
+ size 863723
plantuml/old/plantuml-7975.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57fcf232dcaa02893f3463e50ca3c67b1f75efbbdfa7b7984fcad1015a88bfdc
3
+ size 864166