feat: 将主题令牌接入 DOCX 动态模板
This commit is contained in:
@@ -21,6 +21,7 @@ export interface ElectronDocxMediaEngineOptions {
|
||||
export class ElectronDocxMediaEngine
|
||||
implements DocxMediaCaptureAdapter, DocxThemeStyleCaptureAdapter
|
||||
{
|
||||
readonly themeStyleBaseUrl: string;
|
||||
private readonly renderUrl: string;
|
||||
private windowPromise: Promise<BrowserWindow> | undefined;
|
||||
private queue = Promise.resolve();
|
||||
@@ -28,6 +29,7 @@ export class ElectronDocxMediaEngine
|
||||
|
||||
constructor(options: ElectronDocxMediaEngineOptions) {
|
||||
this.renderUrl = options.renderUrl;
|
||||
this.themeStyleBaseUrl = this.renderUrl;
|
||||
}
|
||||
|
||||
capture(
|
||||
|
||||
Reference in New Issue
Block a user