Hello Sergey,

The testChanges document returns true for isFRevMarking, but fastsave.doc 
returns false.

Keith.

> From: [email protected]
> Date: Wed, 29 Jun 2011 14:03:20 +0400
> Subject: Re: Document metadata (Track changes, vanish, color)
> To: [email protected]
> 
> Keith,
> 
> There are methods of CharacterRun like isMarkedDeleted() and
> isMarkedInserted() that helps to check if specific portion of text
> were removed or inserted. As well isFldVanished() helps to check if
> text marked as vanished.
> 
> If you have texts with track changes enabled, but don't have
> isFRevMarking() flag set, could you please provide some examples?
> 
> Also there is getColor() method (also of CharacterRun). "8" means "white".
> 
> Best regards,
> Sergey.
> 
> On Wed, Jun 29, 2011 at 9:06 AM, Keith Player <[email protected]> wrote:
> >
> > Is there a way to access Track Changes" info about a doc file through HWPF? 
> >  I have tried the following, but it doesn't always return true.  (e.g. If 
> > you perform track changes in newer office and save as a doc).
> >
> > HWPFDocument document = getDocument();
> > boolean hasTrackChanges =  document.getDocProperties().isFRevMarking(); // 
> > sometimes matches track changes state.
> >
> > and so that I don't spam the list, I'll also add my other queries about 
> > retrieving metadata.
> >
> > How would you identify whether the "vanish" style has been set on some text?
> > How would you identify whether any text has a white color style?
> >
> >
> >
> 
> 
> 
> -- 
> Sergey Vladimirov
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to