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

          Priority: medium
            Bug ID: 65549
          Assignee: [email protected]
           Summary: : Export as PDF - Range property is ignored in
                    recorded macro
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: (See in Summary)
         Component: Printing and PDF export
           Product: LibreOffice

Problem description: 

I want export as PDF part of the Calc document through the recorded macro. I
recorded a macro. It is OK. But if I run it, the macro ignore property Range
("Selection") from PDF Options window.

This property is saved in the macro code:
...
Array("Selection",0,,com.sun.star.beans.PropertyState.DIRECT_VALUE)
...

Steps to reproduce:
1. Fill some cells with any data.
2. Start record macro.
3. Select some cells (not all).
4. File/Export as PDF.
5. Select "Selection" in Range setting on General tab.
6. "Export" and choose the destination.
7. Stop record macro and save it.
8. Check created document - it should be OK - only selected cells has been
exported.
9. Run the macro.
10. Check created document - whole document has been exported.

I tested it in Ubuntu LibreOffice version 3.5.7.2 (Calc and Writer), Windows Xp
LibreOffice 4.0.1.2 (Calc), 4.1.0.0beta1 (Calc) and in some version of
OpenOffice (Calc).

All tested versions contain this bug. 



Operating System: All
Version: (See in Summary)

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

Reply via email to