OpenDocument/zh CN: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: OpenDocument/zh CN
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## 定义 | |
| 2 | + | ||
| 3 | + | 单元: Lazarus **lclintf** | |
| 4 | + | ||
| 5 | + | ``` pascal | |
| 6 | + | function OpenDocument(APath: String): Boolean; | |
| 7 | + | ``` | |
| 8 | + | ||
| 9 | + | 官方文档: [1](http://lazarus-ccr.sourceforge.net/docs/lcl/lclintf/opendocument.html) | |
| 10 | + | ||
| 11 | + | ## 描述 | |
| 12 | + | ||
| 13 | + | **opendocument**使用在操作系统中注册文件/文件扩展名的默认查看器/编辑器打开一个文档/文件。例如,在 Windows 上,该代码将使用注册表来查找扩展名的文件关联。 | |
| 14 | + | ||
| 15 | + | ## 示例 | |
| 16 | + | ||
| 17 | + | ``` pascal | |
| 18 | + | uses | |
| 19 | + | ... | |
| 20 | + | lclintf | |
| 21 | + | ... | |
| 22 | + | OpenDocument('readme.pdf'); | |
| 23 | + | ``` | |
| 24 | + | ||
| 25 | + | ## 参考 | |
| 26 | + | ||
| 27 | + | - [[macOS Open Sesame|macOS Open 命令]] | |
| 28 | + | - [[OpenURL]] | |
| 29 | + | ||
| 30 | + | ## 贡献者和更改 | |
| 31 | + | ||
| 32 | + | - 简体中文版本由 robsean 于 2020-04-23 创建。 | |
| 33 | + | ||
| 34 | + | --- | |
| 35 | + | *From the Free Pascal wiki, page "OpenDocument/zh CN", as it stood on 2022-11-15 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 36 | + | Category: Inter-process communication | |
| 37 | + | Category: Lazarus | |
| 38 | + | Category: lclintf |
