mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-18 05:02:15 +01:00
Add missing comment
This commit is contained in:
@@ -101,6 +101,9 @@ func (multi *multiPdfEngines) Split(ctx context.Context, logger *zap.Logger, mod
|
|||||||
return nil, fmt.Errorf("split PDF with multi PDF engines: %w", err)
|
return nil, fmt.Errorf("split PDF with multi PDF engines: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Flatten merges existing annotation appearances with page content, effectively deleting the original annotations.
|
||||||
|
// This process can flatten forms as well, as forms share a relationship with annotations.
|
||||||
|
// Note that this operation is irreversible.
|
||||||
func (multi *multiPdfEngines) Flatten(ctx context.Context, logger *zap.Logger, inputPath, outputPath string) error {
|
func (multi *multiPdfEngines) Flatten(ctx context.Context, logger *zap.Logger, inputPath, outputPath string) error {
|
||||||
var err error
|
var err error
|
||||||
errChan := make(chan error, 1)
|
errChan := make(chan error, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user