[Libreoffice-bugs] [Bug 142522] Filter By Color: allow multiple selection

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 29 08:54:02 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142522

--- Comment #9 from Michael Stahl (allotropia) <michael.stahl at allotropia.de> ---
i think this could easily be implemented in ODF filter because ODF already has
these filter-or and filter-and elements that don't care if the condition inside
them is a string match or a color... but i have no idea about XLSX

  <rng:define name="table-filter">
    <rng:element name="table:filter">
      <rng:ref name="table-filter-attlist"/>
      <rng:choice>
        <rng:ref name="table-filter-condition"/>
        <rng:ref name="table-filter-and"/>
        <rng:ref name="table-filter-or"/>
      </rng:choice>
    </rng:element>
  </rng:define>
  <rng:define name="table-filter-and">
    <rng:element name="table:filter-and">
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="table-filter-or"/>
          <rng:ref name="table-filter-condition"/>
        </rng:choice>
      </rng:oneOrMore>
    </rng:element>
  </rng:define>
  <rng:define name="table-filter-or">
    <rng:element name="table:filter-or">
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="table-filter-and"/>
          <rng:ref name="table-filter-condition"/>
        </rng:choice>
      </rng:oneOrMore>
    </rng:element>
  </rng:define>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210629/15adfab8/attachment.htm>


More information about the Libreoffice-bugs mailing list