如何在openoffice电子表格中将文本置于单元格中心?

时间:2016-01-26 08:13:29

标签: openoffice.org openoffice-calc openoffice-basic

无论如何在openoffice电子表格中将文本置于单元格中心?按中心,我的意思是文本的左右,顶部和底部之间的相同空白区域。

提前致谢!

1 个答案:

答案 0 :(得分:2)

使用侧边栏,只需点击两下即可完成,下方用红色圈出。

enter image description here

如果您没有看到侧边栏,则可以通过单击绿色圆圈所示的点来展开侧边栏。确保选中function findUser() { return User.findOne({ "username": req.body.username }) .then(function(user) { if (user) { // user exists, you can throw an error if you want throw new Error('User already exists!'); } // user doesn't exist, all is good in your case }, function(err) { // handle mongoose errors here if needed // rethrow an error so the caller knows about it throw new Error('Some Mongoose error happened!'); // or throw err; if you want the caller to know exactly what happened }); } findUser().then(function() { // user doesn't exist, do your stuff }).catch(function(err) { // here, you'll have Mongoose errors or 'User already exists!' error console.log(err.message); });