span8
span4
在FME 2016年,2017年,2017年和贝塔Excel的作家将彻底从Excel模板文件中删除所有现有工作表保护。即使FME目前不支持设置在工作表上的密码来保护他们(应该尽快添加讨好另一个非常有用的功能),转换过程不应该剥离从所有保护现有工作表,所以这是一个错误。
在我们使用的情况下,我们有保护了各种定价单带密码的客户,我们正在使用FME写出来的一些数据到其他常规未受保护的工作表在同一模板的工作簿,但这样做的所有现有的保护措施正在 removed.
它很容易被复制:
1)创建工作表2 Excel文件,添加保护他们中的一个
2)添加一个Excel阅读器作为一个模板文件和一个Excel作家为同一读它。
3)写出一些值以未保护的片,然后通知,所述第一片材上的保护都没有了。
raychien评论·
您好,我们正在使用FME 2018.1现在和也运行到完全相同的问题:模板文件包含保护和未受保护的床单。FME代后,所有的保护都被删除。
在Excel工作表作家有一个选项,以“保护工作表”,但是,这种选择似乎得到同样的工作簿中应用到所有工作表。即使有其他工作表保护年代heet' unchecked, they still end up getting protected.So, it seems to be an all-or-nothing protection.
stevenjh评论·
你好@natalieatsafeI was just looking at this in fme 2019 and the issue still exists, seems solvable looking at what@jeremyt&@danielbarberposted.After the translate all cells are editable vs the template where only cells A3:C## are.I've tried to attached an example case but it denied the upload so a template file can be found herehttps://www.dropbox.com/s/4s6pp42m59e2kke/none2xlsxw.fmwt?dl=0Thanks!
nataliewlock评论·
你好@jeremyt。我相信,在Excel密码可以在任一工作表/单元格或工作簿级别应用。FME支持前者而不是后者作为FME 2017.0。我们做计划,以增加对密码和工作簿(整个文件)的加密支持,然而这对停滞LibXL第三方库的支持。
由于使用模板或写入到一个现有的工作簿或工作涉及到完全将其读入内存,然后再重写的内容,我们只能够保存功能,我们支持在写和读。
We take that element and add it manually into the appropriate "sheet~.xml" contained in the output excel file, so that the stripped out protections are reapplied.We then zip up the XML file components to reassemble the new Excel output file.It's a pain, but it works for now.;)
分享你的好想法,或通过其他人的想法投票助阵。
©2019安全亚搏在线软件公司|法律