@@ -1103,10 +1103,6 @@ | ||
1103 | 1103 | |
1104 | 1104 | Dim sScr As String = "Img/" & sText |
1105 | 1105 | |
1106 | - If kbnDEP = emEpub6.emDep.Dep0 Then | |
1107 | - sScr = "" & sScr | |
1108 | - End If | |
1109 | - | |
1110 | 1106 | If kbnDEP = emEpub6.emDep.Dep1 Then |
1111 | 1107 | sScr = "../" & sScr |
1112 | 1108 | End If |
@@ -1115,6 +1111,10 @@ | ||
1115 | 1111 | sScr = "../../" & sScr |
1116 | 1112 | End If |
1117 | 1113 | |
1114 | + If kbnDEP = emEpub6.emDep.Dep3 Then | |
1115 | + sScr = "../../../" & sScr | |
1116 | + End If | |
1117 | + | |
1118 | 1118 | Dim sImg = "<img alt="""" src=""" & sScr & """/>" |
1119 | 1119 | |
1120 | 1120 |
@@ -1146,9 +1146,6 @@ | ||
1146 | 1146 | |
1147 | 1147 | Dim sScr As String = "Img/" & sImgName |
1148 | 1148 | |
1149 | - If kbnDEP = emEpub6.emDep.Dep0 Then | |
1150 | - sScr = "" & sScr | |
1151 | - End If | |
1152 | 1149 | |
1153 | 1150 | If kbnDEP = emEpub6.emDep.Dep1 Then |
1154 | 1151 | sScr = "../" & sScr |
@@ -1158,6 +1155,10 @@ | ||
1158 | 1155 | sScr = "../../" & sScr |
1159 | 1156 | End If |
1160 | 1157 | |
1158 | + If kbnDEP = emEpub6.emDep.Dep3 Then | |
1159 | + sScr = "../../../" & sScr | |
1160 | + End If | |
1161 | + | |
1161 | 1162 | Dim sImg = "<img alt="""" src=""" & sScr & """/>" |
1162 | 1163 | |
1163 | 1164 |
@@ -1400,7 +1401,6 @@ | ||
1400 | 1401 | End Enum |
1401 | 1402 | |
1402 | 1403 | Enum emDep As Integer |
1403 | - Dep0 | |
1404 | 1404 | Dep1 |
1405 | 1405 | Dep2 |
1406 | 1406 | Dep3 |
@@ -1343,16 +1343,16 @@ | ||
1343 | 1343 | Dim listTemp As List(Of String) = sScr.Split("/").ToList() |
1344 | 1344 | sScr = "Img/" & listTemp(listTemp.Count - 1) |
1345 | 1345 | |
1346 | - If iDep = emEpub6.emDep.Dep0 Then | |
1347 | - sScr = "../../../" & sScr | |
1346 | + If iDep = emEpub6.emDep.Dep1 Then | |
1347 | + sScr = "../" & sScr | |
1348 | 1348 | End If |
1349 | 1349 | |
1350 | - If iDep = emEpub6.emDep.Dep1 Then | |
1350 | + If iDep = emEpub6.emDep.Dep2 Then | |
1351 | 1351 | sScr = "../../" & sScr |
1352 | 1352 | End If |
1353 | 1353 | |
1354 | - If iDep = emEpub6.emDep.Dep2 Then | |
1355 | - sScr = "../" & sScr | |
1354 | + If iDep = emEpub6.emDep.Dep3 Then | |
1355 | + sScr = "../../../" & sScr | |
1356 | 1356 | End If |
1357 | 1357 | |
1358 | 1358 | sGaiji = "<img class=""mobiImgChar_inline"" alt="""" src=""" & sScr & """/>" |
@@ -1366,15 +1366,15 @@ | ||
1366 | 1366 | Dim listTemp As List(Of String) = sScr.Split("/").ToList() |
1367 | 1367 | sScr = "Img/" & listTemp(listTemp.Count - 1) |
1368 | 1368 | |
1369 | - If iDep = emEpub6.emDep.Dep0 Then | |
1369 | + If iDep = emEpub6.emDep.Dep1 Then | |
1370 | 1370 | sScr = "../" & sScr |
1371 | 1371 | End If |
1372 | 1372 | |
1373 | - If iDep = emEpub6.emDep.Dep1 Then | |
1373 | + If iDep = emEpub6.emDep.Dep2 Then | |
1374 | 1374 | sScr = "../../" & sScr |
1375 | 1375 | End If |
1376 | 1376 | |
1377 | - If iDep = emEpub6.emDep.Dep2 Then | |
1377 | + If iDep = emEpub6.emDep.Dep3 Then | |
1378 | 1378 | sScr = "../../../" & sScr |
1379 | 1379 | End If |
1380 | 1380 |