如何保护我的包裹或包裹主体并放置我导出的 EXCEL 文件的签名

发布于 2024-10-02 21:59:04 字数 374 浏览 0 评论 0原文

我使用这个包来导出我的数据从我的数据块到 ORACLE 6 中的 Excel 文件。现在我想将我自己的文档属性放在我的 Excel 属性上。

首先,你能帮我,当我创建Excel时我应该写什么吗?

其次,我想保护我的代码(包和包 body-sql 文件 - )我的意思是没有人可以看到它们,你向我建议哪种方式? (换行,创建一些像对象库之类的东西)

第三,当你在一个他们付给你的钱不多的地方工作时,你会为他们免费提供你的代码吗?或者只要他们雇用你,他们就可以使用你自己的套餐?

I used this package to export my data from my data block to an excel file in ORACLE 6. Now I want to put my own document property on my Excel property.

First, Would you help me, what should I write when I create my Excel?

Second, I want to secure my codes(package and package body-sql files-) I mean nobody can see them,which way u suggesting to me?
(wrap,creating some thing like Object library)

third, when u working in a place that they pay u not so much do u put ur code free for them? or as much as they hire u they can use ur own package?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

会发光的星星闪亮亮i 2024-10-09 21:59:04

我在Excel文档属性中找不到属性“签名”。 pl/sql 包生成 Excel 文件所使用的命名空间没有签名属性。
http://msdn.microsoft.com/en -us/library/ms875215(v=EXCHG.65).aspx

您使用的 Excel 版本是什么?

你真的用的是oracle 6吗?您正在使用的包使用 Oracle 7 中引入的 UTL_File 包。

如果有人雇用您来做某项工作,无论他们付给您多少钱,您创建的内容都是他们的。是否接受这份工作取决于你。更好的方法是努力工作,向他们展示你的技能,一段时间后要求他们加薪。

编辑
:您必须更改 sql_to_excel 的包主体并添加您需要的 documentProperties。

        put_line(v_fileHandle,'<!--[if gte mso 9]><xml>');
        put_line(v_fileHandle,' <o:DocumentProperties>');
        put_line(v_fileHandle,'  <o:LastAuthor>'||LOWER(USER)||'</o:LastAuthor>');
        put_line(v_fileHandle,'  <o:LastSaved>'||v_lastSaved||'</o:LastSaved>');
        put_line(v_fileHandle,'  <o:Version>10.6626</o:Version>');

        -- Put your props here
        put_line(v_fileHandle,'  <o:Author>10.6626</o:Author>');

        put_line(v_fileHandle,' </o:DocumentProperties>');
        put_line(v_fileHandle,' <o:OfficeDocumentSettings>');
        put_line(v_fileHandle,'  <o:DownloadComponents/>');
        put_line(v_fileHandle,' </o:OfficeDocumentSettings>');
        put_line(v_fileHandle,'</xml><![endif]-->');

查看上面的链接以查看可用的属性。

I can not find the property "signature" in the excel document properties. The namespace used by the pl/sql package to generate a excell file does not have a signature property.
http://msdn.microsoft.com/en-us/library/ms875215(v=EXCHG.65).aspx

What version of excel are you using?

Are you really using oracle 6? The package you are using uses the UTL_File package which is intoduced in Oracle 7.

If someone hires you to do a job, regardeless of what they pay you, what you create is theirs. It's up to you to accept the job or not. A better appoarch is to work hard, show them your skills and after a while ask them for a raise.

EDIT
: You'll have to change the package body of sql_to_excel and add the documentProperties you need.

        put_line(v_fileHandle,'<!--[if gte mso 9]><xml>');
        put_line(v_fileHandle,' <o:DocumentProperties>');
        put_line(v_fileHandle,'  <o:LastAuthor>'||LOWER(USER)||'</o:LastAuthor>');
        put_line(v_fileHandle,'  <o:LastSaved>'||v_lastSaved||'</o:LastSaved>');
        put_line(v_fileHandle,'  <o:Version>10.6626</o:Version>');

        -- Put your props here
        put_line(v_fileHandle,'  <o:Author>10.6626</o:Author>');

        put_line(v_fileHandle,' </o:DocumentProperties>');
        put_line(v_fileHandle,' <o:OfficeDocumentSettings>');
        put_line(v_fileHandle,'  <o:DownloadComponents/>');
        put_line(v_fileHandle,' </o:OfficeDocumentSettings>');
        put_line(v_fileHandle,'</xml><![endif]-->');

Look at the link above to see the available properties.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文