Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过pptx2json获取到的json如何转化成pptist? #256

Closed
terranc opened this issue Mar 8, 2024 · 2 comments
Closed

通过pptx2json获取到的json如何转化成pptist? #256

terranc opened this issue Mar 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@terranc
Copy link

terranc commented Mar 8, 2024

我现在想通过 https://pipipi-pikachu.github.io/pptx2json/ 来把用户的pptx转成json,然后可能经过一些文本编辑(可能是修改其中的一些文本内容),然后再导入pptist里面来恢复可视化的编辑。不知这个方案可行与否,目前拿到的这个json不知如何变成pttist支持的导入格式

@terranc terranc added the enhancement New feature or request label Mar 8, 2024
@pipipi-pikachu
Copy link
Owner

pptxtojson拿到的数据转pptist的数据,这不就是导入PPTX文件功能的内容么 https://github.com/pipipi-pikachu/PPTist/blob/master/src/hooks/useImport.ts

@terranc
Copy link
Author

terranc commented Mar 9, 2024

了解了,之前没看着文件。我是是尝试了下,发现.pptist是个base64的,解开以后乱码的

@terranc terranc closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants