feat: add Bates numbering tool with PDF processing capabilities
- Implemented bates-numbering-page.ts for handling Bates numbering logic. - Created a new HTML page for Bates numbering functionality. - Added style presets and file handling for multiple PDF uploads. - Integrated user interface elements for file selection, style customization, and preview. - Enhanced main.ts to support collapsible categories and compact mode for tool grid. - Updated types for Bates numbering in bates-numbering-type.ts. - Registered the new tool in tools.html and updated routing in vite.config.ts.
This commit is contained in:
17
src/js/types/bates-numbering-type.ts
Normal file
17
src/js/types/bates-numbering-type.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export interface StylePreset {
|
||||
template: string;
|
||||
padding: number;
|
||||
}
|
||||
|
||||
export type Position =
|
||||
| 'bottom-center'
|
||||
| 'bottom-left'
|
||||
| 'bottom-right'
|
||||
| 'top-center'
|
||||
| 'top-left'
|
||||
| 'top-right';
|
||||
|
||||
export interface FileEntry {
|
||||
file: File;
|
||||
pageCount: number;
|
||||
}
|
||||
@@ -49,3 +49,4 @@ export * from './email-to-pdf-type.ts';
|
||||
export * from './bookmark-pdf-type.ts';
|
||||
export * from './scanner-effect-type.ts';
|
||||
export * from './adjust-colors-type.ts';
|
||||
export * from './bates-numbering-type.ts';
|
||||
|
||||
Reference in New Issue
Block a user