https://bugs.documentfoundation.org/show_bug.cgi?id=129972

--- Comment #3 from Tex2002ans <[email protected]> ---
Reproduced in:

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

- - -

I went into a folder in Explorer and:

- Right-Clicked on a Column > "More..."
- Enabled "Pages" column.

I then had same file in 3 different formats:

1. DOCX from Word
2. DOCX from Word->LibreOffice
3. ODT from LibreOffice

where:

1. # of Pages showed.
2. # of Pages showed.
3. NOTHING

> I confirm it, that it isn't possible with LO but with MS Word (also if you 
> save LO-file as docx.

Hmmm... looks like that may have been fixed since 2020, because I saw a Page #
from an LO DOCX file.

!!!BUT!!!

Oddly, it was a:

- 412 page DOCX

but the "Pages" column showed:

- 217

and when I opened/resaved the Word->LibreOffice DOCX in LO again, the "Pages"
column then showed:

- 370

so there is definitely SOMETHING strange going on here with how the LO metadata
is calculated/saved.

In the DOCX's /docProps/app.xml file, I was able to find:

- <Pages>370</Pages>

even though LO's status bar, at the time, said "Page 412 of 412".

> Not sure, if this is a bug or an enhancement request. I'm also not sure, if 
> it is a bug of LO or not.

Seems like it's an Enhancement Request for the ODT filter to get Page #s out of
the ODT metadata.

So that Windows Explorer's "Pages" column can look inside the...

- ODT's meta.xml file

and grab the:

- meta:page-count

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to