BarChart.setPicTitle(docxDocument,"Figure "+(number+4)+" Classification statistics of altitude");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with an altitude lower than 400m is "+BarChart.fun(main.getAltitudes().get(0).getLevel1()*0.01)+" km², the area with 400-600m is "+BarChart.fun(main.getAltitudes().get(0).getLevel2()*0.01)+" km², the area with 600-1000m is "+BarChart.fun(main.getAltitudes().get(0).getLevel3()*0.01)+" km², and the area with 1000-1500m is "+BarChart.fun(main.getAltitudes().get(0).getLevel4()*0.01)+" km². The area with an altitude higher than 1500m is "+BarChart.fun(main.getAltitudes().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+6)+" Classification statistics of aspect");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with the north aspect is "+BarChart.fun(main.getAspects().get(0).getNorth()/100)+
" km², the area with the northeast aspect is "+BarChart.fun(main.getAspects().get(0).getNortheast()/100)+
" km², the area with the east aspect is "+BarChart.fun(main.getAspects().get(0).getEast()/100)+
" km², the area with the southeast aspect is "+BarChart.fun(main.getAspects().get(0).getSoutheast()/100)+
" km², and the area with the south aspect is "+BarChart.fun(main.getAspects().get(0).getSouth()/100)+
" km², the area with the southwest aspect is "+BarChart.fun(main.getAspects().get(0).getSouthwest()/100)+
" km², the area with the west aspect is "+BarChart.fun(main.getAspects().get(0).getWest()/100)+
" km², and the area with the northwest aspect is "+BarChart.fun(main.getAspects().get(0).getNorthwest()/100)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+8)+" Classification statistics of slope");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of slope less than 10° is "+BarChart.fun(main.getSlopes().get(0).getLevel1()*0.01)+" km², the area of 10°-30° is "+BarChart.fun(main.getSlopes().get(0).getLevel2()*0.01)+" km², the area of 30°-50° is "+BarChart.fun(main.getSlopes().get(0).getLevel3()*0.01)+" km², and the area of 50°-70° is "+BarChart.fun(main.getSlopes().get(0).getLevel4()*0.01)+"km². The area greater than 70° is "+BarChart.fun(main.getSlopes().get(0).getLevel5()*0.01)+" km².");
//2.2.2 沙化指数、湿度指数、盐渍化指数
BarChart.createSecondLevelTopic(docxDocument,i+2+".2.2. Monitoring results of soil index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+10)+" Classification statistics of soil desertification factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil desertification factor less than 0.1 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel2()*0.01)+"km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+12)+" Classification statistics of soil moisture factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil moisture factor less than 0.1 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel4()*0.01)+"km². The area greater than 0.7 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+14)+" Classification statistics of soil salinization factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, In 01 area, the area of soil salinization factor less than 0.1 is"+BarChart.fun(main.getSoilSalinizations().get(0).getLevel1()*0.01)+"km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel5()*0.01)+" km².");
//2.2.3 水域因子、道路因子
BarChart.createSecondLevelTopic(docxDocument,"2.2.3. Monitoring results of regional index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+16)+" Classification statistics of road factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of road factor less than 0.1 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel5()*0.01)+"km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+18)+" Classification statistics of water factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of water factor less than 0.1 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel5()*0.01)+" km².");
//2.3
BarChart.createSecondLevelTopic(docxDocument,i+2+".3. Monitoring results of planting suitability");
BarChart.setPicTitle(docxDocument,"Figure "+(number+20)+" Classification statistics of planting suitability");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+suitability.getZone()+" region, the area of very suitable region was "+BarChart.fun(suitability.getVerySuitable()/100)+
" km², accounting for "+BarChart.fun((suitability.getVerySuitable()/suitability.getTotalArea())*100)+"%. The area of suitable grade was "+BarChart.fun(suitability.getSuitable()/100)+
" km², accounting for "+BarChart.fun((suitability.getSuitable()/suitability.getTotalArea())*100)+"%. The area of unsuitable area was "+BarChart.fun(suitability.getNotSuitable()/100)+
" km², accounting for "+BarChart.fun((suitability.getNotSuitable()/suitability.getTotalArea())*100)+"%.");
number+=20;
}
response.setCharacterEncoding("UTF-8");
response.setContentType("application/msword");
//文件名
StringfileName="Evaluation report of planting monitoring in ITBA Nature Reserve - "+"Year:"+year+"("+zoneString+")"+".docx";
BarChart.setPicTitle(docxDocument,"Figure "+(number+2)+" Statistical data on land use types");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the total area of field is "+BarChart.fun(landUses.get(0).getArea()*0.01)+" km², the building is "+BarChart.fun(landUses.get(1).getArea()*0.01)+" km², the road is "+BarChart.fun(landUses.get(2).getArea()*0.01)+
" km², the water is "+BarChart.fun(landUses.get(3).getArea()*0.01)+" km², the forest is "+BarChart.fun(landUses.get(4).getArea()*0.01)+" km², the grass is "+BarChart.fun(landUses.get(5).getArea()*0.01)+" km², the soil is "+BarChart.fun(landUses.get(6).getArea()*0.01)+" km², the desert is "+
BarChart.fun(landUses.get(7).getArea()*0.01)+" km², the rock is "+BarChart.fun(landUses.get(8).getArea()*0.01)+" km², and other land use types are "+BarChart.fun(landUses.get(9).getArea()*0.01)+" km².");
BarChart.createSecondLevelTopic(docxDocument,i+2+".2 Monitoring results of planting suitability evaluation index");
//2.2.1海拔、坡向、坡度
//海拔
BarChart.createSecondLevelTopic(docxDocument,i+2+".2.1. Monitoring results of terrain index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+4)+" Classification statistics of altitude");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with an altitude lower than 400m is "+BarChart.fun(main.getAltitudes().get(0).getLevel1()*0.01)+" km², the area with 400-600m is "+BarChart.fun(main.getAltitudes().get(0).getLevel2()*0.01)+" km², the area with 600-1000m is "+BarChart.fun(main.getAltitudes().get(0).getLevel3()*0.01)+" km², and the area with 1000-1500m is "+BarChart.fun(main.getAltitudes().get(0).getLevel4()*0.01)+" km². The area with an altitude higher than 1500m is "+BarChart.fun(main.getAltitudes().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+6)+" Classification statistics of aspect");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with the north aspect is "+BarChart.fun(main.getAspects().get(0).getNorth()/100)+" km², the area with the northeast aspect is "+BarChart.fun(main.getAspects().get(0).getNortheast()/100)+" km², the area with the east aspect is "+BarChart.fun(main.getAspects().get(0).getEast()/100)+" km², the area with the southeast aspect is "+BarChart.fun(main.getAspects().get(0).getSoutheast()/100)+" km², and the area with the south aspect is "+BarChart.fun(main.getAspects().get(0).getNorth()/100)+" km², the area with the southwest aspect is "+BarChart.fun(main.getAspects().get(0).getSouthwest()/100)+" km², the area with the west aspect is "+BarChart.fun(main.getAspects().get(0).getWest()/100)+" km², and the area with the northwest aspect is "+BarChart.fun(main.getAspects().get(0).getNorthwest()/100)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+8)+" Classification statistics of slope");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of slope less than 10° is "+BarChart.fun(main.getSlopes().get(0).getLevel1()*0.01)+" km², the area of 10°-30° is "+BarChart.fun(main.getSlopes().get(0).getLevel2()*0.01)+" km², the area of 30°-50° is "+BarChart.fun(main.getSlopes().get(0).getLevel3()*0.01)+" km², and the area of 50°-70° is "+BarChart.fun(main.getSlopes().get(0).getLevel4()*0.01)+"km². The area greater than 70° is "+BarChart.fun(main.getSlopes().get(0).getLevel5()*0.01)+" km².");
//2.2.2 沙化指数、湿度指数、盐渍化指数
BarChart.createSecondLevelTopic(docxDocument,i+2+".2.2. Monitoring results of soil index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+10)+" Classification statistics of soil desertification factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil desertification factor less than 0.1 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel2()*0.01)+"km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+12)+" Classification statistics of soil moisture factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil moisture factor less than 0.1 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel4()*0.01)+"km². The area greater than 0.7 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+14)+" Classification statistics of soil salinization factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, In 01 area, the area of soil salinization factor less than "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel1()*0.01)+" is 252 km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel5()*0.01)+" km².");
//2.2.3 水域因子、道路因子
BarChart.createSecondLevelTopic(docxDocument,"2.2.3. Monitoring results of regional index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+16)+" Classification statistics of road factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of road factor less than 0.1 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel5()*0.01)+"km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+18)+" Classification statistics of water factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of water factor less than 0.1 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel5()*0.01)+" km².");
//2.3
BarChart.createSecondLevelTopic(docxDocument,i+2+".3. Monitoring results of planting suitability");
BarChart.setPicTitle(docxDocument,"Figure "+(number+20)+" Classification statistics of planting suitability");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+suitability.getZone()+" region, the area of very suitable region was "+BarChart.fun(suitability.getVerySuitable()/100)+" km², accounting for "+BarChart.getDoubleNumber((suitability.getVerySuitable()/suitability.getTotalArea()))+"%. The area of suitable grade was "+BarChart.fun(suitability.getSuitable()/100)+" km², accounting for "+BarChart.getDoubleNumber((suitability.getSuitable()/suitability.getTotalArea()))+"%. The area of unsuitable area was "+BarChart.fun(suitability.getNotSuitable()/100)+" km², accounting for "+BarChart.getDoubleNumber((suitability.getNotSuitable()/suitability.getTotalArea()))+"%.");
number+=20;
}
response.setCharacterEncoding("UTF-8");
response.setContentType("application/msword");
//文件名
StringfileName="Evaluation report of planting monitoring in ITBA Nature Reserve - "+"Year:"+year+"("+zoneString+")"+".docx";
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.