Calc header/Footer mirroring in page. Is it working at all?

Olivier Hallot olivier.hallot at documentfoundation.org
Mon Apr 22 04:25:17 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Regina

Em 22-04-2013 07:20, Regina Henschel escreveu:
> Hi Oliver,
> 
> I cannot help you inside the code, but perhaps it is useful to you, when
> I explain the UI.
> 
> Olivier Hallot schrieb:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi
>>
>> I am working to port the calc header and footer editing dialog to
>> widgets ui.
>>
>> I am discovering a very complex setting that I guess is related to page
>> mirrorring. But I am actually unable to see it working.
>>
>> * Had anyone seen if left and right header(footer) areas are or should
>> be swapped in mirrored pages?
> 
> There is a check box to decide, whether the same content is used for
> right and left page. If is it not checked and you click the 'Edit'
> button, you get a dialog page with a tab for left header/footer and
> another tab for right header/footer. That works.


Ah... I see.. Thank you indeed for showing me... I ran across this one.


> 
> But there is in LO (in comparison to AOO) an additional check box for
> 'same content in first page'. That does not work, at least not for me.
> The header/footer content is not suppressed, and you get no additional
> tab for the first page. This check box does not appear immediately in
> the first call of the dialog, but you have to reopen the dialog. There
> is surely something wrong with that check box.


Yes... First, I'll try to port the dialog to the new widget ui, as is.
Then I'll see if I can fix whatever has to be fixed. This "First page"
stuff showed up recently:
http://www.libreoffice.org/download/4-0-new-features-and-fixes/ . It
appears to have been designed for Writer only.


> 
> The left, center, and right parts of the header/footer are not mirrored
> automatically, but you have to uncheck 'same content' and manually
> design the left page header/footer and right page header/footer.
> 
>>
>> * There seems to be a selectable setting for the left/center/right
>> content, as seen in these lines
>>
>> source/ui/pagedlg/hfedtdlg.src:TabPage RID_HFBASE
>> source/ui/pagedlg/hfedtdlg.src: // die Eingabefenster jeweils mit
>> eigener ID, sonst aus RID_HFBASE kopiert
>> source/ui/pagedlg/hfedtdlg.src:TabPage RID_SCPAGE_HFED_HL < RID_HFBASE
>> source/ui/pagedlg/hfedtdlg.src:TabPage RID_SCPAGE_HFED_HR < RID_HFBASE
>> source/ui/pagedlg/hfedtdlg.src:TabPage RID_SCPAGE_HFED_FL < RID_HFBASE
>> source/ui/pagedlg/hfedtdlg.src:TabPage RID_SCPAGE_HFED_FR < RID_HFBASE
>>
>> However RID_SCPAGE_HFED_XY < RID_HFBASE does not reflect changes except
>> strings, and the widgets are in the same position in the 4 cases.
>>
>> Either this is an overkill or I missed totaly the purpose of all this
>> stuff?.
> 
> Left, center and right content are parts of the same header/footer. In
> contrast to Writer you have no free editable line and therefore no tabs.
> So in Calc this areas are an ersatz for the missing left, center, and
> right tabs you know from Writer.


Agree, for example I cannot attach a company logo graphics in the
header/footer.


> 
> The three areas expand, so that they can show their whole content. This
> might result in overlapping text. That is different from Writer, where
> the text is positioned by tabs.
> 
> Kind regards
> Regina
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRdR4dAAoJEJp3R7nH3vLxjv0H+gLCbmcOqPL4ZLjOC7SP8zhD
rgg3yW0CNhJXlgvAN6d/Afo3dU+2sqfCAUrZD2b75l2tCO5Qu5v26MCy0MUXu8ED
k/iCUnUl2ne1y51W56zhImEBzKB0STrLF/9MDlV1Qe3GfHYezqSBRnZ5XPLHuzSO
Ga3TVTUHtpAtHN3KEALBuBmsAOPpLLSgbrl2I2vjrka8yseYks8/35XbxOpFTDef
49XSi5In88C2EQRjrKA3c7FSSYj+z1xxRdcA+m3se3YCAuWIQtTglKyIFMGHLHqi
IBPvACeYOF29BH82NZpUqfefwQKsZEAGlGeu/tVyqhwA/3I/xSEi/nD3Vm+aQ3g=
=F5Sz
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list