Issue 122385 - automation change cell and print
Summary: automation change cell and print
Status: UNCONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: sdk (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 05:05 UTC by Adrian
Modified: 2013-05-26 05:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Adrian 2013-05-26 05:05:33 UTC
Hi.
I'm trying to change a template and print it, but the changes doesn't print.
this is my code.

        Ods ods = new Ods(@"file.ods"); //or file.xls  

        ods.Tables["Sheet2"]["B5"].Value = "Adrian";

        Console.WriteLine(ods.Tables["Sheet2"]["A5"].Value);



        Console.WriteLine(ods.Tables["Sheet2"]["B5"].Value);

        
         ods.Print(); 


in the line: Console.WriteLine(ods.Tables["Sheet2"]["B5"].Value) i can see the value on screen but when i print its an empty template.
What i'm doing wrong?
Thanks.