Fixed build
This commit is contained in:
Родитель
92263685d7
Коммит
db9db95dcc
|
@ -204,7 +204,7 @@ namespace QuestPDF.Examples
|
|||
|
||||
text.EmptyLine();
|
||||
|
||||
text.ExternalLocation("Please visit QuestPDF website", "https://www.questpdf.com");
|
||||
text.Hyperlink("Please visit QuestPDF website", "https://www.questpdf.com");
|
||||
|
||||
text.EmptyLine();
|
||||
|
||||
|
@ -258,7 +258,7 @@ namespace QuestPDF.Examples
|
|||
{
|
||||
text.Line($"{i}: {Placeholders.Paragraph()}");
|
||||
|
||||
text.ExternalLocation("Please visit QuestPDF website", "https://www.questpdf.com");
|
||||
text.Hyperlink("Please visit QuestPDF website", "https://www.questpdf.com");
|
||||
|
||||
text.Span("This is page number ");
|
||||
text.CurrentPageNumber();
|
||||
|
@ -289,9 +289,7 @@ namespace QuestPDF.Examples
|
|||
|
||||
page.Size(PageSizes.A4);
|
||||
|
||||
page.Content().Text(
|
||||
"This is a specially crafted sentence with a specially chosen length for demonstration of the bug that occurs ;;;;;. ",
|
||||
TextStyle.Default.Size(11).BackgroundColor(Colors.Red.Lighten3));
|
||||
page.Content().Text("This is a specially crafted sentence with a specially chosen length for demonstration of the bug that occurs ;;;;;. ").FontSize(11).BackgroundColor(Colors.Red.Lighten3);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -314,9 +312,7 @@ namespace QuestPDF.Examples
|
|||
|
||||
page.Size(PageSizes.A4);
|
||||
|
||||
page.Content().Text(
|
||||
" ",
|
||||
TextStyle.Default.FontSize(11).BackgroundColor(Colors.Red.Lighten3));
|
||||
page.Content().Text(" ").FontSize(11).BackgroundColor(Colors.Red.Lighten3);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -339,9 +335,7 @@ namespace QuestPDF.Examples
|
|||
|
||||
page.Size(PageSizes.A4);
|
||||
|
||||
page.Content().Text(
|
||||
" x ",
|
||||
TextStyle.Default.FontSize(11).BackgroundColor(Colors.Red.Lighten3));
|
||||
page.Content().Text(" x ").FontSize(11).BackgroundColor(Colors.Red.Lighten3);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
- Added a `ScaleToFit` element - scales its child down so it fits in the provided space,
|
||||
- Added a `StopPaging` element - when its child requires more than one page to fully render, only the first page is shown,
|
||||
- Added a 'LineVertical' and a 'LineHorizontal' elements - those will simplify your code a lot, there is no need to use the `Border` element anymore!
|
||||
- Renaming: the `Stack` element was renamed to the `Column` element,
|
||||
- Renaming: children of the `Row` element are now called `items` instead of `columns`, e.g. `RelativeItem` instead of `RelativeColumn`,
|
||||
- Added support of the `AutoItem` to the `Row` element - those items take as little width as possible,
|
||||
- Improved default Fluent configuration behavior for elements: Scale, Padding, Translate,
|
||||
- Improved integration support with the HttpContext.Response.Body. This improvement was introduced by schulz3000, thank you!
|
||||
- Added minimal API to help you quickly start with QuestPDF development and speed up prototyping,
|
||||
- Improved exception message when desired font type cannot be found (instead of loading default font on Windows and failing with wrong characters on Linux),
|
||||
- Improved support for custom font types: loading all type faces from a file, respecting true font family, using CSS-like algorithm to find best style match,
|
||||
- Renaming: the `ExternalLink` element was renamed to the `Hyperlink` element,
|
||||
- Renaming: the `Location` element was renamed to the `Section` element,
|
||||
- Renaming: the `InternalLink` element was renamed to the `SectionLink` element,
|
||||
- Added support for custom page number formats in the `Text` element, e.g. you can implement roman literal style if required,
|
||||
- Extended support for the `Section` element (previously the `Location` element) by tracking: beginning page number, end page number, page length, page number within location,
|
||||
- Updated homepage and GitHub pages content.
|
Загрузка…
Ссылка в новой задаче