Previous Document Next Document

Including queries in macros : Understanding CQL


Understanding CQL

Corel Query Language (CQL) is a simple, object-oriented, extensible language that is used to evaluate expressions. You can use CQL to include queries in macros — for example, to search for objects in a document.

You can query any of the following object types:

 
Boolean objects — values of True or False that are returned by comparison operators such as <, >, <>, or =
 
integers — values of -2147483648 to 2147483647
 
double, or floating-point, objects — values of approximately -10^308 to 10^308
 
strings — Unicode text strings that are empty or that contain one or more characters
 
shapes — Shape objects
 
fills — fill properties of Shape objects
 
outlines — outline properties of Shape objects
 
colors — color properties of Shape objects
 
units of measurement — supported units for measurements such as distance, angle, and file size
 
arrays — lists of objects of any supported type
 
global objects
 
null objects — nonexistent or missing objects

For details on the queries that you can perform on these object types, see Understanding the available query criteria.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.