modify-helper.d.tsā¢886 B
import { XmlDocument, XmlElement } from '../types/xml-types';
export default class ModifyHelper {
/**
* Set value of an attribute.
* @param tagName specify the tag name to search for
* @param attribute name of target attribute
* @param value the value to be set on the attribute
* @param [count] specify if element index is different to zero
*/
static setAttribute: (tagName: string, attribute: string, value: string | number, count?: number) => (element: XmlDocument) => void;
/**
* Dump current element to console.
*/
static dump: (element: XmlDocument | XmlElement) => void;
/**
* Dump current chart to console.
*/
static dumpChart: (element: XmlDocument | XmlElement, chart: XmlDocument) => void;
}
export declare const CmToDxa: (cm: number) => number;
export declare const DxaToCm: (dxa: number) => number;