On Sat, 7 May 2016 08:11:49 -0700
"Dennis E. Hamilton" <dennis.hamil...@acm.org> wrote:

> In the ODF 1.2 Specification, an annotation can be set to visible or not but 
> there is no provision for a condition on the annotation being visible or not. 
>  Technically, some or all of the text in the comment could be conditionally 
> hidden, since it can be any paragraph or run of text content.  
> 
> One limitation of the ODF 1.2 specification where it allows conditional 
> hiding is that there is no description for how the "Boolean formula" in such 
> a condition is specified.  That is, in the ODF 1.2 specification, we only 
> know that it is a string.  
> 
> So there are three problems:
> 
>  1. Learning whether the hidden text control works in the content of an 
> annotation.
> 
>  2. Learning what the form of the condition is if it is supported, because it 
> will be OpenOffice implementation-specific.
> 
>  3. Learning how to determine the user name of someone viewing a document, 
> not even editing the document, and specifying it in whatever the notation for 
> (2) is.
> 
> I suspect there is no provision for (3) even if (1-2) can be figured out.  It 
> would also be problematic because it will be operating-system and ODF 
> implementation-dependent.  For example, a way to see all of the comments 
> would be to open the document in Microsoft Office.  If it preserves the 
> annotation, it is unlikely to honor (2-3) and not hide anything.
> 
> Personally, I'm not keen on increasing ways of burying covert content into 
> ODF documents.  The threat surface is bad enough already, especially with AOO 
> allowing digital signing of documents that have hidden content the signer may 
> be ignorant of.
> 
>  - Dennis


Thank, Dennis.  Another viewpoint is always useful.  I have discovered that one 
can show or hide all comments; had there been a readily accessible selective 
show/hide for comments, based on some definable criteria - in my case, a 
pseudo-author (= an author's editing category), this would have been 
convenient, but I can do without it.  I am now implementing a "move to 
next/previous comment of a category" section in my code, which may then be 
ready for public release.

Rory

> 
> > -----Original Message-----
> > From: Rory O'Farrell [mailto:ofarr...@iol.ie]
> > Sent: Thursday, May 5, 2016 08:23
> > To: dev@openoffice.apache.org
> > Subject: Another Comments question.
> > 
> > Is there any way to hide OO Writer Comments from one specific User?  My
> > initial researches suggest that it is an all-or-nothing situation, but
> > in case I have missed something, I ask the question.
> > 
> > --
> > Rory O'Farrell <ofarr...@iol.ie>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 


-- 
Rory O'Farrell <ofarr...@iol.ie>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to