Skip to content

TIMPICKLE/pdfProcessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdfProcessor

Its a pdf tool to help you add digital signature. And its version is 1.0.1 So you cant enter any variable, All the variables are hidden eg.

    static ImageHight: number = 40;
    static ImageWidth: number = 80;
    static ImageOpacity: number = 0.55;
    static originPDFRotateDegrees:number ;
    static ImageRotateDegrees: Rotation;
    static cycleInterval: number = 10;
    static ImageMarginToBorder: number = 20;

but in future, i will rebuild it. split those const variables, and then, you can use your personal configuration. In a word, this a bad version, i will maintain this project continuously.

now, its version 1.0.2. so i add another tool function to open pdf directly without downloading. so quick :)

🔽

  1. static getImageType( base64String:string ) : string{}

  2. static bufToFile(buf, filename) {}

  3. static getBase64FromFile(f: File, callback: (f: string) => void): void {})

  4. static addDigitalSignature(pdfFile: File, imageStringArray: Array) {}

  5. static getLocation(location: DigitalSignatureLocation, pdfFile: File) {}

  6. static addSingleDigitalSignature( pdfFile: File, imageString: string, location: DigitalSignatureLocation ): Promise {}

  7. static viewPDFWithoutDownl(fileContent: string,fileType: string) {}

10/8/2022 some new ideas! maybe i can privade two ways to import the nessary varables, it allows user load their own .ts file or just use common args.

30/11/2022 fuck. i am learning TypeScript. try to abstract the types. wait serval days!

About

用于公司业务,处理PDF的数字签名,持续维护中。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published