Skip to content

Commit

Permalink
pdfbox: support upstream links in PDF exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ratiud committed Dec 13, 2024
1 parent cc32904 commit bb2eec4
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
<node concept="3uibUv" id="3G_hsRko$tW" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRko$tX" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLsqah" role="3rvSg0" />
</node>
<node concept="2ShNRf" id="3G_hsRko_dn" role="33vP2m">
<node concept="3rGOSV" id="3G_hsRko_EM" role="2ShVmc" />
Expand Down Expand Up @@ -281,7 +281,7 @@
<node concept="3uibUv" id="3G_hsRko_YO" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRko_YN" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLspHW" role="3rvSg0" />
</node>
<node concept="2OqwBi" id="3G_hsRkoA87" role="33vP2m">
<node concept="37vLTw" id="3G_hsRkoA88" role="2Oq$k0">
Expand Down Expand Up @@ -327,7 +327,7 @@
<node concept="3uibUv" id="3G_hsRkbWwa" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkbWws" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLsqwl" role="3rvSg0" />
</node>
</node>
<node concept="13i0hz" id="3TNxfDZ5$jM" role="13h7CS">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,11 @@
</language>
<language id="7866978e-a0f0-4cc7-81bc-4d213d9375e1" name="jetbrains.mps.lang.smodel">
<concept id="1179409122411" name="jetbrains.mps.lang.smodel.structure.Node_ConceptMethodCall" flags="nn" index="2qgKlT" />
<concept id="1145383075378" name="jetbrains.mps.lang.smodel.structure.SNodeListType" flags="in" index="2I9FWS" />
<concept id="1145404486709" name="jetbrains.mps.lang.smodel.structure.SemanticDowncastExpression" flags="nn" index="2JrnkZ">
<child id="1145404616321" name="leftExpression" index="2JrQYb" />
</concept>
<concept id="1145567426890" name="jetbrains.mps.lang.smodel.structure.SNodeListCreator" flags="nn" index="2T8Vx0">
<child id="1145567471833" name="createdType" index="2T96Bj" />
<concept id="1180636770613" name="jetbrains.mps.lang.smodel.structure.SNodeCreator" flags="nn" index="3zrR0B">
<child id="1180636770616" name="createdType" index="3zrR0E" />
</concept>
<concept id="1138055754698" name="jetbrains.mps.lang.smodel.structure.SNodeType" flags="in" index="3Tqbb2">
<reference id="1138405853777" name="concept" index="ehGHo" />
Expand Down Expand Up @@ -291,9 +290,6 @@
<concept id="1204796164442" name="jetbrains.mps.baseLanguage.collections.structure.InternalSequenceOperation" flags="nn" index="23sCx2">
<child id="1204796294226" name="closure" index="23t8la" />
</concept>
<concept id="540871147943773365" name="jetbrains.mps.baseLanguage.collections.structure.SingleArgumentSequenceOperation" flags="nn" index="25WWJ4">
<child id="540871147943773366" name="argument" index="25WWJ7" />
</concept>
<concept id="1204980550705" name="jetbrains.mps.baseLanguage.collections.structure.VisitAllOperation" flags="nn" index="2es0OD" />
<concept id="1151689724996" name="jetbrains.mps.baseLanguage.collections.structure.SequenceType" flags="in" index="A3Dl8">
<child id="1151689745422" name="elementType" index="A3Ik2" />
Expand All @@ -306,7 +302,6 @@
<concept id="1153944233411" name="jetbrains.mps.baseLanguage.collections.structure.ForEachVariableReference" flags="nn" index="2GrUjf">
<reference id="1153944258490" name="variable" index="2Gs0qQ" />
</concept>
<concept id="1160612413312" name="jetbrains.mps.baseLanguage.collections.structure.AddElementOperation" flags="nn" index="TSZUe" />
<concept id="4611582986551314327" name="jetbrains.mps.baseLanguage.collections.structure.OfTypeOperation" flags="nn" index="UnYns">
<child id="4611582986551314344" name="requestedType" index="UnYnz" />
</concept>
Expand Down Expand Up @@ -345,7 +340,7 @@
<node concept="3uibUv" id="3G_hsRkbWwa" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkbWws" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLsokk" role="3rvSg0" />
</node>
<node concept="3clFbS" id="5rjUx$vLwAF" role="3clF47" />
<node concept="P$JXv" id="3G_hsRkbWwI" role="lGtFl">
Expand Down Expand Up @@ -785,15 +780,17 @@
<node concept="3uibUv" id="3G_hsRkcpHP" role="3rHrn6">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkcpHQ" role="3rHtpV" />
<node concept="3Tqbb2" id="2r2W9PLu6oY" role="3rHtpV" />
<node concept="3Mi1_Z" id="3G_hsRkcpHR" role="3Mj9YC">
<node concept="3Milgn" id="3G_hsRkcpHS" role="3MiYds">
<node concept="37vLTw" id="3G_hsRkcpHT" role="3MiK7k">
<ref role="3cqZAo" node="24pF5$oTFcc" resolve="titlePage" />
</node>
<node concept="2ShNRf" id="3G_hsRkcpHU" role="3MiMdn">
<node concept="2T8Vx0" id="3G_hsRkcpHV" role="2ShVmc">
<node concept="2I9FWS" id="3G_hsRkcpHW" role="2T96Bj" />
<node concept="3zrR0B" id="2r2W9PLu8X2" role="2ShVmc">
<node concept="3Tqbb2" id="2r2W9PLu8X5" role="3zrR0E">
<ref role="ehGHo" to="tpck:gw2VY9q" resolve="BaseConcept" />
</node>
</node>
</node>
</node>
Expand All @@ -812,7 +809,7 @@
<node concept="3uibUv" id="3G_hsRkcqVN" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkcrvj" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLu4Vx" role="3rvSg0" />
</node>
</node>
</node>
Expand Down Expand Up @@ -896,7 +893,7 @@
<node concept="3uibUv" id="3G_hsRkddb8" role="3rHrn6">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkddb9" role="3rHtpV" />
<node concept="3Tqbb2" id="2r2W9PLu1bu" role="3rHtpV" />
</node>
</node>
</node>
Expand All @@ -908,49 +905,26 @@
</node>
</node>
</node>
<node concept="3cpWs8" id="3G_hsRkctXR" role="3cqZAp">
<node concept="3cpWsn" id="3G_hsRkctXU" role="3cpWs9">
<property role="TrG5h" value="nodes" />
<node concept="2I9FWS" id="3G_hsRkctXP" role="1tU5fm" />
<node concept="2ShNRf" id="3G_hsRkcu8X" role="33vP2m">
<node concept="2T8Vx0" id="3G_hsRkcvEN" role="2ShVmc">
<node concept="2I9FWS" id="3G_hsRkcvEP" role="2T96Bj" />
</node>
</node>
</node>
</node>
<node concept="3clFbF" id="3G_hsRkcvM$" role="3cqZAp">
<node concept="2OqwBi" id="3G_hsRkcxFN" role="3clFbG">
<node concept="37vLTw" id="3G_hsRkcvMy" role="2Oq$k0">
<ref role="3cqZAo" node="3G_hsRkctXU" resolve="nodes" />
</node>
<node concept="TSZUe" id="3G_hsRkcAr0" role="2OqNvi">
<node concept="2OqwBi" id="3G_hsRkcAJt" role="25WWJ7">
<node concept="13iPFW" id="3G_hsRkcAxO" role="2Oq$k0" />
<node concept="3TrEf2" id="3G_hsRkcBcG" role="2OqNvi">
<ref role="3Tt5mk" to="1ob6:24pF5$oX9Ce" resolve="rootNode" />
</node>
</node>
</node>
</node>
</node>
<node concept="3cpWs6" id="3G_hsRkcsMw" role="3cqZAp">
<node concept="2ShNRf" id="3G_hsRkcsMx" role="3cqZAk">
<node concept="3rGOSV" id="3G_hsRkcsMy" role="2ShVmc">
<node concept="3uibUv" id="3G_hsRkcsMz" role="3rHrn6">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkcsM$" role="3rHtpV" />
<node concept="3Mi1_Z" id="3G_hsRkcsM_" role="3Mj9YC">
<node concept="3Milgn" id="3G_hsRkcsMA" role="3MiYds">
<node concept="37vLTw" id="3G_hsRkcsMB" role="3MiK7k">
<ref role="3cqZAo" node="3G_hsRkcsY5" resolve="page" />
</node>
<node concept="37vLTw" id="3G_hsRkcBiq" role="3MiMdn">
<ref role="3cqZAo" node="3G_hsRkctXU" resolve="nodes" />
<node concept="2OqwBi" id="2r2W9PLu2DW" role="3MiMdn">
<node concept="13iPFW" id="2r2W9PLu2DX" role="2Oq$k0" />
<node concept="3TrEf2" id="2r2W9PLu2DY" role="2OqNvi">
<ref role="3Tt5mk" to="1ob6:24pF5$oX9Ce" resolve="rootNode" />
</node>
</node>
</node>
</node>
<node concept="3Tqbb2" id="2r2W9PLu1KJ" role="3rHtpV" />
</node>
</node>
</node>
Expand All @@ -965,7 +939,7 @@
<node concept="3uibUv" id="3G_hsRkctpP" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkctIQ" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLu0LW" role="3rvSg0" />
</node>
</node>
</node>
Expand Down Expand Up @@ -1012,15 +986,17 @@
<node concept="3uibUv" id="3G_hsRkclTp" role="3rHrn6">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkclVf" role="3rHtpV" />
<node concept="3Tqbb2" id="2r2W9PLtDwX" role="3rHtpV" />
<node concept="3Mi1_Z" id="3G_hsRkcmfP" role="3Mj9YC">
<node concept="3Milgn" id="3G_hsRkcmhy" role="3MiYds">
<node concept="37vLTw" id="3G_hsRkcmjr" role="3MiK7k">
<ref role="3cqZAo" node="24pF5$oXRKC" resolve="emptyPage" />
</node>
<node concept="2ShNRf" id="3G_hsRkcmli" role="3MiMdn">
<node concept="2T8Vx0" id="3G_hsRkco7E" role="2ShVmc">
<node concept="2I9FWS" id="3G_hsRkco7G" role="2T96Bj" />
<node concept="3zrR0B" id="2r2W9PLtZIQ" role="2ShVmc">
<node concept="3Tqbb2" id="2r2W9PLtZIT" role="3zrR0E">
<ref role="ehGHo" to="tpck:gw2VY9q" resolve="BaseConcept" />
</node>
</node>
</node>
</node>
Expand All @@ -1039,7 +1015,7 @@
<node concept="3uibUv" id="3G_hsRkc06l" role="3rvQeY">
<ref role="3uigEE" to="yid2:~PDPage" resolve="PDPage" />
</node>
<node concept="2I9FWS" id="3G_hsRkc0hx" role="3rvSg0" />
<node concept="3Tqbb2" id="2r2W9PLtCAA" role="3rvSg0" />
</node>
</node>
</node>
Expand Down
Loading

0 comments on commit bb2eec4

Please sign in to comment.