Description: When I open a vertical writing docx from Writer, the start position is shifted left significantly. Steps to Reproduce: 1. Start Writer. 2. Open vertical writing Docx file (attached file) from menu [File] -> [Open]. Actual Results: It begins with a large shift to the left. Expected Results: Begin in the correct position on the right side. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.1.3.2 (x64) / LibreOffice Community Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1 CPU threads: 2; OS: Windows 10.0 Build 19043; UI render: default; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: threaded With SKIA disabled.(Windows)
Created attachment 172226 [details] Vertical writing docx file for testing
Created attachment 172227 [details] Correct vertical writing position docx screenshot
Created attachment 172228 [details] Wrong vertical writing position Writer screenshot
confirm in Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: dbd4110cc36011042c98549d997daa79e8065aba CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: ru-RU Calc: CL
Editing the default page style, in "Text Grid" tab, press apply. Then first line returns to its normal position. I guess there is something wrong with the imported values.
(In reply to Mark Hung from comment #5) When I set the grid, it returned to the correct position. Thanks. So, it does indeed look like the imported values are wrong.
Mark Hung committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5f84c44e3d5ff19b800b6358e61228546e318d4f tdf#142407 fix incorrect number of lines in vertical writing. It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mark Hung committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/829a001ffe89dd9c9dcda08fcc61bb4711b447df tdf#142407 fix incorrect number of lines in vertical writing. It will be available in 7.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.