Skip to content

Commit dd9eff2

Browse files
committed
Merge branch 'release/2.2.0'
2 parents ac80dcf + 4c7eb57 commit dd9eff2

67 files changed

Lines changed: 112 additions & 77 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

GotenbergSharpApiClient.sln.DotSettings

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2-
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue"> Copyright 2019-$CURRENT_YEAR$ Chris Mohan, Jaben Cargman&#xD;
2+
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue"> Copyright 2019-${CurrentDate.Year} Chris Mohan, Jaben Cargman&#xD;
33
and GotenbergSharpApiClient Contributors&#xD;
44
&#xD;
55
Licensed under the Apache License, Version 2.0 (the "License");&#xD;
@@ -13,6 +13,7 @@
1313
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xD;
1414
See the License for the specific language governing permissions and&#xD;
1515
limitations under the License.</s:String>
16+
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeature_002EServices_002ECodeCleanup_002EFileHeader_002EFileHeaderSettingsMigrate/@EntryIndexedValue">True</s:Boolean>
1617
<s:Boolean x:Key="/Default/UserDictionary/Words/=Backoff/@EntryIndexedValue">True</s:Boolean>
1718
<s:Boolean x:Key="/Default/UserDictionary/Words/=Consts/@EntryIndexedValue">True</s:Boolean>
1819
<s:Boolean x:Key="/Default/UserDictionary/Words/=deliverables/@EntryIndexedValue">True</s:Boolean>

README.md

Lines changed: 3 additions & 3 deletions

lib/Domain/Builders/BaseBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/BaseChromiumBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/BaseMergeBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/Faceted/AssetBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/Faceted/ConfigBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/Faceted/DimensionBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/Faceted/DocumentBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");

lib/Domain/Builders/Faceted/HtmlConversionBehaviorBuilder.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019-2022 Chris Mohan, Jaben Cargman
1+
// Copyright 2019-2024 Chris Mohan, Jaben Cargman
22
// and GotenbergSharpApiClient Contributors
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -143,6 +143,18 @@ public HtmlConversionBehaviorBuilder EmulateAsScreen()
143143
return this;
144144
}
145145

146+
/// <summary>
147+
/// Gotenberg 8+ ONLY: Configures gotenberg to not wait for Chromium network to be idle.
148+
/// </summary>
149+
/// <returns></returns>
150+
[PublicAPI]
151+
public HtmlConversionBehaviorBuilder SkipNetworkIdleEvent()
152+
{
153+
this._htmlConversionBehaviors.SkipNetworkIdleEvent = true;
154+
155+
return this;
156+
}
157+
146158
/// <summary>
147159
/// Sets the format of the resulting PDF document
148160
/// </summary>

0 commit comments

Comments
 (0)