https://bugs.freedesktop.org/show_bug.cgi?id=62957

tbehr...@suse.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|ProposedEasyHack            |EasyHack,DifficultyInterest
                   |                            |ing,SkillCpp
                 CC|                            |tbehr...@suse.com

--- Comment #3 from tbehr...@suse.com ---
So - for Writer, this is saved inside the settings.xml file, a bit indirectly
via

      <config:config-item config:name="VisibleAreaTop"
config:type="int">-275</config:config-item>
      <config:config-item config:name="VisibleAreaLeft"
config:type="int">-3919</config:config-item>
      <config:config-item config:name="VisibleAreaWidth"
config:type="int">33347</config:config-item>
      <config:config-item config:name="VisibleAreaHeight"
config:type="int">19669</config:config-item>

. For Impress, one would have to extend SdXMLExport::GetConfigurationSettings()
from xmloff/source/draw/sdxmlexp.cxx for the export, and possibly
XMLConfigItemContext::ManipulateConfigItem() from
xmloff/source/core/DocumentSettingsContext.cxx for the import - and of course
Impress would need to get some suitable document settings property, e.g.
"CurrentPage" or somesuch, that then needs handling in
sd/source/ui/unoidl/UnoDocumentSettings.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to