THPDFEInvoiceRuleRegistry.RegisterRuleSet
profile 하나에 명시적인 business-rule 또는 country-rule 레이어를 등록하거나 교체합니다
선언
procedure RegisterRuleSet(const Profile, Version: AnsiString;
Scope: THPDFEInvoiceRuleScope; const ResourceName: string;
const Engine: IHPDFESchematronEngine);
유닛
HPDFEInvoiceValidator
사용 참고 사항
version과 resource name은 비어 있으면 안 되고, 리소스는 선택한 resource directory 기준 상대 경로여야 하며, 절대 경로와 URL, parent traversal은 거부됩니다
내장 compatibility engine을 쓰려면 Engine에 nil을 넘기고, 공식 compiled XSLT나 다른 규칙 패키지를 쓰려면 호스트가 제공한 IHPDFESchematronEngine 구현을 등록하세요