diff --git a/AppScope/app.json5 b/AppScope/app.json5 index f34176a2f5060d6684b8fd6d8fe149583a84d032..2da432d91ee08df148474ad803fd3ea3657b943f 100644 --- a/AppScope/app.json5 +++ b/AppScope/app.json5 @@ -1,6 +1,6 @@ { "app": { - "bundleName": "com.openharmony.xmlgraphicsbatikets", + "bundleName": "com.openharmony.xmlgraphicsbatik", "vendor": "example", "versionCode": 1000000, "versionName": "1.0.0", diff --git a/AppScope/resources/base/element/string.json b/AppScope/resources/base/element/string.json index 1c88b55b2a8be2fb26146c3d6876c66600a88ccd..7f72d3cfe78b81488d72f20bb8c7df2f7fb5a513 100644 --- a/AppScope/resources/base/element/string.json +++ b/AppScope/resources/base/element/string.json @@ -2,7 +2,7 @@ "string": [ { "name": "app_name", - "value": "XmlGraphicsBatikETS" + "value": "XmlGraphicsBatik" } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a1d34422fa56c868a78fa4f4629b1fd215b91f7..ab3c7c38c93ff09486da9f58123e359518fbe516 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Version 1.1.0 + +- 名称由XmlGraphicsBatikETS修改为XmlGraphicsBatik; +- 旧的包@ohos/XmlGraphicsBatikETS已不再维护,请使用新包@ohos/XmlGraphicsBatik; + ## Version 1.0.6 - 适配API9Stage模型; diff --git a/OAT.xml b/OAT.xml index eb7aa428eed400b8e9967e346c9809df255f7fec..0f1ca7858f02ab0f1dfb73a8b832d30932b17299 100644 --- a/OAT.xml +++ b/OAT.xml @@ -4,21 +4,21 @@ - - - - - - diff --git a/README.md b/README.md index 9a760e028fc2589fa1a5829437a06457081a2714..6a3d03c5194693e9aca9d85759ada51797dc0f2f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# XmlGraphicsBatikETS +# XmlGraphicsBatik # 简介 -XmlGraphicsBatikETS项目用于处理可缩放矢量图形(SVG)格式的图像,例如显示、生成、解析或者操作图像。 +XmlGraphicsBatik项目用于处理可缩放矢量图形(SVG)格式的图像,例如显示、生成、解析或者操作图像。 支持SVG图像的显示,可显示静态及动态SVG图像; @@ -15,7 +15,7 @@ XmlGraphicsBatikETS项目用于处理可缩放矢量图形(SVG)格式的图 # 下载安装 ``` -npm install @ohos/XmlGraphicsBatikETS --save +npm install @ohos/XmlGraphicsBatik --save ``` OpenHarmony npm 环境配置等更多内容,请参考 [如何安装OpenHarmony npm包](https://gitee.com/openharmony-tpc/docs/blob/master/OpenHarmony_npm_usage.md) 。 @@ -26,7 +26,7 @@ OpenHarmony npm 环境配置等更多内容,请参考 [如何安装OpenHarmony > 使用本库需要预先在MainAbility.ts 中预制文件路径:globalThis.filesDir = this.context.filesDir; ``` -import {SVGManager} from '@ohos/XmlGraphicsBatikETS'; +import {SVGManager} from '@ohos/XmlGraphicsBatik'; private svgManager: SVGManager = SVGManager.getInstance(); ``` @@ -325,9 +325,9 @@ this.svgManager.parse('svg.svg', (parseXMLResultObj) =>{ # 目录 ``` -/XmlGraphicsBatikETS # 工程根目录 +/XmlGraphicsBatik # 工程根目录 ├── entry # 示例代码文件夹 -├── XmlGraphicsBatikETS # 三方库源码文件夹 +├── XmlGraphicsBatik # 三方库源码文件夹 │ └── src │ ├── index.ets # 对外暴露文件的存放目录 │ ├── package.json # 项目介绍 @@ -358,8 +358,8 @@ this.svgManager.parse('svg.svg', (parseXMLResultObj) =>{ # 贡献代码 -使用过程中发现任何问题都可以提 [Issue](https://gitee.com/openharmony-tpc/XmlGraphicsBatikETS/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://gitee.com/openharmony-tpc/XmlGraphicsBatikETS/pulls) 。 +使用过程中发现任何问题都可以提 [Issue](https://gitee.com/openharmony-tpc/XmlGraphicsBatik/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://gitee.com/openharmony-tpc/XmlGraphicsBatik/pulls) 。 # 开源协议 -本项目基于 [Apache License 2.0](https://gitee.com/openharmony-tpc/XmlGraphicsBatikETS/blob/master/LICENSE) 协议,请自由地享受和参与开源。 +本项目基于 [Apache License 2.0](https://gitee.com/openharmony-tpc/XmlGraphicsBatik/blob/master/LICENSE) 协议,请自由地享受和参与开源。 diff --git a/XmlGraphicsBatikETS/.gitignore b/XmlGraphicsBatik/.gitignore similarity index 100% rename from XmlGraphicsBatikETS/.gitignore rename to XmlGraphicsBatik/.gitignore diff --git a/XmlGraphicsBatikETS/build-profile.json5 b/XmlGraphicsBatik/build-profile.json5 similarity index 100% rename from XmlGraphicsBatikETS/build-profile.json5 rename to XmlGraphicsBatik/build-profile.json5 diff --git a/XmlGraphicsBatikETS/hvigorfile.js b/XmlGraphicsBatik/hvigorfile.js similarity index 100% rename from XmlGraphicsBatikETS/hvigorfile.js rename to XmlGraphicsBatik/hvigorfile.js diff --git a/XmlGraphicsBatikETS/index.ets b/XmlGraphicsBatik/index.ets similarity index 100% rename from XmlGraphicsBatikETS/index.ets rename to XmlGraphicsBatik/index.ets diff --git a/XmlGraphicsBatik/package.json b/XmlGraphicsBatik/package.json new file mode 100644 index 0000000000000000000000000000000000000000..b6aa4fef49d0f47ff161c3e0f2b0dff9a993a34e --- /dev/null +++ b/XmlGraphicsBatik/package.json @@ -0,0 +1,26 @@ +{ + "license":"Apache License 2.0", + "devDependencies":{}, + "keywords":[ + "XmlGraphicsBatik", + "OpenHarmony" + ], + "tags":[ + "ImageCache", + "XmlGraphicsBatik", + "OpenHarmony" + ], + "author":"ohos_tpc", + "name":"@ohos/XmlGraphicsBatik", + "description":"XmlGraphicsBatik项目用于处理可缩放矢量图形(SVG)格式的图像,例如显示、生成、解析或者操作图像。", + "ohos":{ + "org":"opensource" + }, + "main":"index.ets", + "scripts":{ + "test":"echo \"Error: no test specified\" && exit 1" + }, + "repository":"https://gitee.com/openharmony-tpc/XmlGraphicsBatik", + "version":"1.1.0", + "dependencies":{} +} \ No newline at end of file diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/SVGManager.ets b/XmlGraphicsBatik/src/main/ets/batik/SVGManager.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/SVGManager.ets rename to XmlGraphicsBatik/src/main/ets/batik/SVGManager.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/SVGXMLChecker.ets b/XmlGraphicsBatik/src/main/ets/batik/SVGXMLChecker.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/SVGXMLChecker.ets rename to XmlGraphicsBatik/src/main/ets/batik/SVGXMLChecker.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/StringReader.ets b/XmlGraphicsBatik/src/main/ets/batik/StringReader.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/StringReader.ets rename to XmlGraphicsBatik/src/main/ets/batik/StringReader.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/constants/RegexConstants.ets b/XmlGraphicsBatik/src/main/ets/batik/constants/RegexConstants.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/constants/RegexConstants.ets rename to XmlGraphicsBatik/src/main/ets/batik/constants/RegexConstants.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/constants/SVGAttrConstants.ets b/XmlGraphicsBatik/src/main/ets/batik/constants/SVGAttrConstants.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/constants/SVGAttrConstants.ets rename to XmlGraphicsBatik/src/main/ets/batik/constants/SVGAttrConstants.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/constants/SVGXMLConstants.ets b/XmlGraphicsBatik/src/main/ets/batik/constants/SVGXMLConstants.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/constants/SVGXMLConstants.ets rename to XmlGraphicsBatik/src/main/ets/batik/constants/SVGXMLConstants.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/constants/XMLConstants.ets b/XmlGraphicsBatik/src/main/ets/batik/constants/XMLConstants.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/constants/XMLConstants.ets rename to XmlGraphicsBatik/src/main/ets/batik/constants/XMLConstants.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGCircle.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGCircle.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGCircle.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGCircle.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGDeclares.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGDeclares.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGDeclares.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGDeclares.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGEllipse.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGEllipse.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGEllipse.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGEllipse.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGLine.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGLine.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGLine.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGLine.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGPath.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGPath.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGPath.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGPath.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGPolygonAndPolyLine.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGPolygonAndPolyLine.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGPolygonAndPolyLine.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGPolygonAndPolyLine.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGRect.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGRect.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGRect.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGRect.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGRoot.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGRoot.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGRoot.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGRoot.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGSpecifiedFormat.ets b/XmlGraphicsBatik/src/main/ets/batik/svggen/SVGSpecifiedFormat.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/svggen/SVGSpecifiedFormat.ets rename to XmlGraphicsBatik/src/main/ets/batik/svggen/SVGSpecifiedFormat.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/util/LogUtil.ets b/XmlGraphicsBatik/src/main/ets/batik/util/LogUtil.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/util/LogUtil.ets rename to XmlGraphicsBatik/src/main/ets/batik/util/LogUtil.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/util/ObjOrArrayUtil.ets b/XmlGraphicsBatik/src/main/ets/batik/util/ObjOrArrayUtil.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/util/ObjOrArrayUtil.ets rename to XmlGraphicsBatik/src/main/ets/batik/util/ObjOrArrayUtil.ets diff --git a/XmlGraphicsBatikETS/src/main/ets/batik/util/XMLRules.ets b/XmlGraphicsBatik/src/main/ets/batik/util/XMLRules.ets similarity index 100% rename from XmlGraphicsBatikETS/src/main/ets/batik/util/XMLRules.ets rename to XmlGraphicsBatik/src/main/ets/batik/util/XMLRules.ets diff --git a/XmlGraphicsBatikETS/src/main/module.json5 b/XmlGraphicsBatik/src/main/module.json5 similarity index 76% rename from XmlGraphicsBatikETS/src/main/module.json5 rename to XmlGraphicsBatik/src/main/module.json5 index 65193848a4f77be05a19b10854457edb2b925654..652c8d872138235428226ddc65be88db4ba3a06d 100644 --- a/XmlGraphicsBatikETS/src/main/module.json5 +++ b/XmlGraphicsBatik/src/main/module.json5 @@ -1,6 +1,6 @@ { "module": { - "name": "XmlGraphicsBatikETS", + "name": "XmlGraphicsBatik", "type": "har", "deviceTypes": [ "default", @@ -8,4 +8,4 @@ ], "uiSyntax": "ets" } -} +} \ No newline at end of file diff --git a/XmlGraphicsBatikETS/package.json b/XmlGraphicsBatikETS/package.json deleted file mode 100644 index 6901b7495bff48fb189a42e1af944083e1ae6643..0000000000000000000000000000000000000000 --- a/XmlGraphicsBatikETS/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "license": "Apache License 2.0", - "devDependencies": {}, - "keywords": [ - "XmlGraphicsBatikETS", - "OpenHarmony" - ], - "author": "ohos_tpc", - "name": "@ohos/XmlGraphicsBatikETS", - "description": "XmlGraphicsBatikETS项目用于处理可缩放矢量图形(SVG)格式的图像,例如显示、生成、解析或者操作图像。", - "ohos": { - "org": "opensource" - }, - "main": "index.ets", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": "https://gitee.com/openharmony-tpc/XmlGraphicsBatikETS", - "version": "1.0.6", - "dependencies": {} -} diff --git a/build-profile.json5 b/build-profile.json5 index f341afdf2342b35bc389f1e525e4876afa76e388..945974dcf301afaad92bc184c329150712fbab0f 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -6,7 +6,7 @@ "products": [ { "name": "default", - "signingConfig": "default", + "signingConfig": "default" } ] }, @@ -24,8 +24,8 @@ ] }, { - "name": "XmlGraphicsBatikETS", - "srcPath": "./XmlGraphicsBatikETS" + "name": "XmlGraphicsBatik", + "srcPath": "./XmlGraphicsBatik" } ] } \ No newline at end of file diff --git a/entry/package.json b/entry/package.json index bb2073ee0c5900e6431bc87697e08e8c3e243629..a877c8a58af2d0fd1763b398da1575f11479ca06 100644 --- a/entry/package.json +++ b/entry/package.json @@ -10,6 +10,6 @@ "repository": {}, "license": "Apache License 2.0", "dependencies": { - "@ohos/XmlGraphicsBatikETS": "file:../XmlGraphicsBatikETS" + "@ohos/XmlGraphicsBatik":"file:../XmlGraphicsBatik" } } diff --git a/entry/src/main/ets/pages/testOperateCirclePage.ets b/entry/src/main/ets/pages/testOperateCirclePage.ets index 615237dd4e4a1a8e785ca6e4e264dffd304c121d..7df4167351c74ae3fc1334b0b39c696394326b09 100644 --- a/entry/src/main/ets/pages/testOperateCirclePage.ets +++ b/entry/src/main/ets/pages/testOperateCirclePage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import { SVGManager } from '@ohos/XmlGraphicsBatikETS'; -import { SVGCircle } from '@ohos/XmlGraphicsBatikETS'; -import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatikETS'; -import { consoleInfo } from '@ohos/XmlGraphicsBatikETS'; -import { SVGAttrConstants } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager } from '@ohos/XmlGraphicsBatik'; +import { SVGCircle } from '@ohos/XmlGraphicsBatik'; +import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatik'; +import { consoleInfo } from '@ohos/XmlGraphicsBatik'; +import { SVGAttrConstants } from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperateEllipsePage.ets b/entry/src/main/ets/pages/testOperateEllipsePage.ets index f066a260f78c0c8912d73d1e49d3ca0ef4fab6b8..e207e772666bd3509032aa225a9210bc4843a280 100644 --- a/entry/src/main/ets/pages/testOperateEllipsePage.ets +++ b/entry/src/main/ets/pages/testOperateEllipsePage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import { SVGManager } from '@ohos/XmlGraphicsBatikETS'; -import { SVGEllipse } from '@ohos/XmlGraphicsBatikETS' -import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatikETS'; -import { consoleInfo } from '@ohos/XmlGraphicsBatikETS'; -import { SVGAttrConstants } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager } from '@ohos/XmlGraphicsBatik'; +import { SVGEllipse } from '@ohos/XmlGraphicsBatik' +import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatik'; +import { consoleInfo } from '@ohos/XmlGraphicsBatik'; +import { SVGAttrConstants } from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperateLinePage.ets b/entry/src/main/ets/pages/testOperateLinePage.ets index a72e361fcd4e81af901174d718efc1c44bf54cba..f4b7f0720fd551b51556e95325c1ea1e5a4577a2 100644 --- a/entry/src/main/ets/pages/testOperateLinePage.ets +++ b/entry/src/main/ets/pages/testOperateLinePage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import { SVGManager } from '@ohos/XmlGraphicsBatikETS'; -import { SVGLine } from '@ohos/XmlGraphicsBatikETS'; -import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatikETS'; -import { consoleInfo } from '@ohos/XmlGraphicsBatikETS'; -import { SVGAttrConstants } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager } from '@ohos/XmlGraphicsBatik'; +import { SVGLine } from '@ohos/XmlGraphicsBatik'; +import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatik'; +import { consoleInfo } from '@ohos/XmlGraphicsBatik'; +import { SVGAttrConstants } from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperatePathPage.ets b/entry/src/main/ets/pages/testOperatePathPage.ets index de809b6d015e5e3bf37f9b4b170ac9d8b6653813..bbd444e11b40bff1d5b42dbb8207bda6752490ad 100644 --- a/entry/src/main/ets/pages/testOperatePathPage.ets +++ b/entry/src/main/ets/pages/testOperatePathPage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import { SVGManager } from '@ohos/XmlGraphicsBatikETS'; -import { SVGPath } from '@ohos/XmlGraphicsBatikETS'; -import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatikETS'; -import { consoleInfo } from '@ohos/XmlGraphicsBatikETS'; -import { SVGAttrConstants } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager } from '@ohos/XmlGraphicsBatik'; +import { SVGPath } from '@ohos/XmlGraphicsBatik'; +import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatik'; +import { consoleInfo } from '@ohos/XmlGraphicsBatik'; +import { SVGAttrConstants } from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperatePolygonPage.ets b/entry/src/main/ets/pages/testOperatePolygonPage.ets index 05568353debccf1df0bf45fd37e8a0a34633bb94..738376d1cab160d2fce79ad6454ab0b5dbbb034b 100644 --- a/entry/src/main/ets/pages/testOperatePolygonPage.ets +++ b/entry/src/main/ets/pages/testOperatePolygonPage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import {SVGManager} from '@ohos/XmlGraphicsBatikETS'; -import {SVGPolygonAndPolyLine} from '@ohos/XmlGraphicsBatikETS' -import {SVGSpecifiedFormat} from '@ohos/XmlGraphicsBatikETS'; -import {consoleInfo} from '@ohos/XmlGraphicsBatikETS'; -import {SVGAttrConstants} from '@ohos/XmlGraphicsBatikETS'; +import {SVGManager} from '@ohos/XmlGraphicsBatik'; +import {SVGPolygonAndPolyLine} from '@ohos/XmlGraphicsBatik' +import {SVGSpecifiedFormat} from '@ohos/XmlGraphicsBatik'; +import {consoleInfo} from '@ohos/XmlGraphicsBatik'; +import {SVGAttrConstants} from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperatePolylinePage.ets b/entry/src/main/ets/pages/testOperatePolylinePage.ets index 1b2005b54d9b379d02a000011b60af2a2ff6af68..bd5106464e65bc3eb6360c6ad11452726f1d7648 100644 --- a/entry/src/main/ets/pages/testOperatePolylinePage.ets +++ b/entry/src/main/ets/pages/testOperatePolylinePage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import { SVGManager } from '@ohos/XmlGraphicsBatikETS'; -import { SVGPolygonAndPolyLine } from '@ohos/XmlGraphicsBatikETS'; -import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatikETS'; -import { consoleInfo } from '@ohos/XmlGraphicsBatikETS'; -import { SVGAttrConstants } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager } from '@ohos/XmlGraphicsBatik'; +import { SVGPolygonAndPolyLine } from '@ohos/XmlGraphicsBatik'; +import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatik'; +import { consoleInfo } from '@ohos/XmlGraphicsBatik'; +import { SVGAttrConstants } from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperateRectPage.ets b/entry/src/main/ets/pages/testOperateRectPage.ets index 895e80a0e0c860ab7e6a10b435c86ec4896a5f0e..f9aa82490cd6b8b04e71b87e2f591c96b673322f 100644 --- a/entry/src/main/ets/pages/testOperateRectPage.ets +++ b/entry/src/main/ets/pages/testOperateRectPage.ets @@ -13,11 +13,11 @@ * limitations under the License. */ -import {SVGManager} from '@ohos/XmlGraphicsBatikETS'; -import {SVGRect} from '@ohos/XmlGraphicsBatikETS'; -import {SVGSpecifiedFormat} from '@ohos/XmlGraphicsBatikETS'; -import {consoleInfo} from '@ohos/XmlGraphicsBatikETS'; -import {SVGAttrConstants} from '@ohos/XmlGraphicsBatikETS'; +import {SVGManager} from '@ohos/XmlGraphicsBatik'; +import {SVGRect} from '@ohos/XmlGraphicsBatik'; +import {SVGSpecifiedFormat} from '@ohos/XmlGraphicsBatik'; +import {consoleInfo} from '@ohos/XmlGraphicsBatik'; +import {SVGAttrConstants} from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testOperateSVGPage.ets b/entry/src/main/ets/pages/testOperateSVGPage.ets index 9cc35c3948d7c36989ab1f80832e6bf6cdd5f03f..aeafc6f189572e9f75add68093d044d07766bab1 100644 --- a/entry/src/main/ets/pages/testOperateSVGPage.ets +++ b/entry/src/main/ets/pages/testOperateSVGPage.ets @@ -13,13 +13,13 @@ * limitations under the License. */ -import { SVGManager } from '@ohos/XmlGraphicsBatikETS'; -import { SVGRect } from '@ohos/XmlGraphicsBatikETS'; -import { SVGRoot } from '@ohos/XmlGraphicsBatikETS' -import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatikETS'; -import { consoleInfo } from '@ohos/XmlGraphicsBatikETS'; -import { SVGAttrConstants } from '@ohos/XmlGraphicsBatikETS'; -import { XMLConstants } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager } from '@ohos/XmlGraphicsBatik'; +import { SVGRect } from '@ohos/XmlGraphicsBatik'; +import { SVGRoot } from '@ohos/XmlGraphicsBatik' +import { SVGSpecifiedFormat } from '@ohos/XmlGraphicsBatik'; +import { consoleInfo } from '@ohos/XmlGraphicsBatik'; +import { SVGAttrConstants } from '@ohos/XmlGraphicsBatik'; +import { XMLConstants } from '@ohos/XmlGraphicsBatik'; import fileio from '@ohos.fileio'; @Entry diff --git a/entry/src/main/ets/pages/testParseSVGFilePage.ets b/entry/src/main/ets/pages/testParseSVGFilePage.ets index cbb3e90bbaa25cd736df4f7ab34ac629201e3104..ae0b94cf1f09dc62655744f0fc3b1c04d82d6801 100644 --- a/entry/src/main/ets/pages/testParseSVGFilePage.ets +++ b/entry/src/main/ets/pages/testParseSVGFilePage.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { SVGManager, consoleInfo } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager, consoleInfo } from '@ohos/XmlGraphicsBatik'; @Entry @Component diff --git a/entry/src/main/ets/pages/testShowSVGImagePage.ets b/entry/src/main/ets/pages/testShowSVGImagePage.ets index 4ac3df9f6a9a3d7bafa4212ede960a51d03bdc8d..4aa3f9c032b5f9b840b90af5383d9d506afe4ff1 100644 --- a/entry/src/main/ets/pages/testShowSVGImagePage.ets +++ b/entry/src/main/ets/pages/testShowSVGImagePage.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { SVGManager, consoleInfo } from '@ohos/XmlGraphicsBatikETS'; +import { SVGManager, consoleInfo } from '@ohos/XmlGraphicsBatik'; @Entry @Component diff --git a/entry/src/main/resources/base/element/string.json b/entry/src/main/resources/base/element/string.json index f07c6ba9181c183527166bc8ddf3f7b7b2e79ebd..2a5f9811a4e1db1c955660bf7e5e6a882d825eef 100644 --- a/entry/src/main/resources/base/element/string.json +++ b/entry/src/main/resources/base/element/string.json @@ -10,7 +10,7 @@ }, { "name": "MainAbility_label", - "value": "XmlGraphicsBatikETS" + "value": "XmlGraphicsBatik" } ] } \ No newline at end of file diff --git a/package.json b/package.json index e5e61f5f82e2e085ab3796e1fc95c59ee43d3483..0f32dfc1522c34e2307882d71d701a1809370520 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "xmlgraphicsbatikets", + "name": "xmlgraphicsbatik", "version": "1.0.0", "ohos": { "org": "huawei", @@ -14,4 +14,4 @@ "@ohos/hvigor": "1.2.2", "@ohos/hvigor-ohos-plugin": "1.2.2" } -} +} \ No newline at end of file