mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
Make LinkAnnotation public
Some checks failed
Build, test and publish draft / build (push) Has been cancelled
Build and test [MacOS] / build (push) Has been cancelled
Run Common Crawl Tests / build (0000-0001) (push) Has been cancelled
Run Common Crawl Tests / build (0002-0003) (push) Has been cancelled
Run Common Crawl Tests / build (0004-0005) (push) Has been cancelled
Run Common Crawl Tests / build (0006-0007) (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
Tag Release / tag_if_version_changed (push) Has been cancelled
Nightly Release / Check if this commit has already been published (push) Has been cancelled
Nightly Release / tests (push) Has been cancelled
Nightly Release / build_and_publish_nightly (push) Has been cancelled
Some checks failed
Build, test and publish draft / build (push) Has been cancelled
Build and test [MacOS] / build (push) Has been cancelled
Run Common Crawl Tests / build (0000-0001) (push) Has been cancelled
Run Common Crawl Tests / build (0002-0003) (push) Has been cancelled
Run Common Crawl Tests / build (0004-0005) (push) Has been cancelled
Run Common Crawl Tests / build (0006-0007) (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
Tag Release / tag_if_version_changed (push) Has been cancelled
Nightly Release / Check if this commit has already been published (push) Has been cancelled
Nightly Release / tests (push) Has been cancelled
Nightly Release / build_and_publish_nightly (push) Has been cancelled
This commit is contained in:
@@ -285,6 +285,7 @@
|
||||
"UglyToad.PdfPig.Util.Diacritics",
|
||||
"UglyToad.PdfPig.Util.WhitespaceSizeStatistics",
|
||||
"UglyToad.PdfPig.Writer.ITokenWriter",
|
||||
"UglyToad.PdfPig.Writer.LinkAnnotation",
|
||||
"UglyToad.PdfPig.Writer.PdfAStandard",
|
||||
"UglyToad.PdfPig.Writer.PdfDocumentBuilder",
|
||||
"UglyToad.PdfPig.Writer.PdfMerger",
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace UglyToad.PdfPig.Writer
|
||||
/// Represents a link annotation that can be added to a PDF page.
|
||||
/// Link annotations provide clickable areas that can trigger actions such as navigating to another page or opening a URL.
|
||||
/// </summary>
|
||||
internal sealed class LinkAnnotation
|
||||
public sealed class LinkAnnotation
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the border style for the link annotation.
|
||||
|
||||
@@ -855,7 +855,7 @@
|
||||
/// </summary>
|
||||
/// <param name="link">The link annotation to add</param>
|
||||
/// <returns>This page builder for method chaining</returns>
|
||||
private PdfPageBuilder AddLink(LinkAnnotation link)
|
||||
public PdfPageBuilder AddLink(LinkAnnotation link)
|
||||
{
|
||||
links.Add((link.ToToken(), link.Action));
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user