mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-29 03:46:55 +08:00
-修复无法为无跳转目标书签设置页码的问题
This commit is contained in:
@@ -21,7 +21,7 @@ namespace PDFPatcher.Processor
|
||||
int p = item.GetValue(Constants.DestinationAttributes.Page, 0);
|
||||
var a = item.GetValue(Constants.DestinationAttributes.Action);
|
||||
if (a != Constants.ActionType.Goto && a != Constants.ActionType.GotoR
|
||||
&& (a is null && TakeFollowing) == false
|
||||
&& (a is null && TakeFollowing) == false && Amount == 0
|
||||
|| String.IsNullOrEmpty(a) == false && p <= 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user