OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[Delphi] Track changes: how to manage?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
dmitry.kalashnikov
General User
General User


Joined: 01 Sep 2010
Posts: 12

PostPosted: Tue Jan 18, 2011 4:12 am    Post subject: [Delphi] Track changes: how to manage? Reply with quote

Hello guys!

Is there any sample of code how to enable this feature?

Thanks.
Back to top
View user's profile Send private message
B Marcelly
Super User
Super User


Joined: 12 May 2004
Posts: 1453
Location: France

PostPosted: Tue Jan 18, 2011 5:17 am    Post subject: Reply with quote

Hi,
A Writer document exposes properties RecordChanges and ShowChanges, both Boolean.
Code:
theDoc.RecordChanges := true;

_________________
Bernard

OpenOffice.org 1.1.5 fr / Apache OpenOffice 4.0.1 / LibreOffice 4.1.0
MS-Windows 7 Home SP1
This forum is spammed, use instead Apache OpenOffice forums
Back to top
View user's profile Send private message Visit poster's website
dmitry.kalashnikov
General User
General User


Joined: 01 Sep 2010
Posts: 12

PostPosted: Tue Jan 18, 2011 5:42 am    Post subject: Reply with quote

B Marcelly wrote:
Hi,
A Writer document exposes properties RecordChanges and ShowChanges, both Boolean.
Code:
theDoc.RecordChanges := true;

Thanks a lot!

So, if I replace some text in the document(via API of couse) then Writer will show me all changes?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group