How to Apply No AttrCondFmts
I am trying to Show All Attribute Expressions (Special > Filter by Attribute) using ExtendScript. I can do this:
#target framemaker
var doc = app.ActiveDoc;
var attrCondExpr = doc.FirstAttrCondExprInDoc;
while (attrCondExpr.ObjectValid () === 1) {
attrCondExpr.AttrCondExprIsActive = 0;
attrCondExpr = attrCondExpr.NextAttrCondExprInDoc;
}
And it does switch the "Manage Attribute Expressions" Show All radio button to on. The problem is that it does "Apply" the change to the document. There is an ApplyAttributeExpression() method on the AttrCondExpr object, but there is nothing on the document. I don't want to apply a particular filter; I want to apply no filter to show everything. Any help would be appreciated. -Rick

