是否有可能以编程方式在单个电子表格单元格中获取(设置)多个文本属性? [英] Is it possible to get (set) multiple text attributes in a single spreadsheet cell programmatically?

查看:117
本文介绍了是否有可能以编程方式在单个电子表格单元格中获取(设置)多个文本属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于引入了新的电子表格版本,人们可以在单个单元格(或合并单元格)内手动更改文本属性,如下例所示:

(left = raw文本,右=格式化文本,更易于阅读)





我看不出有什么办法可以通过脚本实现...我在问题跟踪器中看不到任何问题或功能请求。



是那可能吗?

每个我试图获得文本属性的方法都只返回一个值,所以我恐怕我不能这么做......但是谁知道?

解决方案

此时,Google表格无法以编程方式将格式应用于单元格内容部分。



请在Google Apps脚本问题和专题中为以下功能请求加注星标e请求正式网站:

Issue 6000:以编程方式处理单元格内容的一部分


Since the introduction of the new spreadsheet version one can change text attributes inside a single cell (or merged cells) manually like in this example :

(left = raw text, right = formatted text, easier to read)

I don't see any way to achieve that by script... I don't see any issue nor feature request in the issue tracker either.

Is that possible ?

Every method I try to get the text attributes only returns a single value so I'm afraid I just can't do it... but who knows ?

解决方案

At this time in Google Sheets is not possible to programatically apply formatting to cell content parts.

Please star the following feature request on the Google Apps Scripts issues and feature requests officil site:

Issue 6000: Handle parts of cell content programmatically

这篇关于是否有可能以编程方式在单个电子表格单元格中获取(设置)多个文本属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆